Contract 0xBBaA09aBFfe23b70275BD2a87AC6D65B6a0556B7

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xff6f9e7e518dfd8dcef14503a3438f9376f8296c06f4284a10a8a01ae051ca21Cast Vote301128272022-06-28 21:57:392 days 12 hrs ago0xd64a9955338835d2ab4223f4cfbc1b6e106c0135 IN  0xbbaa09abffe23b70275bd2a87ac6d65b6a0556b70 MATIC0.0034665640
0x76b6f0dc8c45291c7c31edd5aa102bb9d93dc6e835610227e571a8c2b9ab8626Propose301125162022-06-28 21:45:032 days 12 hrs ago0xd64a9955338835d2ab4223f4cfbc1b6e106c0135 IN  0xbbaa09abffe23b70275bd2a87ac6d65b6a0556b70 MATIC0.0039535640
0xa519303f28cdf79d0697e989785f961d8eb29f4855f0a3e3fec22fc9b13d4254Cast Vote301120642022-06-28 21:29:212 days 12 hrs ago0xd64a9955338835d2ab4223f4cfbc1b6e106c0135 IN  0xbbaa09abffe23b70275bd2a87ac6d65b6a0556b70 MATIC0.0034665640
0x964113285c9422c86e7ec89c8b5625b758085b4cbe97f77060e31b9b8ebe81cfPropose301119022022-06-28 21:23:452 days 12 hrs ago0xd64a9955338835d2ab4223f4cfbc1b6e106c0135 IN  0xbbaa09abffe23b70275bd2a87ac6d65b6a0556b70 MATIC0.003919640
0xac7cb7f3cab15beea270fbe616b6227e0487d9f1803b37f11592db2573332b55Propose301118112022-06-28 21:20:392 days 12 hrs ago0xd64a9955338835d2ab4223f4cfbc1b6e106c0135 IN  0xbbaa09abffe23b70275bd2a87ac6d65b6a0556b70 MATIC0.003840
0xcfe3d0feea287068b70d6c5256a479c87ad9830294e4f2ac087afb93d0695d3bPropose301117442022-06-28 21:18:212 days 13 hrs ago0xd64a9955338835d2ab4223f4cfbc1b6e106c0135 IN  0xbbaa09abffe23b70275bd2a87ac6d65b6a0556b70 MATIC0.0016750440
0x338bb436219a40b414f4cd42ea3123e441eabf928aeb5a3aa84ead92e4c4a11aCast Vote300750832022-06-27 22:37:443 days 11 hrs ago0xd64a9955338835d2ab4223f4cfbc1b6e106c0135 IN  0xbbaa09abffe23b70275bd2a87ac6d65b6a0556b70 MATIC0.002370932509 35.754199987
0x9bd31cd39188fbec19a74e85dc65355f011e543cccacbd3ebee17d0e3086d113Propose300748332022-06-27 22:26:043 days 11 hrs ago0xd64a9955338835d2ab4223f4cfbc1b6e106c0135 IN  0xbbaa09abffe23b70275bd2a87ac6d65b6a0556b70 MATIC0.003993841636 42.060361603
0xadfde82a86a72e85bae96b09fec5b6344a164e325c33625b71bbaf8931f57abe0x61016060295693762022-06-14 19:38:5516 days 14 hrs ago0xd64a9955338835d2ab4223f4cfbc1b6e106c0135 IN  Create: SigmaSquaredGovernor0 MATIC0.1604943550
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SigmaSquaredGovernor

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
Yes with 10 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at polygonscan.com on 2022-06-23
*/

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

// File: @openzeppelin/contracts/utils/cryptography/ECDSA.sol

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

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = 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));
    }
}

// File: @openzeppelin/contracts/utils/cryptography/draft-EIP712.sol

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/structs/DoubleEndedQueue.sol

// OpenZeppelin Contracts (last updated v4.6.0) (utils/structs/DoubleEndedQueue.sol)
pragma solidity ^0.8.4;

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

// File: @openzeppelin/contracts/utils/Address.sol

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

pragma solidity ^0.8.1;

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

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

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

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

pragma solidity ^0.8.0;

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

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

// File: @openzeppelin/contracts/utils/Timers.sol

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

pragma solidity ^0.8.0;

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

// File: @openzeppelin/contracts/governance/IGovernor.sol

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

pragma solidity ^0.8.0;

/**
 * @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} event.
     */
    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} event.
     */
    function castVoteWithReasonAndParamsBySig(
        uint256 proposalId,
        uint8 support,
        string calldata reason,
        bytes memory params,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) public virtual returns (uint256 balance);
}

// File: @openzeppelin/contracts/governance/Governor.sol

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

pragma solidity ^0.8.0;











/**
 * @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 Governor is Context, ERC165, EIP712, IGovernor, IERC721Receiver, IERC1155Receiver {
    using DoubleEndedQueue for DoubleEndedQueue.Bytes32Deque;
    using SafeCast for uint256;
    using Timers for Timers.BlockNumber;

    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.BlockNumber voteStart;
        Timers.BlockNumber 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 snapshot = proposalSnapshot(proposalId);

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

        if (snapshot >= block.number) {
            return ProposalState.Pending;
        }

        uint256 deadline = proposalDeadline(proposalId);

        if (deadline >= block.number) {
            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 `blockNumber`, for a vote as described by `params`.
     */
    function _getVotes(
        address account,
        uint256 blockNumber,
        bytes memory params
    ) internal view virtual returns (uint256);

    /**
     * @dev Register a vote with a given support and voting weight.
     *
     * 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 snapshot = block.number.toUint64() + votingDelay().toUint64();
        uint64 deadline = snapshot + votingPeriod().toUint64();

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

        emit ProposalCreated(
            proposalId,
            _msgSender(),
            targets,
            values,
            new string[](targets.length),
            calldatas,
            snapshot,
            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 blockNumber) public view virtual override returns (uint256) {
        return _getVotes(account, blockNumber, _defaultParams());
    }

    /**
     * @dev See {IGovernor-getVotesWithParams}.
     */
    function getVotesWithParams(
        address account,
        uint256 blockNumber,
        bytes memory params
    ) public view virtual override returns (uint256) {
        return _getVotes(account, blockNumber, 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;
    }
}

// File: @openzeppelin/contracts/governance/extensions/GovernorSettings.sol

// OpenZeppelin Contracts v4.4.1 (governance/extensions/GovernorSettings.sol)

pragma solidity ^0.8.0;

/**
 * @dev Extension of {Governor} for settings updatable through governance.
 *
 * _Available since v4.4._
 */
abstract contract GovernorSettings is Governor {
    uint256 private _votingDelay;
    uint256 private _votingPeriod;
    uint256 private _proposalThreshold;

    event VotingDelaySet(uint256 oldVotingDelay, uint256 newVotingDelay);
    event VotingPeriodSet(uint256 oldVotingPeriod, uint256 newVotingPeriod);
    event ProposalThresholdSet(uint256 oldProposalThreshold, uint256 newProposalThreshold);

    /**
     * @dev Initialize the governance parameters.
     */
    constructor(
        uint256 initialVotingDelay,
        uint256 initialVotingPeriod,
        uint256 initialProposalThreshold
    ) {
        _setVotingDelay(initialVotingDelay);
        _setVotingPeriod(initialVotingPeriod);
        _setProposalThreshold(initialProposalThreshold);
    }

    /**
     * @dev See {IGovernor-votingDelay}.
     */
    function votingDelay() public view virtual override returns (uint256) {
        return _votingDelay;
    }

    /**
     * @dev See {IGovernor-votingPeriod}.
     */
    function votingPeriod() public view virtual override returns (uint256) {
        return _votingPeriod;
    }

    /**
     * @dev See {Governor-proposalThreshold}.
     */
    function proposalThreshold() public view virtual override returns (uint256) {
        return _proposalThreshold;
    }

    /**
     * @dev Update the voting delay. This operation can only be performed through a governance proposal.
     *
     * Emits a {VotingDelaySet} event.
     */
    function setVotingDelay(uint256 newVotingDelay) public virtual onlyGovernance {
        _setVotingDelay(newVotingDelay);
    }

    /**
     * @dev Update the voting period. This operation can only be performed through a governance proposal.
     *
     * Emits a {VotingPeriodSet} event.
     */
    function setVotingPeriod(uint256 newVotingPeriod) public virtual onlyGovernance {
        _setVotingPeriod(newVotingPeriod);
    }

    /**
     * @dev Update the proposal threshold. This operation can only be performed through a governance proposal.
     *
     * Emits a {ProposalThresholdSet} event.
     */
    function setProposalThreshold(uint256 newProposalThreshold) public virtual onlyGovernance {
        _setProposalThreshold(newProposalThreshold);
    }

    /**
     * @dev Internal setter for the voting delay.
     *
     * Emits a {VotingDelaySet} event.
     */
    function _setVotingDelay(uint256 newVotingDelay) internal virtual {
        emit VotingDelaySet(_votingDelay, newVotingDelay);
        _votingDelay = newVotingDelay;
    }

    /**
     * @dev Internal setter for the voting period.
     *
     * Emits a {VotingPeriodSet} event.
     */
    function _setVotingPeriod(uint256 newVotingPeriod) internal virtual {
        // voting period must be at least one block long
        require(newVotingPeriod > 0, "GovernorSettings: voting period too low");
        emit VotingPeriodSet(_votingPeriod, newVotingPeriod);
        _votingPeriod = newVotingPeriod;
    }

    /**
     * @dev Internal setter for the proposal threshold.
     *
     * Emits a {ProposalThresholdSet} event.
     */
    function _setProposalThreshold(uint256 newProposalThreshold) internal virtual {
        emit ProposalThresholdSet(_proposalThreshold, newProposalThreshold);
        _proposalThreshold = newProposalThreshold;
    }
}

// File: @openzeppelin/contracts/governance/extensions/GovernorCountingSimple.sol

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

pragma solidity ^0.8.0;

/**
 * @dev Extension of {Governor} for simple, 3 options, vote counting.
 *
 * _Available since v4.3._
 */
abstract contract GovernorCountingSimple is Governor {
    /**
     * @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");
        }
    }
}

// File: @openzeppelin/contracts/governance/utils/IVotes.sol

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

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

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

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

    /**
     * @dev Returns the amount of votes that `account` had at 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;
}

// File: @openzeppelin/contracts/governance/extensions/GovernorVotes.sol

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

pragma solidity ^0.8.0;


/**
 * @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 GovernorVotes is Governor {
    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 blockNumber,
        bytes memory /*params*/
    ) internal view virtual override returns (uint256) {
        return token.getPastVotes(account, blockNumber);
    }
}

// File: @openzeppelin/contracts/governance/extensions/GovernorVotesQuorumFraction.sol

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

pragma solidity ^0.8.0;

/**
 * @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 GovernorVotesQuorumFraction is GovernorVotes {
    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 number, in terms of number of votes: `supply * numerator / denominator`.
     */
    function quorum(uint256 blockNumber) public view virtual override returns (uint256) {
        return (token.getPastTotalSupply(blockNumber) * 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);
    }
}

// File: @openzeppelin/contracts/governance/extensions/IGovernorTimelock.sol

// OpenZeppelin Contracts v4.4.1 (governance/extensions/IGovernorTimelock.sol)

pragma solidity ^0.8.0;

/**
 * @dev Extension of the {IGovernor} for timelock supporting modules.
 *
 * _Available since v4.3._
 */
abstract contract IGovernorTimelock is IGovernor {
    event ProposalQueued(uint256 proposalId, uint256 eta);

    function timelock() public view virtual returns (address);

    function proposalEta(uint256 proposalId) public view virtual returns (uint256);

    function queue(
        address[] memory targets,
        uint256[] memory values,
        bytes[] memory calldatas,
        bytes32 descriptionHash
    ) public virtual returns (uint256 proposalId);
}

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;




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

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

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

        _revokeRole(role, account);
    }

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

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

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

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

// File: @openzeppelin/contracts/governance/TimelockController.sol

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

pragma solidity ^0.8.0;



/**
 * @dev Contract module which acts as a timelocked controller. When set as the
 * owner of an `Ownable` smart contract, it enforces a timelock on all
 * `onlyOwner` maintenance operations. This gives time for users of the
 * controlled contract to exit before a potentially dangerous maintenance
 * operation is applied.
 *
 * By default, this contract is self administered, meaning administration tasks
 * have to go through the timelock process. The proposer (resp executor) role
 * is in charge of proposing (resp executing) operations. A common use case is
 * to position this {TimelockController} as the owner of a smart contract, with
 * a multisig or a DAO as the sole proposer.
 *
 * _Available since v3.3._
 */
