Contract 0x64DD805aa894dc001f8505e000c7535179D96C9E 1

 
Txn Hash Method
Index
From
To
Value
0xb191161518f7c3020ecd2e77fc521bf2a271ec49ec303896376eacbf8e4dc00bSet Team100788932022-06-01 20:03:09121 days 3 hrs agoVelodrome Finance: Deployer IN  0x64dd805aa894dc001f8505e000c7535179d96c9e0 Ether0.0006066385750.001
0xf2b42052e8742ceab3afe4e46f575aba092d1514e0b2c96e21c55895e858bf300x61016060100787812022-06-01 20:02:23121 days 3 hrs agoVelodrome Finance: Deployer IN  Create: VeloGovernor0 Ether0.0238980756650.001
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
VeloGovernor

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

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

// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;

// OpenZeppelin Contracts (last updated v4.6.0) (governance/IGovernor.sol)

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

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

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

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

/**
 * @dev Interface of the {Governor} core.
 *
 * _Available since v4.3._
 */
abstract contract IGovernor is IERC165 {
    enum ProposalState {
        Pending,
        Active,
        Canceled,
        Defeated,
        Succeeded,
        Queued,
        Expired,
        Executed
    }

    /**
     * @dev Emitted when a proposal is created.
     */
    event ProposalCreated(
        uint256 proposalId,
        address proposer,
        address[] targets,
        uint256[] values,
        string[] signatures,
        bytes[] calldatas,
        uint256 startBlock,
        uint256 endBlock,
        string description
    );

    /**
     * @dev Emitted when a proposal is canceled.
     */
    event ProposalCanceled(uint256 proposalId);

    /**
     * @dev Emitted when a proposal is executed.
     */
    event ProposalExecuted(uint256 proposalId);

    /**
     * @dev Emitted when a vote is cast without params.
     *
     * Note: `support` values should be seen as buckets. Their interpretation depends on the voting module used.
     */
    event VoteCast(address indexed voter, uint256 proposalId, uint8 support, uint256 weight, string reason);

    /**
     * @dev Emitted when a vote is cast with params.
     *
     * Note: `support` values should be seen as buckets. Their interpretation depends on the voting module used.
     * `params` are additional encoded parameters. Their intepepretation also depends on the voting module used.
     */
    event VoteCastWithParams(
        address indexed voter,
        uint256 proposalId,
        uint8 support,
        uint256 weight,
        string reason,
        bytes params
    );

    /**
     * @notice module:core
     * @dev Name of the governor instance (used in building the ERC712 domain separator).
     */
    function name() public view virtual returns (string memory);

    /**
     * @notice module:core
     * @dev Version of the governor instance (used in building the ERC712 domain separator). Default: "1"
     */
    function version() public view virtual returns (string memory);

    /**
     * @notice module:voting
     * @dev A description of the possible `support` values for {castVote} and the way these votes are counted, meant to
     * be consumed by UIs to show correct vote options and interpret the results. The string is a URL-encoded sequence of
     * key-value pairs that each describe one aspect, for example `support=bravo&quorum=for,abstain`.
     *
     * There are 2 standard keys: `support` and `quorum`.
     *
     * - `support=bravo` refers to the vote options 0 = Against, 1 = For, 2 = Abstain, as in `GovernorBravo`.
     * - `quorum=bravo` means that only For votes are counted towards quorum.
     * - `quorum=for,abstain` means that both For and Abstain votes are counted towards quorum.
     *
     * If a counting module makes use of encoded `params`, it should  include this under a `params` key with a unique
     * name that describes the behavior. For example:
     *
     * - `params=fractional` might refer to a scheme where votes are divided fractionally between for/against/abstain.
     * - `params=erc721` might refer to a scheme where specific NFTs are delegated to vote.
     *
     * NOTE: The string can be decoded by the standard
     * https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams[`URLSearchParams`]
     * JavaScript class.
     */
    // solhint-disable-next-line func-name-mixedcase
    function COUNTING_MODE() public pure virtual returns (string memory);

    /**
     * @notice module:core
     * @dev Hashing function used to (re)build the proposal id from the proposal details..
     */
    function hashProposal(
        address[] memory targets,
        uint256[] memory values,
        bytes[] memory calldatas,
        bytes32 descriptionHash
    ) public pure virtual returns (uint256);

    /**
     * @notice module:core
     * @dev Current state of a proposal, following Compound's convention
     */
    function state(uint256 proposalId) public view virtual returns (ProposalState);

    /**
     * @notice module:core
     * @dev Block number used to retrieve user's votes and quorum. As per Compound's Comp and OpenZeppelin's
     * ERC20Votes, the snapshot is performed at the end of this block. Hence, voting for this proposal starts at the
     * beginning of the following block.
     */
    function proposalSnapshot(uint256 proposalId) public view virtual returns (uint256);

    /**
     * @notice module:core
     * @dev Block number at which votes close. Votes close at the end of this block, so it is possible to cast a vote
     * during this block.
     */
    function proposalDeadline(uint256 proposalId) public view virtual returns (uint256);

    /**
     * @notice module:user-config
     * @dev Delay, in number of block, between the proposal is created and the vote starts. This can be increassed to
     * leave time for users to buy voting power, of delegate it, before the voting of a proposal starts.
     */
    function votingDelay() public view virtual returns (uint256);

    /**
     * @notice module:user-config
     * @dev Delay, in number of blocks, between the vote start and vote ends.
     *
     * NOTE: The {votingDelay} can delay the start of the vote. This must be considered when setting the voting
     * duration compared to the voting delay.
     */
    function votingPeriod() public view virtual returns (uint256);

    /**
     * @notice module:user-config
     * @dev Minimum number of cast voted required for a proposal to be successful.
     *
     * Note: The `blockNumber` parameter corresponds to the snapshot used for counting vote. This allows to scale the
     * quorum depending on values such as the totalSupply of a token at this block (see {ERC20Votes}).
     */
    function quorum(uint256 blockNumber) public view virtual returns (uint256);

    /**
     * @notice module:reputation
     * @dev Voting power of an `account` at a specific `blockNumber`.
     *
     * Note: this can be implemented in a number of ways, for example by reading the delegated balance from one (or
     * multiple), {ERC20Votes} tokens.
     */
    function getVotes(address account, uint256 blockNumber) public view virtual returns (uint256);

    /**
     * @notice module:reputation
     * @dev Voting power of an `account` at a specific `blockNumber` given additional encoded parameters.
     */
    function getVotesWithParams(
        address account,
        uint256 blockNumber,
        bytes memory params
    ) public view virtual returns (uint256);

    /**
     * @notice module:voting
     * @dev Returns weither `account` has cast a vote on `proposalId`.
     */
    function hasVoted(uint256 proposalId, address account) public view virtual returns (bool);

    /**
     * @dev Create a new proposal. Vote start {IGovernor-votingDelay} blocks after the proposal is created and ends
     * {IGovernor-votingPeriod} blocks after the voting starts.
     *
     * Emits a {ProposalCreated} event.
     */
    function propose(
        address[] memory targets,
        uint256[] memory values,
        bytes[] memory calldatas,
        string memory description
    ) public virtual returns (uint256 proposalId);

    /**
     * @dev Execute a successful proposal. This requires the quorum to be reached, the vote to be successful, and the
     * deadline to be reached.
     *
     * Emits a {ProposalExecuted} event.
     *
     * Note: some module can modify the requirements for execution, for example by adding an additional timelock.
     */
    function execute(
        address[] memory targets,
        uint256[] memory values,
        bytes[] memory calldatas,
        bytes32 descriptionHash
    ) public payable virtual returns (uint256 proposalId);

    /**
     * @dev Cast a vote
     *
     * Emits a {VoteCast} event.
     */
    function castVote(uint256 proposalId, uint8 support) public virtual returns (uint256 balance);

    /**
     * @dev Cast a vote with a reason
     *
     * Emits a {VoteCast} event.
     */
    function castVoteWithReason(
        uint256 proposalId,
        uint8 support,
        string calldata reason
    ) public virtual returns (uint256 balance);

    /**
     * @dev Cast a vote with a reason and additional encoded parameters
     *
     * Emits a {VoteCast} or {VoteCastWithParams} event depending on the length of params.
     */
    function castVoteWithReasonAndParams(
        uint256 proposalId,
        uint8 support,
        string calldata reason,
        bytes memory params
    ) public virtual returns (uint256 balance);

    /**
     * @dev Cast a vote using the user's cryptographic signature.
     *
     * Emits a {VoteCast} event.
     */
    function castVoteBySig(
        uint256 proposalId,
        uint8 support,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual returns (uint256 balance);

    /**
     * @dev Cast a vote with a reason and additional encoded parameters using the user's cryptographic signature.
     *
     * Emits a {VoteCast} or {VoteCastWithParams} event depending on the length of params.
     */
    function castVoteWithReasonAndParamsBySig(
        uint256 proposalId,
        uint8 support,
        string calldata reason,
        bytes memory params,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual returns (uint256 balance);
}

// OpenZeppelin Contracts (last updated v4.5.0) (governance/utils/IVotes.sol)

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

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

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

    /**
     * @dev Returns the amount of votes that `account` had at the end of a past block (`blockNumber`).
     */
    function getPastVotes(address account, uint256 blockNumber) external view returns (uint256);

    /**
     * @dev Returns the total supply of votes available at the end of a past block (`blockNumber`).
     *
     * NOTE: This value is the sum of all available votes, which is not necessarily the sum of all delegated votes.
     * Votes that have not been delegated are still part of total supply, even though they would not participate in a
     * vote.
     */
    function getPastTotalSupply(uint256 blockNumber) external view returns (uint256);

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

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

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

// OpenZeppelin Contracts (last updated v4.6.0) (governance/Governor.sol)

// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

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

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

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

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // 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);
    }

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

/**
 * @dev 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.
            /// @solidity memory-safe-assembly
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else 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.
            /// @solidity memory-safe-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 = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Returns the downcasted int40 from int256, reverting on
     * overflow (when the input is less than smallest int40 or
     * greater than largest int40).
     *
     * Counterpart to Solidity's `int40` operator.
     *
     * Requirements:
     *
     * - input must fit into 40 bits
     *
     * _Available since v4.7._
     */
    function toInt40(int256 value) internal pure returns (int40) {
        require(value >= type(int40).min && value <= type(int40).max, "SafeCast: value doesn't fit in 40 bits");
        return int40(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 int24 from int256, reverting on
     * overflow (when the input is less than smallest int24 or
     * greater than largest int24).
     *
     * Counterpart to Solidity's `int24` operator.
     *
     * Requirements:
     *
     * - input must fit into 24 bits
     *
     * _Available since v4.7._
     */
    function toInt24(int256 value) internal pure returns (int24) {
        require(value >= type(int24).min && value <= type(int24).max, "SafeCast: value doesn't fit in 24 bits");
        return int24(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.
     *
     * _Available since v3.0._
     */
    function toInt256(uint256 value) internal pure returns (int256) {
        // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive
        require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256");
        return int256(value);
    }
}

// OpenZeppelin Contracts (last updated v4.6.0) (utils/structs/DoubleEndedQueue.sol)

/**
 * @dev A sequence of items with the ability to efficiently push and pop items (i.e. insert and remove) on both ends of
 * the sequence (called front and back). Among other access patterns, it can be used to implement efficient LIFO and
 * FIFO queues. Storage use is optimized, and all operations are O(1) constant time. This includes {clear}, given that
 * the existing queue contents are left in storage.
 *
 * The struct is called `Bytes32Deque`. Other types can be cast to and from `bytes32`. This data structure can only be
 * used in storage, and not in memory.
 * ```
 * DoubleEndedQueue.Bytes32Deque queue;
 * ```
 *
 * _Available since v4.6._
 */
library DoubleEndedQueue {
    /**
     * @dev An operation (e.g. {front}) couldn't be completed due to the queue being empty.
     */
    error Empty();

    /**
     * @dev An operation (e.g. {at}) couldn't be completed due to an index being out of bounds.
     */
    error OutOfBounds();

    /**
     * @dev Indices are signed integers because the queue can grow in any direction. They are 128 bits so begin and end
     * are packed in a single storage slot for efficient access. Since the items are added one at a time we can safely
     * assume that these 128-bit indices will not overflow, and use unchecked arithmetic.
     *
     * Struct members have an underscore prefix indicating that they are "private" and should not be read or written to
     * directly. Use the functions provided below instead. Modifying the struct manually may violate assumptions and
     * lead to unexpected behavior.
     *
     * Indices are in the range [begin, end) which means the first item is at data[begin] and the last item is at
     * data[end - 1].
     */
    struct Bytes32Deque {
        int128 _begin;
        int128 _end;
        mapping(int128 => bytes32) _data;
    }

    /**
     * @dev Inserts an item at the end of the queue.
     */
    function pushBack(Bytes32Deque storage deque, bytes32 value) internal {
        int128 backIndex = deque._end;
        deque._data[backIndex] = value;
        unchecked {
            deque._end = backIndex + 1;
        }
    }

    /**
     * @dev Removes the item at the end of the queue and returns it.
     *
     * Reverts with `Empty` if the queue is empty.
     */
    function popBack(Bytes32Deque storage deque) internal returns (bytes32 value) {
        if (empty(deque)) revert Empty();
        int128 backIndex;
        unchecked {
            backIndex = deque._end - 1;
        }
        value = deque._data[backIndex];
        delete deque._data[backIndex];
        deque._end = backIndex;
    }

    /**
     * @dev Inserts an item at the beginning of the queue.
     */
    function pushFront(Bytes32Deque storage deque, bytes32 value) internal {
        int128 frontIndex;
        unchecked {
            frontIndex = deque._begin - 1;
        }
        deque._data[frontIndex] = value;
        deque._begin = frontIndex;
    }

    /**
     * @dev Removes the item at the beginning of the queue and returns it.
     *
     * Reverts with `Empty` if the queue is empty.
     */
    function popFront(Bytes32Deque storage deque) internal returns (bytes32 value) {
        if (empty(deque)) revert Empty();
        int128 frontIndex = deque._begin;
        value = deque._data[frontIndex];
        delete deque._data[frontIndex];
        unchecked {
            deque._begin = frontIndex + 1;
        }
    }

    /**
     * @dev Returns the item at the beginning of the queue.
     *
     * Reverts with `Empty` if the queue is empty.
     */
    function front(Bytes32Deque storage deque) internal view returns (bytes32 value) {
        if (empty(deque)) revert Empty();
        int128 frontIndex = deque._begin;
        return deque._data[frontIndex];
    }

    /**
     * @dev Returns the item at the end of the queue.
     *
     * Reverts with `Empty` if the queue is empty.
     */
    function back(Bytes32Deque storage deque) internal view returns (bytes32 value) {
        if (empty(deque)) revert Empty();
        int128 backIndex;
        unchecked {
            backIndex = deque._end - 1;
        }
        return deque._data[backIndex];
    }

    /**
     * @dev Return the item at a position in the queue given by `index`, with the first item at 0 and last item at
     * `length(deque) - 1`.
     *
     * Reverts with `OutOfBounds` if the index is out of bounds.
     */
    function at(Bytes32Deque storage deque, uint256 index) internal view returns (bytes32 value) {
        // int256(deque._begin) is a safe upcast
        int128 idx = SafeCast.toInt128(int256(deque._begin) + SafeCast.toInt256(index));
        if (idx >= deque._end) revert OutOfBounds();
        return deque._data[idx];
    }

    /**
     * @dev Resets the queue back to being empty.
     *
     * NOTE: The current items are left behind in storage. This does not affect the functioning of the queue, but misses
     * out on potential gas refunds.
     */
    function clear(Bytes32Deque storage deque) internal {
        deque._begin = 0;
        deque._end = 0;
    }

    /**
     * @dev Returns the number of items in the queue.
     */
    function length(Bytes32Deque storage deque) internal view returns (uint256) {
        // The interface preserves the invariant that begin <= end so we assume this will not overflow.
        // We also assume there are at most int256.max items in the queue.
        unchecked {
            return uint256(int256(deque._end) - int256(deque._begin));
        }
    }

    /**
     * @dev Returns true if the queue is empty.
     */
    function empty(Bytes32Deque storage deque) internal view returns (bool) {
        return deque._end <= deque._begin;
    }
}

// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/**
 * @dev Tooling for timepoints, timers and delays
 */
library Timers {
    struct Timestamp {
        uint64 _deadline;
    }

    function getDeadline(Timestamp memory timer) internal pure returns (uint64) {
        return timer._deadline;
    }

    function setDeadline(Timestamp storage timer, uint64 timestamp) internal {
        timer._deadline = timestamp;
    }

    function reset(Timestamp storage timer) internal {
        timer._deadline = 0;
    }

    function isUnset(Timestamp memory timer) internal pure returns (bool) {
        return timer._deadline == 0;
    }

    function isStarted(Timestamp memory timer) internal pure returns (bool) {
        return timer._deadline > 0;
    }

    function isPending(Timestamp memory timer) internal view returns (bool) {
        return timer._deadline > block.timestamp;
    }

    function isExpired(Timestamp memory timer) internal view returns (bool) {
        return isStarted(timer) && timer._deadline <= block.timestamp;
    }

    struct BlockNumber {
        uint64 _deadline;
    }

    function getDeadline(BlockNumber memory timer) internal pure returns (uint64) {
        return timer._deadline;
    }

    function setDeadline(BlockNumber storage timer, uint64 timestamp) internal {
        timer._deadline = timestamp;
    }

    function reset(BlockNumber storage timer) internal {
        timer._deadline = 0;
    }

    function isUnset(BlockNumber memory timer) internal pure returns (bool) {
        return timer._deadline == 0;
    }

    function isStarted(BlockNumber memory timer) internal pure returns (bool) {
        return timer._deadline > 0;
    }

    function isPending(BlockNumber memory timer) internal view returns (bool) {
        return timer._deadline > block.number;
    }

    function isExpired(BlockNumber memory timer) internal view returns (bool) {
        return isStarted(timer) && timer._deadline <= block.number;
    }
}

/**
 * @author Modified from RollCall (https://github.com/withtally/rollcall/blob/main/src/standards/L2Governor.sol)
 *
 * @dev Core of the governance system, designed to be extended though various modules.
 *
 * This contract is abstract and requires several function to be implemented in various modules:
 *
 * - A counting module must implement {quorum}, {_quorumReached}, {_voteSucceeded} and {_countVote}
 * - A voting module must implement {_getVotes}
 * - Additionanly, the {votingPeriod} must also be implemented
 *
 * _Available since v4.3._
 */
abstract contract L2Governor is Context, ERC165, EIP712, IGovernor, IERC721Receiver, IERC1155Receiver {
    using DoubleEndedQueue for DoubleEndedQueue.Bytes32Deque;
    using SafeCast for uint256;
    using Timers for Timers.Timestamp;

    bytes32 public constant BALLOT_TYPEHASH = keccak256("Ballot(uint256 proposalId,uint8 support)");
    bytes32 public constant EXTENDED_BALLOT_TYPEHASH =
        keccak256("ExtendedBallot(uint256 proposalId,uint8 support,string reason,bytes params)");

    struct ProposalCore {
        Timers.Timestamp voteStart;
        Timers.Timestamp voteEnd;
        bool executed;
        bool canceled;
    }

    string private _name;

    mapping(uint256 => ProposalCore) private _proposals;

    // This queue keeps track of the governor operating on itself. Calls to functions protected by the
    // {onlyGovernance} modifier needs to be whitelisted in this queue. Whitelisting is set in {_beforeExecute},
    // consumed by the {onlyGovernance} modifier and eventually reset in {_afterExecute}. This ensures that the
    // execution of {onlyGovernance} protected calls can only be achieved through successful proposals.
    DoubleEndedQueue.Bytes32Deque private _governanceCall;

    /**
     * @dev Restricts a function so it can only be executed through governance proposals. For example, governance
     * parameter setters in {GovernorSettings} are protected using this modifier.
     *
     * The governance executing address may be different from the Governor's own address, for example it could be a
     * timelock. This can be customized by modules by overriding {_executor}. The executor is only able to invoke these
     * functions during the execution of the governor's {execute} function, and not under any other circumstances. Thus,
     * for example, additional timelock proposers are not able to change governance parameters without going through the
     * governance protocol (since v4.6).
     */
    modifier onlyGovernance() {
        require(_msgSender() == _executor(), "Governor: onlyGovernance");
        if (_executor() != address(this)) {
            bytes32 msgDataHash = keccak256(_msgData());
            // loop until popping the expected operation - throw if deque is empty (operation not authorized)
            while (_governanceCall.popFront() != msgDataHash) {}
        }
        _;
    }

    /**
     * @dev Sets the value for {name} and {version}
     */
    constructor(string memory name_) EIP712(name_, version()) {
        _name = name_;
    }

    /**
     * @dev Function to receive ETH that will be handled by the governor (disabled if executor is a third party contract)
     */
    receive() external payable virtual {
        require(_executor() == address(this));
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {
        // In addition to the current interfaceId, also support previous version of the interfaceId that did not
        // include the castVoteWithReasonAndParams() function as standard
        return
            interfaceId ==
            (type(IGovernor).interfaceId ^
                this.castVoteWithReasonAndParams.selector ^
                this.castVoteWithReasonAndParamsBySig.selector ^
                this.getVotesWithParams.selector) ||
            interfaceId == type(IGovernor).interfaceId ||
            interfaceId == type(IERC1155Receiver).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IGovernor-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IGovernor-version}.
     */
    function version() public view virtual override returns (string memory) {
        return "1";
    }

    /**
     * @dev See {IGovernor-hashProposal}.
     *
     * The proposal id is produced by hashing the RLC encoded `targets` array, the `values` array, the `calldatas` array
     * and the descriptionHash (bytes32 which itself is the keccak256 hash of the description string). This proposal id
     * can be produced from the proposal data which is part of the {ProposalCreated} event. It can even be computed in
     * advance, before the proposal is submitted.
     *
     * Note that the chainId and the governor address are not part of the proposal id computation. Consequently, the
     * same proposal (with same operation and same description) will have the same id if submitted on multiple governors
     * across multiple networks. This also means that in order to execute the same operation twice (on the same
     * governor) the proposer will have to change the description in order to avoid proposal id conflicts.
     */
    function hashProposal(
        address[] memory targets,
        uint256[] memory values,
        bytes[] memory calldatas,
        bytes32 descriptionHash
    ) public pure virtual override returns (uint256) {
        return uint256(keccak256(abi.encode(targets, values, calldatas, descriptionHash)));
    }

    /**
     * @dev See {IGovernor-state}.
     */
    function state(uint256 proposalId) public view virtual override returns (ProposalState) {
        ProposalCore storage proposal = _proposals[proposalId];

        if (proposal.executed) {
            return ProposalState.Executed;
        }

        if (proposal.canceled) {
            return ProposalState.Canceled;
        }

        uint256 start = proposalSnapshot(proposalId);

        if (start == 0) {
            revert("Governor: unknown proposal id");
        }

        if (start >= block.timestamp) {
            return ProposalState.Pending;
        }

        uint256 deadline = proposalDeadline(proposalId);

        if (deadline >= block.timestamp) {
            return ProposalState.Active;
        }

        if (_quorumReached(proposalId) && _voteSucceeded(proposalId)) {
            return ProposalState.Succeeded;
        } else {
            return ProposalState.Defeated;
        }
    }

    /**
     * @dev See {IGovernor-proposalSnapshot}.
     */
    function proposalSnapshot(uint256 proposalId) public view virtual override returns (uint256) {
        return _proposals[proposalId].voteStart.getDeadline();
    }

    /**
     * @dev See {IGovernor-proposalDeadline}.
     */
    function proposalDeadline(uint256 proposalId) public view virtual override returns (uint256) {
        return _proposals[proposalId].voteEnd.getDeadline();
    }

    /**
     * @dev Part of the Governor Bravo's interface: _"The number of votes required in order for a voter to become a proposer"_.
     */
    function proposalThreshold() public view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Amount of votes already cast passes the threshold limit.
     */
    function _quorumReached(uint256 proposalId) internal view virtual returns (bool);

    /**
     * @dev Is the proposal successful or not.
     */
    function _voteSucceeded(uint256 proposalId) internal view virtual returns (bool);

    /**
     * @dev Get the voting weight of `account` at a specific `blockTimestamp`, for a vote as described by `params`.
     */
    function _getVotes(
        address account,
        uint256 blockTimestamp,
        bytes memory params
    ) internal view virtual returns (uint256);

    /**
     * @dev Register a vote for `proposalId` by `account` with a given `support`, voting `weight` and voting `params`.
     *
     * Note: Support is generic and can represent various things depending on the voting system used.
     */
    function _countVote(
        uint256 proposalId,
        address account,
        uint8 support,
        uint256 weight,
        bytes memory params
    ) internal virtual;

    /**
     * @dev Default additional encoded parameters used by castVote methods that don't include them
     *
     * Note: Should be overridden by specific implementations to use an appropriate value, the
     * meaning of the additional params, in the context of that implementation
     */
    function _defaultParams() internal view virtual returns (bytes memory) {
        return "";
    }

    /**
     * @dev See {IGovernor-propose}.
     */
    function propose(
        address[] memory targets,
        uint256[] memory values,
        bytes[] memory calldatas,
        string memory description
    ) public virtual override returns (uint256) {
        require(
            getVotes(_msgSender(), block.number - 1) >= proposalThreshold(),
            "Governor: proposer votes below proposal threshold"
        );

        uint256 proposalId = hashProposal(targets, values, calldatas, keccak256(bytes(description)));

        require(targets.length == values.length, "Governor: invalid proposal length");
        require(targets.length == calldatas.length, "Governor: invalid proposal length");
        require(targets.length > 0, "Governor: empty proposal");

        ProposalCore storage proposal = _proposals[proposalId];
        require(proposal.voteStart.isUnset(), "Governor: proposal already exists");

        uint64 start = block.timestamp.toUint64() + votingDelay().toUint64();
        uint64 deadline = start + votingPeriod().toUint64();

        proposal.voteStart.setDeadline(start);
        proposal.voteEnd.setDeadline(deadline);

        emit ProposalCreated(
            proposalId,
            _msgSender(),
            targets,
            values,
            new string[](targets.length),
            calldatas,
            start,
            deadline,
            description
        );

        return proposalId;
    }

    /**
     * @dev See {IGovernor-execute}.
     */
    function execute(
        address[] memory targets,
        uint256[] memory values,
        bytes[] memory calldatas,
        bytes32 descriptionHash
    ) public payable virtual override returns (uint256) {
        uint256 proposalId = hashProposal(targets, values, calldatas, descriptionHash);

        ProposalState status = state(proposalId);
        require(
            status == ProposalState.Succeeded || status == ProposalState.Queued,
            "Governor: proposal not successful"
        );
        _proposals[proposalId].executed = true;

        emit ProposalExecuted(proposalId);

        _beforeExecute(proposalId, targets, values, calldatas, descriptionHash);
        _execute(proposalId, targets, values, calldatas, descriptionHash);
        _afterExecute(proposalId, targets, values, calldatas, descriptionHash);

        return proposalId;
    }

    /**
     * @dev Internal execution mechanism. Can be overridden to implement different execution mechanism
     */
    function _execute(
        uint256, /* proposalId */
        address[] memory targets,
        uint256[] memory values,
        bytes[] memory calldatas,
        bytes32 /*descriptionHash*/
    ) internal virtual {
        string memory errorMessage = "Governor: call reverted without message";
        for (uint256 i = 0; i < targets.length; ++i) {
            (bool success, bytes memory returndata) = targets[i].call{value: values[i]}(calldatas[i]);
            Address.verifyCallResult(success, returndata, errorMessage);
        }
    }

    /**
     * @dev Hook before execution is triggered.
     */
    function _beforeExecute(
        uint256, /* proposalId */
        address[] memory targets,
        uint256[] memory, /* values */
        bytes[] memory calldatas,
        bytes32 /*descriptionHash*/
    ) internal virtual {
        if (_executor() != address(this)) {
            for (uint256 i = 0; i < targets.length; ++i) {
                if (targets[i] == address(this)) {
                    _governanceCall.pushBack(keccak256(calldatas[i]));
                }
            }
        }
    }

    /**
     * @dev Hook after execution is triggered.
     */
    function _afterExecute(
        uint256, /* proposalId */
        address[] memory, /* targets */
        uint256[] memory, /* values */
        bytes[] memory, /* calldatas */
        bytes32 /*descriptionHash*/
    ) internal virtual {
        if (_executor() != address(this)) {
            if (!_governanceCall.empty()) {
                _governanceCall.clear();
            }
        }
    }

    /**
     * @dev Internal cancel mechanism: locks up the proposal timer, preventing it from being re-submitted. Marks it as
     * canceled to allow distinguishing it from executed proposals.
     *
     * Emits a {IGovernor-ProposalCanceled} event.
     */
    function _cancel(
        address[] memory targets,
        uint256[] memory values,
        bytes[] memory calldatas,
        bytes32 descriptionHash
    ) internal virtual returns (uint256) {
        uint256 proposalId = hashProposal(targets, values, calldatas, descriptionHash);
        ProposalState status = state(proposalId);

        require(
            status != ProposalState.Canceled && status != ProposalState.Expired && status != ProposalState.Executed,
            "Governor: proposal not active"
        );
        _proposals[proposalId].canceled = true;

        emit ProposalCanceled(proposalId);

        return proposalId;
    }

    /**
     * @dev See {IGovernor-getVotes}.
     */
    function getVotes(address account, uint256 blockTimestamp) public view virtual override returns (uint256) {
        return _getVotes(account, blockTimestamp, _defaultParams());
    }

    /**
     * @dev See {IGovernor-getVotesWithParams}.
     */
    function getVotesWithParams(
        address account,
        uint256 blockTimestamp,
        bytes memory params
    ) public view virtual override returns (uint256) {
        return _getVotes(account, blockTimestamp, params);
    }

    /**
     * @dev See {IGovernor-castVote}.
     */
    function castVote(uint256 proposalId, uint8 support) public virtual override returns (uint256) {
        address voter = _msgSender();
        return _castVote(proposalId, voter, support, "");
    }

    /**
     * @dev See {IGovernor-castVoteWithReason}.
     */
    function castVoteWithReason(
        uint256 proposalId,
        uint8 support,
        string calldata reason
    ) public virtual override returns (uint256) {
        address voter = _msgSender();
        return _castVote(proposalId, voter, support, reason);
    }

    /**
     * @dev See {IGovernor-castVoteWithReasonAndParams}.
     */
    function castVoteWithReasonAndParams(
        uint256 proposalId,
        uint8 support,
        string calldata reason,
        bytes memory params
    ) public virtual override returns (uint256) {
        address voter = _msgSender();
        return _castVote(proposalId, voter, support, reason, params);
    }

    /**
     * @dev See {IGovernor-castVoteBySig}.
     */
    function castVoteBySig(
        uint256 proposalId,
        uint8 support,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual override returns (uint256) {
        address voter = ECDSA.recover(
            _hashTypedDataV4(keccak256(abi.encode(BALLOT_TYPEHASH, proposalId, support))),
            v,
            r,
            s
        );
        return _castVote(proposalId, voter, support, "");
    }

    /**
     * @dev See {IGovernor-castVoteWithReasonAndParamsBySig}.
     */
    function castVoteWithReasonAndParamsBySig(
        uint256 proposalId,
        uint8 support,
        string calldata reason,
        bytes memory params,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual override returns (uint256) {
        address voter = ECDSA.recover(
            _hashTypedDataV4(
                keccak256(
                    abi.encode(
                        EXTENDED_BALLOT_TYPEHASH,
                        proposalId,
                        support,
                        keccak256(bytes(reason)),
                        keccak256(params)
                    )
                )
            ),
            v,
            r,
            s
        );

        return _castVote(proposalId, voter, support, reason, params);
    }

    /**
     * @dev Internal vote casting mechanism: Check that the vote is pending, that it has not been cast yet, retrieve
     * voting weight using {IGovernor-getVotes} and call the {_countVote} internal function. Uses the _defaultParams().
     *
     * Emits a {IGovernor-VoteCast} event.
     */
    function _castVote(
        uint256 proposalId,
        address account,
        uint8 support,
        string memory reason
    ) internal virtual returns (uint256) {
        return _castVote(proposalId, account, support, reason, _defaultParams());
    }

    /**
     * @dev Internal vote casting mechanism: Check that the vote is pending, that it has not been cast yet, retrieve
     * voting weight using {IGovernor-getVotes} and call the {_countVote} internal function.
     *
     * Emits a {IGovernor-VoteCast} event.
     */
    function _castVote(
        uint256 proposalId,
        address account,
        uint8 support,
        string memory reason,
        bytes memory params
    ) internal virtual returns (uint256) {
        ProposalCore storage proposal = _proposals[proposalId];
        require(state(proposalId) == ProposalState.Active, "Governor: vote not currently active");

        uint256 weight = _getVotes(account, proposal.voteStart.getDeadline(), params);
        _countVote(proposalId, account, support, weight, params);

        if (params.length == 0) {
            emit VoteCast(account, proposalId, support, weight, reason);
        } else {
            emit VoteCastWithParams(account, proposalId, support, weight, reason, params);
        }

        return weight;
    }

    /**
     * @dev Relays a transaction or function call to an arbitrary target. In cases where the governance executor
     * is some contract other than the governor itself, like when using a timelock, this function can be invoked
     * in a governance proposal to recover tokens or Ether that was sent to the governor contract by mistake.
     * Note that if the executor is simply the governor itself, use of `relay` is redundant.
     */
    function relay(
        address target,
        uint256 value,
        bytes calldata data
    ) external virtual onlyGovernance {
        Address.functionCallWithValue(target, data, value);
    }

    /**
     * @dev Address through which the governor executes action. Will be overloaded by module that execute actions
     * through another contract such as a timelock.
     */
    function _executor() internal view virtual returns (address) {
        return address(this);
    }

    /**
     * @dev See {IERC721Receiver-onERC721Received}.
     */
    function onERC721Received(
        address,
        address,
        uint256,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC721Received.selector;
    }

    /**
     * @dev See {IERC1155Receiver-onERC1155Received}.
     */
    function onERC1155Received(
        address,
        address,
        uint256,
        uint256,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC1155Received.selector;
    }

    /**
     * @dev See {IERC1155Receiver-onERC1155BatchReceived}.
     */
    function onERC1155BatchReceived(
        address,
        address,
        uint256[] memory,
        uint256[] memory,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC1155BatchReceived.selector;
    }
}

// OpenZeppelin Contracts (last updated v4.6.0) (governance/extensions/GovernorCountingSimple.sol)

/**
 * @author Modified from RollCall (https://github.com/withtally/rollcall/blob/main/src/standards/L2GovernorCountingSimple.sol)
 *
 * @dev Extension of {Governor} for simple, 3 options, vote counting.
 *
 * _Available since v4.3._
 */
abstract contract L2GovernorCountingSimple is L2Governor {
    /**
     * @dev Supported vote types. Matches Governor Bravo ordering.
     */
    enum VoteType {
        Against,
        For,
        Abstain
    }

    struct ProposalVote {
        uint256 againstVotes;
        uint256 forVotes;
        uint256 abstainVotes;
        mapping(address => bool) hasVoted;
    }

    mapping(uint256 => ProposalVote) private _proposalVotes;

    /**
     * @dev See {IGovernor-COUNTING_MODE}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function COUNTING_MODE() public pure virtual override returns (string memory) {
        return "support=bravo&quorum=for,abstain";
    }

    /**
     * @dev See {IGovernor-hasVoted}.
     */
    function hasVoted(uint256 proposalId, address account) public view virtual override returns (bool) {
        return _proposalVotes[proposalId].hasVoted[account];
    }

    /**
     * @dev Accessor to the internal vote counts.
     */
    function proposalVotes(uint256 proposalId)
        public
        view
        virtual
        returns (
            uint256 againstVotes,
            uint256 forVotes,
            uint256 abstainVotes
        )
    {
        ProposalVote storage proposalvote = _proposalVotes[proposalId];
        return (proposalvote.againstVotes, proposalvote.forVotes, proposalvote.abstainVotes);
    }

    /**
     * @dev See {Governor-_quorumReached}.
     */
    function _quorumReached(uint256 proposalId) internal view virtual override returns (bool) {
        ProposalVote storage proposalvote = _proposalVotes[proposalId];

        return quorum(proposalSnapshot(proposalId)) <= proposalvote.forVotes + proposalvote.abstainVotes;
    }

    /**
     * @dev See {Governor-_voteSucceeded}. In this module, the forVotes must be strictly over the againstVotes.
     */
    function _voteSucceeded(uint256 proposalId) internal view virtual override returns (bool) {
        ProposalVote storage proposalvote = _proposalVotes[proposalId];

        return proposalvote.forVotes > proposalvote.againstVotes;
    }

    /**
     * @dev See {Governor-_countVote}. In this module, the support follows the `VoteType` enum (from Governor Bravo).
     */
    function _countVote(
        uint256 proposalId,
        address account,
        uint8 support,
        uint256 weight,
        bytes memory // params
    ) internal virtual override {
        ProposalVote storage proposalvote = _proposalVotes[proposalId];

        require(!proposalvote.hasVoted[account], "GovernorVotingSimple: vote already cast");
        proposalvote.hasVoted[account] = true;

        if (support == uint8(VoteType.Against)) {
            proposalvote.againstVotes += weight;
        } else if (support == uint8(VoteType.For)) {
            proposalvote.forVotes += weight;
        } else if (support == uint8(VoteType.Abstain)) {
            proposalvote.abstainVotes += weight;
        } else {
            revert("GovernorVotingSimple: invalid value for enum VoteType");
        }
    }
}

// OpenZeppelin Contracts (last updated v4.6.0) (governance/extensions/GovernorVotes.sol)

/**
 * @author Modified from RollCall (https://github.com/withtally/rollcall/blob/main/src/standards/L2GovernorVotes.sol)
 *
 * @dev Extension of {Governor} for voting weight extraction from an {ERC20Votes} token, or since v4.5 an {ERC721Votes} token.
 *
 * _Available since v4.3._
 */
abstract contract L2GovernorVotes is L2Governor {
    IVotes public immutable token;

    constructor(IVotes tokenAddress) {
        token = tokenAddress;
    }

    /**
     * Read the voting weight from the token's built in snapshot mechanism (see {Governor-_getVotes}).
     */
    function _getVotes(
        address account,
        uint256 blockTimestamp,
        bytes memory /*params*/
    ) internal view virtual override returns (uint256) {
        return token.getPastVotes(account, blockTimestamp);
    }
}

// OpenZeppelin Contracts (last updated v4.5.0) (governance/extensions/GovernorVotesQuorumFraction.sol)

/**
 * @author Modified from RollCall (https://github.com/withtally/rollcall/blob/main/src/standards/L2GovernorVotesQuorumFraction.sol)
 *
 * @dev Extension of {Governor} for voting weight extraction from an {ERC20Votes} token and a quorum expressed as a
 * fraction of the total supply.
 *
 * _Available since v4.3._
 */
abstract contract L2GovernorVotesQuorumFraction is L2GovernorVotes {
    uint256 private _quorumNumerator;

    event QuorumNumeratorUpdated(uint256 oldQuorumNumerator, uint256 newQuorumNumerator);

    /**
     * @dev Initialize quorum as a fraction of the token's total supply.
     *
     * The fraction is specified as `numerator / denominator`. By default the denominator is 100, so quorum is
     * specified as a percent: a numerator of 10 corresponds to quorum being 10% of total supply. The denominator can be
     * customized by overriding {quorumDenominator}.
     */
    constructor(uint256 quorumNumeratorValue) {
        _updateQuorumNumerator(quorumNumeratorValue);
    }

    /**
     * @dev Returns the current quorum numerator. See {quorumDenominator}.
     */
    function quorumNumerator() public view virtual returns (uint256) {
        return _quorumNumerator;
    }

    /**
     * @dev Returns the quorum denominator. Defaults to 100, but may be overridden.
     */
    function quorumDenominator() public view virtual returns (uint256) {
        return 100;
    }

    /**
     * @dev Returns the quorum for a block timestamp, in terms of number of votes: `supply * numerator / denominator`.
     */
    function quorum(uint256 blockTimestamp) public view virtual override returns (uint256) {
        return (token.getPastTotalSupply(blockTimestamp) * quorumNumerator()) / quorumDenominator();
    }

    /**
     * @dev Changes the quorum numerator.
     *
     * Emits a {QuorumNumeratorUpdated} event.
     *
     * Requirements:
     *
     * - Must be called through a governance proposal.
     * - New numerator must be smaller or equal to the denominator.
     */
    function updateQuorumNumerator(uint256 newQuorumNumerator) external virtual onlyGovernance {
        _updateQuorumNumerator(newQuorumNumerator);
    }

    /**
     * @dev Changes the quorum numerator.
     *
     * Emits a {QuorumNumeratorUpdated} event.
     *
     * Requirements:
     *
     * - New numerator must be smaller or equal to the denominator.
     */
    function _updateQuorumNumerator(uint256 newQuorumNumerator) internal virtual {
        require(
            newQuorumNumerator <= quorumDenominator(),
            "GovernorVotesQuorumFraction: quorumNumerator over quorumDenominator"
        );

        uint256 oldQuorumNumerator = _quorumNumerator;
        _quorumNumerator = newQuorumNumerator;

        emit QuorumNumeratorUpdated(oldQuorumNumerator, newQuorumNumerator);
    }
}

contract VeloGovernor is
    L2Governor,
    L2GovernorCountingSimple,
    L2GovernorVotes,
    L2GovernorVotesQuorumFraction
{
    address public team;
    uint256 public constant MAX_PROPOSAL_NUMERATOR = 50; // max 5%
    uint256 public constant PROPOSAL_DENOMINATOR = 1000;
    uint256 public proposalNumerator = 2; // start at 0.02%

    constructor(IVotes _ve)
        L2Governor("Velodrome Governor")
        L2GovernorVotes(_ve)
        L2GovernorVotesQuorumFraction(4) // 4%
    {
        team = msg.sender;
    }

    function votingDelay() public pure override(IGovernor) returns (uint256) {
        return 15 minutes; // 1 block
    }

    function votingPeriod() public pure override(IGovernor) returns (uint256) {
        return 1 weeks;
    }

    function setTeam(address newTeam) external {
        require(msg.sender == team, "not team");
        team = newTeam;
    }

    function setProposalNumerator(uint256 numerator) external {
        require(msg.sender == team, "not team");
        require(numerator <= MAX_PROPOSAL_NUMERATOR, "numerator too high");
        proposalNumerator = numerator;
    }

    function proposalThreshold()
        public
        view
        override(L2Governor)
        returns (uint256)
    {
        return
            (token.getPastTotalSupply(block.timestamp) * proposalNumerator) /
            PROPOSAL_DENOMINATOR;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IVotes","name":"_ve","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"Empty","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"proposalId","type":"uint256"}],"name":"ProposalCanceled","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"proposalId","type":"uint256"},{"indexed":false,"internalType":"address","name":"proposer","type":"address"},{"indexed":false,"internalType":"address[]","name":"targets","type":"address[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"},{"indexed":false,"internalType":"string[]","name":"signatures","type":"string[]"},{"indexed":false,"internalType":"bytes[]","name":"calldatas","type":"bytes[]"},{"indexed":false,"internalType":"uint256","name":"startBlock","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"endBlock","type":"uint256"},{"indexed":false,"internalType":"string","name":"description","type":"string"}],"name":"ProposalCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"proposalId","type":"uint256"}],"name":"ProposalExecuted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldQuorumNumerator","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newQuorumNumerator","type":"uint256"}],"name":"QuorumNumeratorUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"voter","type":"address"},{"indexed":false,"internalType":"uint256","name":"proposalId","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"support","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"weight","type":"uint256"},{"indexed":false,"internalType":"string","name":"reason","type":"string"}],"name":"VoteCast","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"voter","type":"address"},{"indexed":false,"internalType":"uint256","name":"proposalId","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"support","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"weight","type":"uint256"},{"indexed":false,"internalType":"string","name":"reason","type":"string"},{"indexed":false,"internalType":"bytes","name":"params","type":"bytes"}],"name":"VoteCastWithParams","type":"event"},{"inputs":[],"name":"BALLOT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"COUNTING_MODE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"EXTENDED_BALLOT_TYPEHASH","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PROPOSAL_NUMERATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROPOSAL_DENOMINATOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalId","type":"uint256"},{"internalType":"uint8","name":"support","type":"uint8"}],"name":"castVote","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalId","type":"uint256"},{"internalType":"uint8","name":"support","type":"uint8"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"castVoteBySig","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalId","type":"uint256"},{"internalType":"uint8","name":"support","type":"uint8"},{"internalType":"string","name":"reason","type":"string"}],"name":"castVoteWithReason","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalId","type":"uint256"},{"internalType":"uint8","name":"support","type":"uint8"},{"internalType":"string","name":"reason","type":"string"},{"internalType":"bytes","name":"params","type":"bytes"}],"name":"castVoteWithReasonAndParams","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalId","type":"uint256"},{"internalType":"uint8","name":"support","type":"uint8"},{"internalType":"string","name":"reason","type":"string"},{"internalType":"bytes","name":"params","type":"bytes"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"castVoteWithReasonAndParamsBySig","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes[]","name":"calldatas","type":"bytes[]"},{"internalType":"bytes32","name":"descriptionHash","type":"bytes32"}],"name":"execute","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockTimestamp","type":"uint256"}],"name":"getVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockTimestamp","type":"uint256"},{"internalType":"bytes","name":"params","type":"bytes"}],"name":"getVotesWithParams","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalId","type":"uint256"},{"internalType":"address","name":"account","type":"address"}],"name":"hasVoted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes[]","name":"calldatas","type":"bytes[]"},{"internalType":"bytes32","name":"descriptionHash","type":"bytes32"}],"name":"hashProposal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalId","type":"uint256"}],"name":"proposalDeadline","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proposalNumerator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalId","type":"uint256"}],"name":"proposalSnapshot","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proposalThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalId","type":"uint256"}],"name":"proposalVotes","outputs":[{"internalType":"uint256","name":"againstVotes","type":"uint256"},{"internalType":"uint256","name":"forVotes","type":"uint256"},{"internalType":"uint256","name":"abstainVotes","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"targets","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes[]","name":"calldatas","type":"bytes[]"},{"internalType":"string","name":"description","type":"string"}],"name":"propose","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockTimestamp","type":"uint256"}],"name":"quorum","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"quorumDenominator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"quorumNumerator","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"relay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numerator","type":"uint256"}],"name":"setProposalNumerator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newTeam","type":"address"}],"name":"setTeam","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"proposalId","type":"uint256"}],"name":"state","outputs":[{"internalType":"enum IGovernor.ProposalState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"team","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IVotes","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newQuorumNumerator","type":"uint256"}],"name":"updateQuorumNumerator","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"votingDelay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"votingPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"stateMutability":"payable","type":"receive"}]

