ETH Price: $3,391.60 (+1.86%)

Token

friesDAO (FRIES)
 

Overview

Max Total Supply

840,000,000 FRIES

Holders

274 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Filtered by Token Holder
hiroprefect.eth
Balance
8,662.50062 FRIES

Value
$0.00
0xd480da4985c0b129a16bf0d26c154c0864960b29
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

friesDAO (Franchises & Restaurants Integrated Efficiently & Systematically) is a DAO on Ethereum seeking to buy fast food stores and provide benefits like free food to the community, bridging blockchain-based governance with real world operations of well known franchise brands.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
FriesDAOToken

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Apache-2.0 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-01-30
*/

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

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

// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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


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

// 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/[email protected]

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

pragma solidity ^0.8.0;

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

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


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

// OpenZeppelin Contracts v4.4.1 (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.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

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

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

        return true;
    }

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

        _beforeTokenTransfer(sender, recipient, amount);

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

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

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

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

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

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

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

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

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

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

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

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

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

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

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


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

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

pragma solidity ^0.8.0;

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

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

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


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

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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

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


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

// OpenZeppelin Contracts v4.4.1 (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
    }

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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


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

// OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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


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

// 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/[email protected]

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

pragma solidity ^0.8.0;





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

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

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

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

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

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

        bytes32 hash = _hashTypedDataV4(structHash);

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

        _approve(owner, spender, value);
    }

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

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

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


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

// OpenZeppelin Contracts v4.4.1 (utils/math/Math.sol)

pragma solidity ^0.8.0;

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

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

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

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


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

// OpenZeppelin Contracts v4.4.1 (utils/math/SafeCast.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

pragma solidity ^0.8.0;




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

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

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

    /**
     * @dev Emitted when an account changes their delegate.
     */
    event DelegateChanged(address indexed delegator, address indexed fromDelegate, address indexed toDelegate);

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

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

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

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

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

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

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

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

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

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

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

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

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

        _writeCheckpoint(_totalSupplyCheckpoints, _add, amount);
    }

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

        _writeCheckpoint(_totalSupplyCheckpoints, _subtract, amount);
    }

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

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

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

        emit DelegateChanged(delegator, currentDelegate, delegatee);

        _moveVotingPower(currentDelegate, delegatee, delegatorBalance);
    }

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

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

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

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

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

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


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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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


// File contracts/token.sol

// SPDX-License-Identifier: Apache-2.0

/*

  /$$$$$$          /$$                     /$$$$$$$   /$$$$$$   /$$$$$$ 
 /$$__  $$        |__/                    | $$__  $$ /$$__  $$ /$$__  $$
| $$  \__//$$$$$$  /$$  /$$$$$$   /$$$$$$$| $$  \ $$| $$  \ $$| $$  \ $$
| $$$$   /$$__  $$| $$ /$$__  $$ /$$_____/| $$  | $$| $$$$$$$$| $$  | $$
| $$_/  | $$  \__/| $$| $$$$$$$$|  $$$$$$ | $$  | $$| $$__  $$| $$  | $$
| $$    | $$      | $$| $$_____/ \____  $$| $$  | $$| $$  | $$| $$  | $$
| $$    | $$      | $$|  $$$$$$$ /$$$$$$$/| $$$$$$$/| $$  | $$|  $$$$$$/
|__/    |__/      |__/ \_______/|_______/ |_______/ |__/  |__/ \______/ 

*/

pragma solidity ^0.8.7;
contract Administrable is Ownable {

    mapping (address => bool) public admins;

    event AdminAdded(address added);
    event AdminRemoved(address removed);

    // Only allow an admin to call a function

    modifier onlyAdmin {
        require(admins[_msgSender()] || owner() == _msgSender(), "Administrable: caller is not an admin");
        _;
    }

    // Set an account as an admin

    function addAdmin(address admin) external onlyOwner {
        require(!admins[admin], "Administrable: address is already an admin");
        admins[admin] = true;
        emit AdminAdded(admin);
    }

    // Remove an admin from admins

    function removeAdmin(address admin) external onlyOwner {
        require(admins[admin], "Administrable: address is not an admin");
        delete admins[admin];
        emit AdminRemoved(admin);
    }

}