contract TimelockController is AccessControl, IERC721Receiver, IERC1155Receiver {
    bytes32 public constant TIMELOCK_ADMIN_ROLE = keccak256("TIMELOCK_ADMIN_ROLE");
    bytes32 public constant PROPOSER_ROLE = keccak256("PROPOSER_ROLE");
    bytes32 public constant EXECUTOR_ROLE = keccak256("EXECUTOR_ROLE");
    bytes32 public constant CANCELLER_ROLE = keccak256("CANCELLER_ROLE");
    uint256 internal constant _DONE_TIMESTAMP = uint256(1);

    mapping(bytes32 => uint256) private _timestamps;
    uint256 private _minDelay;

    /**
     * @dev Emitted when a call is scheduled as part of operation `id`.
     */
    event CallScheduled(
        bytes32 indexed id,
        uint256 indexed index,
        address target,
        uint256 value,
        bytes data,
        bytes32 predecessor,
        uint256 delay
    );

    /**
     * @dev Emitted when a call is performed as part of operation `id`.
     */
    event CallExecuted(bytes32 indexed id, uint256 indexed index, address target, uint256 value, bytes data);

    /**
     * @dev Emitted when operation `id` is cancelled.
     */
    event Cancelled(bytes32 indexed id);

    /**
     * @dev Emitted when the minimum delay for future operations is modified.
     */
    event MinDelayChange(uint256 oldDuration, uint256 newDuration);

    /**
     * @dev Initializes the contract with a given `minDelay`, and a list of
     * initial proposers and executors. The proposers receive both the
     * proposer and the canceller role (for backward compatibility). The
     * executors receive the executor role.
     *
     * NOTE: At construction, both the deployer and the timelock itself are
     * administrators. This helps further configuration of the timelock by the
     * deployer. After configuration is done, it is recommended that the
     * deployer renounces its admin position and relies on timelocked
     * operations to perform future maintenance.
     */
    constructor(
        uint256 minDelay,
        address[] memory proposers,
        address[] memory executors
    ) {
        _setRoleAdmin(TIMELOCK_ADMIN_ROLE, TIMELOCK_ADMIN_ROLE);
        _setRoleAdmin(PROPOSER_ROLE, TIMELOCK_ADMIN_ROLE);
        _setRoleAdmin(EXECUTOR_ROLE, TIMELOCK_ADMIN_ROLE);
        _setRoleAdmin(CANCELLER_ROLE, TIMELOCK_ADMIN_ROLE);

        // deployer + self administration
        _setupRole(TIMELOCK_ADMIN_ROLE, _msgSender());
        _setupRole(TIMELOCK_ADMIN_ROLE, address(this));

        // register proposers and cancellers
        for (uint256 i = 0; i < proposers.length; ++i) {
            _setupRole(PROPOSER_ROLE, proposers[i]);
            _setupRole(CANCELLER_ROLE, proposers[i]);
        }

        // register executors
        for (uint256 i = 0; i < executors.length; ++i) {
            _setupRole(EXECUTOR_ROLE, executors[i]);
        }

        _minDelay = minDelay;
        emit MinDelayChange(0, minDelay);
    }

    /**
     * @dev Modifier to make a function callable only by a certain role. In
     * addition to checking the sender's role, `address(0)` 's role is also
     * considered. Granting a role to `address(0)` is equivalent to enabling
     * this role for everyone.
     */
    modifier onlyRoleOrOpenRole(bytes32 role) {
        if (!hasRole(role, address(0))) {
            _checkRole(role, _msgSender());
        }
        _;
    }

    /**
     * @dev Contract might receive/hold ETH as part of the maintenance process.
     */
    receive() external payable {}

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

    /**
     * @dev Returns whether an id correspond to a registered operation. This
     * includes both Pending, Ready and Done operations.
     */
    function isOperation(bytes32 id) public view virtual returns (bool pending) {
        return getTimestamp(id) > 0;
    }

    /**
     * @dev Returns whether an operation is pending or not.
     */
    function isOperationPending(bytes32 id) public view virtual returns (bool pending) {
        return getTimestamp(id) > _DONE_TIMESTAMP;
    }

    /**
     * @dev Returns whether an operation is ready or not.
     */
    function isOperationReady(bytes32 id) public view virtual returns (bool ready) {
        uint256 timestamp = getTimestamp(id);
        return timestamp > _DONE_TIMESTAMP && timestamp <= block.timestamp;
    }

    /**
     * @dev Returns whether an operation is done or not.
     */
    function isOperationDone(bytes32 id) public view virtual returns (bool done) {
        return getTimestamp(id) == _DONE_TIMESTAMP;
    }

    /**
     * @dev Returns the timestamp at with an operation becomes ready (0 for
     * unset operations, 1 for done operations).
     */
    function getTimestamp(bytes32 id) public view virtual returns (uint256 timestamp) {
        return _timestamps[id];
    }

    /**
     * @dev Returns the minimum delay for an operation to become valid.
     *
     * This value can be changed by executing an operation that calls `updateDelay`.
     */
    function getMinDelay() public view virtual returns (uint256 duration) {
        return _minDelay;
    }

    /**
     * @dev Returns the identifier of an operation containing a single
     * transaction.
     */
    function hashOperation(
        address target,
        uint256 value,
        bytes calldata data,
        bytes32 predecessor,
        bytes32 salt
    ) public pure virtual returns (bytes32 hash) {
        return keccak256(abi.encode(target, value, data, predecessor, salt));
    }

    /**
     * @dev Returns the identifier of an operation containing a batch of
     * transactions.
     */
    function hashOperationBatch(
        address[] calldata targets,
        uint256[] calldata values,
        bytes[] calldata payloads,
        bytes32 predecessor,
        bytes32 salt
    ) public pure virtual returns (bytes32 hash) {
        return keccak256(abi.encode(targets, values, payloads, predecessor, salt));
    }

    /**
     * @dev Schedule an operation containing a single transaction.
     *
     * Emits a {CallScheduled} event.
     *
     * Requirements:
     *
     * - the caller must have the 'proposer' role.
     */
    function schedule(
        address target,
        uint256 value,
        bytes calldata data,
        bytes32 predecessor,
        bytes32 salt,
        uint256 delay
    ) public virtual onlyRole(PROPOSER_ROLE) {
        bytes32 id = hashOperation(target, value, data, predecessor, salt);
        _schedule(id, delay);
        emit CallScheduled(id, 0, target, value, data, predecessor, delay);
    }

    /**
     * @dev Schedule an operation containing a batch of transactions.
     *
     * Emits one {CallScheduled} event per transaction in the batch.
     *
     * Requirements:
     *
     * - the caller must have the 'proposer' role.
     */
    function scheduleBatch(
        address[] calldata targets,
        uint256[] calldata values,
        bytes[] calldata payloads,
        bytes32 predecessor,
        bytes32 salt,
        uint256 delay
    ) public virtual onlyRole(PROPOSER_ROLE) {
        require(targets.length == values.length, "TimelockController: length mismatch");
        require(targets.length == payloads.length, "TimelockController: length mismatch");

        bytes32 id = hashOperationBatch(targets, values, payloads, predecessor, salt);
        _schedule(id, delay);
        for (uint256 i = 0; i < targets.length; ++i) {
            emit CallScheduled(id, i, targets[i], values[i], payloads[i], predecessor, delay);
        }
    }

    /**
     * @dev Schedule an operation that is to becomes valid after a given delay.
     */
    function _schedule(bytes32 id, uint256 delay) private {
        require(!isOperation(id), "TimelockController: operation already scheduled");
        require(delay >= getMinDelay(), "TimelockController: insufficient delay");
        _timestamps[id] = block.timestamp + delay;
    }

    /**
     * @dev Cancel an operation.
     *
     * Requirements:
     *
     * - the caller must have the 'canceller' role.
     */
    function cancel(bytes32 id) public virtual onlyRole(CANCELLER_ROLE) {
        require(isOperationPending(id), "TimelockController: operation cannot be cancelled");
        delete _timestamps[id];

        emit Cancelled(id);
    }

    /**
     * @dev Execute an (ready) operation containing a single transaction.
     *
     * Emits a {CallExecuted} event.
     *
     * Requirements:
     *
     * - the caller must have the 'executor' role.
     */
    // This function can reenter, but it doesn't pose a risk because _afterCall checks that the proposal is pending,
    // thus any modifications to the operation during reentrancy should be caught.
    // slither-disable-next-line reentrancy-eth
    function execute(
        address target,
        uint256 value,
        bytes calldata data,
        bytes32 predecessor,
        bytes32 salt
    ) public payable virtual onlyRoleOrOpenRole(EXECUTOR_ROLE) {
        bytes32 id = hashOperation(target, value, data, predecessor, salt);
        _beforeCall(id, predecessor);
        _call(id, 0, target, value, data);
        _afterCall(id);
    }

    /**
     * @dev Execute an (ready) operation containing a batch of transactions.
     *
     * Emits one {CallExecuted} event per transaction in the batch.
     *
     * Requirements:
     *
     * - the caller must have the 'executor' role.
     */
    function executeBatch(
        address[] calldata targets,
        uint256[] calldata values,
        bytes[] calldata payloads,
        bytes32 predecessor,
        bytes32 salt
    ) public payable virtual onlyRoleOrOpenRole(EXECUTOR_ROLE) {
        require(targets.length == values.length, "TimelockController: length mismatch");
        require(targets.length == payloads.length, "TimelockController: length mismatch");

        bytes32 id = hashOperationBatch(targets, values, payloads, predecessor, salt);
        _beforeCall(id, predecessor);
        for (uint256 i = 0; i < targets.length; ++i) {
            _call(id, i, targets[i], values[i], payloads[i]);
        }
        _afterCall(id);
    }

    /**
     * @dev Checks before execution of an operation's calls.
     */
    function _beforeCall(bytes32 id, bytes32 predecessor) private view {
        require(isOperationReady(id), "TimelockController: operation is not ready");
        require(predecessor == bytes32(0) || isOperationDone(predecessor), "TimelockController: missing dependency");
    }

    /**
     * @dev Checks after execution of an operation's calls.
     */
    function _afterCall(bytes32 id) private {
        require(isOperationReady(id), "TimelockController: operation is not ready");
        _timestamps[id] = _DONE_TIMESTAMP;
    }

    /**
     * @dev Execute an operation's call.
     *
     * Emits a {CallExecuted} event.
     */
    function _call(
        bytes32 id,
        uint256 index,
        address target,
        uint256 value,
        bytes calldata data
    ) private {
        (bool success, ) = target.call{value: value}(data);
        require(success, "TimelockController: underlying transaction reverted");

        emit CallExecuted(id, index, target, value, data);
    }

    /**
     * @dev Changes the minimum timelock duration for future operations.
     *
     * Emits a {MinDelayChange} event.
     *
     * Requirements:
     *
     * - the caller must be the timelock itself. This can only be achieved by scheduling and later executing
     * an operation where the timelock is the target and the data is the ABI-encoded call to this function.
     */
    function updateDelay(uint256 newDelay) external virtual {
        require(msg.sender == address(this), "TimelockController: caller must be timelock");
        emit MinDelayChange(_minDelay, newDelay);
        _minDelay = newDelay;
    }

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

// File: @openzeppelin/contracts/governance/extensions/GovernorTimelockControl.sol

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

pragma solidity ^0.8.0;



/**
 * @dev Extension of {Governor} that binds the execution process to an instance of {TimelockController}. This adds a
 * delay, enforced by the {TimelockController} to all successful proposal (in addition to the voting duration). The
 * {Governor} needs the proposer (and ideally the executor) roles for the {Governor} to work properly.
 *
 * Using this model means the proposal will be operated by the {TimelockController} and not by the {Governor}. Thus,
 * the assets and permissions must be attached to the {TimelockController}. Any asset sent to the {Governor} will be
 * inaccessible.
 *
 * WARNING: Setting up the TimelockController to have additional proposers besides the governor is very risky, as it
 * grants them powers that they must be trusted or known not to use: 1) {onlyGovernance} functions like {relay} are
 * available to them through the timelock, and 2) approved governance proposals can be blocked by them, effectively
 * executing a Denial of Service attack. This risk will be mitigated in a future release.
 *
 * _Available since v4.3._
 */
abstract contract GovernorTimelockControl is IGovernorTimelock, Governor {
    TimelockController private _timelock;
    mapping(uint256 => bytes32) private _timelockIds;

    /**
     * @dev Emitted when the timelock controller used for proposal execution is modified.
     */
    event TimelockChange(address oldTimelock, address newTimelock);

    /**
     * @dev Set the timelock.
     */
    constructor(TimelockController timelockAddress) {
        _updateTimelock(timelockAddress);
    }

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

    /**
     * @dev Overridden version of the {Governor-state} function with added support for the `Queued` status.
     */
    function state(uint256 proposalId) public view virtual override(IGovernor, Governor) returns (ProposalState) {
        ProposalState status = super.state(proposalId);

        if (status != ProposalState.Succeeded) {
            return status;
        }

        // core tracks execution, so we just have to check if successful proposal have been queued.
        bytes32 queueid = _timelockIds[proposalId];
        if (queueid == bytes32(0)) {
            return status;
        } else if (_timelock.isOperationDone(queueid)) {
            return ProposalState.Executed;
        } else if (_timelock.isOperationPending(queueid)) {
            return ProposalState.Queued;
        } else {
            return ProposalState.Canceled;
        }
    }

    /**
     * @dev Public accessor to check the address of the timelock
     */
    function timelock() public view virtual override returns (address) {
        return address(_timelock);
    }

    /**
     * @dev Public accessor to check the eta of a queued proposal
     */
    function proposalEta(uint256 proposalId) public view virtual override returns (uint256) {
        uint256 eta = _timelock.getTimestamp(_timelockIds[proposalId]);
        return eta == 1 ? 0 : eta; // _DONE_TIMESTAMP (1) should be replaced with a 0 value
    }

    /**
     * @dev Function to queue a proposal to the timelock.
     */
    function queue(
        address[] memory targets,
        uint256[] memory values,
        bytes[] memory calldatas,
        bytes32 descriptionHash
    ) public virtual override returns (uint256) {
        uint256 proposalId = hashProposal(targets, values, calldatas, descriptionHash);

        require(state(proposalId) == ProposalState.Succeeded, "Governor: proposal not successful");

        uint256 delay = _timelock.getMinDelay();
        _timelockIds[proposalId] = _timelock.hashOperationBatch(targets, values, calldatas, 0, descriptionHash);
        _timelock.scheduleBatch(targets, values, calldatas, 0, descriptionHash, delay);

        emit ProposalQueued(proposalId, block.timestamp + delay);

        return proposalId;
    }

    /**
     * @dev Overridden execute function that run the already queued proposal through the timelock.
     */
    function _execute(
        uint256, /* proposalId */
        address[] memory targets,
        uint256[] memory values,
        bytes[] memory calldatas,
        bytes32 descriptionHash
    ) internal virtual override {
        _timelock.executeBatch{value: msg.value}(targets, values, calldatas, 0, descriptionHash);
    }

    /**
     * @dev Overridden version of the {Governor-_cancel} function to cancel the timelocked proposal if it as already
     * been queued.
     */
    // This function can reenter through the external call to the timelock, but we assume the timelock is trusted and
    // well behaved (according to TimelockController) and this will not happen.
    // slither-disable-next-line reentrancy-no-eth
    function _cancel(
        address[] memory targets,
        uint256[] memory values,
        bytes[] memory calldatas,
        bytes32 descriptionHash
    ) internal virtual override returns (uint256) {
        uint256 proposalId = super._cancel(targets, values, calldatas, descriptionHash);

        if (_timelockIds[proposalId] != 0) {
            _timelock.cancel(_timelockIds[proposalId]);
            delete _timelockIds[proposalId];
        }

        return proposalId;
    }

    /**
     * @dev Address through which the governor executes action. In this case, the timelock.
     */
    function _executor() internal view virtual override returns (address) {
        return address(_timelock);
    }

    /**
     * @dev Public endpoint to update the underlying timelock instance. Restricted to the timelock itself, so updates
     * must be proposed, scheduled, and executed through governance proposals.
     *
     * CAUTION: It is not recommended to change the timelock while there are other queued governance proposals.
     */
    function updateTimelock(TimelockController newTimelock) external virtual onlyGovernance {
        _updateTimelock(newTimelock);
    }

    function _updateTimelock(TimelockController newTimelock) private {
        emit TimelockChange(address(_timelock), address(newTimelock));
        _timelock = newTimelock;
    }
}

// File: contracts/SigmaSquaredGovernor.sol

pragma solidity ^0.8.4;
/**
 * This is the governor for the Sigma Squared DAO.  This contract was created using the OpenZeppelin wizard.
 */
contract SigmaSquaredGovernor is Governor, GovernorSettings, GovernorCountingSimple, GovernorVotes, GovernorVotesQuorumFraction, GovernorTimelockControl {
    constructor(IVotes _token, TimelockController _timelock, uint256 votingPeriodBlocks)
        Governor("SigmaSquaredGovernor")
        GovernorSettings(1 /* 1 block */, votingPeriodBlocks, 0)
        GovernorVotes(_token)
        GovernorVotesQuorumFraction(4)
        GovernorTimelockControl(_timelock)
    {}

    // The following functions are overrides required by Solidity.

    function votingDelay()
        public
        view
        override(IGovernor, GovernorSettings)
        returns (uint256)
    {
        return super.votingDelay();
    }

    function votingPeriod()
        public
        view
        override(IGovernor, GovernorSettings)
        returns (uint256)
    {
        return super.votingPeriod();
    }

    function quorum(uint256 blockNumber)
        public
        view
        override(IGovernor, GovernorVotesQuorumFraction)
        returns (uint256)
    {
        return super.quorum(blockNumber);
    }

    function state(uint256 proposalId)
        public
        view
        override(Governor, GovernorTimelockControl)
        returns (ProposalState)
    {
        return super.state(proposalId);
    }

    function propose(address[] memory targets, uint256[] memory values, bytes[] memory calldatas, string memory description)
        public
        override(Governor, IGovernor)
        returns (uint256)
    {
        return super.propose(targets, values, calldatas, description);
    }

    function proposalThreshold()
        public
        view
        override(Governor, GovernorSettings)
        returns (uint256)
    {
        return super.proposalThreshold();
    }

    function _execute(uint256 proposalId, address[] memory targets, uint256[] memory values, bytes[] memory calldatas, bytes32 descriptionHash)
        internal
        override(Governor, GovernorTimelockControl)
    {
        super._execute(proposalId, targets, values, calldatas, descriptionHash);
    }

    function _cancel(address[] memory targets, uint256[] memory values, bytes[] memory calldatas, bytes32 descriptionHash)
        internal
        override(Governor, GovernorTimelockControl)
        returns (uint256)
    {
        return super._cancel(targets, values, calldatas, descriptionHash);
    }

    function _executor()
        internal
        view
        override(Governor, GovernorTimelockControl)
        returns (address)
    {
        return super._executor();
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        override(Governor, GovernorTimelockControl)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IVotes","name":"_token","type":"address"},{"internalType":"contract TimelockController","name":"_timelock","type":"address"},{"internalType":"uint256","name":"votingPeriodBlocks","type":"uint256"}],"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":"proposalId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"eta","type":"uint256"}],"name":"ProposalQueued","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldProposalThreshold","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newProposalThreshold","type":"uint256"}],"name":"ProposalThresholdSet","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":false,"internalType":"address","name":"oldTimelock","type":"address"},{"indexed":false,"internalType":"address","name":"newTimelock","type":"address"}],"name":"TimelockChange","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldVotingDelay","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newVotingDelay","type":"uint256"}],"name":"VotingDelaySet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"oldVotingPeriod","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newVotingPeriod","type":"uint256"}],"name":"VotingPeriodSet","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":[{"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":"blockNumber","type":"uint256"}],"name":"getVotes","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"blockNumber","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":[{"internalType":"uint256","name":"proposalId","type":"uint256"}],"name":"proposalEta","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":"address[]","name":"targets","type":"address[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"},{"internalType":"bytes[]","name":"calldatas","type":"bytes[]"},{"internalType":"bytes32","name":"descriptionHash","type":"bytes32"}],"name":"queue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"blockNumber","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":"newProposalThreshold","type":"uint256"}],"name":"setProposalThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newVotingDelay","type":"uint256"}],"name":"setVotingDelay","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newVotingPeriod","type":"uint256"}],"name":"setVotingPeriod","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":"timelock","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":[{"internalType":"contract TimelockController","name":"newTimelock","type":"address"}],"name":"updateTimelock","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":"view","type":"function"},{"inputs":[],"name":"votingPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6101606040523480156200001257600080fd5b5060405162003c3338038062003c338339810160408190526200003591620004b6565b8160048460018460006040518060400160405280601481526020017f5369676d6153717561726564476f7665726e6f7200000000000000000000000081525080620000856200018060201b60201c565b815160208084019190912082518383012060e08290526101008190524660a0818152604080517f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f81880181905281830187905260608201869052608082019490945230818401528151808203909301835260c00190528051940193909320919290916080523060c05261012052505082516200012b9250600091506020840190620003f7565b50620001399050836200019b565b6200014482620001dc565b6200014f8162000283565b5050506001600160a01b0316610140526200016a81620002c4565b5062000176816200038e565b505050506200053a565b6040805180820190915260018152603160f81b602082015290565b60045460408051918252602082018390527fc565b045403dc03c2eea82b81a0465edad9e2e7fc4d97e11421c209da93d7a93910160405180910390a1600455565b60008111620002425760405162461bcd60e51b815260206004820152602760248201527f476f7665726e6f7253657474696e67733a20766f74696e6720706572696f6420604482015266746f6f206c6f7760c81b60648201526084015b60405180910390fd5b60055460408051918252602082018390527f7e3f7f0708a84de9203036abaa450dccc85ad5ff52f78c170f3edb55cf5e8828910160405180910390a1600555565b60065460408051918252602082018390527fccb45da8d5717e6c4544694297c4ba5cf151d455c9bb0ed4fc7a38411bc05461910160405180910390a1600655565b6064811115620003495760405162461bcd60e51b815260206004820152604360248201527f476f7665726e6f72566f74657351756f72756d4672616374696f6e3a2071756f60448201527f72756d4e756d657261746f72206f7665722071756f72756d44656e6f6d696e616064820152623a37b960e91b608482015260a40162000239565b600880549082905560408051828152602081018490527f0553476bf02ef2726e8ce5ced78d63e26e602e4a2257b1f559418e24b4633997910160405180910390a15050565b600954604080516001600160a01b03928316815291831660208301527f08f74ea46ef7894f65eabfb5e6e695de773a000b47c529ab559178069b226401910160405180910390a1600980546001600160a01b0319166001600160a01b0392909216919091179055565b8280546200040590620004fe565b90600052602060002090601f01602090048101928262000429576000855562000474565b82601f106200044457805160ff191683800117855562000474565b8280016001018555821562000474579182015b828111156200047457825182559160200191906001019062000457565b506200048292915062000486565b5090565b5b8082111562000482576000815560010162000487565b6001600160a01b0381168114620004b357600080fd5b50565b600080600060608486031215620004cc57600080fd5b8351620004d9816200049d565b6020850151909350620004ec816200049d565b80925050604084015190509250925092565b600181811c908216806200051357607f821691505b6020821081036200053457634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e051610100516101205161014051613690620005a3600039600081816107b201528181611b3a0152611d3301526000611eaf01526000611efe01526000611ed901526000611e3201526000611e5c01526000611e8601526136906000f3fe6080604052600436106101cf5760003560e01c806301ffc9a7146101f757806302a251a31461022c578063034201811461024f57806306f3f9e61461026f57806306fdde031461028f578063150b7a02146102b1578063160cbed7146102f55780632656227d146103155780632d63f693146103285780632fe3e261146103485780633932abb11461036a5780633bccf4fd1461037f5780633e4f49e61461039f57806343859632146103cc578063544ffc9c1461041657806354fd4d501461046b57806356781388146104955780635f398a14146104b557806370b0f660146104d55780637b3c71d3146104f55780637d5e81e21461051557806397c3d334146105355780639a802a6d14610549578063a7713a7014610569578063a890c9101461057e578063ab58fb8e1461059e578063b58131b0146105be578063bc197c81146105d3578063c01f9e37146105ff578063c28bc2fa1461061f578063c59057e41461063f578063d33219b41461065f578063dd4e2ba51461068c578063deaaa7cc146106d2578063ea0217cf146106f4578063eb9019d414610714578063ece40cc114610734578063f23a6e6114610754578063f8ce560a14610780578063fc0c546a146107a057600080fd5b366101f257306101dd6107d4565b6001600160a01b0316146101f057600080fd5b005b600080fd5b34801561020357600080fd5b5061021761021236600461274d565b6107e3565b60405190151581526020015b60405180910390f35b34801561023857600080fd5b506102416107f4565b604051908152602001610223565b34801561025b57600080fd5b5061024161026a366004612892565b6107ff565b34801561027b57600080fd5b506101f061028a366004612938565b6108e5565b34801561029b57600080fd5b506102a4610978565b60405161022391906129ad565b3480156102bd57600080fd5b506102dc6102cc3660046129d5565b630a85bd0160e11b949350505050565b6040516001600160e01b03199091168152602001610223565b34801561030157600080fd5b50610241610310366004612bb1565b610a0a565b610241610323366004612bb1565b610c08565b34801561033457600080fd5b50610241610343366004612938565b610cf5565b34801561035457600080fd5b5061024160008051602061361283398151915281565b34801561037657600080fd5b50610241610d2c565b34801561038b57600080fd5b5061024161039a366004612c40565b610d37565b3480156103ab57600080fd5b506103bf6103ba366004612938565b610d9b565b6040516102239190612ca4565b3480156103d857600080fd5b506102176103e7366004612ccc565b60008281526007602090815260408083206001600160a01b038516845260030190915290205460ff1692915050565b34801561042257600080fd5b50610450610431366004612938565b6000908152600760205260409020805460018201546002909201549092565b60408051938452602084019290925290820152606001610223565b34801561047757600080fd5b506040805180820190915260018152603160f81b60208201526102a4565b3480156104a157600080fd5b506102416104b0366004612cfc565b610da6565b3480156104c157600080fd5b506102416104d0366004612d28565b610dcf565b3480156104e157600080fd5b506101f06104f0366004612938565b610e19565b34801561050157600080fd5b50610241610510366004612dab565b610ea0565b34801561052157600080fd5b50610241610530366004612e04565b610ef2565b34801561054157600080fd5b506064610241565b34801561055557600080fd5b50610241610564366004612eb8565b610f09565b34801561057557600080fd5b50600854610241565b34801561058a57600080fd5b506101f0610599366004612f10565b610f20565b3480156105aa57600080fd5b506102416105b9366004612938565b610fa7565b3480156105ca57600080fd5b50610241611041565b3480156105df57600080fd5b506102dc6105ee366004612f2d565b63bc197c8160e01b95945050505050565b34801561060b57600080fd5b5061024161061a366004612938565b61104c565b34801561062b57600080fd5b506101f061063a366004612fc0565b61107b565b34801561064b57600080fd5b5061024161065a366004612bb1565b611142565b34801561066b57600080fd5b5061067461117c565b6040516001600160a01b039091168152602001610223565b34801561069857600080fd5b506040805180820190915260208082527f737570706f72743d627261766f2671756f72756d3d666f722c6162737461696e908201526102a4565b3480156106de57600080fd5b506102416000805160206135f283398151915281565b34801561070057600080fd5b506101f061070f366004612938565b61118b565b34801561072057600080fd5b5061024161072f366004613003565b611212565b34801561074057600080fd5b506101f061074f366004612938565b611233565b34801561076057600080fd5b506102dc61076f36600461302f565b63f23a6e6160e01b95945050505050565b34801561078c57600080fd5b5061024161079b366004612938565b6112ba565b3480156107ac57600080fd5b506106747f000000000000000000000000000000000000000000000000000000000000000081565b60006107de61117c565b905090565b60006107ee826112c5565b92915050565b60006107de60055490565b6000806108916108896000805160206136128339815191528c8c8c8c604051610829929190613097565b60405180910390208b8051906020012060405160200161086e959493929190948552602085019390935260ff9190911660408401526060830152608082015260a00190565b604051602081830303815290604052805190602001206112ea565b868686611338565b90506108d78a828b8b8b8080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508d9250611356915050565b9a9950505050505050505050565b6108ed6107d4565b6001600160a01b0316336001600160a01b0316146109265760405162461bcd60e51b815260040161091d906130a7565b60405180910390fd5b3061092f6107d4565b6001600160a01b03161461096c576000803660405161094f929190613097565b604051809103902090505b8061096560026114bb565b0361095a57505b61097581611521565b50565b606060008054610987906130d9565b80601f01602080910402602001604051908101604052809291908181526020018280546109b3906130d9565b8015610a005780601f106109d557610100808354040283529160200191610a00565b820191906000526020600020905b8154815290600101906020018083116109e357829003601f168201915b5050505050905090565b600080610a1986868686611142565b90506004610a2682610d9b565b6007811115610a3757610a37612c8e565b14610a545760405162461bcd60e51b815260040161091d90613113565b6009546040805163793d064960e11b815290516000926001600160a01b03169163f27a0c929160048083019260209291908290030181865afa158015610a9e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ac29190613154565b60095460405163b1c5f42760e01b81529192506001600160a01b03169063b1c5f42790610afc908a908a908a906000908b90600401613236565b602060405180830381865afa158015610b19573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b3d9190613154565b6000838152600a60205260408082209290925560095491516308f2a0bb60e41b81526001600160a01b0390921691638f2a0bb091610b88918b918b918b91908b908990600401613284565b600060405180830381600087803b158015610ba257600080fd5b505af1158015610bb6573d6000803e3d6000fd5b505050507f9a2e42fd6722813d69113e7d0079d3d940171428df7373df9c7f7617cfda2892828242610be891906132f2565b604051610bf692919061330a565b60405180910390a15095945050505050565b600080610c1786868686611142565b90506000610c2482610d9b565b90506004816007811115610c3a57610c3a612c8e565b1480610c5757506005816007811115610c5557610c55612c8e565b145b610c735760405162461bcd60e51b815260040161091d90613113565b600082815260016020818152604092839020600201805460ff191690921790915590518381527f712ae1383f79ac853f8d882153778e0260ef8f03b504e2866e0593e04d2b291f910160405180910390a1610cd182888888886115ea565b610cde828888888861168b565b610ceb8288888888611698565b5095945050505050565b60008181526001602090815260408083208151928301909152546001600160401b0316908190525b6001600160401b031692915050565b60006107de60045490565b604080516000805160206135f2833981519152602082015290810186905260ff851660608201526000908190610d73906108899060800161086e565b9050610d90878288604051806020016040528060008152506116c7565b979650505050505050565b60006107ee826116ea565b600080339050610dc7848285604051806020016040528060008152506116c7565b949350505050565b600080339050610d9087828888888080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152508a9250611356915050565b610e216107d4565b6001600160a01b0316336001600160a01b031614610e515760405162461bcd60e51b815260040161091d906130a7565b30610e5a6107d4565b6001600160a01b031614610e975760008036604051610e7a929190613097565b604051809103902090505b80610e9060026114bb565b03610e8557505b61097581611834565b600080339050610ee886828787878080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152506116c792505050565b9695505050505050565b6000610f0085858585611874565b95945050505050565b6000610f16848484611b11565b90505b9392505050565b610f286107d4565b6001600160a01b0316336001600160a01b031614610f585760405162461bcd60e51b815260040161091d906130a7565b30610f616107d4565b6001600160a01b031614610f9e5760008036604051610f81929190613097565b604051809103902090505b80610f9760026114bb565b03610f8c57505b61097581611ba7565b6009546000828152600a602052604080822054905163d45c443560e01b81526004810191909152909182916001600160a01b039091169063d45c443590602401602060405180830381865afa158015611004573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110289190613154565b9050806001146110385780610f19565b60009392505050565b60006107de60065490565b60008181526001602081815260408084208151928301909152909101546001600160401b031690819052610d1d565b6110836107d4565b6001600160a01b0316336001600160a01b0316146110b35760405162461bcd60e51b815260040161091d906130a7565b306110bc6107d4565b6001600160a01b0316146110f957600080366040516110dc929190613097565b604051809103902090505b806110f260026114bb565b036110e757505b61113b8483838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250889250611c10915050565b5050505050565b60008484848460405160200161115b9493929190613318565b60408051601f19818403018152919052805160209091012095945050505050565b6009546001600160a01b031690565b6111936107d4565b6001600160a01b0316336001600160a01b0316146111c35760405162461bcd60e51b815260040161091d906130a7565b306111cc6107d4565b6001600160a01b03161461120957600080366040516111ec929190613097565b604051809103902090505b8061120260026114bb565b036111f757505b61097581611c36565b6000610f19838361122e60408051602081019091526000815290565b611b11565b61123b6107d4565b6001600160a01b0316336001600160a01b03161461126b5760405162461bcd60e51b815260040161091d906130a7565b306112746107d4565b6001600160a01b0316146112b15760008036604051611294929190613097565b604051809103902090505b806112aa60026114bb565b0361129f57505b61097581611cd6565b60006107ee82611d16565b60006001600160e01b03198216636e665ced60e01b14806107ee57506107ee82611dba565b60006107ee6112f7611e25565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061134987878787611f4c565b91509150610ceb8161202f565b600085815260016020819052604082209061137088610d9b565b600781111561138157611381612c8e565b146113da5760405162461bcd60e51b815260206004820152602360248201527f476f7665726e6f723a20766f7465206e6f742063757272656e746c792061637460448201526269766560e81b606482015260840161091d565b604080516020810190915281546001600160401b03169081905260009061140390889086611b11565b905061141288888884886121e0565b835160000361146757866001600160a01b03167fb8e138887d0aa13bab447e82de9d5c1777041ecd21ca36ba824ff1e6c07ddda48988848960405161145a9493929190613363565b60405180910390a2610d90565b866001600160a01b03167fe2babfbac5889a709b63bb7f598b324e08bc5a4fb9ec647fb3cbc9ec07eb871289888489896040516114a895949392919061338b565b60405180910390a2979650505050505050565b60006114c68261235a565b156114e457604051631ed9509560e11b815260040160405180910390fd5b508054600f0b6000818152600180840160205260408220805492905583546001600160801b03191692016001600160801b03169190911790915590565b60648111156115a45760405162461bcd60e51b815260206004820152604360248201527f476f7665726e6f72566f74657351756f72756d4672616374696f6e3a2071756f60448201527f72756d4e756d657261746f72206f7665722071756f72756d44656e6f6d696e616064820152623a37b960e91b608482015260a40161091d565b60088054908290556040517f0553476bf02ef2726e8ce5ced78d63e26e602e4a2257b1f559418e24b4633997906115de908390859061330a565b60405180910390a15050565b306115f36107d4565b6001600160a01b03161461113b5760005b845181101561168357306001600160a01b0316858281518110611629576116296133d1565b60200260200101516001600160a01b03160361167357611673838281518110611654576116546133d1565b602002602001015180519060200120600261236f90919063ffffffff16565b61167c816133e7565b9050611604565b505050505050565b61113b85858585856123ab565b306116a16107d4565b6001600160a01b03161461113b576116b9600261235a565b61113b57600060025561113b565b6000610f00858585856116e560408051602081019091526000815290565b611356565b6000806116f68361241f565b9050600481600781111561170c5761170c612c8e565b146117175792915050565b6000838152600a602052604090205480611732575092915050565b600954604051632ab0f52960e01b8152600481018390526001600160a01b0390911690632ab0f52990602401602060405180830381865afa15801561177b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061179f9190613400565b156117ae575060079392505050565b600954604051632c258a9f60e11b8152600481018390526001600160a01b039091169063584b153e90602401602060405180830381865afa1580156117f7573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061181b9190613400565b1561182a575060059392505050565b5060029392505050565b7fc565b045403dc03c2eea82b81a0465edad9e2e7fc4d97e11421c209da93d7a936004548260405161186792919061330a565b60405180910390a1600455565b600061187e611041565b61188d3361072f600143613422565b10156118f55760405162461bcd60e51b815260206004820152603160248201527f476f7665726e6f723a2070726f706f73657220766f7465732062656c6f7720706044820152701c9bdc1bdcd85b081d1a1c995cda1bdb19607a1b606482015260840161091d565b600061190a8686868680519060200120611142565b9050845186511461192d5760405162461bcd60e51b815260040161091d90613439565b835186511461194e5760405162461bcd60e51b815260040161091d90613439565b600086511161199a5760405162461bcd60e51b815260206004820152601860248201527711dbdd995c9b9bdc8e88195b5c1d1e481c1c9bdc1bdcd85b60421b604482015260640161091d565b600081815260016020908152604091829020825191820190925281546001600160401b03169081905215611a1a5760405162461bcd60e51b815260206004820152602160248201527f476f7665726e6f723a2070726f706f73616c20616c72656164792065786973746044820152607360f81b606482015260840161091d565b6000611a2c611a27610d2c565b61252e565b611a354361252e565b611a3f919061347a565b90506000611a4e611a276107f4565b611a58908361347a565b9050611a64838361259a565b611a71600184018261259a565b7f7d84a6263ae0d98d3329bd7b46bb4e8d6f98cd35a7adb45c274c8b7fd5ebd5e084338b8b8d516001600160401b03811115611aaf57611aaf6127d5565b604051908082528060200260200182016040528015611ae257816020015b6060815260200190600190039081611acd5790505b508c88888e604051611afc999897969594939291906134a5565b60405180910390a15091979650505050505050565b604051630748d63560e31b81526001600160a01b038481166004830152602482018490526000917f000000000000000000000000000000000000000000000000000000000000000090911690633a46b1a890604401602060405180830381865afa158015611b83573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f169190613154565b600954604080516001600160a01b03928316815291831660208301527f08f74ea46ef7894f65eabfb5e6e695de773a000b47c529ab559178069b226401910160405180910390a1600980546001600160a01b0319166001600160a01b0392909216919091179055565b6060610f16848484604051806060016040528060298152602001613632602991396125b7565b60008111611c965760405162461bcd60e51b815260206004820152602760248201527f476f7665726e6f7253657474696e67733a20766f74696e6720706572696f6420604482015266746f6f206c6f7760c81b606482015260840161091d565b7f7e3f7f0708a84de9203036abaa450dccc85ad5ff52f78c170f3edb55cf5e882860055482604051611cc992919061330a565b60405180910390a1600555565b7fccb45da8d5717e6c4544694297c4ba5cf151d455c9bb0ed4fc7a38411bc0546160065482604051611d0992919061330a565b60405180910390a1600655565b60006064600854604051632394e7a360e21b8152600481018590527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690638e539e8c90602401602060405180830381865afa158015611d82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611da69190613154565b611db09190613594565b6107ee91906135b3565b60006001600160e01b0319821663bf26d89760e01b1480611deb57506001600160e01b031982166379dd796f60e01b145b80611e0657506001600160e01b03198216630271189760e51b145b806107ee57506301ffc9a760e01b6001600160e01b03198316146107ee565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015611e7e57507f000000000000000000000000000000000000000000000000000000000000000046145b15611ea857507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115611f795750600090506003612026565b8460ff16601b14158015611f9157508460ff16601c14155b15611fa25750600090506004612026565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611ff6573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b03811661201f57600060019250925050612026565b9150600090505b94509492505050565b600081600481111561204357612043612c8e565b0361204b5750565b600181600481111561205f5761205f612c8e565b036120a75760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b604482015260640161091d565b60028160048111156120bb576120bb612c8e565b036121085760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604482015260640161091d565b600381600481111561211c5761211c612c8e565b036121745760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b606482015260840161091d565b600481600481111561218857612188612c8e565b036109755760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b606482015260840161091d565b60008581526007602090815260408083206001600160a01b0388168452600381019092529091205460ff16156122685760405162461bcd60e51b815260206004820152602760248201527f476f7665726e6f72566f74696e6753696d706c653a20766f746520616c726561604482015266191e4818d85cdd60ca1b606482015260840161091d565b6001600160a01b03851660009081526003820160205260409020805460ff1916600117905560ff84166122b457828160000160008282546122a991906132f2565b909155506116839050565b60001960ff8516016122d457828160010160008282546122a991906132f2565b60011960ff8516016122f457828160020160008282546122a991906132f2565b60405162461bcd60e51b815260206004820152603560248201527f476f7665726e6f72566f74696e6753696d706c653a20696e76616c69642076616044820152746c756520666f7220656e756d20566f74655479706560581b606482015260840161091d565b54600f81810b600160801b909204900b131590565b8154600160801b90819004600f0b6000818152600180860160205260409091209390935583546001600160801b03908116939091011602179055565b60095460405163e38335e560e01b81526001600160a01b039091169063e38335e59034906123e6908890889088906000908990600401613236565b6000604051808303818588803b1580156123ff57600080fd5b505af1158015612413573d6000803e3d6000fd5b50505050505050505050565b6000818152600160205260408120600281015460ff16156124435750600792915050565b6002810154610100900460ff161561245e5750600292915050565b600061246984610cf5565b9050806000036124bb5760405162461bcd60e51b815260206004820152601d60248201527f476f7665726e6f723a20756e6b6e6f776e2070726f706f73616c206964000000604482015260640161091d565b4381106124cc575060009392505050565b60006124d78561104c565b90504381106124eb57506001949350505050565b6124f4856126dd565b8015612513575060008581526007602052604090208054600190910154115b1561252357506004949350505050565b506003949350505050565b60006001600160401b038211156125965760405162461bcd60e51b815260206004820152602660248201527f53616665436173743a2076616c756520646f65736e27742066697420696e203660448201526534206269747360d01b606482015260840161091d565b5090565b81546001600160401b0319166001600160401b0391909116179055565b6060824710156126185760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b606482015260840161091d565b6001600160a01b0385163b61266f5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161091d565b600080866001600160a01b0316858760405161268b91906135d5565b60006040518083038185875af1925050503d80600081146126c8576040519150601f19603f3d011682016040523d82523d6000602084013e6126cd565b606091505b5091509150610d90828286612714565b6000818152600760205260408120600281015460018201546126ff91906132f2565b61270b61079b85610cf5565b11159392505050565b60608315612723575081610f19565b8251156127335782518084602001fd5b8160405162461bcd60e51b815260040161091d91906129ad565b60006020828403121561275f57600080fd5b81356001600160e01b031981168114610f1957600080fd5b803560ff8116811461278857600080fd5b919050565b60008083601f84011261279f57600080fd5b5081356001600160401b038111156127b657600080fd5b6020830191508360208285010111156127ce57600080fd5b9250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612813576128136127d5565b604052919050565b60006001600160401b03831115612834576128346127d5565b612847601f8401601f19166020016127eb565b905082815283838301111561285b57600080fd5b828260208301376000602084830101529392505050565b600082601f83011261288357600080fd5b610f198383356020850161281b565b60008060008060008060008060e0898b0312156128ae57600080fd5b883597506128be60208a01612777565b965060408901356001600160401b03808211156128da57600080fd5b6128e68c838d0161278d565b909850965060608b01359150808211156128ff57600080fd5b5061290c8b828c01612872565b94505061291b60808a01612777565b925060a0890135915060c089013590509295985092959890939650565b60006020828403121561294a57600080fd5b5035919050565b60005b8381101561296c578181015183820152602001612954565b8381111561297b576000848401525b50505050565b60008151808452612999816020860160208601612951565b601f01601f19169290920160200192915050565b602081526000610f196020830184612981565b6001600160a01b038116811461097557600080fd5b600080600080608085870312156129eb57600080fd5b84356129f6816129c0565b93506020850135612a06816129c0565b92506040850135915060608501356001600160401b03811115612a2857600080fd5b612a3487828801612872565b91505092959194509250565b60006001600160401b03821115612a5957612a596127d5565b5060051b60200190565b600082601f830112612a7457600080fd5b81356020612a89612a8483612a40565b6127eb565b82815260059290921b84018101918181019086841115612aa857600080fd5b8286015b84811015612acc578035612abf816129c0565b8352918301918301612aac565b509695505050505050565b600082601f830112612ae857600080fd5b81356020612af8612a8483612a40565b82815260059290921b84018101918181019086841115612b1757600080fd5b8286015b84811015612acc5780358352918301918301612b1b565b600082601f830112612b4357600080fd5b81356020612b53612a8483612a40565b82815260059290921b84018101918181019086841115612b7257600080fd5b8286015b84811015612acc5780356001600160401b03811115612b955760008081fd5b612ba38986838b0101612872565b845250918301918301612b76565b60008060008060808587031215612bc757600080fd5b84356001600160401b0380821115612bde57600080fd5b612bea88838901612a63565b95506020870135915080821115612c0057600080fd5b612c0c88838901612ad7565b94506040870135915080821115612c2257600080fd5b50612c2f87828801612b32565b949793965093946060013593505050565b600080600080600060a08688031215612c5857600080fd5b85359450612c6860208701612777565b9350612c7660408701612777565b94979396509394606081013594506080013592915050565b634e487b7160e01b600052602160045260246000fd5b6020810160088310612cc657634e487b7160e01b600052602160045260246000fd5b91905290565b60008060408385031215612cdf57600080fd5b823591506020830135612cf1816129c0565b809150509250929050565b60008060408385031215612d0f57600080fd5b82359150612d1f60208401612777565b90509250929050565b600080600080600060808688031215612d4057600080fd5b85359450612d5060208701612777565b935060408601356001600160401b0380821115612d6c57600080fd5b612d7889838a0161278d565b90955093506060880135915080821115612d9157600080fd5b50612d9e88828901612872565b9150509295509295909350565b60008060008060608587031215612dc157600080fd5b84359350612dd160208601612777565b925060408501356001600160401b03811115612dec57600080fd5b612df88782880161278d565b95989497509550505050565b60008060008060808587031215612e1a57600080fd5b84356001600160401b0380821115612e3157600080fd5b612e3d88838901612a63565b95506020870135915080821115612e5357600080fd5b612e5f88838901612ad7565b94506040870135915080821115612e7557600080fd5b612e8188838901612b32565b93506060870135915080821115612e9757600080fd5b508501601f81018713612ea957600080fd5b612a348782356020840161281b565b600080600060608486031215612ecd57600080fd5b8335612ed8816129c0565b92506020840135915060408401356001600160401b03811115612efa57600080fd5b612f0686828701612872565b9150509250925092565b600060208284031215612f2257600080fd5b8135610f19816129c0565b600080600080600060a08688031215612f4557600080fd5b8535612f50816129c0565b94506020860135612f60816129c0565b935060408601356001600160401b0380821115612f7c57600080fd5b612f8889838a01612ad7565b94506060880135915080821115612f9e57600080fd5b612faa89838a01612ad7565b93506080880135915080821115612d9157600080fd5b60008060008060608587031215612fd657600080fd5b8435612fe1816129c0565b93506020850135925060408501356001600160401b03811115612dec57600080fd5b6000806040838503121561301657600080fd5b8235613021816129c0565b946020939093013593505050565b600080600080600060a0868803121561304757600080fd5b8535613052816129c0565b94506020860135613062816129c0565b9350604086013592506060860135915060808601356001600160401b0381111561308b57600080fd5b612d9e88828901612872565b8183823760009101908152919050565b602080825260189082015277476f7665726e6f723a206f6e6c79476f7665726e616e636560401b604082015260600190565b600181811c908216806130ed57607f821691505b60208210810361310d57634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526021908201527f476f7665726e6f723a2070726f706f73616c206e6f74207375636365737366756040820152601b60fa1b606082015260800190565b60006020828403121561316657600080fd5b5051919050565b600081518084526020808501945080840160005b838110156131a65781516001600160a01b031687529582019590820190600101613181565b509495945050505050565b600081518084526020808501945080840160005b838110156131a6578151875295820195908201906001016131c5565b600081518084526020808501808196508360051b8101915082860160005b85811015613229578284038952613217848351612981565b988501989350908401906001016131ff565b5091979650505050505050565b60a08152600061324960a083018861316d565b828103602084015261325b81886131b1565b9050828103604084015261326f81876131e1565b60608401959095525050608001529392505050565b60c08152600061329760c083018961316d565b82810360208401526132a981896131b1565b905082810360408401526132bd81886131e1565b60608401969096525050608081019290925260a0909101529392505050565b634e487b7160e01b600052601160045260246000fd5b60008219821115613305576133056132dc565b500190565b918252602082015260400190565b60808152600061332b608083018761316d565b828103602084015261333d81876131b1565b9050828103604084015261335181866131e1565b91505082606083015295945050505050565b84815260ff84166020820152826040820152608060608201526000610ee86080830184612981565b85815260ff8516602082015283604082015260a0606082015260006133b360a0830185612981565b82810360808401526133c58185612981565b98975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6000600182016133f9576133f96132dc565b5060010190565b60006020828403121561341257600080fd5b81518015158114610f1957600080fd5b600082821015613434576134346132dc565b500390565b60208082526021908201527f476f7665726e6f723a20696e76616c69642070726f706f73616c206c656e67746040820152600d60fb1b606082015260800190565b60006001600160401b0382811684821680830382111561349c5761349c6132dc565b01949350505050565b60006101208b8352602060018060a01b038c16818501528160408501526134ce8285018c61316d565b915083820360608501526134e2828b6131b1565b915083820360808501528189518084528284019150828160051b850101838c0160005b8381101561353357601f19878403018552613521838351612981565b94860194925090850190600101613505565b505086810360a0880152613547818c6131e1565b94505050505061356260c08401876001600160401b03169052565b6001600160401b03851660e08401528281036101008401526135848185612981565b9c9b505050505050505050505050565b60008160001904831182151516156135ae576135ae6132dc565b500290565b6000826135d057634e487b7160e01b600052601260045260246000fd5b500490565b600082516135e7818460208701612951565b919091019291505056fe150214d74d59b7d1e90c73fc22ef3d991dd0a76b046543d4d80ab92d2a50328fb3b3f3b703cd84ce352197dcff232b1b5d3cfb2025ce47cf04742d0651f1af88416464726573733a206c6f772d6c6576656c2063616c6c20776974682076616c7565206661696c6564a2646970667358221220ff3b80ab78c52f0f0034cf19e29cc71f0eef840d8a0f1182c93ef501e983392064736f6c634300080e0033000000000000000000000000ced6411f44e931b0717ba81eb0b2183a679fa7cb0000000000000000000000008d0f41ac8a450fbaf7a4a9fcb2208b154568c4a40000000000000000000000000000000000000000000000000000000000049d40

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