61016060405260026007553480156200001757600080fd5b50604051620032f9380380620032f98339810160408190526200003a91620002e1565b600481604051806040016040528060128152602001712b32b637b23937b6b29023b7bb32b93737b960711b81525080620000796200015360201b60201c565b815160208084019190912082518383012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81880181905281830187905260608201869052608082019490945230818401528151808203909301835260c00190528051940193909320919290916080523060c05261012052505082516200011f92506000915060208401906200023b565b50506001600160a01b03166101405262000139816200016e565b5050600680546001600160a01b031916331790556200034f565b6040805180820190915260018152603160f81b602082015290565b6064811115620001f65760405162461bcd60e51b815260206004820152604360248201527f476f7665726e6f72566f74657351756f72756d4672616374696f6e3a2071756f60448201527f72756d4e756d657261746f72206f7665722071756f72756d44656e6f6d696e616064820152623a37b960e91b608482015260a40160405180910390fd5b600580549082905560408051828152602081018490527f0553476bf02ef2726e8ce5ced78d63e26e602e4a2257b1f559418e24b4633997910160405180910390a15050565b828054620002499062000313565b90600052602060002090601f0160209004810192826200026d5760008555620002b8565b82601f106200028857805160ff1916838001178555620002b8565b82800160010185558215620002b8579182015b82811115620002b85782518255916020019190600101906200029b565b50620002c6929150620002ca565b5090565b5b80821115620002c65760008155600101620002cb565b600060208284031215620002f457600080fd5b81516001600160a01b03811681146200030c57600080fd5b9392505050565b600181811c908216806200032857607f821691505b6020821081036200034957634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e051610100516101205161014051612f3a620003bf600039600081816107ea01528181611211015281816113e60152611a0801526000611b2501526000611b7401526000611b4f01526000611aa801526000611ad201526000611afc0152612f3a6000f3fe6080604052600436106102345760003560e01c80635f398a141161012e578063bc197c81116100ab578063deaaa7cc1161006f578063deaaa7cc14610738578063eb9019d41461076c578063f23a6e611461078c578063f8ce560a146107b8578063fc0c546a146107d857600080fd5b8063bc197c8114610666578063c01f9e3714610692578063c28bc2fa146106b2578063c59057e4146106d2578063dd4e2ba5146106f257600080fd5b806397c3d334116100f257806397c3d334146105f25780639a802a6d146106065780639f8b339214610626578063a7713a701461063c578063b58131b01461065157600080fd5b80635f398a141461054457806367e2e078146105645780637b3c71d31461057a5780637d5e81e21461059a57806385f2aef2146105ba57600080fd5b80632fe3e261116101bc578063501fa8bd11610180578063501fa8bd14610470578063544ffc9c1461048557806354fd4d50146104da5780635678138814610504578063592a84941461052457600080fd5b80632fe3e261146103905780633932abb1146103c45780633bccf4fd146103d95780633e4f49e6146103f9578063438596321461042657600080fd5b806306fdde031161020357806306fdde03146102d7578063095cf5c6146102f9578063150b7a02146103195780632656227d1461035d5780632d63f6931461037057600080fd5b806301ffc9a71461024257806302a251a314610277578063034201811461029757806306f3f9e6146102b757600080fd5b3661023d57005b005b600080fd5b34801561024e57600080fd5b5061026261025d36600461217a565b61080c565b60405190151581526020015b60405180910390f35b34801561028357600080fd5b5062093a805b60405190815260200161026e565b3480156102a357600080fd5b506102896102b23660046122bf565b610879565b3480156102c357600080fd5b5061023b6102d2366004612365565b610971565b3480156102e357600080fd5b506102ec6109e3565b60405161026e91906123da565b34801561030557600080fd5b5061023b610314366004612404565b610a75565b34801561032557600080fd5b5061034461033436600461241f565b630a85bd0160e11b949350505050565b6040516001600160e01b0319909116815260200161026e565b61028961036b3660046125f5565b610adc565b34801561037c57600080fd5b5061028961038b366004612365565b610c03565b34801561039c57600080fd5b506102897fb3b3f3b703cd84ce352197dcff232b1b5d3cfb2025ce47cf04742d0651f1af8881565b3480156103d057600080fd5b50610384610289565b3480156103e557600080fd5b506102896103f4366004612684565b610c3a565b34801561040557600080fd5b50610419610414366004612365565b610cb0565b60405161026e91906126e8565b34801561043257600080fd5b50610262610441366004612710565b60008281526004602090815260408083206001600160a01b038516845260030190915290205460ff1692915050565b34801561047c57600080fd5b50610289603281565b34801561049157600080fd5b506104bf6104a0366004612365565b6000908152600460205260409020805460018201546002909201549092565b6040805193845260208401929092529082015260600161026e565b3480156104e657600080fd5b506040805180820190915260018152603160f81b60208201526102ec565b34801561051057600080fd5b5061028961051f36600461273c565b610dbf565b34801561053057600080fd5b5061023b61053f366004612365565b610de8565b34801561055057600080fd5b5061028961055f36600461275f565b610e78565b34801561057057600080fd5b506102896103e881565b34801561058657600080fd5b506102896105953660046127e2565b610ec2565b3480156105a657600080fd5b506102896105b536600461283b565b610f14565b3480156105c657600080fd5b506006546105da906001600160a01b031681565b6040516001600160a01b03909116815260200161026e565b3480156105fe57600080fd5b506064610289565b34801561061257600080fd5b506102896106213660046128ef565b6111d3565b34801561063257600080fd5b5061028960075481565b34801561064857600080fd5b50600554610289565b34801561065d57600080fd5b506102896111ea565b34801561067257600080fd5b50610344610681366004612945565b63bc197c8160e01b95945050505050565b34801561069e57600080fd5b506102896106ad366004612365565b611295565b3480156106be57600080fd5b5061023b6106cd3660046129d4565b6112c4565b3480156106de57600080fd5b506102896106ed3660046125f5565b61136e565b3480156106fe57600080fd5b506040805180820190915260208082527f737570706f72743d627261766f2671756f72756d3d666f722c6162737461696e908201526102ec565b34801561074457600080fd5b506102897f150214d74d59b7d1e90c73fc22ef3d991dd0a76b046543d4d80ab92d2a50328f81565b34801561077857600080fd5b50610289610787366004612a15565b6113a8565b34801561079857600080fd5b506103446107a7366004612a3f565b63f23a6e6160e01b95945050505050565b3480156107c457600080fd5b506102896107d3366004612365565b6113c9565b3480156107e457600080fd5b506105da7f000000000000000000000000000000000000000000000000000000000000000081565b60006001600160e01b0319821663bf26d89760e01b148061083d57506001600160e01b031982166379dd796f60e01b145b8061085857506001600160e01b03198216630271189760e51b145b8061087357506301ffc9a760e01b6001600160e01b03198316145b92915050565b60008061091d6109157fb3b3f3b703cd84ce352197dcff232b1b5d3cfb2025ce47cf04742d0651f1af888c8c8c8c6040516108b5929190612aa3565b60405180910390208b805190602001206040516020016108fa959493929190948552602085019390935260ff9190911660408401526060830152608082015260a00190565b6040516020818303038152906040528051906020012061146d565b8686866114bb565b90506109638a828b8b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508d92506114d9915050565b9a9950505050505050505050565b3330146109c05760405162461bcd60e51b8152602060048201526018602482015277476f7665726e6f723a206f6e6c79476f7665726e616e636560401b60448201526064015b60405180910390fd5b6109d7565b806109d0600261163e565b036109c557505b6109e0816116bd565b50565b6060600080546109f290612ab3565b80601f0160208091040260200160405190810160405280929190818152602001828054610a1e90612ab3565b8015610a6b5780601f10610a4057610100808354040283529160200191610a6b565b820191906000526020600020905b815481529060010190602001808311610a4e57829003601f168201915b5050505050905090565b6006546001600160a01b03163314610aba5760405162461bcd60e51b81526020600482015260086024820152676e6f74207465616d60c01b60448201526064016109b7565b600680546001600160a01b0319166001600160a01b0392909216919091179055565b600080610aeb8686868661136e565b90506000610af882610cb0565b90506004816007811115610b0e57610b0e6126d2565b1480610b2b57506005816007811115610b2957610b296126d2565b145b610b815760405162461bcd60e51b815260206004820152602160248201527f476f7665726e6f723a2070726f706f73616c206e6f74207375636365737366756044820152601b60fa1b60648201526084016109b7565b600082815260016020818152604092839020600201805460ff191690921790915590518381527f712ae1383f79ac853f8d882153778e0260ef8f03b504e2866e0593e04d2b291f910160405180910390a1610bdf8288888888611785565b610bec8288888888611811565b610bf98288888888611785565b5095945050505050565b60008181526001602090815260408083208151928301909152546001600160401b0316908190525b6001600160401b031692915050565b604080517f150214d74d59b7d1e90c73fc22ef3d991dd0a76b046543d4d80ab92d2a50328f602082015290810186905260ff851660608201526000908190610c8890610915906080016108fa565b9050610ca587828860405180602001604052806000815250611910565b979650505050505050565b6000818152600160205260408120600281015460ff1615610cd45750600792915050565b6002810154610100900460ff1615610cef5750600292915050565b6000610cfa84610c03565b905080600003610d4c5760405162461bcd60e51b815260206004820152601d60248201527f476f7665726e6f723a20756e6b6e6f776e2070726f706f73616c20696400000060448201526064016109b7565b428110610d5d575060009392505050565b6000610d6885611295565b9050428110610d7c57506001949350505050565b610d858561193c565b8015610da4575060008581526004602052604090208054600190910154115b15610db457506004949350505050565b506003949350505050565b600080339050610de084828560405180602001604052806000815250611910565b949350505050565b6006546001600160a01b03163314610e2d5760405162461bcd60e51b81526020600482015260086024820152676e6f74207465616d60c01b60448201526064016109b7565b6032811115610e735760405162461bcd60e51b81526020600482015260126024820152710dceadacae4c2e8dee440e8dede40d0d2ced60731b60448201526064016109b7565b600755565b600080339050610ca587828888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508a92506114d9915050565b600080339050610f0a86828787878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061191092505050565b9695505050505050565b6000610f1e6111ea565b610f2d33610787600143612b03565b1015610f955760405162461bcd60e51b815260206004820152603160248201527f476f7665726e6f723a2070726f706f73657220766f7465732062656c6f7720706044820152701c9bdc1bdcd85b081d1a1c995cda1bdb19607a1b60648201526084016109b7565b6000610faa868686868051906020012061136e565b90508451865114610fcd5760405162461bcd60e51b81526004016109b790612b1a565b8351865114610fee5760405162461bcd60e51b81526004016109b790612b1a565b600086511161103f5760405162461bcd60e51b815260206004820152601860248201527f476f7665726e6f723a20656d7074792070726f706f73616c000000000000000060448201526064016109b7565b600081815260016020908152604091829020825191820190925281546001600160401b031690819052156110bf5760405162461bcd60e51b815260206004820152602160248201527f476f7665726e6f723a2070726f706f73616c20616c72656164792065786973746044820152607360f81b60648201526084016109b7565b60006110cc610384611973565b6110d542611973565b6110df9190612b5b565b905060006110ef62093a80611973565b6110f99083612b5b565b835467ffffffffffffffff19166001600160401b038416178455905060018301805467ffffffffffffffff19166001600160401b0383161790557f7d84a6263ae0d98d3329bd7b46bb4e8d6f98cd35a7adb45c274c8b7fd5ebd5e084338b8b8d516001600160401b0381111561117157611171612202565b6040519080825280602002602001820160405280156111a457816020015b606081526020019060019003908161118f5790505b508c88888e6040516111be99989796959493929190612c4f565b60405180910390a15091979650505050505050565b60006111e08484846119df565b90505b9392505050565b600754604051632394e7a360e21b81524260048201526000916103e8916001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690638e539e8c90602401602060405180830381865afa158015611258573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061127c9190612d3e565b6112869190612d57565b6112909190612d76565b905090565b60008181526001602081815260408084208151928301909152909101546001600160401b031690819052610c2b565b33301461130e5760405162461bcd60e51b8152602060048201526018602482015277476f7665726e6f723a206f6e6c79476f7665726e616e636560401b60448201526064016109b7565b611325565b8061131e600261163e565b0361131357505b6113678483838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250889250611a75915050565b5050505050565b6000848484846040516020016113879493929190612d98565b60408051601f19818403018152919052805160209091012095945050505050565b60006111e383836113c460408051602081019091526000815290565b6119df565b60006064600554604051632394e7a360e21b8152600481018590527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690638e539e8c90602401602060405180830381865afa158015611435573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114599190612d3e565b6114639190612d57565b6108739190612d76565b600061087361147a611a9b565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b60008060006114cc87878787611bc2565b91509150610bf981611caf565b60008581526001602081905260408220906114f388610cb0565b6007811115611504576115046126d2565b1461155d5760405162461bcd60e51b815260206004820152602360248201527f476f7665726e6f723a20766f7465206e6f742063757272656e746c792061637460448201526269766560e81b60648201526084016109b7565b604080516020810190915281546001600160401b031690819052600090611586908890866119df565b90506115958888888488611e65565b83516000036115ea57866001600160a01b03167fb8e138887d0aa13bab447e82de9d5c1777041ecd21ca36ba824ff1e6c07ddda4898884896040516115dd9493929190612de3565b60405180910390a2610ca5565b866001600160a01b03167fe2babfbac5889a709b63bb7f598b324e08bc5a4fb9ec647fb3cbc9ec07eb8712898884898960405161162b959493929190612e0b565b60405180910390a2979650505050505050565b60006116598254600f81810b600160801b909204900b131590565b1561167757604051631ed9509560e11b815260040160405180910390fd5b508054600f0b6000818152600180840160205260408220805492905583546fffffffffffffffffffffffffffffffff191692016001600160801b03169190911790915590565b60648111156117405760405162461bcd60e51b815260206004820152604360248201527f476f7665726e6f72566f74657351756f72756d4672616374696f6e3a2071756f60448201527f72756d4e756d657261746f72206f7665722071756f72756d44656e6f6d696e616064820152623a37b960e91b608482015260a4016109b7565b600580549082905560408051828152602081018490527f0553476bf02ef2726e8ce5ced78d63e26e602e4a2257b1f559418e24b4633997910160405180910390a15050565b611367565b845181101561180957306001600160a01b03168582815181106117af576117af612e51565b60200260200101516001600160a01b0316036117f9576117f98382815181106117da576117da612e51565b6020026020010151805190602001206002611fdf90919063ffffffff16565b61180281612e67565b905061178a565b505050505050565b6000604051806060016040528060278152602001612eb560279139905060005b85518110156119075760008087838151811061184f5761184f612e51565b60200260200101516001600160a01b031687848151811061187257611872612e51565b602002602001015187858151811061188c5761188c612e51565b60200260200101516040516118a19190612e80565b60006040518083038185875af1925050503d80600081146118de576040519150601f19603f3d011682016040523d82523d6000602084013e6118e3565b606091505b50915091506118f382828661201b565b5050508061190090612e67565b9050611831565b50505050505050565b60006119338585858561192e60408051602081019091526000815290565b6114d9565b95945050505050565b60008181526004602052604081206002810154600182015461195e9190612e9c565b61196a6107d385610c03565b11159392505050565b60006001600160401b038211156119db5760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203660448201526534206269747360d01b60648201526084016109b7565b5090565b604051630748d63560e31b81526001600160a01b038481166004830152602482018490526000917f000000000000000000000000000000000000000000000000000000000000000090911690633a46b1a890604401602060405180830381865afa158015611a51573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e09190612d3e565b60606111e0848484604051806060016040528060298152602001612edc60299139612054565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015611af457507f000000000000000000000000000000000000000000000000000000000000000046145b15611b1e57507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611bf95750600090506003611ca6565b8460ff16601b14158015611c1157508460ff16601c14155b15611c225750600090506004611ca6565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611c76573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116611c9f57600060019250925050611ca6565b9150600090505b94509492505050565b6000816004811115611cc357611cc36126d2565b03611ccb5750565b6001816004811115611cdf57611cdf6126d2565b03611d2c5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016109b7565b6002816004811115611d4057611d406126d2565b03611d8d5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016109b7565b6003816004811115611da157611da16126d2565b03611df95760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016109b7565b6004816004811115611e0d57611e0d6126d2565b036109e05760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b60648201526084016109b7565b60008581526004602090815260408083206001600160a01b0388168452600381019092529091205460ff1615611eed5760405162461bcd60e51b815260206004820152602760248201527f476f7665726e6f72566f74696e6753696d706c653a20766f746520616c726561604482015266191e4818d85cdd60ca1b60648201526084016109b7565b6001600160a01b03851660009081526003820160205260409020805460ff1916600117905560ff8416611f395782816000016000828254611f2e9190612e9c565b909155506118099050565b60001960ff851601611f595782816001016000828254611f2e9190612e9c565b60011960ff851601611f795782816002016000828254611f2e9190612e9c565b60405162461bcd60e51b815260206004820152603560248201527f476f7665726e6f72566f74696e6753696d706c653a20696e76616c69642076616044820152746c756520666f7220656e756d20566f74655479706560581b60648201526084016109b7565b8154600160801b90819004600f0b6000818152600180860160205260409091209390935583546001600160801b03908116939091011602179055565b6060831561202a5750816111e3565b82511561203a5782518084602001fd5b8160405162461bcd60e51b81526004016109b791906123da565b6060824710156120b55760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016109b7565b6001600160a01b0385163b61210c5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016109b7565b600080866001600160a01b031685876040516121289190612e80565b60006040518083038185875af1925050503d8060008114612165576040519150601f19603f3d011682016040523d82523d6000602084013e61216a565b606091505b5091509150610ca582828661201b565b60006020828403121561218c57600080fd5b81356001600160e01b0319811681146111e357600080fd5b803560ff811681146121b557600080fd5b919050565b60008083601f8401126121cc57600080fd5b5081356001600160401b038111156121e357600080fd5b6020830191508360208285010111156121fb57600080fd5b9250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171561224057612240612202565b604052919050565b60006001600160401b0383111561226157612261612202565b612274601f8401601f1916602001612218565b905082815283838301111561228857600080fd5b828260208301376000602084830101529392505050565b600082601f8301126122b057600080fd5b6111e383833560208501612248565b60008060008060008060008060e0898b0312156122db57600080fd5b883597506122eb60208a016121a4565b965060408901356001600160401b038082111561230757600080fd5b6123138c838d016121ba565b909850965060608b013591508082111561232c57600080fd5b506123398b828c0161229f565b94505061234860808a016121a4565b925060a0890135915060c089013590509295985092959890939650565b60006020828403121561237757600080fd5b5035919050565b60005b83811015612399578181015183820152602001612381565b838111156123a8576000848401525b50505050565b600081518084526123c681602086016020860161237e565b601f01601f19169290920160200192915050565b6020815260006111e360208301846123ae565b80356001600160a01b03811681146121b557600080fd5b60006020828403121561241657600080fd5b6111e3826123ed565b6000806000806080858703121561243557600080fd5b61243e856123ed565b935061244c602086016123ed565b92506040850135915060608501356001600160401b0381111561246e57600080fd5b61247a8782880161229f565b91505092959194509250565b60006001600160401b0382111561249f5761249f612202565b5060051b60200190565b600082601f8301126124ba57600080fd5b813560206124cf6124ca83612486565b612218565b82815260059290921b840181019181810190868411156124ee57600080fd5b8286015b8481101561251057612503816123ed565b83529183019183016124f2565b509695505050505050565b600082601f83011261252c57600080fd5b8135602061253c6124ca83612486565b82815260059290921b8401810191818101908684111561255b57600080fd5b8286015b84811015612510578035835291830191830161255f565b600082601f83011261258757600080fd5b813560206125976124ca83612486565b82815260059290921b840181019181810190868411156125b657600080fd5b8286015b848110156125105780356001600160401b038111156125d95760008081fd5b6125e78986838b010161229f565b8452509183019183016125ba565b6000806000806080858703121561260b57600080fd5b84356001600160401b038082111561262257600080fd5b61262e888389016124a9565b9550602087013591508082111561264457600080fd5b6126508883890161251b565b9450604087013591508082111561266657600080fd5b5061267387828801612576565b949793965093946060013593505050565b600080600080600060a0868803121561269c57600080fd5b853594506126ac602087016121a4565b93506126ba604087016121a4565b94979396509394606081013594506080013592915050565b634e487b7160e01b600052602160045260246000fd5b602081016008831061270a57634e487b7160e01b600052602160045260246000fd5b91905290565b6000806040838503121561272357600080fd5b82359150612733602084016123ed565b90509250929050565b6000806040838503121561274f57600080fd5b82359150612733602084016121a4565b60008060008060006080868803121561277757600080fd5b85359450612787602087016121a4565b935060408601356001600160401b03808211156127a357600080fd5b6127af89838a016121ba565b909550935060608801359150808211156127c857600080fd5b506127d58882890161229f565b9150509295509295909350565b600080600080606085870312156127f857600080fd5b84359350612808602086016121a4565b925060408501356001600160401b0381111561282357600080fd5b61282f878288016121ba565b95989497509550505050565b6000806000806080858703121561285157600080fd5b84356001600160401b038082111561286857600080fd5b612874888389016124a9565b9550602087013591508082111561288a57600080fd5b6128968883890161251b565b945060408701359150808211156128ac57600080fd5b6128b888838901612576565b935060608701359150808211156128ce57600080fd5b508501601f810187136128e057600080fd5b61247a87823560208401612248565b60008060006060848603121561290457600080fd5b61290d846123ed565b92506020840135915060408401356001600160401b0381111561292f57600080fd5b61293b8682870161229f565b9150509250925092565b600080600080600060a0868803121561295d57600080fd5b612966866123ed565b9450612974602087016123ed565b935060408601356001600160401b038082111561299057600080fd5b61299c89838a0161251b565b945060608801359150808211156129b257600080fd5b6129be89838a0161251b565b935060808801359150808211156127c857600080fd5b600080600080606085870312156129ea57600080fd5b6129f3856123ed565b93506020850135925060408501356001600160401b0381111561282357600080fd5b60008060408385031215612a2857600080fd5b612a31836123ed565b946020939093013593505050565b600080600080600060a08688031215612a5757600080fd5b612a60866123ed565b9450612a6e602087016123ed565b9350604086013592506060860135915060808601356001600160401b03811115612a9757600080fd5b6127d58882890161229f565b8183823760009101908152919050565b600181811c90821680612ac757607f821691505b602082108103612ae757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612b1557612b15612aed565b500390565b60208082526021908201527f476f7665726e6f723a20696e76616c69642070726f706f73616c206c656e67746040820152600d60fb1b606082015260800190565b60006001600160401b03808316818516808303821115612b7d57612b7d612aed565b01949350505050565b600081518084526020808501945080840160005b83811015612bbf5781516001600160a01b031687529582019590820190600101612b9a565b509495945050505050565b600081518084526020808501945080840160005b83811015612bbf57815187529582019590820190600101612bde565b600081518084526020808501808196508360051b8101915082860160005b85811015612c42578284038952612c308483516123ae565b98850198935090840190600101612c18565b5091979650505050505050565b60006101208b8352602060018060a01b038c1681850152816040850152612c788285018c612b86565b91508382036060850152612c8c828b612bca565b915083820360808501528189518084528284019150828160051b850101838c0160005b83811015612cdd57601f19878403018552612ccb8383516123ae565b94860194925090850190600101612caf565b505086810360a0880152612cf1818c612bfa565b945050505050612d0c60c08401876001600160401b03169052565b6001600160401b03851660e0840152828103610100840152612d2e81856123ae565b9c9b505050505050505050505050565b600060208284031215612d5057600080fd5b5051919050565b6000816000190483118215151615612d7157612d71612aed565b500290565b600082612d9357634e487b7160e01b600052601260045260246000fd5b500490565b608081526000612dab6080830187612b86565b8281036020840152612dbd8187612bca565b90508281036040840152612dd18186612bfa565b91505082606083015295945050505050565b84815260ff84166020820152826040820152608060608201526000610f0a60808301846123ae565b85815260ff8516602082015283604082015260a060608201526000612e3360a08301856123ae565b8281036080840152612e4581856123ae565b98975050505050505050565b634e487b7160e01b600052603260045260246000fd5b600060018201612e7957612e79612aed565b5060010190565b60008251612e9281846020870161237e565b9190910192915050565b60008219821115612eaf57612eaf612aed565b50019056fe476f7665726e6f723a2063616c6c20726576657274656420776974686f7574206d657373616765416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564a264697066735822122076bba81f5c9dc81cd8cddce1fef63b84585f8e65fad016173cdf5f27522ed15f64736f6c634300080d00330000000000000000000000009c7305eb78a432ced5c4d14cac27e8ed569a2e26

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