contract FriesDAOToken is ERC20Votes, Administrable {

    constructor() ERC20("friesDAO", "FRIES") ERC20Permit("FRIES") {
    }

    // Mint amount of FRIES to account

    function mint(address account, uint256 amount) external onlyAdmin {
        _mint(account, amount);
    }

    // Burn FRIES from caller

    function burn(uint256 amount) external {
        _burn(_msgSender(), amount);
    }

    // Burn FRIES from account with approval

    function burnFrom(address account, uint256 amount) external {
        uint256 currentAllowance = allowance(account, _msgSender());
        require(currentAllowance >= amount, "ERC20: burn amount exceeds allowance");
        unchecked {
            _approve(account, _msgSender(), currentAllowance - amount);
        }
        _burn(account, amount);
    }

}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"added","type":"address"}],"name":"AdminAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"removed","type":"address"}],"name":"AdminRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegator","type":"address"},{"indexed":true,"internalType":"address","name":"fromDelegate","type":"address"},{"indexed":true,"internalType":"address","name":"toDelegate","type":"address"}],"name":"DelegateChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"delegate","type":"address"},{"indexed":false,"internalType":"uint256","name":"previousBalance","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newBalance","type":"uint256"}],"name":"DelegateVotesChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DOMAIN_SEPARATOR","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"addAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"admins","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint32","name":"pos","type":"uint32"}],"name":"checkpoints","outputs":[{"components":[{"internalType":"uint32","name":"fromBlock","type":"uint32"},{"internalType":"uint224","name":"votes","type":"uint224"}],"internalType":"struct ERC20Votes.Checkpoint","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"}],"name":"delegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"delegatee","type":"address"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"uint256","name":"expiry","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"delegateBySig","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"delegates","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPastTotalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","type":"uint256"}],"name":"getPastVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"nonces","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"numCheckpoints","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"permit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"name":"removeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101606040527f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9610140523480156200003757600080fd5b5060405180604001604052806005815260200164465249455360d81b81525080604051806040016040528060018152602001603160f81b81525060405180604001604052806008815260200167667269657344414f60c01b81525060405180604001604052806005815260200164465249455360d81b8152508160039080519060200190620000c8929190620001e9565b508051620000de906004906020840190620001e9565b5050825160208085019190912083518483012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81880181905281830187905260608201869052608082019490945230818401528151808203909301835260c0019052805194019390932091935091906080523060601b60c05261012052506200018d935062000187925050620001939050565b62000197565b620002cc565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001f7906200028f565b90600052602060002090601f0160209004810192826200021b576000855562000266565b82601f106200023657805160ff191683800117855562000266565b8280016001018555821562000266579182015b828111156200026657825182559160200191906001019062000249565b506200027492915062000278565b5090565b5b8082111562000274576000815560010162000279565b600181811c90821680620002a457607f821691505b60208210811415620002c657634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160601c60e0516101005161012051610140516123346200032a6000396000610dc60152600061137a015260006113c9015260006113a4015260006112fd015260006113270152600061135101526123346000f3fe608060405234801561001057600080fd5b50600436106101e55760003560e01c8063704802751161010f5780639ab24eb0116100a2578063d505accf11610071578063d505accf1461044c578063dd62ed3e1461045f578063f1127ed814610498578063f2fde38b146104d557600080fd5b80639ab24eb014610400578063a457c2d714610413578063a9059cbb14610426578063c3cda5201461043957600080fd5b80637ecebe00116100de5780637ecebe00146103c15780638da5cb5b146103d45780638e539e8c146103e557806395d89b41146103f857600080fd5b8063704802751461036a57806370a082311461037d578063715018a6146103a657806379cc6790146103ae57600080fd5b80633950935111610187578063429b62e511610156578063429b62e5146102c8578063587cde1e146102eb5780635c19a95c1461032f5780636fcfff451461034257600080fd5b8063395093511461027c5780633a46b1a81461028f57806340c10f19146102a257806342966c68146102b557600080fd5b806318160ddd116101c357806318160ddd1461024057806323b872dd14610252578063313ce567146102655780633644e5151461027457600080fd5b806306fdde03146101ea578063095ea7b3146102085780631785f53c1461022b575b600080fd5b6101f26104e8565b6040516101ff91906121ac565b60405180910390f35b61021b6102163660046120d1565b61057a565b60405190151581526020016101ff565b61023e610239366004611fdd565b610590565b005b6002545b6040519081526020016101ff565b61021b61026036600461202b565b610692565b604051601281526020016101ff565b61024461073c565b61021b61028a3660046120d1565b61074b565b61024461029d3660046120d1565b610787565b61023e6102b03660046120d1565b610801565b61023e6102c3366004612193565b610891565b61021b6102d6366004611fdd565b600a6020526000908152604090205460ff1681565b6103176102f9366004611fdd565b6001600160a01b039081166000908152600660205260409020541690565b6040516001600160a01b0390911681526020016101ff565b61023e61033d366004611fdd565b61089e565b610355610350366004611fdd565b6108a8565b60405163ffffffff90911681526020016101ff565b61023e610378366004611fdd565b6108d0565b61024461038b366004611fdd565b6001600160a01b031660009081526020819052604090205490565b61023e6109ca565b61023e6103bc3660046120d1565b610a00565b6102446103cf366004611fdd565b610a86565b6009546001600160a01b0316610317565b6102446103f3366004612193565b610aa4565b6101f2610b00565b61024461040e366004611fdd565b610b0f565b61021b6104213660046120d1565b610b96565b61021b6104343660046120d1565b610c2f565b61023e6104473660046120fb565b610c3c565b61023e61045a366004612067565b610d72565b61024461046d366004611ff8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6104ab6104a6366004612153565b610ed6565b60408051825163ffffffff1681526020928301516001600160e01b031692810192909252016101ff565b61023e6104e3366004611fdd565b610f5a565b6060600380546104f790612287565b80601f016020809104026020016040519081016040528092919081815260200182805461052390612287565b80156105705780601f1061054557610100808354040283529160200191610570565b820191906000526020600020905b81548152906001019060200180831161055357829003601f168201915b5050505050905090565b6000610587338484610ff2565b50600192915050565b6009546001600160a01b031633146105c35760405162461bcd60e51b81526004016105ba90612201565b60405180910390fd5b6001600160a01b0381166000908152600a602052604090205460ff1661063a5760405162461bcd60e51b815260206004820152602660248201527f41646d696e6973747261626c653a2061646472657373206973206e6f7420616e6044820152651030b236b4b760d11b60648201526084016105ba565b6001600160a01b0381166000818152600a6020908152604091829020805460ff1916905590519182527fa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f91015b60405180910390a150565b600061069f848484611116565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156107245760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016105ba565b6107318533858403610ff2565b506001949350505050565b60006107466112f0565b905090565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610587918590610782908690612236565b610ff2565b60004382106107d85760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e65640060448201526064016105ba565b6001600160a01b03831660009081526007602052604090206107fa9083611417565b9392505050565b336000908152600a602052604090205460ff168061082957506009546001600160a01b031633145b6108835760405162461bcd60e51b815260206004820152602560248201527f41646d696e6973747261626c653a2063616c6c6572206973206e6f7420616e2060448201526430b236b4b760d91b60648201526084016105ba565b61088d82826114d4565b5050565b61089b338261155e565b50565b61089b3382611576565b6001600160a01b0381166000908152600760205260408120546108ca906115ef565b92915050565b6009546001600160a01b031633146108fa5760405162461bcd60e51b81526004016105ba90612201565b6001600160a01b0381166000908152600a602052604090205460ff16156109765760405162461bcd60e51b815260206004820152602a60248201527f41646d696e6973747261626c653a206164647265737320697320616c726561646044820152693c9030b71030b236b4b760b11b60648201526084016105ba565b6001600160a01b0381166000818152600a6020908152604091829020805460ff1916600117905590519182527f44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e3399101610687565b6009546001600160a01b031633146109f45760405162461bcd60e51b81526004016105ba90612201565b6109fe6000611658565b565b6000610a0c833361046d565b905081811015610a6a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016105ba565b610a778333848403610ff2565b610a81838361155e565b505050565b6001600160a01b0381166000908152600560205260408120546108ca565b6000438210610af55760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e65640060448201526064016105ba565b6108ca600883611417565b6060600480546104f790612287565b6001600160a01b0381166000908152600760205260408120548015610b83576001600160a01b0383166000908152600760205260409020610b51600183612270565b81548110610b6157610b616122e8565b60009182526020909120015464010000000090046001600160e01b0316610b86565b60005b6001600160e01b03169392505050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610c185760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105ba565b610c253385858403610ff2565b5060019392505050565b6000610587338484611116565b83421115610c8c5760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e6174757265206578706972656400000060448201526064016105ba565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610d0690610cfe9060a001604051602081830303815290604052805190602001206116aa565b8585856116f8565b9050610d1181611720565b8614610d5f5760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e63650000000000000060448201526064016105ba565b610d698188611576565b50505050505050565b83421115610dc25760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016105ba565b60007f0000000000000000000000000000000000000000000000000000000000000000888888610df18c611720565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610e4c826116aa565b90506000610e5c828787876116f8565b9050896001600160a01b0316816001600160a01b031614610ebf5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016105ba565b610eca8a8a8a610ff2565b50505050505050505050565b60408051808201909152600080825260208201526001600160a01b0383166000908152600760205260409020805463ffffffff8416908110610f1a57610f1a6122e8565b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b6009546001600160a01b03163314610f845760405162461bcd60e51b81526004016105ba90612201565b6001600160a01b038116610fe95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105ba565b61089b81611658565b6001600160a01b0383166110545760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105ba565b6001600160a01b0382166110b55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105ba565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661117a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105ba565b6001600160a01b0382166111dc5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105ba565b6001600160a01b038316600090815260208190526040902054818110156112545760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105ba565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061128b908490612236565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516112d791815260200190565b60405180910390a36112ea848484611748565b50505050565b6000306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614801561134957507f000000000000000000000000000000000000000000000000000000000000000046145b1561137357507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b8154600090815b8181101561147b576000611432828461177a565b905084868281548110611447576114476122e8565b60009182526020909120015463ffffffff16111561146757809250611475565b611472816001612236565b91505b5061141e565b81156114bf578461148d600184612270565b8154811061149d5761149d6122e8565b60009182526020909120015464010000000090046001600160e01b03166114c2565b60005b6001600160e01b031695945050505050565b6114de8282611795565b6002546001600160e01b0310156115505760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b60648201526084016105ba565b6112ea600861187c83611888565b6115688282611a01565b6112ea6008611b5683611888565b6001600160a01b038281166000818152600660208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46112ea828483611b62565b600063ffffffff8211156116545760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b60648201526084016105ba565b5090565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006108ca6116b76112f0565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061170987878787611c9f565b9150915061171681611d8c565b5095945050505050565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b6001600160a01b03838116600090815260066020526040808220548584168352912054610a8192918216911683611b62565b6000611789600284841861224e565b6107fa90848416612236565b6001600160a01b0382166117eb5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105ba565b80600260008282546117fd9190612236565b90915550506001600160a01b0382166000908152602081905260408120805483929061182a908490612236565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361088d60008383611748565b60006107fa8284612236565b8254600090819080156118d357856118a1600183612270565b815481106118b1576118b16122e8565b60009182526020909120015464010000000090046001600160e01b03166118d6565b60005b6001600160e01b031692506118ef83858763ffffffff16565b915060008111801561192d57504386611909600184612270565b81548110611919576119196122e8565b60009182526020909120015463ffffffff16145b1561198d5761193b82611f47565b86611947600184612270565b81548110611957576119576122e8565b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b031602179055506119f8565b8560405180604001604052806119a2436115ef565b63ffffffff1681526020016119b685611f47565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b50935093915050565b6001600160a01b038216611a615760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105ba565b6001600160a01b03821660009081526020819052604090205481811015611ad55760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105ba565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611b04908490612270565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3610a8183600084611748565b60006107fa8284612270565b816001600160a01b0316836001600160a01b031614158015611b845750600081115b15610a81576001600160a01b03831615611c12576001600160a01b03831660009081526007602052604081208190611bbf90611b5685611888565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611c07929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615610a81576001600160a01b03821660009081526007602052604081208190611c489061187c85611888565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611c90929190918252602082015260400190565b60405180910390a25050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611cd65750600090506003611d83565b8460ff16601b14158015611cee57508460ff16601c14155b15611cff5750600090506004611d83565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611d53573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611d7c57600060019250925050611d83565b9150600090505b94509492505050565b6000816004811115611da057611da06122d2565b1415611da95750565b6001816004811115611dbd57611dbd6122d2565b1415611e0b5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016105ba565b6002816004811115611e1f57611e1f6122d2565b1415611e6d5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016105ba565b6003816004811115611e8157611e816122d2565b1415611eda5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016105ba565b6004816004811115611eee57611eee6122d2565b141561089b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016105ba565b60006001600160e01b038211156116545760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b60648201526084016105ba565b80356001600160a01b0381168114611fc757600080fd5b919050565b803560ff81168114611fc757600080fd5b600060208284031215611fef57600080fd5b6107fa82611fb0565b6000806040838503121561200b57600080fd5b61201483611fb0565b915061202260208401611fb0565b90509250929050565b60008060006060848603121561204057600080fd5b61204984611fb0565b925061205760208501611fb0565b9150604084013590509250925092565b600080600080600080600060e0888a03121561208257600080fd5b61208b88611fb0565b965061209960208901611fb0565b955060408801359450606088013593506120b560808901611fcc565b925060a0880135915060c0880135905092959891949750929550565b600080604083850312156120e457600080fd5b6120ed83611fb0565b946020939093013593505050565b60008060008060008060c0878903121561211457600080fd5b61211d87611fb0565b9550602087013594506040870135935061213960608801611fcc565b92506080870135915060a087013590509295509295509295565b6000806040838503121561216657600080fd5b61216f83611fb0565b9150602083013563ffffffff8116811461218857600080fd5b809150509250929050565b6000602082840312156121a557600080fd5b5035919050565b600060208083528351808285015260005b818110156121d9578581018301518582016040015282016121bd565b818111156121eb576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115612249576122496122bc565b500190565b60008261226b57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015612282576122826122bc565b500390565b600181811c9082168061229b57607f821691505b6020821081141561174257634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fdfea264697066735822122024ac78b3e52f6ac9855f3d3bf6a0b0810a3e7c931c1b72a4856aa33a9f27e4cc64736f6c63430008070033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101e55760003560e01c8063704802751161010f5780639ab24eb0116100a2578063d505accf11610071578063d505accf1461044c578063dd62ed3e1461045f578063f1127ed814610498578063f2fde38b146104d557600080fd5b80639ab24eb014610400578063a457c2d714610413578063a9059cbb14610426578063c3cda5201461043957600080fd5b80637ecebe00116100de5780637ecebe00146103c15780638da5cb5b146103d45780638e539e8c146103e557806395d89b41146103f857600080fd5b8063704802751461036a57806370a082311461037d578063715018a6146103a657806379cc6790146103ae57600080fd5b80633950935111610187578063429b62e511610156578063429b62e5146102c8578063587cde1e146102eb5780635c19a95c1461032f5780636fcfff451461034257600080fd5b8063395093511461027c5780633a46b1a81461028f57806340c10f19146102a257806342966c68146102b557600080fd5b806318160ddd116101c357806318160ddd1461024057806323b872dd14610252578063313ce567146102655780633644e5151461027457600080fd5b806306fdde03146101ea578063095ea7b3146102085780631785f53c1461022b575b600080fd5b6101f26104e8565b6040516101ff91906121ac565b60405180910390f35b61021b6102163660046120d1565b61057a565b60405190151581526020016101ff565b61023e610239366004611fdd565b610590565b005b6002545b6040519081526020016101ff565b61021b61026036600461202b565b610692565b604051601281526020016101ff565b61024461073c565b61021b61028a3660046120d1565b61074b565b61024461029d3660046120d1565b610787565b61023e6102b03660046120d1565b610801565b61023e6102c3366004612193565b610891565b61021b6102d6366004611fdd565b600a6020526000908152604090205460ff1681565b6103176102f9366004611fdd565b6001600160a01b039081166000908152600660205260409020541690565b6040516001600160a01b0390911681526020016101ff565b61023e61033d366004611fdd565b61089e565b610355610350366004611fdd565b6108a8565b60405163ffffffff90911681526020016101ff565b61023e610378366004611fdd565b6108d0565b61024461038b366004611fdd565b6001600160a01b031660009081526020819052604090205490565b61023e6109ca565b61023e6103bc3660046120d1565b610a00565b6102446103cf366004611fdd565b610a86565b6009546001600160a01b0316610317565b6102446103f3366004612193565b610aa4565b6101f2610b00565b61024461040e366004611fdd565b610b0f565b61021b6104213660046120d1565b610b96565b61021b6104343660046120d1565b610c2f565b61023e6104473660046120fb565b610c3c565b61023e61045a366004612067565b610d72565b61024461046d366004611ff8565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6104ab6104a6366004612153565b610ed6565b60408051825163ffffffff1681526020928301516001600160e01b031692810192909252016101ff565b61023e6104e3366004611fdd565b610f5a565b6060600380546104f790612287565b80601f016020809104026020016040519081016040528092919081815260200182805461052390612287565b80156105705780601f1061054557610100808354040283529160200191610570565b820191906000526020600020905b81548152906001019060200180831161055357829003601f168201915b5050505050905090565b6000610587338484610ff2565b50600192915050565b6009546001600160a01b031633146105c35760405162461bcd60e51b81526004016105ba90612201565b60405180910390fd5b6001600160a01b0381166000908152600a602052604090205460ff1661063a5760405162461bcd60e51b815260206004820152602660248201527f41646d696e6973747261626c653a2061646472657373206973206e6f7420616e6044820152651030b236b4b760d11b60648201526084016105ba565b6001600160a01b0381166000818152600a6020908152604091829020805460ff1916905590519182527fa3b62bc36326052d97ea62d63c3d60308ed4c3ea8ac079dd8499f1e9c4f80c0f91015b60405180910390a150565b600061069f848484611116565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156107245760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b60648201526084016105ba565b6107318533858403610ff2565b506001949350505050565b60006107466112f0565b905090565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091610587918590610782908690612236565b610ff2565b60004382106107d85760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e65640060448201526064016105ba565b6001600160a01b03831660009081526007602052604090206107fa9083611417565b9392505050565b336000908152600a602052604090205460ff168061082957506009546001600160a01b031633145b6108835760405162461bcd60e51b815260206004820152602560248201527f41646d696e6973747261626c653a2063616c6c6572206973206e6f7420616e2060448201526430b236b4b760d91b60648201526084016105ba565b61088d82826114d4565b5050565b61089b338261155e565b50565b61089b3382611576565b6001600160a01b0381166000908152600760205260408120546108ca906115ef565b92915050565b6009546001600160a01b031633146108fa5760405162461bcd60e51b81526004016105ba90612201565b6001600160a01b0381166000908152600a602052604090205460ff16156109765760405162461bcd60e51b815260206004820152602a60248201527f41646d696e6973747261626c653a206164647265737320697320616c726561646044820152693c9030b71030b236b4b760b11b60648201526084016105ba565b6001600160a01b0381166000818152600a6020908152604091829020805460ff1916600117905590519182527f44d6d25963f097ad14f29f06854a01f575648a1ef82f30e562ccd3889717e3399101610687565b6009546001600160a01b031633146109f45760405162461bcd60e51b81526004016105ba90612201565b6109fe6000611658565b565b6000610a0c833361046d565b905081811015610a6a5760405162461bcd60e51b8152602060048201526024808201527f45524332303a206275726e20616d6f756e74206578636565647320616c6c6f77604482015263616e636560e01b60648201526084016105ba565b610a778333848403610ff2565b610a81838361155e565b505050565b6001600160a01b0381166000908152600560205260408120546108ca565b6000438210610af55760405162461bcd60e51b815260206004820152601f60248201527f4552433230566f7465733a20626c6f636b206e6f7420796574206d696e65640060448201526064016105ba565b6108ca600883611417565b6060600480546104f790612287565b6001600160a01b0381166000908152600760205260408120548015610b83576001600160a01b0383166000908152600760205260409020610b51600183612270565b81548110610b6157610b616122e8565b60009182526020909120015464010000000090046001600160e01b0316610b86565b60005b6001600160e01b03169392505050565b3360009081526001602090815260408083206001600160a01b038616845290915281205482811015610c185760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016105ba565b610c253385858403610ff2565b5060019392505050565b6000610587338484611116565b83421115610c8c5760405162461bcd60e51b815260206004820152601d60248201527f4552433230566f7465733a207369676e6174757265206578706972656400000060448201526064016105ba565b604080517fe48329057bfd03d55e49b547132e39cffd9c1820ad7b9d4c5307691425d15adf60208201526001600160a01b038816918101919091526060810186905260808101859052600090610d0690610cfe9060a001604051602081830303815290604052805190602001206116aa565b8585856116f8565b9050610d1181611720565b8614610d5f5760405162461bcd60e51b815260206004820152601960248201527f4552433230566f7465733a20696e76616c6964206e6f6e63650000000000000060448201526064016105ba565b610d698188611576565b50505050505050565b83421115610dc25760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016105ba565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888610df18c611720565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000610e4c826116aa565b90506000610e5c828787876116f8565b9050896001600160a01b0316816001600160a01b031614610ebf5760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016105ba565b610eca8a8a8a610ff2565b50505050505050505050565b60408051808201909152600080825260208201526001600160a01b0383166000908152600760205260409020805463ffffffff8416908110610f1a57610f1a6122e8565b60009182526020918290206040805180820190915291015463ffffffff8116825264010000000090046001600160e01b0316918101919091529392505050565b6009546001600160a01b03163314610f845760405162461bcd60e51b81526004016105ba90612201565b6001600160a01b038116610fe95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016105ba565b61089b81611658565b6001600160a01b0383166110545760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016105ba565b6001600160a01b0382166110b55760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016105ba565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b6001600160a01b03831661117a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016105ba565b6001600160a01b0382166111dc5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016105ba565b6001600160a01b038316600090815260208190526040902054818110156112545760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016105ba565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061128b908490612236565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516112d791815260200190565b60405180910390a36112ea848484611748565b50505050565b6000306001600160a01b037f000000000000000000000000fa57f00d948bb6a28072f5416fcbf7836c3d62dd1614801561134957507f000000000000000000000000000000000000000000000000000000000000000146145b1561137357507f5e2de10c1567a99b3f2a4ca48c1dc9fbf25a77ea708505fb80101fcaecaf4ac190565b50604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6020808301919091527f9c7af28f5a61173a6bdd0f7747eadff7721c021871ef0ed0657d06668e96e976828401527fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc660608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b8154600090815b8181101561147b576000611432828461177a565b905084868281548110611447576114476122e8565b60009182526020909120015463ffffffff16111561146757809250611475565b611472816001612236565b91505b5061141e565b81156114bf578461148d600184612270565b8154811061149d5761149d6122e8565b60009182526020909120015464010000000090046001600160e01b03166114c2565b60005b6001600160e01b031695945050505050565b6114de8282611795565b6002546001600160e01b0310156115505760405162461bcd60e51b815260206004820152603060248201527f4552433230566f7465733a20746f74616c20737570706c79207269736b73206f60448201526f766572666c6f77696e6720766f74657360801b60648201526084016105ba565b6112ea600861187c83611888565b6115688282611a01565b6112ea6008611b5683611888565b6001600160a01b038281166000818152600660208181526040808420805485845282862054949093528787166001600160a01b03198416811790915590519190951694919391928592917f3134e8a2e6d97e929a7e54011ea5485d7d196dd5f0ba4d4ef95803e8e3fc257f9190a46112ea828483611b62565b600063ffffffff8211156116545760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203360448201526532206269747360d01b60648201526084016105ba565b5090565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60006108ca6116b76112f0565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061170987878787611c9f565b9150915061171681611d8c565b5095945050505050565b6001600160a01b03811660009081526005602052604090208054600181018255905b50919050565b6001600160a01b03838116600090815260066020526040808220548584168352912054610a8192918216911683611b62565b6000611789600284841861224e565b6107fa90848416612236565b6001600160a01b0382166117eb5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016105ba565b80600260008282546117fd9190612236565b90915550506001600160a01b0382166000908152602081905260408120805483929061182a908490612236565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a361088d60008383611748565b60006107fa8284612236565b8254600090819080156118d357856118a1600183612270565b815481106118b1576118b16122e8565b60009182526020909120015464010000000090046001600160e01b03166118d6565b60005b6001600160e01b031692506118ef83858763ffffffff16565b915060008111801561192d57504386611909600184612270565b81548110611919576119196122e8565b60009182526020909120015463ffffffff16145b1561198d5761193b82611f47565b86611947600184612270565b81548110611957576119576122e8565b9060005260206000200160000160046101000a8154816001600160e01b0302191690836001600160e01b031602179055506119f8565b8560405180604001604052806119a2436115ef565b63ffffffff1681526020016119b685611f47565b6001600160e01b0390811690915282546001810184556000938452602093849020835194909301519091166401000000000263ffffffff909316929092179101555b50935093915050565b6001600160a01b038216611a615760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016105ba565b6001600160a01b03821660009081526020819052604090205481811015611ad55760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016105ba565b6001600160a01b0383166000908152602081905260408120838303905560028054849290611b04908490612270565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a3610a8183600084611748565b60006107fa8284612270565b816001600160a01b0316836001600160a01b031614158015611b845750600081115b15610a81576001600160a01b03831615611c12576001600160a01b03831660009081526007602052604081208190611bbf90611b5685611888565b91509150846001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611c07929190918252602082015260400190565b60405180910390a250505b6001600160a01b03821615610a81576001600160a01b03821660009081526007602052604081208190611c489061187c85611888565b91509150836001600160a01b03167fdec2bacdd2f05b59de34da9b523dff8be42e5e38e818c82fdb0bae774387a7248383604051611c90929190918252602082015260400190565b60405180910390a25050505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611cd65750600090506003611d83565b8460ff16601b14158015611cee57508460ff16601c14155b15611cff5750600090506004611d83565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611d53573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611d7c57600060019250925050611d83565b9150600090505b94509492505050565b6000816004811115611da057611da06122d2565b1415611da95750565b6001816004811115611dbd57611dbd6122d2565b1415611e0b5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016105ba565b6002816004811115611e1f57611e1f6122d2565b1415611e6d5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016105ba565b6003816004811115611e8157611e816122d2565b1415611eda5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016105ba565b6004816004811115611eee57611eee6122d2565b141561089b5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016105ba565b60006001600160e01b038211156116545760405162461bcd60e51b815260206004820152602760248201527f53616665436173743a2076616c756520646f65736e27742066697420696e20326044820152663234206269747360c81b60648201526084016105ba565b80356001600160a01b0381168114611fc757600080fd5b919050565b803560ff81168114611fc757600080fd5b600060208284031215611fef57600080fd5b6107fa82611fb0565b6000806040838503121561200b57600080fd5b61201483611fb0565b915061202260208401611fb0565b90509250929050565b60008060006060848603121561204057600080fd5b61204984611fb0565b925061205760208501611fb0565b9150604084013590509250925092565b600080600080600080600060e0888a03121561208257600080fd5b61208b88611fb0565b965061209960208901611fb0565b955060408801359450606088013593506120b560808901611fcc565b925060a0880135915060c0880135905092959891949750929550565b600080604083850312156120e457600080fd5b6120ed83611fb0565b946020939093013593505050565b60008060008060008060c0878903121561211457600080fd5b61211d87611fb0565b9550602087013594506040870135935061213960608801611fcc565b92506080870135915060a087013590509295509295509295565b6000806040838503121561216657600080fd5b61216f83611fb0565b9150602083013563ffffffff8116811461218857600080fd5b809150509250929050565b6000602082840312156121a557600080fd5b5035919050565b600060208083528351808285015260005b818110156121d9578581018301518582016040015282016121bd565b818111156121eb576000604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60008219821115612249576122496122bc565b500190565b60008261226b57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015612282576122826122bc565b500390565b600181811c9082168061229b57607f821691505b6020821081141561174257634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052602160045260246000fd5b634e487b7160e01b600052603260045260246000fdfea264697066735822122024ac78b3e52f6ac9855f3d3bf6a0b0810a3e7c931c1b72a4856aa33a9f27e4cc64736f6c63430008070033