000000000000000000000000ced6411f44e931b0717ba81eb0b2183a679fa7cb0000000000000000000000008d0f41ac8a450fbaf7a4a9fcb2208b154568c4a40000000000000000000000000000000000000000000000000000000000049d40

-----Decoded View---------------
Arg [0] : _token (address): 0xced6411f44e931b0717ba81eb0b2183a679fa7cb
Arg [1] : _timelock (address): 0x8d0f41ac8a450fbaf7a4a9fcb2208b154568c4a4
Arg [2] : votingPeriodBlocks (uint256): 302400

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000ced6411f44e931b0717ba81eb0b2183a679fa7cb
Arg [1] : 0000000000000000000000008d0f41ac8a450fbaf7a4a9fcb2208b154568c4a4
Arg [2] : 0000000000000000000000000000000000000000000000000000000000049d40


Deployed ByteCode Sourcemap

124154:2887:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60722:4;60699:11;:9;:11::i;:::-;-1:-1:-1;;;;;60699:28:0;;60691:37;;;;;;124154:2887;;;;;126817:221;;;;;;;;;;-1:-1:-1;126817:221:0;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;126817:221:0;;;;;;;;124892:179;;;;;;;;;;;;;:::i;:::-;;;643:25:1;;;631:2;616:18;124892:179:0;497:177:1;73633:811:0;;;;;;;;;;-1:-1:-1;73633:811:0;;;;;:::i;:::-;;:::i;90379:152::-;;;;;;;;;;-1:-1:-1;90379:152:0;;;;;:::i;:::-;;:::i;61619:100::-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;77136:207::-;;;;;;;;;;-1:-1:-1;77136:207:0;;;;;:::i;:::-;-1:-1:-1;;;77136:207:0;;;;;;;;;;-1:-1:-1;;;;;;5128:33:1;;;5110:52;;5098:2;5083:18;77136:207:0;4966:202:1;120928:756:0;;;;;;;;;;-1:-1:-1;120928:756:0;;;;;:::i;:::-;;:::i;67882:889::-;;;;;;:::i;:::-;;:::i;64240:165::-;;;;;;;;;;-1:-1:-1;64240:165:0;;;;;:::i;:::-;;:::i;58263:148::-;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;58263:148:0;;124707:177;;;;;;;;;;;;;:::i;73103:441::-;;;;;;;;;;-1:-1:-1;73103:441:0;;;;;:::i;:::-;;:::i;125295:205::-;;;;;;;;;;-1:-1:-1;125295:205:0;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;82811:169::-;;;;;;;;;;-1:-1:-1;82811:169:0;;;;;:::i;:::-;82904:4;82928:26;;;:14;:26;;;;;;;;-1:-1:-1;;;;;82928:44:0;;;;:35;;:44;;;;;;;;82811:169;;;;;83057:401;;;;;;;;;;-1:-1:-1;83057:401:0;;;;;:::i;:::-;83179:20;83329:26;;;:14;:26;;;;;83374:25;;83401:21;;;;83424:25;;;;;83374;;83057:401;;;;;10213:25:1;;;10269:2;10254:18;;10247:34;;;;10297:18;;;10290:34;10201:2;10186:18;83057:401:0;10011:319:1;61783:101:0;;;;;;;;;;-1:-1:-1;61866:10:0;;;;;;;;;;;;-1:-1:-1;;;61866:10:0;;;;61783:101;;72080:201;;;;;;;;;;-1:-1:-1;72080:201:0;;;;;:::i;:::-;;:::i;72713:320::-;;;;;;;;;;-1:-1:-1;72713:320:0;;;;;:::i;:::-;;:::i;79814:128::-;;;;;;;;;;-1:-1:-1;79814:128:0;;;;;:::i;:::-;;:::i;72356:273::-;;;;;;;;;;-1:-1:-1;72356:273:0;;;;;:::i;:::-;;:::i;125508:288::-;;;;;;;;;;-1:-1:-1;125508:288:0;;;;;:::i;:::-;;:::i;89661:96::-;;;;;;;;;;-1:-1:-1;89746:3:0;89661:96;;71782:233;;;;;;;;;;-1:-1:-1;71782:233:0;;;;;:::i;:::-;;:::i;89443:107::-;;;;;;;;;;-1:-1:-1;89526:16:0;;89443:107;;123633:135;;;;;;;;;;-1:-1:-1;123633:135:0;;;;;:::i;:::-;;:::i;120581:262::-;;;;;;;;;;-1:-1:-1;120581:262:0;;;;;:::i;:::-;;:::i;125804:188::-;;;;;;;;;;;;;:::i;77737:255::-;;;;;;;;;;-1:-1:-1;77737:255:0;;;;;:::i;:::-;-1:-1:-1;;;77737:255:0;;;;;;;;64478:163;;;;;;;;;;-1:-1:-1;64478:163:0;;;;;:::i;:::-;;:::i;76561:202::-;;;;;;;;;;-1:-1:-1;76561:202:0;;;;;:::i;:::-;;:::i;62844:315::-;;;;;;;;;;-1:-1:-1;62844:315:0;;;;;:::i;:::-;;:::i;120377:111::-;;;;;;;;;;;;;:::i;:::-;;;-1:-1:-1;;;;;15745:32:1;;;15727:51;;15715:2;15700:18;120377:111:0;15581:203:1;82608:138:0;;;;;;;;;;-1:-1:-1;82697:41:0;;;;;;;;;;;;;;;;;;82608:138;;58161:95;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;58161:95:0;;80124:132;;;;;;;;;;-1:-1:-1;80124:132:0;;;;;:::i;:::-;;:::i;71529:178::-;;;;;;;;;;-1:-1:-1;71529:178:0;;;;;:::i;:::-;;:::i;80448:152::-;;;;;;;;;;-1:-1:-1;80448:152:0;;;;;:::i;:::-;;:::i;77424:227::-;;;;;;;;;;-1:-1:-1;77424:227:0;;;;;:::i;:::-;-1:-1:-1;;;77424:227:0;;;;;;;;125079:208;;;;;;;;;;-1:-1:-1;125079:208:0;;;;;:::i;:::-;;:::i;87749:29::-;;;;;;;;;;;;;;;126628:181;126752:7;126784:17;:15;:17::i;:::-;126777:24;;126628:181;:::o;126817:221::-;126965:4;126994:36;127018:11;126994:23;:36::i;:::-;126987:43;126817:221;-1:-1:-1;;126817:221:0:o;124892:179::-;125011:7;125043:20;79420:13;;;79331:110;73633:811;73889:7;73909:13;73925:438;73953:351;-1:-1:-1;;;;;;;;;;;74108:10:0;74145:7;74195:6;;74179:24;;;;;;;:::i;:::-;;;;;;;;74240:6;74230:17;;;;;;74020:250;;;;;;;;;;;17602:25:1;;;17658:2;17643:18;;17636:34;;;;17718:4;17706:17;;;;17701:2;17686:18;;17679:45;17755:2;17740:18;;17733:34;17798:3;17783:19;;17776:35;17589:3;17574:19;;17347:470;74020:250:0;;;;;;;;;;;;;73988:301;;;;;;73953:16;:351::i;:::-;74319:1;74335;74351;73925:13;:438::i;:::-;73909:454;;74383:53;74393:10;74405:5;74412:7;74421:6;;74383:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;74429:6:0;;-1:-1:-1;74383:9:0;;-1:-1:-1;;74383:53:0:i;:::-;74376:60;73633:811;-1:-1:-1;;;;;;;;;;73633:811:0:o;90379:152::-;59976:11;:9;:11::i;:::-;-1:-1:-1;;;;;59960:27:0;45277:10;-1:-1:-1;;;;;59960:27:0;;59952:64;;;;-1:-1:-1;;;59952:64:0;;;;;;;:::i;:::-;;;;;;;;;60054:4;60031:11;:9;:11::i;:::-;-1:-1:-1;;;;;60031:28:0;;60027:281;;60076:19;;45354:14;60098:21;;;;;;;:::i;:::-;;;;;;;;60076:43;;60245:52;60282:11;60252:26;:15;:24;:26::i;:::-;:41;60245:52;;60061:247;60027:281;90481:42:::1;90504:18;90481:22;:42::i;:::-;90379:152:::0;:::o;61619:100::-;61673:13;61706:5;61699:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61619:100;:::o;120928:756::-;121121:7;121141:18;121162:57;121175:7;121184:6;121192:9;121203:15;121162:12;:57::i;:::-;121141:78;-1:-1:-1;121261:23:0;121240:17;121246:10;121240:5;:17::i;:::-;:44;;;;;;;;:::i;:::-;;121232:90;;;;-1:-1:-1;;;121232:90:0;;;;;;;:::i;:::-;121351:9;;:23;;;-1:-1:-1;;;121351:23:0;;;;121335:13;;-1:-1:-1;;;;;121351:9:0;;:21;;:23;;;;;;;;;;;;;;:9;:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;121412:9;;:76;;-1:-1:-1;;;121412:76:0;;121335:39;;-1:-1:-1;;;;;;121412:9:0;;:28;;:76;;121441:7;;121450:6;;121458:9;;121412;;121472:15;;121412:76;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;121385:24;;;;:12;:24;;;;;;:103;;;;121499:9;;:78;;-1:-1:-1;;;121499:78:0;;-1:-1:-1;;;;;121499:9:0;;;;:23;;:78;;121523:7;;121532:6;;121540:9;;121385:24;121554:15;;121571:5;;121499:78;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;121595:51;121610:10;121640:5;121622:15;:23;;;;:::i;:::-;121595:51;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;121666:10:0;120928:756;-1:-1:-1;;;;;120928:756:0:o;67882:889::-;68085:7;68105:18;68126:57;68139:7;68148:6;68156:9;68167:15;68126:12;:57::i;:::-;68105:78;;68196:20;68219:17;68225:10;68219:5;:17::i;:::-;68196:40;-1:-1:-1;68279:23:0;68269:6;:33;;;;;;;;:::i;:::-;;:67;;;-1:-1:-1;68316:20:0;68306:6;:30;;;;;;;;:::i;:::-;;68269:67;68247:150;;;;-1:-1:-1;;;68247:150:0;;;;;;;:::i;:::-;68408:22;;;;68442:4;68408:22;;;;;;;;;:31;;:38;;-1:-1:-1;;68408:38:0;;;;;;;68464:28;;643:25:1;;;68464:28:0;;616:18:1;68464:28:0;;;;;;;68505:71;68520:10;68532:7;68541:6;68549:9;68560:15;68505:14;:71::i;:::-;68587:65;68596:10;68608:7;68617:6;68625:9;68636:15;68587:8;:65::i;:::-;68663:70;68677:10;68689:7;68698:6;68706:9;68717:15;68663:13;:70::i;:::-;-1:-1:-1;68753:10:0;67882:889;-1:-1:-1;;;;;67882:889:0:o;64240:165::-;64324:7;64351:22;;;:10;:22;;;;;;;;:44;;;;;;;;;-1:-1:-1;;;;;64351:44:0;;;;;:46;-1:-1:-1;;;;;64344:53:0;;64240:165;-1:-1:-1;;64240:165:0:o;124707:177::-;124825:7;124857:19;79242:12;;;79154:108;73103:441;73368:48;;;-1:-1:-1;;;;;;;;;;;73368:48:0;;;23340:25:1;23381:18;;;23374:34;;;23456:4;23444:17;;23424:18;;;23417:45;73277:7:0;;;;73313:164;;73341:77;;23313:18:1;;73368:48:0;23142:326:1;73313:164:0;73297:180;;73495:41;73505:10;73517:5;73524:7;73495:41;;;;;;;;;;;;:9;:41::i;:::-;73488:48;73103:441;-1:-1:-1;;;;;;;73103:441:0:o;125295:205::-;125431:13;125469:23;125481:10;125469:11;:23::i;72080:201::-;72166:7;;45277:10;72186:28;;72232:41;72242:10;72254:5;72261:7;72232:41;;;;;;;;;;;;:9;:41::i;:::-;72225:48;72080:201;-1:-1:-1;;;;72080:201:0:o;72713:320::-;72906:7;;45277:10;72926:28;;72972:53;72982:10;72994:5;73001:7;73010:6;;72972:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;73018:6:0;;-1:-1:-1;72972:9:0;;-1:-1:-1;;72972:53:0:i;79814:128::-;59976:11;:9;:11::i;:::-;-1:-1:-1;;;;;59960:27:0;45277:10;-1:-1:-1;;;;;59960:27:0;;59952:64;;;;-1:-1:-1;;;59952:64:0;;;;;;;:::i;:::-;60054:4;60031:11;:9;:11::i;:::-;-1:-1:-1;;;;;60031:28:0;;60027:281;;60076:19;;45354:14;60098:21;;;;;;;:::i;:::-;;;;;;;;60076:43;;60245:52;60282:11;60252:26;:15;:24;:26::i;:::-;:41;60245:52;;60061:247;60027:281;79903:31:::1;79919:14;79903:15;:31::i;72356:273::-:0;72510:7;;45277:10;72530:28;;72576:45;72586:10;72598:5;72605:7;72614:6;;72576:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;72576:9:0;;-1:-1:-1;;;72576:45:0:i;:::-;72569:52;72356:273;-1:-1:-1;;;;;;72356:273:0:o;125508:288::-;125702:7;125734:54;125748:7;125757:6;125765:9;125776:11;125734:13;:54::i;:::-;125727:61;125508:288;-1:-1:-1;;;;;125508:288:0:o;71782:233::-;71941:7;71968:39;71978:7;71987:11;72000:6;71968:9;:39::i;:::-;71961:46;;71782:233;;;;;;:::o;123633:135::-;59976:11;:9;:11::i;:::-;-1:-1:-1;;;;;59960:27:0;45277:10;-1:-1:-1;;;;;59960:27:0;;59952:64;;;;-1:-1:-1;;;59952:64:0;;;;;;;:::i;:::-;60054:4;60031:11;:9;:11::i;:::-;-1:-1:-1;;;;;60031:28:0;;60027:281;;60076:19;;45354:14;60098:21;;;;;;;:::i;:::-;;;;;;;;60076:43;;60245:52;60282:11;60252:26;:15;:24;:26::i;:::-;:41;60245:52;;60061:247;60027:281;123732:28:::1;123748:11;123732:15;:28::i;120581:262::-:0;120694:9;;120660:7;120717:24;;;:12;:24;;;;;;;120694:48;;-1:-1:-1;;;120694:48:0;;;;;643:25:1;;;;120660:7:0;;;;-1:-1:-1;;;;;120694:9:0;;;;:22;;616:18:1;;120694:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;120680:62;;120760:3;120767:1;120760:8;:18;;120775:3;120760:18;;;120771:1;120753:25;120581:262;-1:-1:-1;;;120581:262:0:o;125804:188::-;125927:7;125959:25;79608:18;;;79514:120;64478:163;64562:7;64589:22;;;:10;:22;;;;;;;;:42;;;;;;;;:30;;;:42;-1:-1:-1;;;;;64589:42:0;;;;;:44;46646:119;76561:202;59976:11;:9;:11::i;:::-;-1:-1:-1;;;;;59960:27:0;45277:10;-1:-1:-1;;;;;59960:27:0;;59952:64;;;;-1:-1:-1;;;59952:64:0;;;;;;;:::i;:::-;60054:4;60031:11;:9;:11::i;:::-;-1:-1:-1;;;;;60031:28:0;;60027:281;;60076:19;;45354:14;60098:21;;;;;;;:::i;:::-;;;;;;;;60076:43;;60245:52;60282:11;60252:26;:15;:24;:26::i;:::-;:41;60245:52;;60061:247;60027:281;76705:50:::1;76735:6;76743:4;;76705:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;76749:5:0;;-1:-1:-1;76705:29:0::1;::::0;-1:-1:-1;;76705:50:0:i:1;:::-;;76561:202:::0;;;;:::o;62844:315::-;63049:7;63105;63114:6;63122:9;63133:15;63094:55;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;63094:55:0;;;;;;;;;63084:66;;63094:55;63084:66;;;;;62844:315;-1:-1:-1;;;;;62844:315:0:o;120377:111::-;120470:9;;-1:-1:-1;;;;;120470:9:0;;120377:111::o;80124:132::-;59976:11;:9;:11::i;:::-;-1:-1:-1;;;;;59960:27:0;45277:10;-1:-1:-1;;;;;59960:27:0;;59952:64;;;;-1:-1:-1;;;59952:64:0;;;;;;;:::i;:::-;60054:4;60031:11;:9;:11::i;:::-;-1:-1:-1;;;;;60031:28:0;;60027:281;;60076:19;;45354:14;60098:21;;;;;;;:::i;:::-;;;;;;;;60076:43;;60245:52;60282:11;60252:26;:15;:24;:26::i;:::-;:41;60245:52;;60061:247;60027:281;80215:33:::1;80232:15;80215:16;:33::i;71529:178::-:0;71623:7;71650:49;71660:7;71669:11;71682:16;66290:9;;;;;;;;;-1:-1:-1;66290:9:0;;;66208:99;71682:16;71650:9;:49::i;80448:152::-;59976:11;:9;:11::i;:::-;-1:-1:-1;;;;;59960:27:0;45277:10;-1:-1:-1;;;;;59960:27:0;;59952:64;;;;-1:-1:-1;;;59952:64:0;;;;;;;:::i;:::-;60054:4;60031:11;:9;:11::i;:::-;-1:-1:-1;;;;;60031:28:0;;60027:281;;60076:19;;45354:14;60098:21;;;;;;;:::i;:::-;;;;;;;;60076:43;;60245:52;60282:11;60252:26;:15;:24;:26::i;:::-;:41;60245:52;;60061:247;60027:281;80549:43:::1;80571:20;80549:21;:43::i;125079:208::-:0;125222:7;125254:25;125267:11;125254:12;:25::i;119159:226::-;119263:4;-1:-1:-1;;;;;;119287:50:0;;-1:-1:-1;;;119287:50:0;;:90;;;119341:36;119365:11;119341:23;:36::i;20654:167::-;20731:7;20758:55;20780:20;:18;:20::i;:::-;20802:10;16128:57;;-1:-1:-1;;;16128:57:0;;;32317:27:1;32360:11;;;32353:27;;;32396:12;;;32389:28;;;16091:7:0;;32433:12:1;;16128:57:0;;;;;;;;;;;;16118:68;;;;;;16111:75;;15998:196;;;;;14307:279;14435:7;14456:17;14475:18;14497:25;14508:4;14514:1;14517;14520;14497:10;:25::i;:::-;14455:67;;;;14533:18;14545:5;14533:11;:18::i;75313:789::-;75505:7;75557:22;;;:10;:22;;;;;;;;75598:17;75604:10;75598:5;:17::i;:::-;:41;;;;;;;;:::i;:::-;;75590:89;;;;-1:-1:-1;;;75590:89:0;;24438:2:1;75590:89:0;;;24420:21:1;24477:2;24457:18;;;24450:30;24516:34;24496:18;;;24489:62;-1:-1:-1;;;24567:18:1;;;24560:33;24610:19;;75590:89:0;24236:399:1;75590:89:0;75728:30;;;;;;;;;;;-1:-1:-1;;;;;75728:30:0;;;;;-1:-1:-1;;75709:60:0;;75719:7;;75762:6;75709:9;:60::i;:::-;75692:77;;75780:56;75791:10;75803:7;75812;75821:6;75829;75780:10;:56::i;:::-;75853:6;:13;75870:1;75853:18;75849:220;;75902:7;-1:-1:-1;;;;;75893:54:0;;75911:10;75923:7;75932:6;75940;75893:54;;;;;;;;;:::i;:::-;;;;;;;;75849:220;;;76004:7;-1:-1:-1;;;;;75985:72:0;;76013:10;76025:7;76034:6;76042;76050;75985:72;;;;;;;;;;:::i;:::-;;;;;;;;76088:6;75313:789;-1:-1:-1;;;;;;;75313:789:0:o;33325:332::-;33389:13;33419:12;33425:5;33419;:12::i;:::-;33415:32;;;33440:7;;-1:-1:-1;;;33440:7:0;;;;;;;;;;;33415:32;-1:-1:-1;33478:12:0;;;;33458:17;33509:23;;;33478:12;33509:11;;;:23;;;;;;;33543:30;;;33609:29;;-1:-1:-1;;;;;;33609:29:0;33624:14;;-1:-1:-1;;;;;33609:29:0;;;;;;;;33509:23;33325:332::o;90763:440::-;89746:3;90873:18;:41;;90851:158;;;;-1:-1:-1;;;90851:158:0;;25898:2:1;90851:158:0;;;25880:21:1;25937:2;25917:18;;;25910:30;25976:34;25956:18;;;25949:62;26047:34;26027:18;;;26020:62;-1:-1:-1;;;26098:19:1;;;26091:34;26142:19;;90851:158:0;25696:471:1;90851:158:0;91051:16;;;91078:37;;;;91133:62;;;;;;91051:16;;91097:18;;91133:62;:::i;:::-;;;;;;;;90840:363;90763:440;:::o;69529:513::-;69798:4;69775:11;:9;:11::i;:::-;-1:-1:-1;;;;;69775:28:0;;69771:264;;69825:9;69820:204;69844:7;:14;69840:1;:18;69820:204;;;69910:4;-1:-1:-1;;;;;69888:27:0;:7;69896:1;69888:10;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1;;;;;69888:27:0;;69884:125;;69940:49;69975:9;69985:1;69975:12;;;;;;;;:::i;:::-;;;;;;;69965:23;;;;;;69940:15;:24;;:49;;;;:::i;:::-;69860:3;;;:::i;:::-;;;69820:204;;;;69529:513;;;;;:::o;126000:306::-;126227:71;126242:10;126254:7;126263:6;126271:9;126282:15;126227:14;:71::i;70116:408::-;70396:4;70373:11;:9;:11::i;:::-;-1:-1:-1;;;;;70373:28:0;;70369:148;;70423:23;:15;:21;:23::i;:::-;70418:88;;35329:1;70467:15;35341:14;70467:23;35251:112;74761:262;74923:7;74950:65;74960:10;74972:7;74981;74990:6;74998:16;66290:9;;;;;;;;;-1:-1:-1;66290:9:0;;;66208:99;74998:16;74950:9;:65::i;119520:765::-;119614:13;119640:20;119663:23;119675:10;119663:11;:23::i;:::-;119640:46;-1:-1:-1;119713:23:0;119703:6;:33;;;;;;;;:::i;:::-;;119699:79;;119760:6;119520:765;-1:-1:-1;;119520:765:0:o;119699:79::-;119891:15;119909:24;;;:12;:24;;;;;;;119944:334;;-1:-1:-1;119993:6:0;119520:765;-1:-1:-1;;119520:765:0:o;119944:334::-;120021:9;;:34;;-1:-1:-1;;;120021:34:0;;;;;643:25:1;;;-1:-1:-1;;;;;120021:9:0;;;;:25;;616:18:1;;120021:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;120017:261;;;-1:-1:-1;120079:22:0;;119520:765;-1:-1:-1;;;119520:765:0:o;120017:261::-;120123:9;;:37;;-1:-1:-1;;;120123:37:0;;;;;643:25:1;;;-1:-1:-1;;;;;120123:9:0;;;;:28;;616:18:1;;120123:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;120119:159;;;-1:-1:-1;120184:20:0;;119520:765;-1:-1:-1;;;119520:765:0:o;120119:159::-;-1:-1:-1;120244:22:0;;119520:765;-1:-1:-1;;;119520:765:0:o;80725:174::-;80807:44;80822:12;;80836:14;80807:44;;;;;;;:::i;:::-;;;;;;;;80862:12;:29;80725:174::o;66371:1447::-;66568:7;66654:19;:17;:19::i;:::-;66610:40;45277:10;66633:16;66648:1;66633:12;:16;:::i;66610:40::-;:63;;66588:162;;;;-1:-1:-1;;;66588:162:0;;27058:2:1;66588:162:0;;;27040:21:1;27097:2;27077:18;;;27070:30;27136:34;27116:18;;;27109:62;-1:-1:-1;;;27187:18:1;;;27180:47;27244:19;;66588:162:0;26856:413:1;66588:162:0;66763:18;66784:71;66797:7;66806:6;66814:9;66841:11;66825:29;;;;;;66784:12;:71::i;:::-;66763:92;;66894:6;:13;66876:7;:14;:31;66868:77;;;;-1:-1:-1;;;66868:77:0;;;;;;;:::i;:::-;66982:9;:16;66964:7;:14;:34;66956:80;;;;-1:-1:-1;;;66956:80:0;;;;;;;:::i;:::-;67072:1;67055:7;:14;:18;67047:55;;;;-1:-1:-1;;;67047:55:0;;27878:2:1;67047:55:0;;;27860:21:1;27917:2;27897:18;;;27890:30;-1:-1:-1;;;27936:18:1;;;27929:54;28000:18;;67047:55:0;27676:348:1;67047:55:0;67115:29;67147:22;;;:10;:22;;;;;;;;;67188:26;;;;;;;;;;-1:-1:-1;;;;;67188:26:0;;;;;47089:20;67180:74;;;;-1:-1:-1;;;67180:74:0;;28231:2:1;67180:74:0;;;28213:21:1;28270:2;28250:18;;;28243:30;28309:34;28289:18;;;28282:62;-1:-1:-1;;;28360:18:1;;;28353:31;28401:19;;67180:74:0;28029:397:1;67180:74:0;67267:15;67311:24;:13;:11;:13::i;:::-;:22;:24::i;:::-;67285:23;:12;:21;:23::i;:::-;:50;;;;:::i;:::-;67267:68;;67346:15;67375:25;:14;:12;:14::i;:25::-;67364:36;;:8;:36;:::i;:::-;67346:54;-1:-1:-1;67413:40:0;:8;67444;67413:30;:40::i;:::-;67464:38;:16;;;67493:8;67464:28;:38::i;:::-;67520:260;67550:10;45277;67602:7;67624:6;67658:7;:14;-1:-1:-1;;;;;67645:28:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67688:9;67712:8;67735;67758:11;67520:260;;;;;;;;;;;;;;:::i;:::-;;;;;;;;-1:-1:-1;67800:10:0;;66371:1447;-1:-1:-1;;;;;;;66371:1447:0:o;87989:231::-;88172:40;;-1:-1:-1;;;88172:40:0;;-1:-1:-1;;;;;30860:32:1;;;88172:40:0;;;30842:51:1;30909:18;;;30902:34;;;88145:7:0;;88172:5;:18;;;;;;30815::1;;88172:40:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;123776:179::-;123880:9;;123857:56;;;-1:-1:-1;;;;;123880:9:0;;;31159:34:1;;31229:15;;;31224:2;31209:18;;31202:43;123857:56:0;;31094:18:1;123857:56:0;;;;;;;123924:9;:23;;-1:-1:-1;;;;;;123924:23:0;-1:-1:-1;;;;;123924:23:0;;;;;;;;;;123776:179::o;40599:260::-;40732:12;40764:87;40786:6;40794:4;40800:5;40764:87;;;;;;;;;;;;;;;;;:21;:87::i;81026:321::-;81189:1;81171:15;:19;81163:71;;;;-1:-1:-1;;;81163:71:0;;31458:2:1;81163:71:0;;;31440:21:1;31497:2;31477:18;;;31470:30;31536:34;31516:18;;;31509:62;-1:-1:-1;;;31587:18:1;;;31580:37;31634:19;;81163:71:0;31256:403:1;81163:71:0;81250:47;81266:13;;81281:15;81250:47;;;;;;;:::i;:::-;;;;;;;;81308:13;:31;81026:321::o;81484:216::-;81578:62;81599:18;;81619:20;81578:62;;;;;;;:::i;:::-;;;;;;;;81651:18;:41;81484:216::o;89900:191::-;89975:7;89746:3;89526:16;;90003:37;;-1:-1:-1;;;90003:37:0;;;;;643:25:1;;;90003:5:0;-1:-1:-1;;;;;90003:24:0;;;;616:18:1;;90003:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:57;;;;:::i;:::-;90002:81;;;;:::i;60808:750::-;60910:4;-1:-1:-1;;;;;;61136:236:0;;-1:-1:-1;;;61136:236:0;;:295;;-1:-1:-1;;;;;;;61389:42:0;;-1:-1:-1;;;61389:42:0;61136:295;:361;;;-1:-1:-1;;;;;;;61448:49:0;;-1:-1:-1;;;61448:49:0;61136:361;:414;;;-1:-1:-1;;;;;;;;;;21798:40:0;;;61514:36;21689:157;19427:314;19480:7;19512:4;-1:-1:-1;;;;;19521:12:0;19504:29;;:66;;;;;19554:16;19537:13;:33;19504:66;19500:234;;;-1:-1:-1;19594:24:0;;19427:314::o;19500:234::-;-1:-1:-1;19930:73:0;;;19680:10;19930:73;;;;37276:25:1;;;;19692:12:0;37317:18:1;;;37310:34;19706:15:0;37360:18:1;;;37353:34;19974:13:0;37403:18:1;;;37396:34;19997:4:0;37446:19:1;;;;37439:61;;;;19930:73:0;;;;;;;;;;37248:19:1;;;;19930:73:0;;;19920:84;;;;;;126628:181::o;12536:1632::-;12667:7;;-1:-1:-1;;;;;13588:79:0;;13584:163;;;-1:-1:-1;13700:1:0;;-1:-1:-1;13704:30:0;13684:51;;13584:163;13761:1;:7;;13766:2;13761:7;;:18;;;;;13772:1;:7;;13777:2;13772:7;;13761:18;13757:102;;;-1:-1:-1;13812:1:0;;-1:-1:-1;13816:30:0;13796:51;;13757:102;13973:24;;;13956:14;13973:24;;;;;;;;;32683:25:1;;;32756:4;32744:17;;32724:18;;;32717:45;;;;32778:18;;;32771:34;;;32821:18;;;32814:34;;;13973:24:0;;32655:19:1;;13973:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;13973:24:0;;-1:-1:-1;;13973:24:0;;;-1:-1:-1;;;;;;;14012:20:0;;14008:103;;14065:1;14069:29;14049:50;;;;;;;14008:103;14131:6;-1:-1:-1;14139:20:0;;-1:-1:-1;12536:1632:0;;;;;;;;:::o;7245:643::-;7323:20;7314:5;:29;;;;;;;;:::i;:::-;;7310:571;;7245:643;:::o;7310:571::-;7421:29;7412:5;:38;;;;;;;;:::i;:::-;;7408:473;;7467:34;;-1:-1:-1;;;7467:34:0;;33061:2:1;7467:34:0;;;33043:21:1;33100:2;33080:18;;;33073:30;-1:-1:-1;;;33119:18:1;;;33112:54;33183:18;;7467:34:0;32859:348:1;7408:473:0;7532:35;7523:5;:44;;;;;;;;:::i;:::-;;7519:362;;7584:41;;-1:-1:-1;;;7584:41:0;;33414:2:1;7584:41:0;;;33396:21:1;33453:2;33433:18;;;33426:30;33492:33;33472:18;;;33465:61;33543:18;;7584:41:0;33212:355:1;7519:362:0;7656:30;7647:5;:39;;;;;;;;:::i;:::-;;7643:238;;7703:44;;-1:-1:-1;;;7703:44:0;;33774:2:1;7703:44:0;;;33756:21:1;33813:2;33793:18;;;33786:30;33852:34;33832:18;;;33825:62;-1:-1:-1;;;33903:18:1;;;33896:32;33945:19;;7703:44:0;33572:398:1;7643:238:0;7778:30;7769:5;:39;;;;;;;;:::i;:::-;;7765:116;;7825:44;;-1:-1:-1;;;7825:44:0;;34177:2:1;7825:44:0;;;34159:21:1;34216:2;34196:18;;;34189:30;34255:34;34235:18;;;34228:62;-1:-1:-1;;;34306:18:1;;;34299:32;34348:19;;7825:44:0;33975:398:1;84332:833:0;84533:33;84569:26;;;:14;:26;;;;;;;;-1:-1:-1;;;;;84617:30:0;;;;:21;;;:30;;;;;;;;;84616:31;84608:83;;;;-1:-1:-1;;;84608:83:0;;34580:2:1;84608:83:0;;;34562:21:1;34619:2;34599:18;;;34592:30;34658:34;34638:18;;;34631:62;-1:-1:-1;;;34709:18:1;;;34702:37;34756:19;;84608:83:0;34378:403:1;84608:83:0;-1:-1:-1;;;;;84702:30:0;;;;;;:21;;;:30;;;;;:37;;-1:-1:-1;;84702:37:0;84735:4;84702:37;;;84756:34;;;84752:406;;84836:6;84807:12;:25;;;:35;;;;;;;:::i;:::-;;;;-1:-1:-1;84752:406:0;;-1:-1:-1;84752:406:0;;-1:-1:-1;;84864:30:0;;;;84860:298;;84936:6;84911:12;:21;;;:31;;;;;;;:::i;84860:298::-;-1:-1:-1;;84964:34:0;;;;84960:198;;85044:6;85015:12;:25;;;:35;;;;;;;:::i;84960:198::-;85083:63;;-1:-1:-1;;;85083:63:0;;34988:2:1;85083:63:0;;;34970:21:1;35027:2;35007:18;;;35000:30;35066:34;35046:18;;;35039:62;-1:-1:-1;;;35117:18:1;;;35110:51;35178:19;;85083:63:0;34786:417:1;35888:124:0;35992:12;;;;;-1:-1:-1;;;35978:10:0;;;;;:26;;;35888:124::o;32085:232::-;32185:10;;-1:-1:-1;;;32185:10:0;;;;;;32166:16;32206:22;;;:11;;;;:22;;;;;;:30;;;;32272:26;;-1:-1:-1;;;;;32272:26:0;;;32285:13;;;;32272:26;;;;;32085:232::o;121810:331::-;122045:9;;:88;;-1:-1:-1;;;122045:88:0;;-1:-1:-1;;;;;122045:9:0;;;;:22;;122075:9;;122045:88;;122086:7;;122095:6;;122103:9;;122045;;122117:15;;122045:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;121810:331;;;;;:::o;63221:946::-;63294:13;63352:22;;;:10;:22;;;;;63391:17;;;;;;63387:79;;;-1:-1:-1;63432:22:0;;63221:946;-1:-1:-1;;63221:946:0:o;63387:79::-;63482:17;;;;;;;;;63478:79;;;-1:-1:-1;63523:22:0;;63221:946;-1:-1:-1;;63221:946:0:o;63478:79::-;63569:16;63588:28;63605:10;63588:16;:28::i;:::-;63569:47;;63633:8;63645:1;63633:13;63629:85;;63663:39;;-1:-1:-1;;;63663:39:0;;35410:2:1;63663:39:0;;;35392:21:1;35449:2;35429:18;;;35422:30;35488:31;35468:18;;;35461:59;35537:18;;63663:39:0;35208:353:1;63629:85:0;63742:12;63730:8;:24;63726:85;;-1:-1:-1;63778:21:0;;63221:946;-1:-1:-1;;;63221:946:0:o;63726:85::-;63823:16;63842:28;63859:10;63842:16;:28::i;:::-;63823:47;;63899:12;63887:8;:24;63883:84;;-1:-1:-1;63935:20:0;;63221:946;-1:-1:-1;;;;63221:946:0:o;63883:84::-;63983:26;63998:10;63983:14;:26::i;:::-;:56;;;;-1:-1:-1;84031:4:0;84084:26;;;:14;:26;;;;;84154:25;;84130:21;;;;;:49;64013:26;63979:181;;;-1:-1:-1;64063:23:0;;63221:946;-1:-1:-1;;;;63221:946:0:o;63979:181::-;-1:-1:-1;64126:22:0;;63221:946;-1:-1:-1;;;;63221:946:0:o;24527:190::-;24583:6;-1:-1:-1;;;;;24610:25:0;;;24602:76;;;;-1:-1:-1;;;24602:76:0;;35768:2:1;24602:76:0;;;35750:21:1;35807:2;35787:18;;;35780:30;35846:34;35826:18;;;35819:62;-1:-1:-1;;;35897:18:1;;;35890:36;35943:19;;24602:76:0;35566:402:1;24602:76:0;-1:-1:-1;24703:5:0;24527:190::o;46773:121::-;46859:27;;-1:-1:-1;;;;;;46859:27:0;-1:-1:-1;;;;;46859:27:0;;;;;;;46773:121::o;41115:510::-;41285:12;41343:5;41318:21;:30;;41310:81;;;;-1:-1:-1;;;41310:81:0;;36175:2:1;41310:81:0;;;36157:21:1;36214:2;36194:18;;;36187:30;36253:34;36233:18;;;36226:62;-1:-1:-1;;;36304:18:1;;;36297:36;36350:19;;41310:81:0;35973:402:1;41310:81:0;-1:-1:-1;;;;;37545:19:0;;;41402:60;;;;-1:-1:-1;;;41402:60:0;;36582:2:1;41402:60:0;;;36564:21:1;36621:2;36601:18;;;36594:30;36660:31;36640:18;;;36633:59;36709:18;;41402:60:0;36380:353:1;41402:60:0;41476:12;41490:23;41517:6;-1:-1:-1;;;;;41517:11:0;41536:5;41543:4;41517:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41475:73;;;;41566:51;41583:7;41592:10;41604:12;41566:16;:51::i;83528:280::-;83612:4;83665:26;;;:14;:26;;;;;83775:25;;;;83751:21;;;;:49;;83775:25;83751:49;:::i;:::-;83711:36;83718:28;83735:10;83718:16;:28::i;83711:36::-;:89;;;83528:280;-1:-1:-1;;;83528:280:0:o;43801:712::-;43951:12;43980:7;43976:530;;;-1:-1:-1;44011:10:0;44004:17;;43976:530;44125:17;;:21;44121:374;;44323:10;44317:17;44384:15;44371:10;44367:2;44363:19;44356:44;44121:374;44466:12;44459:20;;-1:-1:-1;;;44459:20:0;;;;;;;;:::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;;;;;1692:30:1;;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;-1:-1:-1;2649:2:1;2634:18;;2621:32;-1:-1:-1;;;;;2702:14:1;;;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:131::-;-1:-1:-1;;;;;4235:31:1;;4225:42;;4215:70;;4281:1;4278;4271:12;4296:665;4391:6;4399;4407;4415;4468:3;4456:9;4447:7;4443:23;4439:33;4436:53;;;4485:1;4482;4475:12;4436:53;4524:9;4511:23;4543:31;4568:5;4543:31;:::i;:::-;4593:5;-1:-1:-1;4650:2:1;4635:18;;4622:32;4663:33;4622:32;4663:33;:::i;:::-;4715:7;-1:-1:-1;4769:2:1;4754:18;;4741:32;;-1:-1:-1;4824:2:1;4809:18;;4796:32;-1:-1:-1;;;;;4840:30:1;;4837:50;;;4883:1;4880;4873:12;4837:50;4906:49;4947:7;4938:6;4927:9;4923:22;4906:49;:::i;:::-;4896:59;;;4296:665;;;;;;;:::o;5173:183::-;5233:4;-1:-1:-1;;;;;5255:30:1;;5252:56;;;5288:18;;:::i;:::-;-1:-1:-1;5333:1:1;5329:14;5345:4;5325:25;;5173:183::o;5361:737::-;5415:5;5468:3;5461:4;5453:6;5449:17;5445:27;5435:55;;5486:1;5483;5476:12;5435:55;5522:6;5509:20;5548:4;5572:60;5588:43;5628:2;5588:43;:::i;:::-;5572:60;:::i;:::-;5666:15;;;5752:1;5748:10;;;;5736:23;;5732:32;;;5697:12;;;;5776:15;;;5773:35;;;5804:1;5801;5794:12;5773:35;5840:2;5832:6;5828:15;5852:217;5868:6;5863:3;5860:15;5852:217;;;5948:3;5935:17;5965:31;5990:5;5965:31;:::i;:::-;6009:18;;6047:12;;;;5885;;5852:217;;;-1:-1:-1;6087:5:1;5361:737;-1:-1:-1;;;;;;5361:737:1:o;6103:662::-;6157:5;6210:3;6203:4;6195:6;6191:17;6187:27;6177:55;;6228:1;6225;6218:12;6177:55;6264:6;6251:20;6290:4;6314:60;6330:43;6370:2;6330:43;:::i;6314:60::-;6408:15;;;6494:1;6490:10;;;;6478:23;;6474:32;;;6439:12;;;;6518:15;;;6515:35;;;6546:1;6543;6536:12;6515:35;6582:2;6574:6;6570:15;6594:142;6610:6;6605:3;6602:15;6594:142;;;6676:17;;6664:30;;6714:12;;;;6627;;6594:142;;6770:886;6822:5;6875:3;6868:4;6860:6;6856:17;6852:27;6842:55;;6893:1;6890;6883:12;6842:55;6929:6;6916:20;6955:4;6979:60;6995:43;7035:2;6995:43;:::i;6979:60::-;7073:15;;;7159:1;7155:10;;;;7143:23;;7139:32;;;7104:12;;;;7183:15;;;7180:35;;;7211:1;7208;7201:12;7180:35;7247:2;7239:6;7235:15;7259:368;7275:6;7270:3;7267:15;7259:368;;;7348:17;;-1:-1:-1;;;;;7381:35:1;;7378:125;;;7457:1;7486:2;7482;7475:14;7378:125;7528:56;7580:3;7575:2;7561:11;7553:6;7549:24;7545:33;7528:56;:::i;:::-;7516:69;;-1:-1:-1;7605:12:1;;;;7292;;7259:368;;7661:897;7831:6;7839;7847;7855;7908:3;7896:9;7887:7;7883:23;7879:33;7876:53;;;7925:1;7922;7915:12;7876:53;7952:23;;-1:-1:-1;;;;;8024:14:1;;;8021:34;;;8051:1;8048;8041:12;8021:34;8074:61;8127:7;8118:6;8107:9;8103:22;8074:61;:::i;:::-;8064:71;;8188:2;8177:9;8173:18;8160:32;8144:48;;8217:2;8207:8;8204:16;8201:36;;;8233:1;8230;8223:12;8201:36;8256:63;8311:7;8300:8;8289:9;8285:24;8256:63;:::i;:::-;8246:73;;8372:2;8361:9;8357:18;8344:32;8328:48;;8401:2;8391:8;8388:16;8385:36;;;8417:1;8414;8407:12;8385:36;;8440:61;8493:7;8482:8;8471:9;8467:24;8440:61;:::i;:::-;7661:897;;;;-1:-1:-1;8430:71:1;;8548:2;8533:18;8520:32;;-1:-1:-1;;;7661:897:1:o;8745:458::-;8836:6;8844;8852;8860;8868;8921:3;8909:9;8900:7;8896:23;8892:33;8889:53;;;8938:1;8935;8928:12;8889:53;8974:9;8961:23;8951:33;;9003:36;9035:2;9024:9;9020:18;9003:36;:::i;:::-;8993:46;;9058:36;9090:2;9079:9;9075:18;9058:36;:::i;:::-;8745:458;;;;-1:-1:-1;9048:46:1;;9141:2;9126:18;;9113:32;;-1:-1:-1;9192:3:1;9177:19;9164:33;;8745:458;-1:-1:-1;;8745:458:1:o;9208:127::-;9269:10;9264:3;9260:20;9257:1;9250:31;9300:4;9297:1;9290:15;9324:4;9321:1;9314:15;9340:346;9490:2;9475:18;;9523:1;9512:13;;9502:144;;9568:10;9563:3;9559:20;9556:1;9549:31;9603:4;9600:1;9593:15;9631:4;9628:1;9621:15;9502:144;9655:25;;;9340:346;:::o;9691:315::-;9759:6;9767;9820:2;9808:9;9799:7;9795:23;9791:32;9788:52;;;9836:1;9833;9826:12;9788:52;9872:9;9859:23;9849:33;;9932:2;9921:9;9917:18;9904:32;9945:31;9970:5;9945:31;:::i;:::-;9995:5;9985:15;;;9691:315;;;;;:::o;10335:250::-;10401:6;10409;10462:2;10450:9;10441:7;10437:23;10433:32;10430:52;;;10478:1;10475;10468:12;10430:52;10514:9;10501:23;10491:33;;10543:36;10575:2;10564:9;10560:18;10543:36;:::i;:::-;10533:46;;10335:250;;;;;:::o;10590:769::-;10695:6;10703;10711;10719;10727;10780:3;10768:9;10759:7;10755:23;10751:33;10748:53;;;10797:1;10794;10787:12;10748:53;10833:9;10820:23;10810:33;;10862:36;10894:2;10883:9;10879:18;10862:36;:::i;:::-;10852:46;-1:-1:-1;10949:2:1;10934:18;;10921:32;-1:-1:-1;;;;;11002:14:1;;;10999:34;;;11029:1;11026;11019:12;10999:34;11068:59;11119:7;11110:6;11099:9;11095:22;11068:59;:::i;:::-;11146:8;;-1:-1:-1;11042:85:1;-1:-1:-1;11234:2:1;11219:18;;11206:32;;-1:-1:-1;11250:16:1;;;11247:36;;;11279:1;11276;11269:12;11247:36;;11302:51;11345:7;11334:8;11323:9;11319:24;11302:51;:::i;:::-;11292:61;;;10590:769;;;;;;;;:::o;11364:549::-;11451:6;11459;11467;11475;11528:2;11516:9;11507:7;11503:23;11499:32;11496:52;;;11544:1;11541;11534:12;11496:52;11580:9;11567:23;11557:33;;11609:36;11641:2;11630:9;11626:18;11609:36;:::i;:::-;11599:46;-1:-1:-1;11696:2:1;11681:18;;11668:32;-1:-1:-1;;;;;11712:30:1;;11709:50;;;11755:1;11752;11745:12;11709:50;11794:59;11845:7;11836:6;11825:9;11821:22;11794:59;:::i;:::-;11364:549;;;;-1:-1:-1;11872:8:1;-1:-1:-1;;;;11364:549:1:o;11918:1157::-;12098:6;12106;12114;12122;12175:3;12163:9;12154:7;12150:23;12146:33;12143:53;;;12192:1;12189;12182:12;12143:53;12219:23;;-1:-1:-1;;;;;12291:14:1;;;12288:34;;;12318:1;12315;12308:12;12288:34;12341:61;12394:7;12385:6;12374:9;12370:22;12341:61;:::i;:::-;12331:71;;12455:2;12444:9;12440:18;12427:32;12411:48;;12484:2;12474:8;12471:16;12468:36;;;12500:1;12497;12490:12;12468:36;12523:63;12578:7;12567:8;12556:9;12552:24;12523:63;:::i;:::-;12513:73;;12639:2;12628:9;12624:18;12611:32;12595:48;;12668:2;12658:8;12655:16;12652:36;;;12684:1;12681;12674:12;12652:36;12707:61;12760:7;12749:8;12738:9;12734:24;12707:61;:::i;:::-;12697:71;;12821:2;12810:9;12806:18;12793:32;12777:48;;12850:2;12840:8;12837:16;12834:36;;;12866:1;12863;12856:12;12834:36;-1:-1:-1;12889:24:1;;12944:4;12936:13;;12932:27;-1:-1:-1;12922:55:1;;12973:1;12970;12963:12;12922:55;12996:73;13061:7;13056:2;13043:16;13038:2;13034;13030:11;12996:73;:::i;13080:523::-;13166:6;13174;13182;13235:2;13223:9;13214:7;13210:23;13206:32;13203:52;;;13251:1;13248;13241:12;13203:52;13290:9;13277:23;13309:31;13334:5;13309:31;:::i;:::-;13359:5;-1:-1:-1;13411:2:1;13396:18;;13383:32;;-1:-1:-1;13466:2:1;13451:18;;13438:32;-1:-1:-1;;;;;13482:30:1;;13479:50;;;13525:1;13522;13515:12;13479:50;13548:49;13589:7;13580:6;13569:9;13565:22;13548:49;:::i;:::-;13538:59;;;13080:523;;;;;:::o;13608:274::-;13694:6;13747:2;13735:9;13726:7;13722:23;13718:32;13715:52;;;13763:1;13760;13753:12;13715:52;13802:9;13789:23;13821:31;13846:5;13821:31;:::i;13887:1071::-;14041:6;14049;14057;14065;14073;14126:3;14114:9;14105:7;14101:23;14097:33;14094:53;;;14143:1;14140;14133:12;14094:53;14182:9;14169:23;14201:31;14226:5;14201:31;:::i;:::-;14251:5;-1:-1:-1;14308:2:1;14293:18;;14280:32;14321:33;14280:32;14321:33;:::i;:::-;14373:7;-1:-1:-1;14431:2:1;14416:18;;14403:32;-1:-1:-1;;;;;14484:14:1;;;14481:34;;;14511:1;14508;14501:12;14481:34;14534:61;14587:7;14578:6;14567:9;14563:22;14534:61;:::i;:::-;14524:71;;14648:2;14637:9;14633:18;14620:32;14604:48;;14677:2;14667:8;14664:16;14661:36;;;14693:1;14690;14683:12;14661:36;14716:63;14771:7;14760:8;14749:9;14745:24;14716:63;:::i;:::-;14706:73;;14832:3;14821:9;14817:19;14804:33;14788:49;;14862:2;14852:8;14849:16;14846:36;;;14878:1;14875;14868:12;14963:613;15051:6;15059;15067;15075;15128:2;15116:9;15107:7;15103:23;15099:32;15096:52;;;15144:1;15141;15134:12;15096:52;15183:9;15170:23;15202:31;15227:5;15202:31;:::i;:::-;15252:5;-1:-1:-1;15304:2:1;15289:18;;15276:32;;-1:-1:-1;15359:2:1;15344:18;;15331:32;-1:-1:-1;;;;;15375:30:1;;15372:50;;;15418:1;15415;15408:12;15789:315;15857:6;15865;15918:2;15906:9;15897:7;15893:23;15889:32;15886:52;;;15934:1;15931;15924:12;15886:52;15973:9;15960:23;15992:31;16017:5;15992:31;:::i;:::-;16042:5;16094:2;16079:18;;;;16066:32;;-1:-1:-1;;;15789:315:1:o;16109:734::-;16213:6;16221;16229;16237;16245;16298:3;16286:9;16277:7;16273:23;16269:33;16266:53;;;16315:1;16312;16305:12;16266:53;16354:9;16341:23;16373:31;16398:5;16373:31;:::i;:::-;16423:5;-1:-1:-1;16480:2:1;16465:18;;16452:32;16493:33;16452:32;16493:33;:::i;:::-;16545:7;-1:-1:-1;16599:2:1;16584:18;;16571:32;;-1:-1:-1;16650:2:1;16635:18;;16622:32;;-1:-1:-1;16705:3:1;16690:19;;16677:33;-1:-1:-1;;;;;16722:30:1;;16719:50;;;16765:1;16762;16755:12;16719:50;16788:49;16829:7;16820:6;16809:9;16805:22;16788:49;:::i;17071:271::-;17254:6;17246;17241:3;17228:33;17210:3;17280:16;;17305:13;;;17280:16;17071:271;-1:-1:-1;17071:271:1:o;17822:348::-;18024:2;18006:21;;;18063:2;18043:18;;;18036:30;-1:-1:-1;;;18097:2:1;18082:18;;18075:54;18161:2;18146:18;;17822:348::o;18175:380::-;18254:1;18250:12;;;;18297;;;18318:61;;18372:4;18364:6;18360:17;18350:27;;18318:61;18425:2;18417:6;18414:14;18394:18;18391:38;18388:161;;18471:10;18466:3;18462:20;18459:1;18452:31;18506:4;18503:1;18496:15;18534:4;18531:1;18524:15;18388:161;;18175:380;;;:::o;18560:397::-;18762:2;18744:21;;;18801:2;18781:18;;;18774:30;18840:34;18835:2;18820:18;;18813:62;-1:-1:-1;;;18906:2:1;18891:18;;18884:31;18947:3;18932:19;;18560:397::o;18962:184::-;19032:6;19085:2;19073:9;19064:7;19060:23;19056:32;19053:52;;;19101:1;19098;19091:12;19053:52;-1:-1:-1;19124:16:1;;18962:184;-1:-1:-1;18962:184:1:o;19151:461::-;19204:3;19242:5;19236:12;19269:6;19264:3;19257:19;19295:4;19324:2;19319:3;19315:12;19308:19;;19361:2;19354:5;19350:14;19382:1;19392:195;19406:6;19403:1;19400:13;19392:195;;;19471:13;;-1:-1:-1;;;;;19467:39:1;19455:52;;19527:12;;;;19562:15;;;;19503:1;19421:9;19392:195;;;-1:-1:-1;19603:3:1;;19151:461;-1:-1:-1;;;;;19151:461:1:o;19617:435::-;19670:3;19708:5;19702:12;19735:6;19730:3;19723:19;19761:4;19790:2;19785:3;19781:12;19774:19;;19827:2;19820:5;19816:14;19848:1;19858:169;19872:6;19869:1;19866:13;19858:169;;;19933:13;;19921:26;;19967:12;;;;20002:15;;;;19894:1;19887:9;19858:169;;20057:615;20108:3;20146:5;20140:12;20173:6;20168:3;20161:19;20199:4;20240:2;20235:3;20231:12;20265:11;20292;20285:18;;20342:6;20339:1;20335:14;20328:5;20324:26;20312:38;;20384:2;20377:5;20373:14;20405:1;20415:231;20429:6;20426:1;20423:13;20415:231;;;20500:5;20494:4;20490:16;20485:3;20478:29;20528:38;20561:4;20552:6;20546:13;20528:38;:::i;:::-;20624:12;;;;20520:46;-1:-1:-1;20589:15:1;;;;20451:1;20444:9;20415:231;;;-1:-1:-1;20662:4:1;;20057:615;-1:-1:-1;;;;;;;20057:615:1:o;20677:838::-;21094:3;21083:9;21076:22;21057:4;21121:57;21173:3;21162:9;21158:19;21150:6;21121:57;:::i;:::-;21226:9;21218:6;21214:22;21209:2;21198:9;21194:18;21187:50;21260:44;21297:6;21289;21260:44;:::i;:::-;21246:58;;21352:9;21344:6;21340:22;21335:2;21324:9;21320:18;21313:50;21380:42;21415:6;21407;21380:42;:::i;:::-;21453:2;21438:18;;21431:34;;;;-1:-1:-1;;21496:3:1;21481:19;21474:35;21372:50;20677:838;-1:-1:-1;;;20677:838:1:o;21709:910::-;22154:3;22143:9;22136:22;22117:4;22181:57;22233:3;22222:9;22218:19;22210:6;22181:57;:::i;:::-;22286:9;22278:6;22274:22;22269:2;22258:9;22254:18;22247:50;22320:44;22357:6;22349;22320:44;:::i;:::-;22306:58;;22412:9;22404:6;22400:22;22395:2;22384:9;22380:18;22373:50;22440:42;22475:6;22467;22440:42;:::i;:::-;22513:2;22498:18;;22491:34;;;;-1:-1:-1;;22556:3:1;22541:19;;22534:35;;;;22600:3;22585:19;;;22578:35;22432:50;21709:910;-1:-1:-1;;;21709:910:1:o;22624:127::-;22685:10;22680:3;22676:20;22673:1;22666:31;22716:4;22713:1;22706:15;22740:4;22737:1;22730:15;22756:128;22796:3;22827:1;22823:6;22820:1;22817:13;22814:39;;;22833:18;;:::i;:::-;-1:-1:-1;22869:9:1;;22756:128::o;22889:248::-;23063:25;;;23119:2;23104:18;;23097:34;23051:2;23036:18;;22889:248::o;23473:758::-;23854:3;23843:9;23836:22;23817:4;23881:57;23933:3;23922:9;23918:19;23910:6;23881:57;:::i;:::-;23986:9;23978:6;23974:22;23969:2;23958:9;23954:18;23947:50;24020:44;24057:6;24049;24020:44;:::i;:::-;24006:58;;24112:9;24104:6;24100:22;24095:2;24084:9;24080:18;24073:50;24140:42;24175:6;24167;24140:42;:::i;:::-;24132:50;;;24218:6;24213:2;24202:9;24198:18;24191:34;23473:758;;;;;;;:::o;24640:442::-;24869:6;24858:9;24851:25;24924:4;24916:6;24912:17;24907:2;24896:9;24892:18;24885:45;24966:6;24961:2;24950:9;24946:18;24939:34;25009:3;25004:2;24993:9;24989:18;24982:31;24832:4;25030:46;25071:3;25060:9;25056:19;25048:6;25030:46;:::i;25087:604::-;25362:6;25351:9;25344:25;25417:4;25409:6;25405:17;25400:2;25389:9;25385:18;25378:45;25459:6;25454:2;25443:9;25439:18;25432:34;25502:3;25497:2;25486:9;25482:18;25475:31;25325:4;25529:46;25570:3;25559:9;25555:19;25547:6;25529:46;:::i;:::-;25624:9;25616:6;25612:22;25606:3;25595:9;25591:19;25584:51;25652:33;25678:6;25670;25652:33;:::i;:::-;25644:41;25087:604;-1:-1:-1;;;;;;;;25087:604:1:o;26172:127::-;26233:10;26228:3;26224:20;26221:1;26214:31;26264:4;26261:1;26254:15;26288:4;26285:1;26278:15;26304:135;26343:3;26364:17;;;26361:43;;26384:18;;:::i;:::-;-1:-1:-1;26431:1:1;26420:13;;26304:135::o;26444:277::-;26511:6;26564:2;26552:9;26543:7;26539:23;26535:32;26532:52;;;26580:1;26577;26570:12;26532:52;26612:9;26606:16;26665:5;26658:13;26651:21;26644:5;26641:32;26631:60;;26687:1;26684;26677:12;26726:125;26766:4;26794:1;26791;26788:8;26785:34;;;26799:18;;:::i;:::-;-1:-1:-1;26836:9:1;;26726:125::o;27274:397::-;27476:2;27458:21;;;27515:2;27495:18;;;27488:30;27554:34;27549:2;27534:18;;27527:62;-1:-1:-1;;;27620:2:1;27605:18;;27598:31;27661:3;27646:19;;27274:397::o;28431:236::-;28470:3;-1:-1:-1;;;;;28536:10:1;;;28566;;;28596:12;;;28588:21;;28585:47;;;28612:18;;:::i;:::-;28648:13;;28431:236;-1:-1:-1;;;;28431:236:1:o;28779:1884::-;29351:4;29380:3;29410:6;29399:9;29392:25;29436:2;29503:1;29499;29494:3;29490:11;29486:19;29478:6;29474:32;29469:2;29458:9;29454:18;29447:60;29543:2;29538;29527:9;29523:18;29516:30;29569:56;29621:2;29610:9;29606:18;29598:6;29569:56;:::i;:::-;29555:70;;29673:9;29665:6;29661:22;29656:2;29645:9;29641:18;29634:50;29707:44;29744:6;29736;29707:44;:::i;:::-;29693:58;;29800:9;29792:6;29788:22;29782:3;29771:9;29767:19;29760:51;29831:6;29866;29860:13;29897:6;29889;29882:22;29932:2;29924:6;29920:15;29913:22;;29991:2;29981:6;29978:1;29974:14;29966:6;29962:27;29958:36;30029:2;30021:6;30017:15;30050:1;30060:252;30074:6;30071:1;30068:13;30060:252;;;30164:2;30160:7;30151:6;30143;30139:19;30135:33;30130:3;30123:46;30192:40;30225:6;30216;30210:13;30192:40;:::i;:::-;30290:12;;;;30182:50;-1:-1:-1;30255:15:1;;;;30096:1;30089:9;30060:252;;;30064:3;;30361:9;30353:6;30349:22;30343:3;30332:9;30328:19;30321:51;30395:42;30430:6;30422;30395:42;:::i;:::-;30381:56;;;;;;30446:46;30487:3;30476:9;30472:19;30464:6;-1:-1:-1;;;;;28737:30:1;28725:43;;28672:102;30446:46;-1:-1:-1;;;;;28737:30:1;;30542:3;30527:19;;28725:43;30596:9;30588:6;30584:22;30578:3;30567:9;30563:19;30556:51;30624:33;30650:6;30642;30624:33;:::i;:::-;30616:41;28779:1884;-1:-1:-1;;;;;;;;;;;;28779:1884:1:o;31664:168::-;31704:7;31770:1;31766;31762:6;31758:14;31755:1;31752:21;31747:1;31740:9;31733:17;31729:45;31726:71;;;31777:18;;:::i;:::-;-1:-1:-1;31817:9:1;;31664:168::o;31837:217::-;31877:1;31903;31893:132;;31947:10;31942:3;31938:20;31935:1;31928:31;31982:4;31979:1;31972:15;32010:4;32007:1;32000:15;31893:132;-1:-1:-1;32039:9:1;;31837:217::o;36738:274::-;36867:3;36905:6;36899:13;36921:53;36967:6;36962:3;36955:4;36947:6;36943:17;36921:53;:::i;:::-;36990:16;;;;;36738:274;-1:-1:-1;;36738:274:1:o

Swarm Source

ipfs://ff3b80ab78c52f0f0034cf19e29cc71f0eef840d8a0f1182c93ef501e9833920
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
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.