0000000000000000000000009c7305eb78a432ced5c4d14cac27e8ed569a2e26

-----Decoded View---------------
Arg [0] : _ve (address): 0x9c7305eb78a432ced5c4d14cac27e8ed569a2e26

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000009c7305eb78a432ced5c4d14cac27e8ed569a2e26


Deployed ByteCode Sourcemap

115645:1426:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90850:37;115645:1426;;;;;90967:750;;;;;;;;;;-1:-1:-1;90967:750:0;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;90967:750:0;;;;;;;;116319:107;;;;;;;;;;-1:-1:-1;116411:7:0;116319:107;;;643:25:1;;;631:2;616:18;116319:107:0;497:177:1;103849:811:0;;;;;;;;;;-1:-1:-1;103849:811:0;;;;;:::i;:::-;;:::i;114814:152::-;;;;;;;;;;-1:-1:-1;114814:152:0;;;;;:::i;:::-;;:::i;91778:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;116434:126::-;;;;;;;;;;-1:-1:-1;116434:126:0;;;;;:::i;:::-;;:::i;107352:207::-;;;;;;;;;;-1:-1:-1;107352:207:0;;;;;:::i;:::-;-1:-1:-1;;;107352:207:0;;;;;;;;;;-1:-1:-1;;;;;;5233:33:1;;;5215:52;;5203:2;5188:18;107352:207:0;5071:202:1;98086:889:0;;;;;;:::i;:::-;;:::i;94396:165::-;;;;;;;;;;-1:-1:-1;94396:165:0;;;;;:::i;:::-;;:::i;88426:148::-;;;;;;;;;;;;88486:88;88426:148;;116191:120;;;;;;;;;;-1:-1:-1;116282:10:0;116191:120;;103319:441;;;;;;;;;;-1:-1:-1;103319:441:0;;;;;:::i;:::-;;:::i;93380:943::-;;;;;;;;;;-1:-1:-1;93380:943:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;109343:169::-;;;;;;;;;;-1:-1:-1;109343:169:0;;;;;:::i;:::-;109436:4;109460:26;;;:14;:26;;;;;;;;-1:-1:-1;;;;;109460:44:0;;;;:35;;:44;;;;;;;;109343:169;;;;;115809:51;;;;;;;;;;;;115858:2;115809:51;;109589:401;;;;;;;;;;-1:-1:-1;109589:401:0;;;;;:::i;:::-;109711:20;109861:26;;;:14;:26;;;;;109906:25;;109933:21;;;;109956:25;;;;;109906;;109589:401;;;;;10186:25:1;;;10242:2;10227:18;;10220:34;;;;10270:18;;;10263:34;10174:2;10159:18;109589:401:0;9984:319:1;91942:101:0;;;;;;;;;;-1:-1:-1;92025:10:0;;;;;;;;;;;;-1:-1:-1;;;92025:10:0;;;;91942:101;;102296:201;;;;;;;;;;-1:-1:-1;102296:201:0;;;;;:::i;:::-;;:::i;116568:233::-;;;;;;;;;;-1:-1:-1;116568:233:0;;;;;:::i;:::-;;:::i;102929:320::-;;;;;;;;;;-1:-1:-1;102929:320:0;;;;;:::i;:::-;;:::i;115877:51::-;;;;;;;;;;;;115924:4;115877:51;;102572:273;;;;;;;;;;-1:-1:-1;102572:273:0;;;;;:::i;:::-;;:::i;96584:1438::-;;;;;;;;;;-1:-1:-1;96584:1438:0;;;;;:::i;:::-;;:::i;115783:19::-;;;;;;;;;;-1:-1:-1;115783:19:0;;;;-1:-1:-1;;;;;115783:19:0;;;;;;-1:-1:-1;;;;;13217:32:1;;;13199:51;;13187:2;13172:18;115783:19:0;13053:203:1;114087:96:0;;;;;;;;;;-1:-1:-1;114172:3:0;114087:96;;101992:239;;;;;;;;;;-1:-1:-1;101992:239:0;;;;;:::i;:::-;;:::i;115935:36::-;;;;;;;;;;;;;;;;113869:107;;;;;;;;;;-1:-1:-1;113952:16:0;;113869:107;;116809:259;;;;;;;;;;;;;:::i;107953:255::-;;;;;;;;;;-1:-1:-1;107953:255:0;;;;;:::i;:::-;-1:-1:-1;;;107953:255:0;;;;;;;;94634:163;;;;;;;;;;-1:-1:-1;94634:163:0;;;;;:::i;:::-;;:::i;106777:202::-;;;;;;;;;;-1:-1:-1;106777:202:0;;;;;:::i;:::-;;:::i;93003:315::-;;;;;;;;;;-1:-1:-1;93003:315:0;;;;;:::i;:::-;;:::i;109140:138::-;;;;;;;;;;-1:-1:-1;109229:41:0;;;;;;;;;;;;;;;;;;109140:138;;88324:95;;;;;;;;;;;;88366:53;88324:95;;101733:184;;;;;;;;;;-1:-1:-1;101733:184:0;;;;;:::i;:::-;;:::i;107640:227::-;;;;;;;;;;-1:-1:-1;107640:227:0;;;;;:::i;:::-;-1:-1:-1;;;107640:227:0;;;;;;;;114329:197;;;;;;;;;;-1:-1:-1;114329:197:0;;;;;:::i;:::-;;:::i;112145:29::-;;;;;;;;;;;;;;;90967:750;91069:4;-1:-1:-1;;;;;;91295:236:0;;-1:-1:-1;;;91295:236:0;;:295;;-1:-1:-1;;;;;;;91548:42:0;;-1:-1:-1;;;91548:42:0;91295:295;:361;;;-1:-1:-1;;;;;;;91607:49:0;;-1:-1:-1;;;91607:49:0;91295:361;:414;;;-1:-1:-1;;;;;;;;;;1834:40:0;;;91673:36;91275:434;90967:750;-1:-1:-1;;90967:750:0:o;103849:811::-;104105:7;104125:13;104141:438;104169:351;88486:88;104324:10;104361:7;104411:6;;104395:24;;;;;;;:::i;:::-;;;;;;;;104456:6;104446:17;;;;;;104236:250;;;;;;;;;;;16856:25:1;;;16912:2;16897:18;;16890:34;;;;16972:4;16960:17;;;;16955:2;16940:18;;16933:45;17009:2;16994:18;;16987:34;17052:3;17037:19;;17030:35;16843:3;16828:19;;16601:470;104236:250:0;;;;;;;;;;;;;104204:301;;;;;;104169:16;:351::i;:::-;104535:1;104551;104567;104141:13;:438::i;:::-;104125:454;;104599:53;104609:10;104621:5;104628:7;104637:6;;104599:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;104645:6:0;;-1:-1:-1;104599:9:0;;-1:-1:-1;;104599:53:0:i;:::-;104592:60;103849:811;-1:-1:-1;;;;;;;;;;103849:811:0:o;114814:152::-;85318:10;107260:4;90119:27;90111:64;;;;-1:-1:-1;;;90111:64:0;;17278:2:1;90111:64:0;;;17260:21:1;17317:2;17297:18;;;17290:30;-1:-1:-1;;;17336:18:1;;;17329:54;17400:18;;90111:64:0;;;;;;;;;90186:281;;90404:52;90441:11;90411:26;:15;:24;:26::i;:::-;:41;90404:52;;90220:247;90186:281;114916:42:::1;114939:18;114916:22;:42::i;:::-;114814:152:::0;:::o;91778:100::-;91832:13;91865:5;91858:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;91778:100;:::o;116434:126::-;116510:4;;-1:-1:-1;;;;;116510:4:0;116496:10;:18;116488:39;;;;-1:-1:-1;;;116488:39:0;;18016:2:1;116488:39:0;;;17998:21:1;18055:1;18035:18;;;18028:29;-1:-1:-1;;;18073:18:1;;;18066:38;18121:18;;116488:39:0;17814:331:1;116488:39:0;116538:4;:14;;-1:-1:-1;;;;;;116538:14:0;-1:-1:-1;;;;;116538:14:0;;;;;;;;;;116434:126::o;98086:889::-;98289:7;98309:18;98330:57;98343:7;98352:6;98360:9;98371:15;98330:12;:57::i;:::-;98309:78;;98400:20;98423:17;98429:10;98423:5;:17::i;:::-;98400:40;-1:-1:-1;98483:23:0;98473:6;:33;;;;;;;;:::i;:::-;;:67;;;-1:-1:-1;98520:20:0;98510:6;:30;;;;;;;;:::i;:::-;;98473:67;98451:150;;;;-1:-1:-1;;;98451:150:0;;18352:2:1;98451:150:0;;;18334:21:1;18391:2;18371:18;;;18364:30;18430:34;18410:18;;;18403:62;-1:-1:-1;;;18481:18:1;;;18474:31;18522:19;;98451:150:0;18150:397:1;98451:150:0;98612:22;;;;98646:4;98612:22;;;;;;;;;:31;;:38;;-1:-1:-1;;98612:38:0;;;;;;;98668:28;;643:25:1;;;98668:28:0;;616:18:1;98668:28:0;;;;;;;98709:71;98724:10;98736:7;98745:6;98753:9;98764:15;98709:14;:71::i;:::-;98791:65;98800:10;98812:7;98821:6;98829:9;98840:15;98791:8;:65::i;:::-;98867:70;98881:10;98893:7;98902:6;98910:9;98921:15;98867:13;:70::i;:::-;-1:-1:-1;98957:10:0;98086:889;-1:-1:-1;;;;;98086:889:0:o;94396:165::-;94480:7;94507:22;;;:10;:22;;;;;;;;:44;;;;;;;;;-1:-1:-1;;;;;94507:44:0;;;;;:46;-1:-1:-1;;;;;94500:53:0;;94396:165;-1:-1:-1;;94396:165:0:o;103319:441::-;103584:48;;;88366:53;103584:48;;;18750:25:1;18791:18;;;18784:34;;;18866:4;18854:17;;18834:18;;;18827:45;103493:7:0;;;;103529:164;;103557:77;;18723:18:1;;103584:48:0;18552:326:1;103529:164:0;103513:180;;103711:41;103721:10;103733:5;103740:7;103711:41;;;;;;;;;;;;:9;:41::i;:::-;103704:48;103319:441;-1:-1:-1;;;;;;;103319:441:0:o;93380:943::-;93453:13;93511:22;;;:10;:22;;;;;93550:17;;;;;;93546:79;;;-1:-1:-1;93591:22:0;;93380:943;-1:-1:-1;;93380:943:0:o;93546:79::-;93641:17;;;;;;;;;93637:79;;;-1:-1:-1;93682:22:0;;93380:943;-1:-1:-1;;93380:943:0:o;93637:79::-;93728:13;93744:28;93761:10;93744:16;:28::i;:::-;93728:44;;93789:5;93798:1;93789:10;93785:82;;93816:39;;-1:-1:-1;;;93816:39:0;;19085:2:1;93816:39:0;;;19067:21:1;19124:2;19104:18;;;19097:30;19163:31;19143:18;;;19136:59;19212:18;;93816:39:0;18883:353:1;93785:82:0;93892:15;93883:5;:24;93879:85;;-1:-1:-1;93931:21:0;;93380:943;-1:-1:-1;;;93380:943:0:o;93879:85::-;93976:16;93995:28;94012:10;93995:16;:28::i;:::-;93976:47;;94052:15;94040:8;:27;94036:87;;-1:-1:-1;94091:20:0;;93380:943;-1:-1:-1;;;;93380:943:0:o;94036:87::-;94139:26;94154:10;94139:14;:26::i;:::-;:56;;;;-1:-1:-1;110563:4:0;110616:26;;;:14;:26;;;;;110686:25;;110662:21;;;;;:49;94169:26;94135:181;;;-1:-1:-1;94219:23:0;;93380:943;-1:-1:-1;;;;93380:943:0:o;94135:181::-;-1:-1:-1;94282:22:0;;93380:943;-1:-1:-1;;;;93380:943:0:o;102296:201::-;102382:7;;85318:10;102402:28;;102448:41;102458:10;102470:5;102477:7;102448:41;;;;;;;;;;;;:9;:41::i;:::-;102441:48;102296:201;-1:-1:-1;;;;102296:201:0:o;116568:233::-;116659:4;;-1:-1:-1;;;;;116659:4:0;116645:10;:18;116637:39;;;;-1:-1:-1;;;116637:39:0;;18016:2:1;116637:39:0;;;17998:21:1;18055:1;18035:18;;;18028:29;-1:-1:-1;;;18073:18:1;;;18066:38;18121:18;;116637:39:0;17814:331:1;116637:39:0;115858:2;116695:9;:35;;116687:66;;;;-1:-1:-1;;;116687:66:0;;19443:2:1;116687:66:0;;;19425:21:1;19482:2;19462:18;;;19455:30;-1:-1:-1;;;19501:18:1;;;19494:48;19559:18;;116687:66:0;19241:342:1;116687:66:0;116764:17;:29;116568:233::o;102929:320::-;103122:7;;85318:10;103142:28;;103188:53;103198:10;103210:5;103217:7;103226:6;;103188:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;103234:6:0;;-1:-1:-1;103188:9:0;;-1:-1:-1;;103188:53:0:i;102572:273::-;102726:7;;85318:10;102746:28;;102792:45;102802:10;102814:5;102821:7;102830:6;;102792:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;102792:9:0;;-1:-1:-1;;;102792:45:0:i;:::-;102785:52;102572:273;-1:-1:-1;;;;;;102572:273:0:o;96584:1438::-;96781:7;96867:19;:17;:19::i;:::-;96823:40;85318:10;96846:16;96861:1;96846:12;:16;:::i;96823:40::-;:63;;96801:162;;;;-1:-1:-1;;;96801:162:0;;20052:2:1;96801:162:0;;;20034:21:1;20091:2;20071:18;;;20064:30;20130:34;20110:18;;;20103:62;-1:-1:-1;;;20181:18:1;;;20174:47;20238:19;;96801:162:0;19850:413:1;96801:162:0;96976:18;96997:71;97010:7;97019:6;97027:9;97054:11;97038:29;;;;;;96997:12;:71::i;:::-;96976:92;;97107:6;:13;97089:7;:14;:31;97081:77;;;;-1:-1:-1;;;97081:77:0;;;;;;;:::i;:::-;97195:9;:16;97177:7;:14;:34;97169:80;;;;-1:-1:-1;;;97169:80:0;;;;;;;:::i;:::-;97285:1;97268:7;:14;:18;97260:55;;;;-1:-1:-1;;;97260:55:0;;20872:2:1;97260:55:0;;;20854:21:1;20911:2;20891:18;;;20884:30;20950:26;20930:18;;;20923:54;20994:18;;97260:55:0;20670:348:1;97260:55:0;97328:29;97360:22;;;:10;:22;;;;;;;;;97401:26;;;;;;;;;;-1:-1:-1;;;;;97401:26:0;;;;;86085:20;97393:74;;;;-1:-1:-1;;;97393:74:0;;21225:2:1;97393:74:0;;;21207:21:1;21264:2;21244:18;;;21237:30;21303:34;21283:18;;;21276:62;-1:-1:-1;;;21354:18:1;;;21347:31;21395:19;;97393:74:0;21023:397:1;97393:74:0;97480:12;97524:24;116282:10;97524:22;:24::i;:::-;97495:26;:15;:24;:26::i;:::-;:53;;;;:::i;:::-;97480:68;-1:-1:-1;97559:15:0;97585:25;116411:7;97524:22;:24::i;97585:25::-;97577:33;;:5;:33;:::i;:::-;85859:27;;-1:-1:-1;;85859:27:0;-1:-1:-1;;;;;85859:27:0;;;;;97559:51;-1:-1:-1;97671:16:0;;;85859:27;;-1:-1:-1;;85859:27:0;-1:-1:-1;;;;;85859:27:0;;;;;97727:257;97757:10;85318;97809:7;97831:6;97865:7;:14;-1:-1:-1;;;;;97852:28:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97895:9;97919:5;97939:8;97962:11;97727:257;;;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;98004:10:0;;96584:1438;-1:-1:-1;;;;;;;96584:1438:0:o;101992:239::-;102154:7;102181:42;102191:7;102200:14;102216:6;102181:9;:42::i;:::-;102174:49;;101992:239;;;;;;:::o;116809:259::-;117006:17;;116962:41;;-1:-1:-1;;;116962:41:0;;116987:15;116962:41;;;643:25:1;116916:7:0;;115924:4;;-1:-1:-1;;;;;116962:5:0;:24;;;;616:18:1;;116962:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:61;;;;:::i;:::-;116961:99;;;;:::i;:::-;116941:119;;116809:259;:::o;94634:163::-;94718:7;94745:22;;;:10;:22;;;;;;;;:42;;;;;;;;:30;;;:42;-1:-1:-1;;;;;94745:42:0;;;;;:44;85650:117;106777:202;85318:10;107260:4;90119:27;90111:64;;;;-1:-1:-1;;;90111:64:0;;17278:2:1;90111:64:0;;;17260:21:1;17317:2;17297:18;;;17290:30;-1:-1:-1;;;17336:18:1;;;17329:54;17400:18;;90111:64:0;17076:348:1;90111:64:0;90186:281;;90404:52;90441:11;90411:26;:15;:24;:26::i;:::-;:41;90404:52;;90220:247;90186:281;106921:50:::1;106951:6;106959:4;;106921:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;106965:5:0;;-1:-1:-1;106921:29:0::1;::::0;-1:-1:-1;;106921:50:0:i:1;:::-;;106777:202:::0;;;;:::o;93003:315::-;93208:7;93264;93273:6;93281:9;93292:15;93253:55;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;93253:55:0;;;;;;;;;93243:66;;93253:55;93243:66;;;;;93003:315;-1:-1:-1;;;;;93003:315:0:o;101733:184::-;101830:7;101857:52;101867:7;101876:14;101892:16;96503:9;;;;;;;;;-1:-1:-1;96503:9:0;;;96421:99;101892:16;101857:9;:52::i;114329:197::-;114407:7;114172:3;113952:16;;114435:40;;-1:-1:-1;;;114435:40:0;;;;;643:25:1;;;114435:5:0;-1:-1:-1;;;;;114435:24:0;;;;616:18:1;;114435:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:60;;;;:::i;:::-;114434:84;;;;:::i;33411:167::-;33488:7;33515:55;33537:20;:18;:20::i;:::-;33559:10;28984:57;;-1:-1:-1;;;28984:57:0;;;30352:27:1;30395:11;;;30388:27;;;30431:12;;;30424:28;;;28947:7:0;;30468:12:1;;28984:57:0;;;;;;;;;;;;28974:68;;;;;;28967:75;;28854:196;;;;;27163:279;27291:7;27312:17;27331:18;27353:25;27364:4;27370:1;27373;27376;27353:10;:25::i;:::-;27311:67;;;;27389:18;27401:5;27389:11;:18::i;105529:789::-;105721:7;105773:22;;;:10;:22;;;;;;;;105814:17;105820:10;105814:5;:17::i;:::-;:41;;;;;;;;:::i;:::-;;105806:89;;;;-1:-1:-1;;;105806:89:0;;26737:2:1;105806:89:0;;;26719:21:1;26776:2;26756:18;;;26749:30;26815:34;26795:18;;;26788:62;-1:-1:-1;;;26866:18:1;;;26859:33;26909:19;;105806:89:0;26535:399:1;105806:89:0;105944:30;;;;;;;;;;;-1:-1:-1;;;;;105944:30:0;;;;;-1:-1:-1;;105925:60:0;;105935:7;;105978:6;105925:9;:60::i;:::-;105908:77;;105996:56;106007:10;106019:7;106028;106037:6;106045;105996:10;:56::i;:::-;106069:6;:13;106086:1;106069:18;106065:220;;106118:7;-1:-1:-1;;;;;106109:54:0;;106127:10;106139:7;106148:6;106156;106109:54;;;;;;;;;:::i;:::-;;;;;;;;106065:220;;;106220:7;-1:-1:-1;;;;;106201:72:0;;106229:10;106241:7;106250:6;106258;106266;106201:72;;;;;;;;;;:::i;:::-;;;;;;;;106304:6;105529:789;-1:-1:-1;;;;;;;105529:789:0:o;73478:332::-;73542:13;73572:12;73578:5;76145:12;;;;;-1:-1:-1;;;76131:10:0;;;;;:26;;;76041:124;73572:12;73568:32;;;73593:7;;-1:-1:-1;;;73593:7:0;;;;;;;;;;;73568:32;-1:-1:-1;73631:12:0;;;;73611:17;73662:23;;;73631:12;73662:11;;;:23;;;;;;;73696:30;;;73762:29;;-1:-1:-1;;73762:29:0;73777:14;;-1:-1:-1;;;;;73762:29:0;;;;;;;;73662:23;73478:332::o;115198:440::-;114172:3;115308:18;:41;;115286:158;;;;-1:-1:-1;;;115286:158:0;;28197:2:1;115286:158:0;;;28179:21:1;28236:2;28216:18;;;28209:30;28275:34;28255:18;;;28248:62;28346:34;28326:18;;;28319:62;-1:-1:-1;;;28397:19:1;;;28390:34;28441:19;;115286:158:0;27995:471:1;115286:158:0;115486:16;;;115513:37;;;;115568:62;;;28645:25:1;;;28701:2;28686:18;;28679:34;;;115568:62:0;;28618:18:1;115568:62:0;;;;;;;115275:363;115198:440;:::o;99733:513::-;99975:264;;100024:204;100048:7;:14;100044:1;:18;100024:204;;;100114:4;-1:-1:-1;;;;;100092:27:0;:7;100100:1;100092:10;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;100092:27:0;;100088:125;;100144:49;100179:9;100189:1;100179:12;;;;;;;;:::i;:::-;;;;;;;100169:23;;;;;;100144:15;:24;;:49;;;;:::i;:::-;100064:3;;;:::i;:::-;;;100024:204;;;;99733:513;;;;;:::o;99105:553::-;99335:26;:70;;;;;;;;;;;;;;;;;;;99421:9;99416:235;99440:7;:14;99436:1;:18;99416:235;;;99477:12;99491:23;99518:7;99526:1;99518:10;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;99518:15:0;99541:6;99548:1;99541:9;;;;;;;;:::i;:::-;;;;;;;99552;99562:1;99552:12;;;;;;;;:::i;:::-;;;;;;;99518:47;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;99476:89;;;;99580:59;99605:7;99614:10;99626:12;99580:24;:59::i;:::-;;99461:190;;99456:3;;;;:::i;:::-;;;99416:235;;;;99324:334;99105:553;;;;;:::o;104977:262::-;105139:7;105166:65;105176:10;105188:7;105197;105206:6;105214:16;96503:9;;;;;;;;;-1:-1:-1;96503:9:0;;;96421:99;105214:16;105166:9;:65::i;:::-;105159:72;104977:262;-1:-1:-1;;;;;104977:262:0:o;110060:280::-;110144:4;110197:26;;;:14;:26;;;;;110307:25;;;;110283:21;;;;:49;;110307:25;110283:49;:::i;:::-;110243:36;110250:28;110267:10;110250:16;:28::i;110243:36::-;:89;;;110060:280;-1:-1:-1;;;110060:280:0:o;47080:190::-;47136:6;-1:-1:-1;;;;;47163:25:0;;;47155:76;;;;-1:-1:-1;;;47155:76:0;;29610:2:1;47155:76:0;;;29592:21:1;29649:2;29629:18;;;29622:30;29688:34;29668:18;;;29661:62;-1:-1:-1;;;29739:18:1;;;29732:36;29785:19;;47155:76:0;29408:402:1;47155:76:0;-1:-1:-1;47256:5:0;47080:190::o;112385:237::-;112571:43;;-1:-1:-1;;;112571:43:0;;-1:-1:-1;;;;;30007:32:1;;;112571:43:0;;;29989:51:1;30056:18;;;30049:34;;;112544:7:0;;112571:5;:18;;;;;;29962::1;;112571:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;80671:260::-;80804:12;80836:87;80858:6;80866:4;80872:5;80836:87;;;;;;;;;;;;;;;;;:21;:87::i;32184:314::-;32237:7;32269:4;-1:-1:-1;;;;;32278:12:0;32261:29;;:66;;;;;32311:16;32294:13;:33;32261:66;32257:234;;;-1:-1:-1;32351:24:0;;32184:314::o;32257:234::-;-1:-1:-1;32687:73:0;;;32437:10;32687:73;;;;34267:25:1;;;;32449:12:0;34308:18:1;;;34301:34;32463:15:0;34351:18:1;;;34344:34;32731:13:0;34394:18:1;;;34387:34;32754:4:0;34437:19:1;;;;34430:61;;;;32687:73:0;;;;;;;;;;34239:19:1;;;;32687:73:0;;;32677:84;;;;;;116809:259::o;25392:1632::-;25523:7;;26457:66;26444:79;;26440:163;;;-1:-1:-1;26556:1:0;;-1:-1:-1;26560:30:0;26540:51;;26440:163;26617:1;:7;;26622:2;26617:7;;:18;;;;;26628:1;:7;;26633:2;26628:7;;26617:18;26613:102;;;-1:-1:-1;26668:1:0;;-1:-1:-1;26672:30:0;26652:51;;26613:102;26829:24;;;26812:14;26829:24;;;;;;;;;30718:25:1;;;30791:4;30779:17;;30759:18;;;30752:45;;;;30813:18;;;30806:34;;;30856:18;;;30849:34;;;26829:24:0;;30690:19:1;;26829:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;26829:24:0;;-1:-1:-1;;26829:24:0;;;-1:-1:-1;;;;;;;26868:20:0;;26864:103;;26921:1;26925:29;26905:50;;;;;;;26864:103;26987:6;-1:-1:-1;26995:20:0;;-1:-1:-1;25392:1632:0;;;;;;;;:::o;20005:643::-;20083:20;20074:5;:29;;;;;;;;:::i;:::-;;20070:571;;20005:643;:::o;20070:571::-;20181:29;20172:5;:38;;;;;;;;:::i;:::-;;20168:473;;20227:34;;-1:-1:-1;;;20227:34:0;;31096:2:1;20227:34:0;;;31078:21:1;31135:2;31115:18;;;31108:30;31174:26;31154:18;;;31147:54;31218:18;;20227:34:0;30894:348:1;20168:473:0;20292:35;20283:5;:44;;;;;;;;:::i;:::-;;20279:362;;20344:41;;-1:-1:-1;;;20344:41:0;;31449:2:1;20344:41:0;;;31431:21:1;31488:2;31468:18;;;31461:30;31527:33;31507:18;;;31500:61;31578:18;;20344:41:0;31247:355:1;20279:362:0;20416:30;20407:5;:39;;;;;;;;:::i;:::-;;20403:238;;20463:44;;-1:-1:-1;;;20463:44:0;;31809:2:1;20463:44:0;;;31791:21:1;31848:2;31828:18;;;31821:30;31887:34;31867:18;;;31860:62;-1:-1:-1;;;31938:18:1;;;31931:32;31980:19;;20463:44:0;31607:398:1;20403:238:0;20538:30;20529:5;:39;;;;;;;;:::i;:::-;;20525:116;;20585:44;;-1:-1:-1;;;20585:44:0;;32212:2:1;20585:44:0;;;32194:21:1;32251:2;32231:18;;;32224:30;32290:34;32270:18;;;32263:62;-1:-1:-1;;;32341:18:1;;;32334:32;32383:19;;20585:44:0;32010:398:1;110864:833:0;111065:33;111101:26;;;:14;:26;;;;;;;;-1:-1:-1;;;;;111149:30:0;;;;:21;;;:30;;;;;;;;;111148:31;111140:83;;;;-1:-1:-1;;;111140:83:0;;32615:2:1;111140:83:0;;;32597:21:1;32654:2;32634:18;;;32627:30;32693:34;32673:18;;;32666:62;-1:-1:-1;;;32744:18:1;;;32737:37;32791:19;;111140:83:0;32413:403:1;111140:83:0;-1:-1:-1;;;;;111234:30:0;;;;;;:21;;;:30;;;;;:37;;-1:-1:-1;;111234:37:0;111267:4;111234:37;;;111288:34;;;111284:406;;111368:6;111339:12;:25;;;:35;;;;;;;:::i;:::-;;;;-1:-1:-1;111284:406:0;;-1:-1:-1;111284:406:0;;-1:-1:-1;;111396:30:0;;;;111392:298;;111468:6;111443:12;:21;;;:31;;;;;;;:::i;111392:298::-;-1:-1:-1;;111496:34:0;;;;111492:198;;111576:6;111547:12;:25;;;:35;;;;;;;:::i;111492:198::-;111615:63;;-1:-1:-1;;;111615:63:0;;33023:2:1;111615:63:0;;;33005:21:1;33062:2;33042:18;;;33035:30;33101:34;33081:18;;;33074:62;-1:-1:-1;;;33152:18:1;;;33145:51;33213:19;;111615:63:0;32821:417:1;72238:232:0;72338:10;;-1:-1:-1;;;72338:10:0;;;;;;72319:16;72359:22;;;:11;;;;:22;;;;;;:30;;;;72425:26;;-1:-1:-1;;;;;72425:26:0;;;72438:13;;;;72425:26;;;;;72238:232::o;83873:762::-;84023:12;84052:7;84048:580;;;-1:-1:-1;84083:10:0;84076:17;;84048:580;84197:17;;:21;84193:424;;84445:10;84439:17;84506:15;84493:10;84489:2;84485:19;84478:44;84193:424;84588:12;84581:20;;-1:-1:-1;;;84581:20:0;;;;;;;;:::i;81187:510::-;81357:12;81415:5;81390:21;:30;;81382:81;;;;-1:-1:-1;;;81382:81:0;;33445:2:1;81382:81:0;;;33427:21:1;33484:2;33464:18;;;33457:30;33523:34;33503:18;;;33496:62;-1:-1:-1;;;33574:18:1;;;33567:36;33620:19;;81382:81:0;33243:402:1;81382:81:0;-1:-1:-1;;;;;77617:19:0;;;81474:60;;;;-1:-1:-1;;;81474:60:0;;33852:2:1;81474:60:0;;;33834:21:1;33891:2;33871:18;;;33864:30;33930:31;33910:18;;;33903:59;33979:18;;81474:60:0;33650:353:1;81474:60:0;81548:12;81562:23;81589:6;-1:-1:-1;;;;;81589:11:0;81608:5;81615:4;81589:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81547:73;;;;81638:51;81655:7;81664:10;81676:12;81638:16;:51::i;14:286:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;679:156;745:20;;805:4;794:16;;784:27;;774:55;;825:1;822;815:12;774:55;679:156;;;:::o;840:348::-;892:8;902:6;956:3;949:4;941:6;937:17;933:27;923:55;;974:1;971;964:12;923:55;-1:-1:-1;997:20:1;;-1:-1:-1;;;;;1029:30:1;;1026:50;;;1072:1;1069;1062:12;1026:50;1109:4;1101:6;1097:17;1085:29;;1161:3;1154:4;1145:6;1137;1133:19;1129:30;1126:39;1123:59;;;1178:1;1175;1168:12;1123:59;840:348;;;;;:::o;1193:127::-;1254:10;1249:3;1245:20;1242:1;1235:31;1285:4;1282:1;1275:15;1309:4;1306:1;1299:15;1325:275;1396:2;1390:9;1461:2;1442:13;;-1:-1:-1;;1438:27:1;1426:40;;-1:-1:-1;;;;;1481:34:1;;1517:22;;;1478:62;1475:88;;;1543:18;;:::i;:::-;1579:2;1572:22;1325:275;;-1:-1:-1;1325:275:1:o;1605:406::-;1669:5;-1:-1:-1;;;;;1695:6:1;1692:30;1689:56;;;1725:18;;:::i;:::-;1763:57;1808:2;1787:15;;-1:-1:-1;;1783:29:1;1814:4;1779:40;1763:57;:::i;:::-;1754:66;;1843:6;1836:5;1829:21;1883:3;1874:6;1869:3;1865:16;1862:25;1859:45;;;1900:1;1897;1890:12;1859:45;1949:6;1944:3;1937:4;1930:5;1926:16;1913:43;2003:1;1996:4;1987:6;1980:5;1976:18;1972:29;1965:40;1605:406;;;;;:::o;2016:220::-;2058:5;2111:3;2104:4;2096:6;2092:17;2088:27;2078:55;;2129:1;2126;2119:12;2078:55;2151:79;2226:3;2217:6;2204:20;2197:4;2189:6;2185:17;2151:79;:::i;2241:978::-;2371:6;2379;2387;2395;2403;2411;2419;2427;2480:3;2468:9;2459:7;2455:23;2451:33;2448:53;;;2497:1;2494;2487:12;2448:53;2533:9;2520:23;2510:33;;2562:36;2594:2;2583:9;2579:18;2562:36;:::i;:::-;2552:46;;2649:2;2638:9;2634:18;2621:32;-1:-1:-1;;;;;2713:2:1;2705:6;2702:14;2699:34;;;2729:1;2726;2719:12;2699:34;2768:59;2819:7;2810:6;2799:9;2795:22;2768:59;:::i;:::-;2846:8;;-1:-1:-1;2742:85:1;-1:-1:-1;2934:2:1;2919:18;;2906:32;;-1:-1:-1;2950:16:1;;;2947:36;;;2979:1;2976;2969:12;2947:36;;3002:51;3045:7;3034:8;3023:9;3019:24;3002:51;:::i;:::-;2992:61;;;3072:37;3104:3;3093:9;3089:19;3072:37;:::i;:::-;3062:47;;3156:3;3145:9;3141:19;3128:33;3118:43;;3208:3;3197:9;3193:19;3180:33;3170:43;;2241:978;;;;;;;;;;;:::o;3224:180::-;3283:6;3336:2;3324:9;3315:7;3311:23;3307:32;3304:52;;;3352:1;3349;3342:12;3304:52;-1:-1:-1;3375:23:1;;3224:180;-1:-1:-1;3224:180:1:o;3409:258::-;3481:1;3491:113;3505:6;3502:1;3499:13;3491:113;;;3581:11;;;3575:18;3562:11;;;3555:39;3527:2;3520:10;3491:113;;;3622:6;3619:1;3616:13;3613:48;;;3657:1;3648:6;3643:3;3639:16;3632:27;3613:48;;3409:258;;;:::o;3672:::-;3714:3;3752:5;3746:12;3779:6;3774:3;3767:19;3795:63;3851:6;3844:4;3839:3;3835:14;3828:4;3821:5;3817:16;3795:63;:::i;:::-;3912:2;3891:15;-1:-1:-1;;3887:29:1;3878:39;;;;3919:4;3874:50;;3672:258;-1:-1:-1;;3672:258:1:o;3935:220::-;4084:2;4073:9;4066:21;4047:4;4104:45;4145:2;4134:9;4130:18;4122:6;4104:45;:::i;4160:173::-;4228:20;;-1:-1:-1;;;;;4277:31:1;;4267:42;;4257:70;;4323:1;4320;4313:12;4338:186;4397:6;4450:2;4438:9;4429:7;4425:23;4421:32;4418:52;;;4466:1;4463;4456:12;4418:52;4489:29;4508:9;4489:29;:::i;4529:537::-;4624:6;4632;4640;4648;4701:3;4689:9;4680:7;4676:23;4672:33;4669:53;;;4718:1;4715;4708:12;4669:53;4741:29;4760:9;4741:29;:::i;:::-;4731:39;;4789:38;4823:2;4812:9;4808:18;4789:38;:::i;:::-;4779:48;;4874:2;4863:9;4859:18;4846:32;4836:42;;4929:2;4918:9;4914:18;4901:32;-1:-1:-1;;;;;4948:6:1;4945:30;4942:50;;;4988:1;4985;4978:12;4942:50;5011:49;5052:7;5043:6;5032:9;5028:22;5011:49;:::i;:::-;5001:59;;;4529:537;;;;;;;:::o;5278:183::-;5338:4;-1:-1:-1;;;;;5363:6:1;5360:30;5357:56;;;5393:18;;:::i;:::-;-1:-1:-1;5438:1:1;5434:14;5450:4;5430:25;;5278:183::o;5466:668::-;5520:5;5573:3;5566:4;5558:6;5554:17;5550:27;5540:55;;5591:1;5588;5581:12;5540:55;5627:6;5614:20;5653:4;5677:60;5693:43;5733:2;5693:43;:::i;:::-;5677:60;:::i;:::-;5771:15;;;5857:1;5853:10;;;;5841:23;;5837:32;;;5802:12;;;;5881:15;;;5878:35;;;5909:1;5906;5899:12;5878:35;5945:2;5937:6;5933:15;5957:148;5973:6;5968:3;5965:15;5957:148;;;6039:23;6058:3;6039:23;:::i;:::-;6027:36;;6083:12;;;;5990;;5957:148;;;-1:-1:-1;6123:5:1;5466:668;-1:-1:-1;;;;;;5466:668:1:o;6139:662::-;6193:5;6246:3;6239:4;6231:6;6227:17;6223:27;6213:55;;6264:1;6261;6254:12;6213:55;6300:6;6287:20;6326:4;6350:60;6366:43;6406:2;6366:43;:::i;6350:60::-;6444:15;;;6530:1;6526:10;;;;6514:23;;6510:32;;;6475:12;;;;6554:15;;;6551:35;;;6582:1;6579;6572:12;6551:35;6618:2;6610:6;6606:15;6630:142;6646:6;6641:3;6638:15;6630:142;;;6712:17;;6700:30;;6750:12;;;;6663;;6630:142;;6806:886;6858:5;6911:3;6904:4;6896:6;6892:17;6888:27;6878:55;;6929:1;6926;6919:12;6878:55;6965:6;6952:20;6991:4;7015:60;7031:43;7071:2;7031:43;:::i;7015:60::-;7109:15;;;7195:1;7191:10;;;;7179:23;;7175:32;;;7140:12;;;;7219:15;;;7216:35;;;7247:1;7244;7237:12;7216:35;7283:2;7275:6;7271:15;7295:368;7311:6;7306:3;7303:15;7295:368;;;7397:3;7384:17;-1:-1:-1;;;;;7420:11:1;7417:35;7414:125;;;7493:1;7522:2;7518;7511:14;7414:125;7564:56;7616:3;7611:2;7597:11;7589:6;7585:24;7581:33;7564:56;:::i;:::-;7552:69;;-1:-1:-1;7641:12:1;;;;7328;;7295:368;;7697:897;7867:6;7875;7883;7891;7944:3;7932:9;7923:7;7919:23;7915:33;7912:53;;;7961:1;7958;7951:12;7912:53;8001:9;7988:23;-1:-1:-1;;;;;8071:2:1;8063:6;8060:14;8057:34;;;8087:1;8084;8077:12;8057:34;8110:61;8163:7;8154:6;8143:9;8139:22;8110:61;:::i;:::-;8100:71;;8224:2;8213:9;8209:18;8196:32;8180:48;;8253:2;8243:8;8240:16;8237:36;;;8269:1;8266;8259:12;8237:36;8292:63;8347:7;8336:8;8325:9;8321:24;8292:63;:::i;:::-;8282:73;;8408:2;8397:9;8393:18;8380:32;8364:48;;8437:2;8427:8;8424:16;8421:36;;;8453:1;8450;8443:12;8421:36;;8476:61;8529:7;8518:8;8507:9;8503:24;8476:61;:::i;:::-;7697:897;;;;-1:-1:-1;8466:71:1;;8584:2;8569:18;8556:32;;-1:-1:-1;;;7697:897:1:o;8781:458::-;8872:6;8880;8888;8896;8904;8957:3;8945:9;8936:7;8932:23;8928:33;8925:53;;;8974:1;8971;8964:12;8925:53;9010:9;8997:23;8987:33;;9039:36;9071:2;9060:9;9056:18;9039:36;:::i;:::-;9029:46;;9094:36;9126:2;9115:9;9111:18;9094:36;:::i;:::-;8781:458;;;;-1:-1:-1;9084:46:1;;9177:2;9162:18;;9149:32;;-1:-1:-1;9228:3:1;9213:19;9200:33;;8781:458;-1:-1:-1;;8781:458:1:o;9244:127::-;9305:10;9300:3;9296:20;9293:1;9286:31;9336:4;9333:1;9326:15;9360:4;9357:1;9350:15;9376:344;9524:2;9509:18;;9557:1;9546:13;;9536:144;;9602:10;9597:3;9593:20;9590:1;9583:31;9637:4;9634:1;9627:15;9665:4;9662:1;9655:15;9536:144;9689:25;;;9376:344;:::o;9725:254::-;9793:6;9801;9854:2;9842:9;9833:7;9829:23;9825:32;9822:52;;;9870:1;9867;9860:12;9822:52;9906:9;9893:23;9883:33;;9935:38;9969:2;9958:9;9954:18;9935:38;:::i;:::-;9925:48;;9725:254;;;;;:::o;10308:250::-;10374:6;10382;10435:2;10423:9;10414:7;10410:23;10406:32;10403:52;;;10451:1;10448;10441:12;10403:52;10487:9;10474:23;10464:33;;10516:36;10548:2;10537:9;10533:18;10516:36;:::i;10563:769::-;10668:6;10676;10684;10692;10700;10753:3;10741:9;10732:7;10728:23;10724:33;10721:53;;;10770:1;10767;10760:12;10721:53;10806:9;10793:23;10783:33;;10835:36;10867:2;10856:9;10852:18;10835:36;:::i;:::-;10825:46;;10922:2;10911:9;10907:18;10894:32;-1:-1:-1;;;;;10986:2:1;10978:6;10975:14;10972:34;;;11002:1;10999;10992:12;10972:34;11041:59;11092:7;11083:6;11072:9;11068:22;11041:59;:::i;:::-;11119:8;;-1:-1:-1;11015:85:1;-1:-1:-1;11207:2:1;11192:18;;11179:32;;-1:-1:-1;11223:16:1;;;11220:36;;;11252:1;11249;11242:12;11220:36;;11275:51;11318:7;11307:8;11296:9;11292:24;11275:51;:::i;:::-;11265:61;;;10563:769;;;;;;;;:::o;11337:549::-;11424:6;11432;11440;11448;11501:2;11489:9;11480:7;11476:23;11472:32;11469:52;;;11517:1;11514;11507:12;11469:52;11553:9;11540:23;11530:33;;11582:36;11614:2;11603:9;11599:18;11582:36;:::i;:::-;11572:46;;11669:2;11658:9;11654:18;11641:32;-1:-1:-1;;;;;11688:6:1;11685:30;11682:50;;;11728:1;11725;11718:12;11682:50;11767:59;11818:7;11809:6;11798:9;11794:22;11767:59;:::i;:::-;11337:549;;;;-1:-1:-1;11845:8:1;-1:-1:-1;;;;11337:549:1:o;11891:1157::-;12071:6;12079;12087;12095;12148:3;12136:9;12127:7;12123:23;12119:33;12116:53;;;12165:1;12162;12155:12;12116:53;12205:9;12192:23;-1:-1:-1;;;;;12275:2:1;12267:6;12264:14;12261:34;;;12291:1;12288;12281:12;12261:34;12314:61;12367:7;12358:6;12347:9;12343:22;12314:61;:::i;:::-;12304:71;;12428:2;12417:9;12413:18;12400:32;12384:48;;12457:2;12447:8;12444:16;12441:36;;;12473:1;12470;12463:12;12441:36;12496:63;12551:7;12540:8;12529:9;12525:24;12496:63;:::i;:::-;12486:73;;12612:2;12601:9;12597:18;12584:32;12568:48;;12641:2;12631:8;12628:16;12625:36;;;12657:1;12654;12647:12;12625:36;12680:61;12733:7;12722:8;12711:9;12707:24;12680:61;:::i;:::-;12670:71;;12794:2;12783:9;12779:18;12766:32;12750:48;;12823:2;12813:8;12810:16;12807:36;;;12839:1;12836;12829:12;12807:36;-1:-1:-1;12862:24:1;;12917:4;12909:13;;12905:27;-1:-1:-1;12895:55:1;;12946:1;12943;12936:12;12895:55;12969:73;13034:7;13029:2;13016:16;13011:2;13007;13003:11;12969:73;:::i;13261:462::-;13347:6;13355;13363;13416:2;13404:9;13395:7;13391:23;13387:32;13384:52;;;13432:1;13429;13422:12;13384:52;13455:29;13474:9;13455:29;:::i;:::-;13445:39;;13531:2;13520:9;13516:18;13503:32;13493:42;;13586:2;13575:9;13571:18;13558:32;-1:-1:-1;;;;;13605:6:1;13602:30;13599:50;;;13645:1;13642;13635:12;13599:50;13668:49;13709:7;13700:6;13689:9;13685:22;13668:49;:::i;:::-;13658:59;;;13261:462;;;;;:::o;13728:943::-;13882:6;13890;13898;13906;13914;13967:3;13955:9;13946:7;13942:23;13938:33;13935:53;;;13984:1;13981;13974:12;13935:53;14007:29;14026:9;14007:29;:::i;:::-;13997:39;;14055:38;14089:2;14078:9;14074:18;14055:38;:::i;:::-;14045:48;;14144:2;14133:9;14129:18;14116:32;-1:-1:-1;;;;;14208:2:1;14200:6;14197:14;14194:34;;;14224:1;14221;14214:12;14194:34;14247:61;14300:7;14291:6;14280:9;14276:22;14247:61;:::i;:::-;14237:71;;14361:2;14350:9;14346:18;14333:32;14317:48;;14390:2;14380:8;14377:16;14374:36;;;14406:1;14403;14396:12;14374:36;14429:63;14484:7;14473:8;14462:9;14458:24;14429:63;:::i;:::-;14419:73;;14545:3;14534:9;14530:19;14517:33;14501:49;;14575:2;14565:8;14562:16;14559:36;;;14591:1;14588;14581:12;14676:552;14764:6;14772;14780;14788;14841:2;14829:9;14820:7;14816:23;14812:32;14809:52;;;14857:1;14854;14847:12;14809:52;14880:29;14899:9;14880:29;:::i;:::-;14870:39;;14956:2;14945:9;14941:18;14928:32;14918:42;;15011:2;15000:9;14996:18;14983:32;-1:-1:-1;;;;;15030:6:1;15027:30;15024:50;;;15070:1;15067;15060:12;15233:254;15301:6;15309;15362:2;15350:9;15341:7;15337:23;15333:32;15330:52;;;15378:1;15375;15368:12;15330:52;15401:29;15420:9;15401:29;:::i;:::-;15391:39;15477:2;15462:18;;;;15449:32;;-1:-1:-1;;;15233:254:1:o;15492:606::-;15596:6;15604;15612;15620;15628;15681:3;15669:9;15660:7;15656:23;15652:33;15649:53;;;15698:1;15695;15688:12;15649:53;15721:29;15740:9;15721:29;:::i;:::-;15711:39;;15769:38;15803:2;15792:9;15788:18;15769:38;:::i;:::-;15759:48;;15854:2;15843:9;15839:18;15826:32;15816:42;;15905:2;15894:9;15890:18;15877:32;15867:42;;15960:3;15949:9;15945:19;15932:33;-1:-1:-1;;;;;15980:6:1;15977:30;15974:50;;;16020:1;16017;16010:12;15974:50;16043:49;16084:7;16075:6;16064:9;16060:22;16043:49;:::i;16325:271::-;16508:6;16500;16495:3;16482:33;16464:3;16534:16;;16559:13;;;16534:16;16325:271;-1:-1:-1;16325:271:1:o;17429:380::-;17508:1;17504:12;;;;17551;;;17572:61;;17626:4;17618:6;17614:17;17604:27;;17572:61;17679:2;17671:6;17668:14;17648:18;17645:38;17642:161;;17725:10;17720:3;17716:20;17713:1;17706:31;17760:4;17757:1;17750:15;17788:4;17785:1;17778:15;17642:161;;17429:380;;;:::o;19588:127::-;19649:10;19644:3;19640:20;19637:1;19630:31;19680:4;19677:1;19670:15;19704:4;19701:1;19694:15;19720:125;19760:4;19788:1;19785;19782:8;19779:34;;;19793:18;;:::i;:::-;-1:-1:-1;19830:9:1;;19720:125::o;20268:397::-;20470:2;20452:21;;;20509:2;20489:18;;;20482:30;20548:34;20543:2;20528:18;;20521:62;-1:-1:-1;;;20614:2:1;20599:18;;20592:31;20655:3;20640:19;;20268:397::o;21425:236::-;21464:3;-1:-1:-1;;;;;21537:2:1;21534:1;21530:10;21567:2;21564:1;21560:10;21598:3;21594:2;21590:12;21585:3;21582:21;21579:47;;;21606:18;;:::i;:::-;21642:13;;21425:236;-1:-1:-1;;;;21425:236:1:o;21666:461::-;21719:3;21757:5;21751:12;21784:6;21779:3;21772:19;21810:4;21839:2;21834:3;21830:12;21823:19;;21876:2;21869:5;21865:14;21897:1;21907:195;21921:6;21918:1;21915:13;21907:195;;;21986:13;;-1:-1:-1;;;;;21982:39:1;21970:52;;22042:12;;;;22077:15;;;;22018:1;21936:9;21907:195;;;-1:-1:-1;22118:3:1;;21666:461;-1:-1:-1;;;;;21666:461:1:o;22132:435::-;22185:3;22223:5;22217:12;22250:6;22245:3;22238:19;22276:4;22305:2;22300:3;22296:12;22289:19;;22342:2;22335:5;22331:14;22363:1;22373:169;22387:6;22384:1;22381:13;22373:169;;;22448:13;;22436:26;;22482:12;;;;22517:15;;;;22409:1;22402:9;22373:169;;22572:615;22623:3;22661:5;22655:12;22688:6;22683:3;22676:19;22714:4;22755:2;22750:3;22746:12;22780:11;22807;22800:18;;22857:6;22854:1;22850:14;22843:5;22839:26;22827:38;;22899:2;22892:5;22888:14;22920:1;22930:231;22944:6;22941:1;22938:13;22930:231;;;23015:5;23009:4;23005:16;23000:3;22993:29;23043:38;23076:4;23067:6;23061:13;23043:38;:::i;:::-;23139:12;;;;23035:46;-1:-1:-1;23104:15:1;;;;22966:1;22959:9;22930:231;;;-1:-1:-1;23177:4:1;;22572:615;-1:-1:-1;;;;;;;22572:615:1:o;23299:1884::-;23871:4;23900:3;23930:6;23919:9;23912:25;23956:2;24023:1;24019;24014:3;24010:11;24006:19;23998:6;23994:32;23989:2;23978:9;23974:18;23967:60;24063:2;24058;24047:9;24043:18;24036:30;24089:56;24141:2;24130:9;24126:18;24118:6;24089:56;:::i;:::-;24075:70;;24193:9;24185:6;24181:22;24176:2;24165:9;24161:18;24154:50;24227:44;24264:6;24256;24227:44;:::i;:::-;24213:58;;24320:9;24312:6;24308:22;24302:3;24291:9;24287:19;24280:51;24351:6;24386;24380:13;24417:6;24409;24402:22;24452:2;24444:6;24440:15;24433:22;;24511:2;24501:6;24498:1;24494:14;24486:6;24482:27;24478:36;24549:2;24541:6;24537:15;24570:1;24580:252;24594:6;24591:1;24588:13;24580:252;;;24684:2;24680:7;24671:6;24663;24659:19;24655:33;24650:3;24643:46;24712:40;24745:6;24736;24730:13;24712:40;:::i;:::-;24810:12;;;;24702:50;-1:-1:-1;24775:15:1;;;;24616:1;24609:9;24580:252;;;24584:3;;24881:9;24873:6;24869:22;24863:3;24852:9;24848:19;24841:51;24915:42;24950:6;24942;24915:42;:::i;:::-;24901:56;;;;;;24966:46;25007:3;24996:9;24992:19;24984:6;-1:-1:-1;;;;;23257:30:1;23245:43;;23192:102;24966:46;-1:-1:-1;;;;;23257:30:1;;25062:3;25047:19;;23245:43;25116:9;25108:6;25104:22;25098:3;25087:9;25083:19;25076:51;25144:33;25170:6;25162;25144:33;:::i;:::-;25136:41;23299:1884;-1:-1:-1;;;;;;;;;;;;23299:1884:1:o;25188:184::-;25258:6;25311:2;25299:9;25290:7;25286:23;25282:32;25279:52;;;25327:1;25324;25317:12;25279:52;-1:-1:-1;25350:16:1;;25188:184;-1:-1:-1;25188:184:1:o;25377:168::-;25417:7;25483:1;25479;25475:6;25471:14;25468:1;25465:21;25460:1;25453:9;25446:17;25442:45;25439:71;;;25490:18;;:::i;:::-;-1:-1:-1;25530:9:1;;25377:168::o;25550:217::-;25590:1;25616;25606:132;;25660:10;25655:3;25651:20;25648:1;25641:31;25695:4;25692:1;25685:15;25723:4;25720:1;25713:15;25606:132;-1:-1:-1;25752:9:1;;25550:217::o;25772:758::-;26153:3;26142:9;26135:22;26116:4;26180:57;26232:3;26221:9;26217:19;26209:6;26180:57;:::i;:::-;26285:9;26277:6;26273:22;26268:2;26257:9;26253:18;26246:50;26319:44;26356:6;26348;26319:44;:::i;:::-;26305:58;;26411:9;26403:6;26399:22;26394:2;26383:9;26379:18;26372:50;26439:42;26474:6;26466;26439:42;:::i;:::-;26431:50;;;26517:6;26512:2;26501:9;26497:18;26490:34;25772:758;;;;;;;:::o;26939:442::-;27168:6;27157:9;27150:25;27223:4;27215:6;27211:17;27206:2;27195:9;27191:18;27184:45;27265:6;27260:2;27249:9;27245:18;27238:34;27308:3;27303:2;27292:9;27288:18;27281:31;27131:4;27329:46;27370:3;27359:9;27355:19;27347:6;27329:46;:::i;27386:604::-;27661:6;27650:9;27643:25;27716:4;27708:6;27704:17;27699:2;27688:9;27684:18;27677:45;27758:6;27753:2;27742:9;27738:18;27731:34;27801:3;27796:2;27785:9;27781:18;27774:31;27624:4;27828:46;27869:3;27858:9;27854:19;27846:6;27828:46;:::i;:::-;27923:9;27915:6;27911:22;27905:3;27894:9;27890:19;27883:51;27951:33;27977:6;27969;27951:33;:::i;:::-;27943:41;27386:604;-1:-1:-1;;;;;;;;27386:604:1:o;28724:127::-;28785:10;28780:3;28776:20;28773:1;28766:31;28816:4;28813:1;28806:15;28840:4;28837:1;28830:15;28856:135;28895:3;28916:17;;;28913:43;;28936:18;;:::i;:::-;-1:-1:-1;28983:1:1;28972:13;;28856:135::o;28996:274::-;29125:3;29163:6;29157:13;29179:53;29225:6;29220:3;29213:4;29205:6;29201:17;29179:53;:::i;:::-;29248:16;;;;;28996:274;-1:-1:-1;;28996:274:1:o;29275:128::-;29315:3;29346:1;29342:6;29339:1;29336:13;29333:39;;;29352:18;;:::i;:::-;-1:-1:-1;29388:9:1;;29275:128::o

Swarm Source

ipfs://76bba81f5c9dc81cd8cddce1fef63b84585f8e65fad016173cdf5f27522ed15f
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.