Deployed Bytecode Sourcemap

63160:837:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6737:100;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;8904:169;;;;;;:::i;:::-;;:::i;:::-;;;3858:14:1;;3851:22;3833:41;;3821:2;3806:18;8904:169:0;3693:187:1;62947:204:0;;;;;;:::i;:::-;;:::i;:::-;;7857:108;7945:12;;7857:108;;;4031:25:1;;;4019:2;4004:18;7857:108:0;3885:177:1;9555:492:0;;;;;;:::i;:::-;;:::i;7699:93::-;;;7782:2;18651:36:1;;18639:2;18624:18;7699:93:0;18509:184:1;39318:115:0;;;:::i;10456:215::-;;;;;;:::i;:::-;;:::i;52469:251::-;;;;;;:::i;:::-;;:::i;63341:107::-;;;;;;:::i;:::-;;:::i;63489:85::-;;;;;;:::i;:::-;;:::i;62326:39::-;;;;;;:::i;:::-;;;;;;;;;;;;;;;;51869:119;;;;;;:::i;:::-;-1:-1:-1;;;;;51961:19:0;;;51934:7;51961:19;;;:10;:19;;;;;;;;51869:119;;;;-1:-1:-1;;;;;3649:32:1;;;3631:51;;3619:2;3604:18;51869:119:0;3485:203:1;54908:105:0;;;;;;:::i;:::-;;:::i;51625:151::-;;;;;;:::i;:::-;;:::i;:::-;;;18486:10:1;18474:23;;;18456:42;;18444:2;18429:18;51625:151:0;18312:192:1;62697:204:0;;;;;;:::i;:::-;;:::i;8028:127::-;;;;;;:::i;:::-;-1:-1:-1;;;;;8129:18:0;8102:7;8129:18;;;;;;;;;;;;8028:127;60760:103;;;:::i;63630:362::-;;;;;;:::i;:::-;;:::i;39060:128::-;;;;;;:::i;:::-;;:::i;60109:87::-;60182:6;;-1:-1:-1;;;;;60182:6:0;60109:87;;53009:242;;;;;;:::i;:::-;;:::i;6956:104::-;;;:::i;52072:195::-;;;;;;:::i;:::-;;:::i;11174:413::-;;;;;;:::i;:::-;;:::i;8368:175::-;;;;;;:::i;:::-;;:::i;55095:582::-;;;;;;:::i;:::-;;:::i;38349:645::-;;;;;;:::i;:::-;;:::i;8606:151::-;;;;;;:::i;:::-;-1:-1:-1;;;;;8722:18:0;;;8695:7;8722:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;8606:151;51395:150;;;;;;:::i;:::-;;:::i;:::-;;;;17750:13:1;;17765:10;17746:30;17728:49;;17837:4;17825:17;;;17819:24;-1:-1:-1;;;;;17815:50:1;17793:20;;;17786:80;;;;17701:18;51395:150:0;17526:346:1;61018:201:0;;;;;;:::i;:::-;;:::i;6737:100::-;6791:13;6824:5;6817:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6737:100;:::o;8904:169::-;8987:4;9004:39;4468:10;9027:7;9036:6;9004:8;:39::i;:::-;-1:-1:-1;9061:4:0;8904:169;;;;:::o;62947:204::-;60182:6;;-1:-1:-1;;;;;60182:6:0;4468:10;60329:23;60321:68;;;;-1:-1:-1;;;60321:68:0;;;;;;;:::i;:::-;;;;;;;;;-1:-1:-1;;;;;63021:13:0;::::1;;::::0;;;:6:::1;:13;::::0;;;;;::::1;;63013:64;;;::::0;-1:-1:-1;;;63013:64:0;;15332:2:1;63013:64:0::1;::::0;::::1;15314:21:1::0;15371:2;15351:18;;;15344:30;15410:34;15390:18;;;15383:62;-1:-1:-1;;;15461:18:1;;;15454:36;15507:19;;63013:64:0::1;15130:402:1::0;63013:64:0::1;-1:-1:-1::0;;;;;63095:13:0;::::1;;::::0;;;:6:::1;:13;::::0;;;;;;;;63088:20;;-1:-1:-1;;63088:20:0::1;::::0;;63124:19;;3631:51:1;;;63124:19:0::1;::::0;3604:18:1;63124:19:0::1;;;;;;;;62947:204:::0;:::o;9555:492::-;9695:4;9712:36;9722:6;9730:9;9741:6;9712:9;:36::i;:::-;-1:-1:-1;;;;;9788:19:0;;9761:24;9788:19;;;:11;:19;;;;;;;;4468:10;9788:33;;;;;;;;9840:26;;;;9832:79;;;;-1:-1:-1;;;9832:79:0;;12524:2:1;9832:79:0;;;12506:21:1;12563:2;12543:18;;;12536:30;12602:34;12582:18;;;12575:62;-1:-1:-1;;;12653:18:1;;;12646:38;12701:19;;9832:79:0;12322:404:1;9832:79:0;9947:57;9956:6;4468:10;9997:6;9978:16;:25;9947:8;:57::i;:::-;-1:-1:-1;10035:4:0;;9555:492;-1:-1:-1;;;;9555:492:0:o;39318:115::-;39378:7;39405:20;:18;:20::i;:::-;39398:27;;39318:115;:::o;10456:215::-;4468:10;10544:4;10593:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;10593:34:0;;;;;;;;;;10544:4;;10561:80;;10584:7;;10593:47;;10630:10;;10593:47;:::i;:::-;10561:8;:80::i;52469:251::-;52550:7;52592:12;52578:11;:26;52570:70;;;;-1:-1:-1;;;52570:70:0;;7543:2:1;52570:70:0;;;7525:21:1;7582:2;7562:18;;;7555:30;7621:33;7601:18;;;7594:61;7672:18;;52570:70:0;7341:355:1;52570:70:0;-1:-1:-1;;;;;52677:21:0;;;;;;:12;:21;;;;;52658:54;;52700:11;52658:18;:54::i;:::-;52651:61;52469:251;-1:-1:-1;;;52469:251:0:o;63341:107::-;4468:10;62543:20;;;;:6;:20;;;;;;;;;:47;;-1:-1:-1;60182:6:0;;-1:-1:-1;;;;;60182:6:0;4468:10;62567:23;62543:47;62535:97;;;;-1:-1:-1;;;62535:97:0;;11356:2:1;62535:97:0;;;11338:21:1;11395:2;11375:18;;;11368:30;11434:34;11414:18;;;11407:62;-1:-1:-1;;;11485:18:1;;;11478:35;11530:19;;62535:97:0;11154:401:1;62535:97:0;63418:22:::1;63424:7;63433:6;63418:5;:22::i;:::-;63341:107:::0;;:::o;63489:85::-;63539:27;4468:10;63559:6;63539:5;:27::i;:::-;63489:85;:::o;54908:105::-;54971:34;4468:10;54995:9;54971;:34::i;51625:151::-;-1:-1:-1;;;;;51739:21:0;;51695:6;51739:21;;;:12;:21;;;;;:28;51721:47;;:17;:47::i;:::-;51714:54;51625:151;-1:-1:-1;;51625:151:0:o;62697:204::-;60182:6;;-1:-1:-1;;;;;60182:6:0;4468:10;60329:23;60321:68;;;;-1:-1:-1;;;60321:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;62769:13:0;::::1;;::::0;;;:6:::1;:13;::::0;;;;;::::1;;62768:14;62760:69;;;::::0;-1:-1:-1;;;62760:69:0;;16551:2:1;62760:69:0::1;::::0;::::1;16533:21:1::0;16590:2;16570:18;;;16563:30;16629:34;16609:18;;;16602:62;-1:-1:-1;;;16680:18:1;;;16673:40;16730:19;;62760:69:0::1;16349:406:1::0;62760:69:0::1;-1:-1:-1::0;;;;;62840:13:0;::::1;;::::0;;;:6:::1;:13;::::0;;;;;;;;:20;;-1:-1:-1;;62840:20:0::1;62856:4;62840:20;::::0;;62876:17;;3631:51:1;;;62876:17:0::1;::::0;3604:18:1;62876:17:0::1;3485:203:1::0;60760:103:0;60182:6;;-1:-1:-1;;;;;60182:6:0;4468:10;60329:23;60321:68;;;;-1:-1:-1;;;60321:68:0;;;;;;;:::i;:::-;60825:30:::1;60852:1;60825:18;:30::i;:::-;60760:103::o:0;63630:362::-;63701:24;63728:32;63738:7;4468:10;8606:151;:::i;63728:32::-;63701:59;;63799:6;63779:16;:26;;63771:75;;;;-1:-1:-1;;;63771:75:0;;14119:2:1;63771:75:0;;;14101:21:1;14158:2;14138:18;;;14131:30;14197:34;14177:18;;;14170:62;-1:-1:-1;;;14248:18:1;;;14241:34;14292:19;;63771:75:0;13917:400:1;63771:75:0;63882:58;63891:7;4468:10;63933:6;63914:16;:25;63882:8;:58::i;:::-;63962:22;63968:7;63977:6;63962:5;:22::i;:::-;63690:302;63630:362;;:::o;39060:128::-;-1:-1:-1;;;;;39156:14:0;;39129:7;39156:14;;;:7;:14;;;;;36381;39156:24;36289:114;53009:242;53079:7;53121:12;53107:11;:26;53099:70;;;;-1:-1:-1;;;53099:70:0;;7543:2:1;53099:70:0;;;7525:21:1;7582:2;7562:18;;;7555:30;7621:33;7601:18;;;7594:61;7672:18;;53099:70:0;7341:355:1;53099:70:0;53187:56;53206:23;53231:11;53187:18;:56::i;6956:104::-;7012:13;7045:7;7038:14;;;;;:::i;52072:195::-;-1:-1:-1;;;;;52162:21:0;;52128:7;52162:21;;;:12;:21;;;;;:28;52208:8;;:51;;-1:-1:-1;;;;;52223:21:0;;;;;;:12;:21;;;;;52245:7;52251:1;52245:3;:7;:::i;:::-;52223:30;;;;;;;;:::i;:::-;;;;;;;;;;:36;;;;-1:-1:-1;;;;;52223:36:0;52208:51;;;52219:1;52208:51;-1:-1:-1;;;;;52201:58:0;;52072:195;-1:-1:-1;;;52072:195:0:o;11174:413::-;4468:10;11267:4;11311:25;;;:11;:25;;;;;;;;-1:-1:-1;;;;;11311:34:0;;;;;;;;;;11364:35;;;;11356:85;;;;-1:-1:-1;;;11356:85:0;;16962:2:1;11356:85:0;;;16944:21:1;17001:2;16981:18;;;16974:30;17040:34;17020:18;;;17013:62;-1:-1:-1;;;17091:18:1;;;17084:35;17136:19;;11356:85:0;16760:401:1;11356:85:0;11477:67;4468:10;11500:7;11528:15;11509:16;:34;11477:8;:67::i;:::-;-1:-1:-1;11575:4:0;;11174:413;-1:-1:-1;;;11174:413:0:o;8368:175::-;8454:4;8471:42;4468:10;8495:9;8506:6;8471:9;:42::i;55095:582::-;55313:6;55294:15;:25;;55286:67;;;;-1:-1:-1;;;55286:67:0;;7903:2:1;55286:67:0;;;7885:21:1;7942:2;7922:18;;;7915:30;7981:31;7961:18;;;7954:59;8030:18;;55286:67:0;7701:353:1;55286:67:0;55436:58;;;50646:71;55436:58;;;4894:25:1;-1:-1:-1;;;;;4955:32:1;;4935:18;;;4928:60;;;;5004:18;;;4997:34;;;5047:18;;;5040:34;;;55364:14:0;;55381:174;;55409:87;;4866:19:1;;55436:58:0;;;;;;;;;;;;55426:69;;;;;;55409:16;:87::i;:::-;55511:1;55527;55543;55381:13;:174::i;:::-;55364:191;;55583:17;55593:6;55583:9;:17::i;:::-;55574:5;:26;55566:64;;;;-1:-1:-1;;;55566:64:0;;9024:2:1;55566:64:0;;;9006:21:1;9063:2;9043:18;;;9036:30;9102:27;9082:18;;;9075:55;9147:18;;55566:64:0;8822:349:1;55566:64:0;55641:28;55651:6;55659:9;55641;:28::i;:::-;55275:402;55095:582;;;;;;:::o;38349:645::-;38593:8;38574:15;:27;;38566:69;;;;-1:-1:-1;;;38566:69:0;;10188:2:1;38566:69:0;;;10170:21:1;10227:2;10207:18;;;10200:30;10266:31;10246:18;;;10239:59;10315:18;;38566:69:0;9986:353:1;38566:69:0;38648:18;38690:16;38708:5;38715:7;38724:5;38731:16;38741:5;38731:9;:16::i;:::-;38679:79;;;;;;4354:25:1;;;;-1:-1:-1;;;;;4453:15:1;;;4433:18;;;4426:43;4505:15;;;;4485:18;;;4478:43;4537:18;;;4530:34;4580:19;;;4573:35;4624:19;;;4617:35;;;4326:19;;38679:79:0;;;;;;;;;;;;38669:90;;;;;;38648:111;;38772:12;38787:28;38804:10;38787:16;:28::i;:::-;38772:43;;38828:14;38845:28;38859:4;38865:1;38868;38871;38845:13;:28::i;:::-;38828:45;;38902:5;-1:-1:-1;;;;;38892:15:0;:6;-1:-1:-1;;;;;38892:15:0;;38884:58;;;;-1:-1:-1;;;38884:58:0;;12165:2:1;38884:58:0;;;12147:21:1;12204:2;12184:18;;;12177:30;12243:32;12223:18;;;12216:60;12293:18;;38884:58:0;11963:354:1;38884:58:0;38955:31;38964:5;38971:7;38980:5;38955:8;:31::i;:::-;38555:439;;;38349:645;;;;;;;:::o;51395:150::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;51511:21:0;;;;;;:12;:21;;;;;:26;;;;;;;;;;;;:::i;:::-;;;;;;;;;;51504:33;;;;;;;;;51511:26;;51504:33;;;;;;;;;-1:-1:-1;;;;;51504:33:0;;;;;;;;;51395:150;-1:-1:-1;;;51395:150:0:o;61018:201::-;60182:6;;-1:-1:-1;;;;;60182:6:0;4468:10;60329:23;60321:68;;;;-1:-1:-1;;;60321:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;61107:22:0;::::1;61099:73;;;::::0;-1:-1:-1;;;61099:73:0;;9378:2:1;61099:73:0::1;::::0;::::1;9360:21:1::0;9417:2;9397:18;;;9390:30;9456:34;9436:18;;;9429:62;-1:-1:-1;;;9507:18:1;;;9500:36;9553:19;;61099:73:0::1;9176:402:1::0;61099:73:0::1;61183:28;61202:8;61183:18;:28::i;14858:380::-:0;-1:-1:-1;;;;;14994:19:0;;14986:68;;;;-1:-1:-1;;;14986:68:0;;16146:2:1;14986:68:0;;;16128:21:1;16185:2;16165:18;;;16158:30;16224:34;16204:18;;;16197:62;-1:-1:-1;;;16275:18:1;;;16268:34;16319:19;;14986:68:0;15944:400:1;14986:68:0;-1:-1:-1;;;;;15073:21:0;;15065:68;;;;-1:-1:-1;;;15065:68:0;;9785:2:1;15065:68:0;;;9767:21:1;9824:2;9804:18;;;9797:30;9863:34;9843:18;;;9836:62;-1:-1:-1;;;9914:18:1;;;9907:32;9956:19;;15065:68:0;9583:398:1;15065:68:0;-1:-1:-1;;;;;15146:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;15198:32;;4031:25:1;;;15198:32:0;;4004:18:1;15198:32:0;;;;;;;14858:380;;;:::o;12077:733::-;-1:-1:-1;;;;;12217:20:0;;12209:70;;;;-1:-1:-1;;;12209:70:0;;14926:2:1;12209:70:0;;;14908:21:1;14965:2;14945:18;;;14938:30;15004:34;14984:18;;;14977:62;-1:-1:-1;;;15055:18:1;;;15048:35;15100:19;;12209:70:0;14724:401:1;12209:70:0;-1:-1:-1;;;;;12298:23:0;;12290:71;;;;-1:-1:-1;;;12290:71:0;;7139:2:1;12290:71:0;;;7121:21:1;7178:2;7158:18;;;7151:30;7217:34;7197:18;;;7190:62;-1:-1:-1;;;7268:18:1;;;7261:33;7311:19;;12290:71:0;6937:399:1;12290:71:0;-1:-1:-1;;;;;12458:17:0;;12434:21;12458:17;;;;;;;;;;;12494:23;;;;12486:74;;;;-1:-1:-1;;;12486:74:0;;10546:2:1;12486:74:0;;;10528:21:1;10585:2;10565:18;;;10558:30;10624:34;10604:18;;;10597:62;-1:-1:-1;;;10675:18:1;;;10668:36;10721:19;;12486:74:0;10344:402:1;12486:74:0;-1:-1:-1;;;;;12596:17:0;;;:9;:17;;;;;;;;;;;12616:22;;;12596:42;;12660:20;;;;;;;;:30;;12632:6;;12596:9;12660:30;;12632:6;;12660:30;:::i;:::-;;;;;;;;12725:9;-1:-1:-1;;;;;12708:35:0;12717:6;-1:-1:-1;;;;;12708:35:0;;12736:6;12708:35;;;;4031:25:1;;4019:2;4004:18;;3885:177;12708:35:0;;;;;;;;12756:46;12776:6;12784:9;12795:6;12756:19;:46::i;:::-;12198:612;12077:733;;;:::o;34010:314::-;34063:7;34095:4;-1:-1:-1;;;;;34104:12:0;34087:29;;:66;;;;;34137:16;34120:13;:33;34087:66;34083:234;;;-1:-1:-1;34177:24:0;;34010:314::o;34083:234::-;-1:-1:-1;34513:73:0;;;34263:10;34513:73;;;;5344:25:1;;;;34275:12:0;5385:18:1;;;5378:34;34289:15:0;5428:18:1;;;5421:34;34557:13:0;5471:18:1;;;5464:34;34580:4:0;5514:19:1;;;;5507:61;;;;34513:73:0;;;;;;;;;;5316:19:1;;;;34513:73:0;;;34503:84;;;;;;39318:115::o;53340:1482::-;54473:12;;53439:7;;;54522:236;54535:4;54529:3;:10;54522:236;;;54556:11;54570:23;54583:3;54588:4;54570:12;:23::i;:::-;54556:37;;54635:11;54612:5;54618:3;54612:10;;;;;;;;:::i;:::-;;;;;;;;;;:20;;;:34;54608:139;;;54674:3;54667:10;;54608:139;;;54724:7;:3;54730:1;54724:7;:::i;:::-;54718:13;;54608:139;54541:217;54522:236;;;54777:9;;:37;;54793:5;54799:8;54806:1;54799:4;:8;:::i;:::-;54793:15;;;;;;;;:::i;:::-;;;;;;;;;;:21;;;;-1:-1:-1;;;;;54793:21:0;54777:37;;;54789:1;54777:37;-1:-1:-1;;;;;54770:44:0;;53340:1482;-1:-1:-1;;;;;53340:1482:0:o;55983:290::-;56068:28;56080:7;56089:6;56068:11;:28::i;:::-;7945:12;;-1:-1:-1;;;;;;56115:29:0;56107:90;;;;-1:-1:-1;;;56107:90:0;;12933:2:1;56107:90:0;;;12915:21:1;12972:2;12952:18;;;12945:30;13011:34;12991:18;;;12984:62;-1:-1:-1;;;13062:18:1;;;13055:46;13118:19;;56107:90:0;12731:412:1;56107:90:0;56210:55;56227:23;56252:4;56258:6;56210:16;:55::i;56367:194::-;56452:28;56464:7;56473:6;56452:11;:28::i;:::-;56493:60;56510:23;56535:9;56546:6;56493:16;:60::i;57127:388::-;-1:-1:-1;;;;;51961:19:0;;;57212:23;51961:19;;;:10;:19;;;;;;;;;;8129:18;;;;;;;57327:21;;;;:33;;;-1:-1:-1;;;;;;57327:33:0;;;;;;;57378:54;;51961:19;;;;;8129:18;;57327:33;;51961:19;;;57378:54;;57212:23;57378:54;57445:62;57462:15;57479:9;57490:16;57445;:62::i;44244:190::-;44300:6;44336:16;44327:25;;;44319:76;;;;-1:-1:-1;;;44319:76:0;;15739:2:1;44319:76:0;;;15721:21:1;15778:2;15758:18;;;15751:30;15817:34;15797:18;;;15790:62;-1:-1:-1;;;15868:18:1;;;15861:36;15914:19;;44319:76:0;15537:402:1;44319:76:0;-1:-1:-1;44420:5:0;44244:190::o;61379:191::-;61472:6;;;-1:-1:-1;;;;;61489:17:0;;;-1:-1:-1;;;;;;61489:17:0;;;;;;;61522:40;;61472:6;;;61489:17;61472:6;;61522:40;;61453:16;;61522:40;61442:128;61379:191;:::o;35237:167::-;35314:7;35341:55;35363:20;:18;:20::i;:::-;35385:10;30703:57;;-1:-1:-1;;;30703:57:0;;;3346:27:1;3389:11;;;3382:27;;;3425:12;;;3418:28;;;30666:7:0;;3462:12:1;;30703:57:0;;;;;;;;;;;;30693:68;;;;;;30686:75;;30573:196;;;;;28882:279;29010:7;29031:17;29050:18;29072:25;29083:4;29089:1;29092;29095;29072:10;:25::i;:::-;29030:67;;;;29108:18;29120:5;29108:11;:18::i;:::-;-1:-1:-1;29144:9:0;28882:279;-1:-1:-1;;;;;28882:279:0:o;39571:207::-;-1:-1:-1;;;;;39692:14:0;;39631:15;39692:14;;;:7;:14;;;;;36381;;36518:1;36500:19;;;;36381:14;39753:17;39648:130;39571:207;;;:::o;56701:262::-;-1:-1:-1;;;;;51961:19:0;;;51934:7;51961:19;;;:10;:19;;;;;;;;;;;;;;;56899:56;;51961:19;;;;;56948:6;56899:16;:56::i;40506:156::-;40568:7;40643:11;40653:1;40644:5;;;40643:11;:::i;:::-;40633:21;;40634:5;;;40633:21;:::i;13097:399::-;-1:-1:-1;;;;;13181:21:0;;13173:65;;;;-1:-1:-1;;;13173:65:0;;17368:2:1;13173:65:0;;;17350:21:1;17407:2;17387:18;;;17380:30;17446:33;17426:18;;;17419:61;17497:18;;13173:65:0;17166:355:1;13173:65:0;13329:6;13313:12;;:22;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;;;13346:18:0;;:9;:18;;;;;;;;;;:28;;13368:6;;13346:9;:28;;13368:6;;13346:28;:::i;:::-;;;;-1:-1:-1;;13390:37:0;;4031:25:1;;;-1:-1:-1;;;;;13390:37:0;;;13407:1;;13390:37;;4019:2:1;4004:18;13390:37:0;;;;;;;13440:48;13468:1;13472:7;13481:6;13440:19;:48::i;58827:98::-;58885:7;58912:5;58916:1;58912;:5;:::i;58174:645::-;58411:12;;58348:17;;;;58446:8;;:35;;58461:5;58467:7;58473:1;58467:3;:7;:::i;:::-;58461:14;;;;;;;;:::i;:::-;;;;;;;;;;:20;;;;-1:-1:-1;;;;;58461:20:0;58446:35;;;58457:1;58446:35;-1:-1:-1;;;;;58434:47:0;;;58504:20;58507:9;58518:5;58504:2;:20;;:::i;:::-;58492:32;;58547:1;58541:3;:7;:51;;;;-1:-1:-1;58580:12:0;58552:5;58558:7;58564:1;58558:3;:7;:::i;:::-;58552:14;;;;;;;;:::i;:::-;;;;;;;;;;:24;;;:40;58541:51;58537:275;;;58632:29;58651:9;58632:18;:29::i;:::-;58609:5;58615:7;58621:1;58615:3;:7;:::i;:::-;58609:14;;;;;;;;:::i;:::-;;;;;;;;:20;;;:52;;;;;-1:-1:-1;;;;;58609:52:0;;;;;-1:-1:-1;;;;;58609:52:0;;;;;;58537:275;;;58694:5;58705:94;;;;;;;;58728:31;58746:12;58728:17;:31::i;:::-;58705:94;;;;;;58768:29;58787:9;58768:18;:29::i;:::-;-1:-1:-1;;;;;58705:94:0;;;;;;58694:106;;;;;;;-1:-1:-1;58694:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58537:275;58386:433;58174:645;;;;;;:::o;13829:591::-;-1:-1:-1;;;;;13913:21:0;;13905:67;;;;-1:-1:-1;;;13905:67:0;;14524:2:1;13905:67:0;;;14506:21:1;14563:2;14543:18;;;14536:30;14602:34;14582:18;;;14575:62;-1:-1:-1;;;14653:18:1;;;14646:31;14694:19;;13905:67:0;14322:397:1;13905:67:0;-1:-1:-1;;;;;14072:18:0;;14047:22;14072:18;;;;;;;;;;;14109:24;;;;14101:71;;;;-1:-1:-1;;;14101:71:0;;8261:2:1;14101:71:0;;;8243:21:1;8300:2;8280:18;;;8273:30;8339:34;8319:18;;;8312:62;-1:-1:-1;;;8390:18:1;;;8383:32;8432:19;;14101:71:0;8059:398:1;14101:71:0;-1:-1:-1;;;;;14208:18:0;;:9;:18;;;;;;;;;;14229:23;;;14208:44;;14274:12;:22;;14246:6;;14208:9;14274:22;;14246:6;;14274:22;:::i;:::-;;;;-1:-1:-1;;14314:37:0;;4031:25:1;;;14340:1:0;;-1:-1:-1;;;;;14314:37:0;;;;;4019:2:1;4004:18;14314:37:0;;;;;;;14364:48;14384:7;14401:1;14405:6;14364:19;:48::i;58933:103::-;58996:7;59023:5;59027:1;59023;:5;:::i;57523:643::-;57655:3;-1:-1:-1;;;;;57648:10:0;:3;-1:-1:-1;;;;;57648:10:0;;;:24;;;;;57671:1;57662:6;:10;57648:24;57644:515;;;-1:-1:-1;;;;;57693:17:0;;;57689:224;;-1:-1:-1;;;;;57789:17:0;;57732;57789;;;:12;:17;;;;;57732;;57772:54;;57808:9;57819:6;57772:16;:54::i;:::-;57731:95;;;;57871:3;-1:-1:-1;;;;;57850:47:0;;57876:9;57887;57850:47;;;;;;18233:25:1;;;18289:2;18274:18;;18267:34;18221:2;18206:18;;18059:248;57850:47:0;;;;;;;;57712:201;;57689:224;-1:-1:-1;;;;;57933:17:0;;;57929:219;;-1:-1:-1;;;;;58029:17:0;;57972;58029;;;:12;:17;;;;;57972;;58012:49;;58048:4;58054:6;58012:16;:49::i;:::-;57971:90;;;;58106:3;-1:-1:-1;;;;;58085:47:0;;58111:9;58122;58085:47;;;;;;18233:25:1;;;18289:2;18274:18;;18267:34;18221:2;18206:18;;18059:248;58085:47:0;;;;;;;;57952:196;;57523:643;;;:::o;27104:1639::-;27235:7;;28176:66;28163:79;;28159:163;;;-1:-1:-1;28275:1:0;;-1:-1:-1;28279:30:0;28259:51;;28159:163;28336:1;:7;;28341:2;28336:7;;:18;;;;;28347:1;:7;;28352:2;28347:7;;28336:18;28332:102;;;-1:-1:-1;28387:1:0;;-1:-1:-1;28391:30:0;28371:51;;28332:102;28548:24;;;28531:14;28548:24;;;;;;;;;5806:25:1;;;5879:4;5867:17;;5847:18;;;5840:45;;;;5901:18;;;5894:34;;;5944:18;;;5937:34;;;28548:24:0;;5778:19:1;;28548:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;28548:24:0;;-1:-1:-1;;28548:24:0;;;-1:-1:-1;;;;;;;28587:20:0;;28583:103;;28640:1;28644:29;28624:50;;;;;;;28583:103;28706:6;-1:-1:-1;28714:20:0;;-1:-1:-1;27104:1639:0;;;;;;;;:::o;21766:643::-;21844:20;21835:5;:29;;;;;;;;:::i;:::-;;21831:571;;;21766:643;:::o;21831:571::-;21942:29;21933:5;:38;;;;;;;;:::i;:::-;;21929:473;;;21988:34;;-1:-1:-1;;;21988:34:0;;6786:2:1;21988:34:0;;;6768:21:1;6825:2;6805:18;;;6798:30;6864:26;6844:18;;;6837:54;6908:18;;21988:34:0;6584:348:1;21929:473:0;22053:35;22044:5;:44;;;;;;;;:::i;:::-;;22040:362;;;22105:41;;-1:-1:-1;;;22105:41:0;;8664:2:1;22105:41:0;;;8646:21:1;8703:2;8683:18;;;8676:30;8742:33;8722:18;;;8715:61;8793:18;;22105:41:0;8462:355:1;22040:362:0;22177:30;22168:5;:39;;;;;;;;:::i;:::-;;22164:238;;;22224:44;;-1:-1:-1;;;22224:44:0;;10953:2:1;22224:44:0;;;10935:21:1;10992:2;10972:18;;;10965:30;11031:34;11011:18;;;11004:62;-1:-1:-1;;;11082:18:1;;;11075:32;11124:19;;22224:44:0;10751:398:1;22164:238:0;22299:30;22290:5;:39;;;;;;;;:::i;:::-;;22286:116;;;22346:44;;-1:-1:-1;;;22346:44:0;;11762:2:1;22346:44:0;;;11744:21:1;11801:2;11781:18;;;11774:30;11840:34;11820:18;;;11813:62;-1:-1:-1;;;11891:18:1;;;11884:32;11933:19;;22346:44:0;11560:398:1;42274:195:0;42331:7;-1:-1:-1;;;;;42359:26:0;;;42351:78;;;;-1:-1:-1;;;42351:78:0;;13711:2:1;42351:78:0;;;13693:21:1;13750:2;13730:18;;;13723:30;13789:34;13769:18;;;13762:62;-1:-1:-1;;;13840:18:1;;;13833:37;13887:19;;42351:78:0;13509:403:1;14:173;82:20;;-1:-1:-1;;;;;131:31:1;;121:42;;111:70;;177:1;174;167:12;111:70;14:173;;;:::o;192:156::-;258:20;;318:4;307:16;;297:27;;287:55;;338:1;335;328:12;353:186;412:6;465:2;453:9;444:7;440:23;436:32;433:52;;;481:1;478;471:12;433:52;504:29;523:9;504:29;:::i;544:260::-;612:6;620;673:2;661:9;652:7;648:23;644:32;641:52;;;689:1;686;679:12;641:52;712:29;731:9;712:29;:::i;:::-;702:39;;760:38;794:2;783:9;779:18;760:38;:::i;:::-;750:48;;544:260;;;;;:::o;809:328::-;886:6;894;902;955:2;943:9;934:7;930:23;926:32;923:52;;;971:1;968;961:12;923:52;994:29;1013:9;994:29;:::i;:::-;984:39;;1042:38;1076:2;1065:9;1061:18;1042:38;:::i;:::-;1032:48;;1127:2;1116:9;1112:18;1099:32;1089:42;;809:328;;;;;:::o;1142:606::-;1253:6;1261;1269;1277;1285;1293;1301;1354:3;1342:9;1333:7;1329:23;1325:33;1322:53;;;1371:1;1368;1361:12;1322:53;1394:29;1413:9;1394:29;:::i;:::-;1384:39;;1442:38;1476:2;1465:9;1461:18;1442:38;:::i;:::-;1432:48;;1527:2;1516:9;1512:18;1499:32;1489:42;;1578:2;1567:9;1563:18;1550:32;1540:42;;1601:37;1633:3;1622:9;1618:19;1601:37;:::i;:::-;1591:47;;1685:3;1674:9;1670:19;1657:33;1647:43;;1737:3;1726:9;1722:19;1709:33;1699:43;;1142:606;;;;;;;;;;:::o;1753:254::-;1821:6;1829;1882:2;1870:9;1861:7;1857:23;1853:32;1850:52;;;1898:1;1895;1888:12;1850:52;1921:29;1940:9;1921:29;:::i;:::-;1911:39;1997:2;1982:18;;;;1969:32;;-1:-1:-1;;;1753:254:1:o;2012:531::-;2114:6;2122;2130;2138;2146;2154;2207:3;2195:9;2186:7;2182:23;2178:33;2175:53;;;2224:1;2221;2214:12;2175:53;2247:29;2266:9;2247:29;:::i;:::-;2237:39;;2323:2;2312:9;2308:18;2295:32;2285:42;;2374:2;2363:9;2359:18;2346:32;2336:42;;2397:36;2429:2;2418:9;2414:18;2397:36;:::i;:::-;2387:46;;2480:3;2469:9;2465:19;2452:33;2442:43;;2532:3;2521:9;2517:19;2504:33;2494:43;;2012:531;;;;;;;;:::o;2548:350::-;2615:6;2623;2676:2;2664:9;2655:7;2651:23;2647:32;2644:52;;;2692:1;2689;2682:12;2644:52;2715:29;2734:9;2715:29;:::i;:::-;2705:39;;2794:2;2783:9;2779:18;2766:32;2838:10;2831:5;2827:22;2820:5;2817:33;2807:61;;2864:1;2861;2854:12;2807:61;2887:5;2877:15;;;2548:350;;;;;:::o;2903:180::-;2962:6;3015:2;3003:9;2994:7;2990:23;2986:32;2983:52;;;3031:1;3028;3021:12;2983:52;-1:-1:-1;3054:23:1;;2903:180;-1:-1:-1;2903:180:1:o;5982:597::-;6094:4;6123:2;6152;6141:9;6134:21;6184:6;6178:13;6227:6;6222:2;6211:9;6207:18;6200:34;6252:1;6262:140;6276:6;6273:1;6270:13;6262:140;;;6371:14;;;6367:23;;6361:30;6337:17;;;6356:2;6333:26;6326:66;6291:10;;6262:140;;;6420:6;6417:1;6414:13;6411:91;;;6490:1;6485:2;6476:6;6465:9;6461:22;6457:31;6450:42;6411:91;-1:-1:-1;6563:2:1;6542:15;-1:-1:-1;;6538:29:1;6523:45;;;;6570:2;6519:54;;5982:597;-1:-1:-1;;;5982:597:1:o;13148:356::-;13350:2;13332:21;;;13369:18;;;13362:30;13428:34;13423:2;13408:18;;13401:62;13495:2;13480:18;;13148:356::o;18698:128::-;18738:3;18769:1;18765:6;18762:1;18759:13;18756:39;;;18775:18;;:::i;:::-;-1:-1:-1;18811:9:1;;18698:128::o;18831:217::-;18871:1;18897;18887:132;;18941:10;18936:3;18932:20;18929:1;18922:31;18976:4;18973:1;18966:15;19004:4;19001:1;18994:15;18887:132;-1:-1:-1;19033:9:1;;18831:217::o;19053:125::-;19093:4;19121:1;19118;19115:8;19112:34;;;19126:18;;:::i;:::-;-1:-1:-1;19163:9:1;;19053:125::o;19183:380::-;19262:1;19258:12;;;;19305;;;19326:61;;19380:4;19372:6;19368:17;19358:27;;19326:61;19433:2;19425:6;19422:14;19402:18;19399:38;19396:161;;;19479:10;19474:3;19470:20;19467:1;19460:31;19514:4;19511:1;19504:15;19542:4;19539:1;19532:15;19568:127;19629:10;19624:3;19620:20;19617:1;19610:31;19660:4;19657:1;19650:15;19684:4;19681:1;19674:15;19700:127;19761:10;19756:3;19752:20;19749:1;19742:31;19792:4;19789:1;19782:15;19816:4;19813:1;19806:15;19832:127;19893:10;19888:3;19884:20;19881:1;19874:31;19924:4;19921:1;19914:15;19948:4;19945:1;19938:15

Swarm Source

ipfs://24ac78b3e52f6ac9855f3d3bf6a0b0810a3e7c931c1b72a4856aa33a9f27e4cc
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.