{"file_path":"StableCoin.sol","creation_status":"success","source_code":"// File: StableCoinToken/contracts/Common.sol\r\n\r\n\r\npragma solidity 0.8.21;\r\n\r\nlibrary ArrayOps {\r\n  /**\r\n   * @dev Function to delete elements from the array.\r\n   * @param addressArray array of addresses.\r\n   * @param elAddress address which to be removed.\r\n   * @return Updated Array.\r\n   */\r\n  function deleteFromArray(\r\n    address[] storage addressArray,\r\n    address elAddress\r\n  ) internal returns (address[] memory) {\r\n    for (uint256 i = 0; i < addressArray.length; i++) {\r\n      if (addressArray[i] == elAddress) {\r\n        addressArray[i] = addressArray[addressArray.length - 1];\r\n        addressArray.pop();\r\n        break;\r\n      }\r\n    }\r\n    return addressArray;\r\n  }\r\n\r\n  /**\r\n   * @dev Function to Check if element is present in array.\r\n   * @param addressArray array of addresses.\r\n   * @param elAddress address which to be checked.\r\n   * @return bool true if element is present else false.\r\n   */\r\n  function isElement(\r\n    address[] memory addressArray,\r\n    address elAddress\r\n  ) internal pure returns (bool) {\r\n    bool _isElement;\r\n    for (uint256 i = 0; i < addressArray.length; i++) {\r\n      if (addressArray[i] == elAddress) {\r\n        _isElement = true;\r\n        break;\r\n      }\r\n    }\r\n    return _isElement;\r\n  }\r\n}\r\n\r\n/**\r\n * @title Common\r\n * @notice Common variable declarations, Request Types, Sub Request Types, Structures, Events from both GovernanceToken and StableCoin.\r\n */\r\ncontract Common {\r\n  /**\r\n * @notice Status of a request.\r\n * 0 - IN_PROGRESS, Request created\r\n * 1 - ACCEPTED, Approved by enough signatories\r\n * 2 - EXECUTED, Executed by request owner\r\n * 3 - CANCELLED, Cancelled by request owner\r\n */\r\n  enum RequestStatus {\r\n    IN_PROGRESS,\r\n    ACCEPTED,\r\n    EXECUTED,\r\n    CANCELLED\r\n  }\r\n\r\n  /**\r\n * @notice Types of Requests.\r\n * 0 - TOKEN_SUPPLY_CONTROL (Burn,Mint)\r\n * 1 - TRANSACTION_CONTROL (Pause,Unpause)\r\n * 2 - SIGNATORY_CONTROL (Remove, Add)\r\n * 3 - THRESHOLD_CONTROL (Update)\r\n * 4 - WHITELIST_CONTROL (Remove, Add)\r\n *     note: Only on Governance Token\r\n */\r\n  enum RequestType {\r\n    TOKEN_SUPPLY_CONTROL,\r\n    TRANSACTION_CONTROL,\r\n    SIGNATORY_CONTROL,\r\n    THRESHOLD_CONTROL,\r\n    WHITELIST_CONTROL\r\n  }\r\n\r\n  /**\r\n * @notice Sub-Type of Token Supply Control\r\n * 0 - BURN\r\n * 1 - MINT\r\n */\r\n  enum TokenSupplyControlRequestType {\r\n    BURN,\r\n    MINT\r\n  }\r\n\r\n  /**\r\n * @notice Sub-Type of Transaction Control\r\n * 0 - PAUSE\r\n * 1 - UNPAUSE\r\n */\r\n  enum TransactionControlRequestType {\r\n    PAUSE,\r\n    UNPAUSE\r\n  }\r\n\r\n  /**\r\n * @notice Sub-Type of Signatory Control\r\n * 0 - REMOVE\r\n * 1 - ADD\r\n */\r\n  enum SignatoryControlRequestType {\r\n    REMOVE,\r\n    ADD\r\n  }\r\n\r\n  /**\r\n * @notice Sub-Type of Threshold Control\r\n * 0 - UPDATE\r\n */\r\n  enum ThresholdControlRequestType {\r\n    UPDATE\r\n  }\r\n\r\n  /**\r\n   * @notice Structure of a Token Supply control Request\r\n   * id - ID of the Token Supply Control Request\r\n   * subType - sub-Type of Token Supply control(MINT/BURN)\r\n   * amount - Amount of token need to be minted or burned.\r\n   * wallet - address of the wallet\r\n   * owner - address of request owner\r\n   * approvals - list of addresses who approved the request\r\n   * status - status of request.\r\n   */\r\n  struct TokenSupplyControlRequests {\r\n    uint256 id;\r\n    TokenSupplyControlRequestType subType;\r\n    uint256 amount;\r\n    address wallet;\r\n    address owner;\r\n    address[] approvals;\r\n    RequestStatus status;\r\n  }\r\n\r\n    /**\r\n   * @notice Structure of a Transaction Control Request\r\n   * id - ID of the Transaction Control Request\r\n   * subType - sub-Type of Transaction control(PAUSE/UNPAUSE)\r\n   * owner - address of request owner\r\n   * approvals - list of addresses who approved the request\r\n   * status - status of request.\r\n   */\r\n  struct TransactionControlRequests {\r\n    uint256 id;\r\n    TransactionControlRequestType subType;\r\n    address owner;\r\n    address[] approvals;\r\n    RequestStatus status;\r\n  }\r\n\r\n  /**\r\n   * @notice Structure of a Signatory Control Request\r\n   * id - ID of the Signatory Control Request\r\n   * subType - sub-Type of Transaction control(ADD/REMOVE)\r\n   * wallets - list of addresses needs to be added or removed\r\n   * owner - address of request owner\r\n   * approvals - list of addresses who approved the request\r\n   * status - status of request.\r\n   */\r\n  struct SignatoryControlRequests {\r\n    uint256 id;\r\n    SignatoryControlRequestType subType;\r\n    address[] wallets;\r\n    address owner;\r\n    address[] approvals;\r\n    RequestStatus status;\r\n  }\r\n\r\n  /**\r\n   * @notice Structure of a Threshold Control Request\r\n   * id - ID of the Threshold Control Request\r\n   * reqType - request type for which threshold need to update\r\n   * thresholds - list of threshold values\r\n   * owner - address of request owner\r\n   * approvals - list of addresses who approved the request\r\n   * status - status of request.\r\n   */\r\n  struct ThresholdControlRequests {\r\n    uint256 id;\r\n    RequestType reqType;\r\n    ThresholdControlRequestType subType;\r\n    uint256[] thresholds;\r\n    address owner;\r\n    address[] approvals;\r\n    RequestStatus status;\r\n  }\r\n\r\n  /// mapping to check if address is a signatory or not.\r\n  mapping(address => bool) internal isSignatory;\r\n  /// List of all signatories.\r\n  address[] internal signatoryList;\r\n\r\n  /// mapping for the count of request types.\r\n  mapping(RequestType => uint256) internal requestTypeCount;\r\n\r\n  /// mapping for the threshold count for token supply.\r\n  mapping(TokenSupplyControlRequestType => uint256) internal tokenSupplyControlThresholds;\r\n  /// mapping of all the token supply request.\r\n  mapping(uint256 => TokenSupplyControlRequests) internal tokenSupplyControlRequests;\r\n\r\n  /// mapping for the threshold count for Transaction Control.\r\n  mapping(TransactionControlRequestType => uint256) internal transactionControlThresholds;\r\n  /// mapping of all the Transaction control request.\r\n  mapping(uint256 => TransactionControlRequests) internal transactionControlRequests;\r\n\r\n  /// mapping for the threshold count for Signatory Control.\r\n  mapping(SignatoryControlRequestType => uint256) internal signatoryControlThresholds;\r\n  /// mapping of all the Signatory control request.\r\n  mapping(uint256 => SignatoryControlRequests) internal signatoryControlRequests;\r\n\r\n  /// mapping for the threshold count for Threshold Control.\r\n  mapping(ThresholdControlRequestType => uint256) internal thresholdControlThresholds;\r\n  /// mapping of all the Threshold control request.\r\n  mapping(uint256 => ThresholdControlRequests) internal thresholdControlRequests;\r\n\r\n  /// event when a request is created.\r\n  event RequestCreated(\r\n    RequestType indexed reqType,\r\n    uint256 indexed subType,\r\n    address indexed ownerAddress,\r\n    uint256 reqId\r\n  );\r\n  /// event when a request is cancelled.\r\n  event RequestCancelled(RequestType indexed reqType, uint256 indexed reqId);\r\n  /// event when a request is updated.\r\n  event RequestUpdated(RequestType indexed reqType, uint256 indexed reqId);\r\n  /// event when a request is approved.\r\n  event RequestApproval(\r\n    RequestType indexed reqType,\r\n    uint256 indexed reqId,\r\n    address indexed signatoryAddress,\r\n    bool isApproved\r\n  );\r\n\r\n  /// event when a signatory is updated.\r\n  event SignatoriesUpdated(\r\n    SignatoryControlRequestType indexed reqType,\r\n    uint256 indexed reqId,\r\n    address[] signatoryAddress\r\n  );\r\n  /// event when a Threshold is updated.\r\n  event ThresholdUpdated(\r\n    RequestType indexed reqType,\r\n    uint256 indexed reqId,\r\n    uint256[] newThresholds\r\n  );\r\n\r\n  /**\r\n   * @dev modifier function to allow only to the signatories.\r\n   */\r\n  modifier onlySignatory() {\r\n    require(isSignatory[msg.sender], 'UNAUTHORIZED!');\r\n    _;\r\n  }\r\n\r\n  /**\r\n   * @dev setting the count of all request types.\r\n   */\r\n  function _setRequestTypeCount() internal {\r\n    requestTypeCount[RequestType.TOKEN_SUPPLY_CONTROL] = 2;\r\n    requestTypeCount[RequestType.TRANSACTION_CONTROL] = 2;\r\n    requestTypeCount[RequestType.SIGNATORY_CONTROL] = 2;\r\n    requestTypeCount[RequestType.THRESHOLD_CONTROL] = 1;\r\n    requestTypeCount[RequestType.WHITELIST_CONTROL] = 2;\r\n  }\r\n\r\n  /**\r\n   * @dev to check that a request can be cancelled or not.\r\n   * @param owner owner of the request.\r\n   * @param status status of the request.\r\n   */\r\n  function _isCancellable(address owner, RequestStatus status) internal view {\r\n    require(owner != address(0), 'INVALID_REQUEST!');\r\n    require(owner == msg.sender, 'UNAUTHORIZED!');\r\n    require(status == RequestStatus.IN_PROGRESS || status == RequestStatus.ACCEPTED, 'NOT_ACTIVE!');\r\n  }\r\n\r\n  /**\r\n   * @dev to check that a request can be approved or not.\r\n   * @param owner owner of the request.\r\n   * @param status status of the request.\r\n   */\r\n  function _isApprovable(address owner, RequestStatus status) internal pure {\r\n    require(owner != address(0), 'INVALID_REQUEST!');\r\n    require(status == RequestStatus.IN_PROGRESS || status == RequestStatus.ACCEPTED, 'NOT_ACTIVE!');\r\n  }\r\n\r\n  /**\r\n   * @dev to check that a request can be executed or not.\r\n   * @param owner owner of the request.\r\n   * @param status status of the request.\r\n   */\r\n  function _isExecutable(address owner, RequestStatus status) internal view {\r\n    require(owner != address(0), 'INVALID_REQUEST!');\r\n    require(owner == msg.sender, 'UNAUTHORIZED!');\r\n    require(status == RequestStatus.ACCEPTED, 'NOT_APPROVED!');\r\n  }\r\n}\r\n\r\n// File: StableCoinToken/@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)\r\n\r\npragma solidity ^0.8.1;\r\n\r\n/**\r\n * @dev Collection of functions related to the address type\r\n */\r\nlibrary AddressUpgradeable {\r\n    /**\r\n     * @dev Returns true if `account` is a contract.\r\n     *\r\n     * [IMPORTANT]\r\n     * ====\r\n     * It is unsafe to assume that an address for which this function returns\r\n     * false is an externally-owned account (EOA) and not a contract.\r\n     *\r\n     * Among others, `isContract` will return false for the following\r\n     * types of addresses:\r\n     *\r\n     *  - an externally-owned account\r\n     *  - a contract in construction\r\n     *  - an address where a contract will be created\r\n     *  - an address where a contract lived, but was destroyed\r\n     * ====\r\n     *\r\n     * [IMPORTANT]\r\n     * ====\r\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\r\n     *\r\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\r\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\r\n     * constructor.\r\n     * ====\r\n     */\r\n    function isContract(address account) internal view returns (bool) {\r\n        // This method relies on extcodesize/address.code.length, which returns 0\r\n        // for contracts in construction, since the code is only stored at the end\r\n        // of the constructor execution.\r\n\r\n        return account.code.length > 0;\r\n    }\r\n\r\n    /**\r\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\r\n     * `recipient`, forwarding all available gas and reverting on errors.\r\n     *\r\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\r\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\r\n     * imposed by `transfer`, making them unable to receive funds via\r\n     * `transfer`. {sendValue} removes this limitation.\r\n     *\r\n     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].\r\n     *\r\n     * IMPORTANT: because control is transferred to `recipient`, care must be\r\n     * taken to not create reentrancy vulnerabilities. Consider using\r\n     * {ReentrancyGuard} or the\r\n     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\r\n     */\r\n    function sendValue(address payable recipient, uint256 amount) internal {\r\n        require(address(this).balance >= amount, \"Address: insufficient balance\");\r\n\r\n        (bool success, ) = recipient.call{value: amount}(\"\");\r\n        require(success, \"Address: unable to send value, recipient may have reverted\");\r\n    }\r\n\r\n    /**\r\n     * @dev Performs a Solidity function call using a low level `call`. A\r\n     * plain `call` is an unsafe replacement for a function call: use this\r\n     * function instead.\r\n     *\r\n     * If `target` reverts with a revert reason, it is bubbled up by this\r\n     * function (like regular Solidity function calls).\r\n     *\r\n     * Returns the raw returned data. To convert to the expected return value,\r\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `target` must be a contract.\r\n     * - calling `target` with `data` must not revert.\r\n     *\r\n     * _Available since v3.1._\r\n     */\r\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\r\n        return functionCall(target, data, \"Address: low-level call failed\");\r\n    }\r\n\r\n    /**\r\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\r\n     * `errorMessage` as a fallback revert reason when `target` reverts.\r\n     *\r\n     * _Available since v3.1._\r\n     */\r\n    function functionCall(\r\n        address target,\r\n        bytes memory data,\r\n        string memory errorMessage\r\n    ) internal returns (bytes memory) {\r\n        return functionCallWithValue(target, data, 0, errorMessage);\r\n    }\r\n\r\n    /**\r\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n     * but also transferring `value` wei to `target`.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - the calling contract must have an ETH balance of at least `value`.\r\n     * - the called Solidity function must be `payable`.\r\n     *\r\n     * _Available since v3.1._\r\n     */\r\n    function functionCallWithValue(\r\n        address target,\r\n        bytes memory data,\r\n        uint256 value\r\n    ) internal returns (bytes memory) {\r\n        return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\r\n    }\r\n\r\n    /**\r\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\r\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\r\n     *\r\n     * _Available since v3.1._\r\n     */\r\n    function functionCallWithValue(\r\n        address target,\r\n        bytes memory data,\r\n        uint256 value,\r\n        string memory errorMessage\r\n    ) internal returns (bytes memory) {\r\n        require(address(this).balance >= value, \"Address: insufficient balance for call\");\r\n        require(isContract(target), \"Address: call to non-contract\");\r\n\r\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\r\n        return verifyCallResult(success, returndata, errorMessage);\r\n    }\r\n\r\n    /**\r\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\r\n     * but performing a static call.\r\n     *\r\n     * _Available since v3.3._\r\n     */\r\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\r\n        return functionStaticCall(target, data, \"Address: low-level static call failed\");\r\n    }\r\n\r\n    /**\r\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\r\n     * but performing a static call.\r\n     *\r\n     * _Available since v3.3._\r\n     */\r\n    function functionStaticCall(\r\n        address target,\r\n        bytes memory data,\r\n        string memory errorMessage\r\n    ) internal view returns (bytes memory) {\r\n        require(isContract(target), \"Address: static call to non-contract\");\r\n\r\n        (bool success, bytes memory returndata) = target.staticcall(data);\r\n        return verifyCallResult(success, returndata, errorMessage);\r\n    }\r\n\r\n    /**\r\n     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the\r\n     * revert reason using the provided one.\r\n     *\r\n     * _Available since v4.3._\r\n     */\r\n    function verifyCallResult(\r\n        bool success,\r\n        bytes memory returndata,\r\n        string memory errorMessage\r\n    ) internal pure returns (bytes memory) {\r\n        if (success) {\r\n            return returndata;\r\n        } else {\r\n            // Look for revert reason and bubble it up if present\r\n            if (returndata.length > 0) {\r\n                // The easiest way to bubble the revert reason is using memory via assembly\r\n                /// @solidity memory-safe-assembly\r\n                assembly {\r\n                    let returndata_size := mload(returndata)\r\n                    revert(add(32, returndata), returndata_size)\r\n                }\r\n            } else {\r\n                revert(errorMessage);\r\n            }\r\n        }\r\n    }\r\n}\r\n\r\n// File: StableCoinToken/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)\r\n\r\npragma solidity ^0.8.2;\r\n\r\n\r\n/**\r\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\r\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\r\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\r\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\r\n *\r\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\r\n * reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\r\n * case an upgrade adds a module that needs to be initialized.\r\n *\r\n * For example:\r\n *\r\n * [.hljs-theme-light.nopadding]\r\n * ```\r\n * contract MyToken is ERC20Upgradeable {\r\n *     function initialize() initializer public {\r\n *         __ERC20_init(\"MyToken\", \"MTK\");\r\n *     }\r\n * }\r\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\r\n *     function initializeV2() reinitializer(2) public {\r\n *         __ERC20Permit_init(\"MyToken\");\r\n *     }\r\n * }\r\n * ```\r\n *\r\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\r\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\r\n *\r\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\r\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\r\n *\r\n * [CAUTION]\r\n * ====\r\n * Avoid leaving a contract uninitialized.\r\n *\r\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\r\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\r\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\r\n *\r\n * [.hljs-theme-light.nopadding]\r\n * ```\r\n * /// @custom:oz-upgrades-unsafe-allow constructor\r\n * constructor() {\r\n *     _disableInitializers();\r\n * }\r\n * ```\r\n * ====\r\n */\r\nabstract contract Initializable {\r\n    /**\r\n     * @dev Indicates that the contract has been initialized.\r\n     * @custom:oz-retyped-from bool\r\n     */\r\n    uint8 private _initialized;\r\n\r\n    /**\r\n     * @dev Indicates that the contract is in the process of being initialized.\r\n     */\r\n    bool private _initializing;\r\n\r\n    /**\r\n     * @dev Triggered when the contract has been initialized or reinitialized.\r\n     */\r\n    event Initialized(uint8 version);\r\n\r\n    /**\r\n     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\r\n     * `onlyInitializing` functions can be used to initialize parent contracts. Equivalent to `reinitializer(1)`.\r\n     */\r\n    modifier initializer() {\r\n        bool isTopLevelCall = !_initializing;\r\n        require(\r\n            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),\r\n            \"Initializable: contract is already initialized\"\r\n        );\r\n        _initialized = 1;\r\n        if (isTopLevelCall) {\r\n            _initializing = true;\r\n        }\r\n        _;\r\n        if (isTopLevelCall) {\r\n            _initializing = false;\r\n            emit Initialized(1);\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\r\n     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\r\n     * used to initialize parent contracts.\r\n     *\r\n     * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original\r\n     * initialization step. This is essential to configure modules that are added through upgrades and that require\r\n     * initialization.\r\n     *\r\n     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\r\n     * a contract, executing them in the right order is up to the developer or operator.\r\n     */\r\n    modifier reinitializer(uint8 version) {\r\n        require(!_initializing && _initialized < version, \"Initializable: contract is already initialized\");\r\n        _initialized = version;\r\n        _initializing = true;\r\n        _;\r\n        _initializing = false;\r\n        emit Initialized(version);\r\n    }\r\n\r\n    /**\r\n     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\r\n     * {initializer} and {reinitializer} modifiers, directly or indirectly.\r\n     */\r\n    modifier onlyInitializing() {\r\n        require(_initializing, \"Initializable: contract is not initializing\");\r\n        _;\r\n    }\r\n\r\n    /**\r\n     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\r\n     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\r\n     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\r\n     * through proxies.\r\n     */\r\n    function _disableInitializers() internal virtual {\r\n        require(!_initializing, \"Initializable: contract is initializing\");\r\n        if (_initialized < type(uint8).max) {\r\n            _initialized = type(uint8).max;\r\n            emit Initialized(type(uint8).max);\r\n        }\r\n    }\r\n}\r\n\r\n// File: StableCoinToken/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n/**\r\n * @dev Contract module that helps prevent reentrant calls to a function.\r\n *\r\n * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier\r\n * available, which can be applied to functions to make sure there are no nested\r\n * (reentrant) calls to them.\r\n *\r\n * Note that because there is a single `nonReentrant` guard, functions marked as\r\n * `nonReentrant` may not call one another. This can be worked around by making\r\n * those functions `private`, and then adding `external` `nonReentrant` entry\r\n * points to them.\r\n *\r\n * TIP: If you would like to learn more about reentrancy and alternative ways\r\n * to protect against it, check out our blog post\r\n * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].\r\n */\r\nabstract contract ReentrancyGuardUpgradeable is Initializable {\r\n    // Booleans are more expensive than uint256 or any type that takes up a full\r\n    // word because each write operation emits an extra SLOAD to first read the\r\n    // slot's contents, replace the bits taken up by the boolean, and then write\r\n    // back. This is the compiler's defense against contract upgrades and\r\n    // pointer aliasing, and it cannot be disabled.\r\n\r\n    // The values being non-zero value makes deployment a bit more expensive,\r\n    // but in exchange the refund on every call to nonReentrant will be lower in\r\n    // amount. Since refunds are capped to a percentage of the total\r\n    // transaction's gas, it is best to keep them low in cases like this one, to\r\n    // increase the likelihood of the full refund coming into effect.\r\n    uint256 private constant _NOT_ENTERED = 1;\r\n    uint256 private constant _ENTERED = 2;\r\n\r\n    uint256 private _status;\r\n\r\n    function __ReentrancyGuard_init() internal onlyInitializing {\r\n        __ReentrancyGuard_init_unchained();\r\n    }\r\n\r\n    function __ReentrancyGuard_init_unchained() internal onlyInitializing {\r\n        _status = _NOT_ENTERED;\r\n    }\r\n\r\n    /**\r\n     * @dev Prevents a contract from calling itself, directly or indirectly.\r\n     * Calling a `nonReentrant` function from another `nonReentrant`\r\n     * function is not supported. It is possible to prevent this from happening\r\n     * by making the `nonReentrant` function external, and making it call a\r\n     * `private` function that does the actual work.\r\n     */\r\n    modifier nonReentrant() {\r\n        // On the first call to nonReentrant, _notEntered will be true\r\n        require(_status != _ENTERED, \"ReentrancyGuard: reentrant call\");\r\n\r\n        // Any calls to nonReentrant after this point will fail\r\n        _status = _ENTERED;\r\n\r\n        _;\r\n\r\n        // By storing the original value once again, a refund is triggered (see\r\n        // https://eips.ethereum.org/EIPS/eip-2200)\r\n        _status = _NOT_ENTERED;\r\n    }\r\n\r\n    /**\r\n     * @dev This empty reserved space is put in place to allow future versions to add new\r\n     * variables without shifting down storage in the inheritance chain.\r\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\r\n     */\r\n    uint256[49] private __gap;\r\n}\r\n\r\n// File: StableCoinToken/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n/**\r\n * @dev Provides information about the current execution context, including the\r\n * sender of the transaction and its data. While these are generally available\r\n * via msg.sender and msg.data, they should not be accessed in such a direct\r\n * manner, since when dealing with meta-transactions the account sending and\r\n * paying for execution may not be the actual sender (as far as an application\r\n * is concerned).\r\n *\r\n * This contract is only required for intermediate, library-like contracts.\r\n */\r\nabstract contract ContextUpgradeable is Initializable {\r\n    function __Context_init() internal onlyInitializing {\r\n    }\r\n\r\n    function __Context_init_unchained() internal onlyInitializing {\r\n    }\r\n    function _msgSender() internal view virtual returns (address) {\r\n        return msg.sender;\r\n    }\r\n\r\n    function _msgData() internal view virtual returns (bytes calldata) {\r\n        return msg.data;\r\n    }\r\n\r\n    /**\r\n     * @dev This empty reserved space is put in place to allow future versions to add new\r\n     * variables without shifting down storage in the inheritance chain.\r\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\r\n     */\r\n    uint256[50] private __gap;\r\n}\r\n\r\n// File: StableCoinToken/@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n\r\n/**\r\n * @dev Contract module which provides a basic access control mechanism, where\r\n * there is an account (an owner) that can be granted exclusive access to\r\n * specific functions.\r\n *\r\n * By default, the owner account will be the one that deploys the contract. This\r\n * can later be changed with {transferOwnership}.\r\n *\r\n * This module is used through inheritance. It will make available the modifier\r\n * `onlyOwner`, which can be applied to your functions to restrict their use to\r\n * the owner.\r\n */\r\nabstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {\r\n    address private _owner;\r\n\r\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\r\n\r\n    /**\r\n     * @dev Initializes the contract setting the deployer as the initial owner.\r\n     */\r\n    function __Ownable_init() internal onlyInitializing {\r\n        __Ownable_init_unchained();\r\n    }\r\n\r\n    function __Ownable_init_unchained() internal onlyInitializing {\r\n        _transferOwnership(_msgSender());\r\n    }\r\n\r\n    /**\r\n     * @dev Throws if called by any account other than the owner.\r\n     */\r\n    modifier onlyOwner() {\r\n        _checkOwner();\r\n        _;\r\n    }\r\n\r\n    /**\r\n     * @dev Returns the address of the current owner.\r\n     */\r\n    function owner() public view virtual returns (address) {\r\n        return _owner;\r\n    }\r\n\r\n    /**\r\n     * @dev Throws if the sender is not the owner.\r\n     */\r\n    function _checkOwner() internal view virtual {\r\n        require(owner() == _msgSender(), \"Ownable: caller is not the owner\");\r\n    }\r\n\r\n    /**\r\n     * @dev Leaves the contract without owner. It will not be possible to call\r\n     * `onlyOwner` functions anymore. Can only be called by the current owner.\r\n     *\r\n     * NOTE: Renouncing ownership will leave the contract without an owner,\r\n     * thereby removing any functionality that is only available to the owner.\r\n     */\r\n    function renounceOwnership() public virtual onlyOwner {\r\n        _transferOwnership(address(0));\r\n    }\r\n\r\n    /**\r\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\r\n     * Can only be called by the current owner.\r\n     */\r\n    function transferOwnership(address newOwner) public virtual onlyOwner {\r\n        require(newOwner != address(0), \"Ownable: new owner is the zero address\");\r\n        _transferOwnership(newOwner);\r\n    }\r\n\r\n    /**\r\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\r\n     * Internal function without access restriction.\r\n     */\r\n    function _transferOwnership(address newOwner) internal virtual {\r\n        address oldOwner = _owner;\r\n        _owner = newOwner;\r\n        emit OwnershipTransferred(oldOwner, newOwner);\r\n    }\r\n\r\n    /**\r\n     * @dev This empty reserved space is put in place to allow future versions to add new\r\n     * variables without shifting down storage in the inheritance chain.\r\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\r\n     */\r\n    uint256[49] private __gap;\r\n}\r\n\r\n// File: StableCoinToken/@openzeppelin/contracts-upgradeable/security/PausableUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n\r\n/**\r\n * @dev Contract module which allows children to implement an emergency stop\r\n * mechanism that can be triggered by an authorized account.\r\n *\r\n * This module is used through inheritance. It will make available the\r\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\r\n * the functions of your contract. Note that they will not be pausable by\r\n * simply including this module, only once the modifiers are put in place.\r\n */\r\nabstract contract PausableUpgradeable is Initializable, ContextUpgradeable {\r\n    /**\r\n     * @dev Emitted when the pause is triggered by `account`.\r\n     */\r\n    event Paused(address account);\r\n\r\n    /**\r\n     * @dev Emitted when the pause is lifted by `account`.\r\n     */\r\n    event Unpaused(address account);\r\n\r\n    bool private _paused;\r\n\r\n    /**\r\n     * @dev Initializes the contract in unpaused state.\r\n     */\r\n    function __Pausable_init() internal onlyInitializing {\r\n        __Pausable_init_unchained();\r\n    }\r\n\r\n    function __Pausable_init_unchained() internal onlyInitializing {\r\n        _paused = false;\r\n    }\r\n\r\n    /**\r\n     * @dev Modifier to make a function callable only when the contract is not paused.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - The contract must not be paused.\r\n     */\r\n    modifier whenNotPaused() {\r\n        _requireNotPaused();\r\n        _;\r\n    }\r\n\r\n    /**\r\n     * @dev Modifier to make a function callable only when the contract is paused.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - The contract must be paused.\r\n     */\r\n    modifier whenPaused() {\r\n        _requirePaused();\r\n        _;\r\n    }\r\n\r\n    /**\r\n     * @dev Returns true if the contract is paused, and false otherwise.\r\n     */\r\n    function paused() public view virtual returns (bool) {\r\n        return _paused;\r\n    }\r\n\r\n    /**\r\n     * @dev Throws if the contract is paused.\r\n     */\r\n    function _requireNotPaused() internal view virtual {\r\n        require(!paused(), \"Pausable: paused\");\r\n    }\r\n\r\n    /**\r\n     * @dev Throws if the contract is not paused.\r\n     */\r\n    function _requirePaused() internal view virtual {\r\n        require(paused(), \"Pausable: not paused\");\r\n    }\r\n\r\n    /**\r\n     * @dev Triggers stopped state.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - The contract must not be paused.\r\n     */\r\n    function _pause() internal virtual whenNotPaused {\r\n        _paused = true;\r\n        emit Paused(_msgSender());\r\n    }\r\n\r\n    /**\r\n     * @dev Returns to normal state.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - The contract must be paused.\r\n     */\r\n    function _unpause() internal virtual whenPaused {\r\n        _paused = false;\r\n        emit Unpaused(_msgSender());\r\n    }\r\n\r\n    /**\r\n     * @dev This empty reserved space is put in place to allow future versions to add new\r\n     * variables without shifting down storage in the inheritance chain.\r\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\r\n     */\r\n    uint256[49] private __gap;\r\n}\r\n\r\n// File: StableCoinToken/@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n/**\r\n * @dev Interface of the ERC20 standard as defined in the EIP.\r\n */\r\ninterface IERC20Upgradeable {\r\n    /**\r\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\r\n     * another (`to`).\r\n     *\r\n     * Note that `value` may be zero.\r\n     */\r\n    event Transfer(address indexed from, address indexed to, uint256 value);\r\n\r\n    /**\r\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\r\n     * a call to {approve}. `value` is the new allowance.\r\n     */\r\n    event Approval(address indexed owner, address indexed spender, uint256 value);\r\n\r\n    /**\r\n     * @dev Returns the amount of tokens in existence.\r\n     */\r\n    function totalSupply() external view returns (uint256);\r\n\r\n    /**\r\n     * @dev Returns the amount of tokens owned by `account`.\r\n     */\r\n    function balanceOf(address account) external view returns (uint256);\r\n\r\n    /**\r\n     * @dev Moves `amount` tokens from the caller's account to `to`.\r\n     *\r\n     * Returns a boolean value indicating whether the operation succeeded.\r\n     *\r\n     * Emits a {Transfer} event.\r\n     */\r\n    function transfer(address to, uint256 amount) external returns (bool);\r\n\r\n    /**\r\n     * @dev Returns the remaining number of tokens that `spender` will be\r\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\r\n     * zero by default.\r\n     *\r\n     * This value changes when {approve} or {transferFrom} are called.\r\n     */\r\n    function allowance(address owner, address spender) external view returns (uint256);\r\n\r\n    /**\r\n     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.\r\n     *\r\n     * Returns a boolean value indicating whether the operation succeeded.\r\n     *\r\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\r\n     * that someone may use both the old and the new allowance by unfortunate\r\n     * transaction ordering. One possible solution to mitigate this race\r\n     * condition is to first reduce the spender's allowance to 0 and set the\r\n     * desired value afterwards:\r\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\r\n     *\r\n     * Emits an {Approval} event.\r\n     */\r\n    function approve(address spender, uint256 amount) external returns (bool);\r\n\r\n    /**\r\n     * @dev Moves `amount` tokens from `from` to `to` using the\r\n     * allowance mechanism. `amount` is then deducted from the caller's\r\n     * allowance.\r\n     *\r\n     * Returns a boolean value indicating whether the operation succeeded.\r\n     *\r\n     * Emits a {Transfer} event.\r\n     */\r\n    function transferFrom(\r\n        address from,\r\n        address to,\r\n        uint256 amount\r\n    ) external returns (bool);\r\n}\r\n\r\n// File: StableCoinToken/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n/**\r\n * @dev Interface for the optional metadata functions from the ERC20 standard.\r\n *\r\n * _Available since v4.1._\r\n */\r\ninterface IERC20MetadataUpgradeable is IERC20Upgradeable {\r\n    /**\r\n     * @dev Returns the name of the token.\r\n     */\r\n    function name() external view returns (string memory);\r\n\r\n    /**\r\n     * @dev Returns the symbol of the token.\r\n     */\r\n    function symbol() external view returns (string memory);\r\n\r\n    /**\r\n     * @dev Returns the decimals places of the token.\r\n     */\r\n    function decimals() external view returns (uint8);\r\n}\r\n\r\n// File: StableCoinToken/@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/ERC20.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n\r\n\r\n\r\n/**\r\n * @dev Implementation of the {IERC20} interface.\r\n *\r\n * This implementation is agnostic to the way tokens are created. This means\r\n * that a supply mechanism has to be added in a derived contract using {_mint}.\r\n * For a generic mechanism see {ERC20PresetMinterPauser}.\r\n *\r\n * TIP: For a detailed writeup see our guide\r\n * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How\r\n * to implement supply mechanisms].\r\n *\r\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\r\n * instead returning `false` on failure. This behavior is nonetheless\r\n * conventional and does not conflict with the expectations of ERC20\r\n * applications.\r\n *\r\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\r\n * This allows applications to reconstruct the allowance for all accounts just\r\n * by listening to said events. Other implementations of the EIP may not emit\r\n * these events, as it isn't required by the specification.\r\n *\r\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\r\n * functions have been added to mitigate the well-known issues around setting\r\n * allowances. See {IERC20-approve}.\r\n */\r\ncontract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable, IERC20MetadataUpgradeable {\r\n    mapping(address => uint256) private _balances;\r\n\r\n    mapping(address => mapping(address => uint256)) private _allowances;\r\n\r\n    uint256 private _totalSupply;\r\n\r\n    string private _name;\r\n    string private _symbol;\r\n\r\n    /**\r\n     * @dev Sets the values for {name} and {symbol}.\r\n     *\r\n     * The default value of {decimals} is 18. To select a different value for\r\n     * {decimals} you should overload it.\r\n     *\r\n     * All two of these values are immutable: they can only be set once during\r\n     * construction.\r\n     */\r\n    function __ERC20_init(string memory name_, string memory symbol_) internal onlyInitializing {\r\n        __ERC20_init_unchained(name_, symbol_);\r\n    }\r\n\r\n    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {\r\n        _name = name_;\r\n        _symbol = symbol_;\r\n    }\r\n\r\n    /**\r\n     * @dev Returns the name of the token.\r\n     */\r\n    function name() public view virtual override returns (string memory) {\r\n        return _name;\r\n    }\r\n\r\n    /**\r\n     * @dev Returns the symbol of the token, usually a shorter version of the\r\n     * name.\r\n     */\r\n    function symbol() public view virtual override returns (string memory) {\r\n        return _symbol;\r\n    }\r\n\r\n    /**\r\n     * @dev Returns the number of decimals used to get its user representation.\r\n     * For example, if `decimals` equals `2`, a balance of `505` tokens should\r\n     * be displayed to a user as `5.05` (`505 / 10 ** 2`).\r\n     *\r\n     * Tokens usually opt for a value of 18, imitating the relationship between\r\n     * Ether and Wei. This is the value {ERC20} uses, unless this function is\r\n     * overridden;\r\n     *\r\n     * NOTE: This information is only used for _display_ purposes: it in\r\n     * no way affects any of the arithmetic of the contract, including\r\n     * {IERC20-balanceOf} and {IERC20-transfer}.\r\n     */\r\n    function decimals() public view virtual override returns (uint8) {\r\n        return 18;\r\n    }\r\n\r\n    /**\r\n     * @dev See {IERC20-totalSupply}.\r\n     */\r\n    function totalSupply() public view virtual override returns (uint256) {\r\n        return _totalSupply;\r\n    }\r\n\r\n    /**\r\n     * @dev See {IERC20-balanceOf}.\r\n     */\r\n    function balanceOf(address account) public view virtual override returns (uint256) {\r\n        return _balances[account];\r\n    }\r\n\r\n    /**\r\n     * @dev See {IERC20-transfer}.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `to` cannot be the zero address.\r\n     * - the caller must have a balance of at least `amount`.\r\n     */\r\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\r\n        address owner = _msgSender();\r\n        _transfer(owner, to, amount);\r\n        return true;\r\n    }\r\n\r\n    /**\r\n     * @dev See {IERC20-allowance}.\r\n     */\r\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\r\n        return _allowances[owner][spender];\r\n    }\r\n\r\n    /**\r\n     * @dev See {IERC20-approve}.\r\n     *\r\n     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on\r\n     * `transferFrom`. This is semantically equivalent to an infinite approval.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `spender` cannot be the zero address.\r\n     */\r\n    function approve(address spender, uint256 amount) public virtual override returns (bool) {\r\n        address owner = _msgSender();\r\n        _approve(owner, spender, amount);\r\n        return true;\r\n    }\r\n\r\n    /**\r\n     * @dev See {IERC20-transferFrom}.\r\n     *\r\n     * Emits an {Approval} event indicating the updated allowance. This is not\r\n     * required by the EIP. See the note at the beginning of {ERC20}.\r\n     *\r\n     * NOTE: Does not update the allowance if the current allowance\r\n     * is the maximum `uint256`.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `from` and `to` cannot be the zero address.\r\n     * - `from` must have a balance of at least `amount`.\r\n     * - the caller must have allowance for ``from``'s tokens of at least\r\n     * `amount`.\r\n     */\r\n    function transferFrom(\r\n        address from,\r\n        address to,\r\n        uint256 amount\r\n    ) public virtual override returns (bool) {\r\n        address spender = _msgSender();\r\n        _spendAllowance(from, spender, amount);\r\n        _transfer(from, to, amount);\r\n        return true;\r\n    }\r\n\r\n    /**\r\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\r\n     *\r\n     * This is an alternative to {approve} that can be used as a mitigation for\r\n     * problems described in {IERC20-approve}.\r\n     *\r\n     * Emits an {Approval} event indicating the updated allowance.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `spender` cannot be the zero address.\r\n     */\r\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\r\n        address owner = _msgSender();\r\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\r\n        return true;\r\n    }\r\n\r\n    /**\r\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\r\n     *\r\n     * This is an alternative to {approve} that can be used as a mitigation for\r\n     * problems described in {IERC20-approve}.\r\n     *\r\n     * Emits an {Approval} event indicating the updated allowance.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `spender` cannot be the zero address.\r\n     * - `spender` must have allowance for the caller of at least\r\n     * `subtractedValue`.\r\n     */\r\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\r\n        address owner = _msgSender();\r\n        uint256 currentAllowance = allowance(owner, spender);\r\n        require(currentAllowance >= subtractedValue, \"ERC20: decreased allowance below zero\");\r\n        unchecked {\r\n            _approve(owner, spender, currentAllowance - subtractedValue);\r\n        }\r\n\r\n        return true;\r\n    }\r\n\r\n    /**\r\n     * @dev Moves `amount` of tokens from `from` to `to`.\r\n     *\r\n     * This internal function is equivalent to {transfer}, and can be used to\r\n     * e.g. implement automatic token fees, slashing mechanisms, etc.\r\n     *\r\n     * Emits a {Transfer} event.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `from` cannot be the zero address.\r\n     * - `to` cannot be the zero address.\r\n     * - `from` must have a balance of at least `amount`.\r\n     */\r\n    function _transfer(\r\n        address from,\r\n        address to,\r\n        uint256 amount\r\n    ) internal virtual {\r\n        require(from != address(0), \"ERC20: transfer from the zero address\");\r\n        require(to != address(0), \"ERC20: transfer to the zero address\");\r\n\r\n        _beforeTokenTransfer(from, to, amount);\r\n\r\n        uint256 fromBalance = _balances[from];\r\n        require(fromBalance >= amount, \"ERC20: transfer amount exceeds balance\");\r\n        unchecked {\r\n            _balances[from] = fromBalance - amount;\r\n        }\r\n        _balances[to] += amount;\r\n\r\n        emit Transfer(from, to, amount);\r\n\r\n        _afterTokenTransfer(from, to, amount);\r\n    }\r\n\r\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\r\n     * the total supply.\r\n     *\r\n     * Emits a {Transfer} event with `from` set to the zero address.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `account` cannot be the zero address.\r\n     */\r\n    function _mint(address account, uint256 amount) internal virtual {\r\n        require(account != address(0), \"ERC20: mint to the zero address\");\r\n\r\n        _beforeTokenTransfer(address(0), account, amount);\r\n\r\n        _totalSupply += amount;\r\n        _balances[account] += amount;\r\n        emit Transfer(address(0), account, amount);\r\n\r\n        _afterTokenTransfer(address(0), account, amount);\r\n    }\r\n\r\n    /**\r\n     * @dev Destroys `amount` tokens from `account`, reducing the\r\n     * total supply.\r\n     *\r\n     * Emits a {Transfer} event with `to` set to the zero address.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `account` cannot be the zero address.\r\n     * - `account` must have at least `amount` tokens.\r\n     */\r\n    function _burn(address account, uint256 amount) internal virtual {\r\n        require(account != address(0), \"ERC20: burn from the zero address\");\r\n\r\n        _beforeTokenTransfer(account, address(0), amount);\r\n\r\n        uint256 accountBalance = _balances[account];\r\n        require(accountBalance >= amount, \"ERC20: burn amount exceeds balance\");\r\n        unchecked {\r\n            _balances[account] = accountBalance - amount;\r\n        }\r\n        _totalSupply -= amount;\r\n\r\n        emit Transfer(account, address(0), amount);\r\n\r\n        _afterTokenTransfer(account, address(0), amount);\r\n    }\r\n\r\n    /**\r\n     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.\r\n     *\r\n     * This internal function is equivalent to `approve`, and can be used to\r\n     * e.g. set automatic allowances for certain subsystems, etc.\r\n     *\r\n     * Emits an {Approval} event.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - `owner` cannot be the zero address.\r\n     * - `spender` cannot be the zero address.\r\n     */\r\n    function _approve(\r\n        address owner,\r\n        address spender,\r\n        uint256 amount\r\n    ) internal virtual {\r\n        require(owner != address(0), \"ERC20: approve from the zero address\");\r\n        require(spender != address(0), \"ERC20: approve to the zero address\");\r\n\r\n        _allowances[owner][spender] = amount;\r\n        emit Approval(owner, spender, amount);\r\n    }\r\n\r\n    /**\r\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\r\n     *\r\n     * Does not update the allowance amount in case of infinite allowance.\r\n     * Revert if not enough allowance is available.\r\n     *\r\n     * Might emit an {Approval} event.\r\n     */\r\n    function _spendAllowance(\r\n        address owner,\r\n        address spender,\r\n        uint256 amount\r\n    ) internal virtual {\r\n        uint256 currentAllowance = allowance(owner, spender);\r\n        if (currentAllowance != type(uint256).max) {\r\n            require(currentAllowance >= amount, \"ERC20: insufficient allowance\");\r\n            unchecked {\r\n                _approve(owner, spender, currentAllowance - amount);\r\n            }\r\n        }\r\n    }\r\n\r\n    /**\r\n     * @dev Hook that is called before any transfer of tokens. This includes\r\n     * minting and burning.\r\n     *\r\n     * Calling conditions:\r\n     *\r\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\r\n     * will be transferred to `to`.\r\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\r\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\r\n     * - `from` and `to` are never both zero.\r\n     *\r\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\r\n     */\r\n    function _beforeTokenTransfer(\r\n        address from,\r\n        address to,\r\n        uint256 amount\r\n    ) internal virtual {}\r\n\r\n    /**\r\n     * @dev Hook that is called after any transfer of tokens. This includes\r\n     * minting and burning.\r\n     *\r\n     * Calling conditions:\r\n     *\r\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\r\n     * has been transferred to `to`.\r\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\r\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\r\n     * - `from` and `to` are never both zero.\r\n     *\r\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\r\n     */\r\n    function _afterTokenTransfer(\r\n        address from,\r\n        address to,\r\n        uint256 amount\r\n    ) internal virtual {}\r\n\r\n    /**\r\n     * @dev This empty reserved space is put in place to allow future versions to add new\r\n     * variables without shifting down storage in the inheritance chain.\r\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\r\n     */\r\n    uint256[45] private __gap;\r\n}\r\n\r\n// File: StableCoinToken/@openzeppelin/contracts-upgradeable/token/ERC20/extensions/ERC20PausableUpgradeable.sol\r\n\r\n\r\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/ERC20Pausable.sol)\r\n\r\npragma solidity ^0.8.0;\r\n\r\n\r\n\r\n\r\n/**\r\n * @dev ERC20 token with pausable token transfers, minting and burning.\r\n *\r\n * Useful for scenarios such as preventing trades until the end of an evaluation\r\n * period, or having an emergency switch for freezing all token transfers in the\r\n * event of a large bug.\r\n */\r\nabstract contract ERC20PausableUpgradeable is Initializable, ERC20Upgradeable, PausableUpgradeable {\r\n    function __ERC20Pausable_init() internal onlyInitializing {\r\n        __Pausable_init_unchained();\r\n    }\r\n\r\n    function __ERC20Pausable_init_unchained() internal onlyInitializing {\r\n    }\r\n    /**\r\n     * @dev See {ERC20-_beforeTokenTransfer}.\r\n     *\r\n     * Requirements:\r\n     *\r\n     * - the contract must not be paused.\r\n     */\r\n    function _beforeTokenTransfer(\r\n        address from,\r\n        address to,\r\n        uint256 amount\r\n    ) internal virtual override {\r\n        super._beforeTokenTransfer(from, to, amount);\r\n\r\n        require(!paused(), \"ERC20Pausable: token transfer while paused\");\r\n    }\r\n\r\n    /**\r\n     * @dev This empty reserved space is put in place to allow future versions to add new\r\n     * variables without shifting down storage in the inheritance chain.\r\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\r\n     */\r\n    uint256[50] private __gap;\r\n}\r\n\r\n// File: StableCoinToken/contracts/StableCoin.sol\r\n\r\n/**\r\n * SPDX-License-Identifier: MIT\r\n * @author Accubits\r\n * @title Stable Coin\r\n */\r\n\r\npragma solidity 0.8.21;\r\n\r\n\r\n\r\n\r\n\r\n\r\n\r\n/**\r\n * @title Stable Coin.\r\n */\r\n\r\ncontract StableCoin is\r\n  Initializable,\r\n  ERC20Upgradeable,\r\n  ERC20PausableUpgradeable,\r\n  OwnableUpgradeable,\r\n  Common,\r\n  ReentrancyGuardUpgradeable\r\n{\r\n  /// to store decimal.\r\n  uint8 internal _decimals;\r\n  /// Address of Governance Token.\r\n  address internal _governanceTokenAddress;\r\n\r\n  /// @custom:oz-upgrades-unsafe-allow constructor\r\n  constructor() {\r\n    _disableInitializers();\r\n  }\r\n\r\n  /**\r\n   * @dev   To initialize Contract.\r\n   * @param name_             ERC20 Token Name.\r\n   * @param symbol_           ERC20 Token Symbol.\r\n   * @param decimals_         ERC20 decimal allows.\r\n   * @param governanceToken_  Address of Governance Token\r\n   * @param owner_            Address of Contract owner\r\n   */\r\n  function initialize(\r\n    string memory name_,\r\n    string memory symbol_,\r\n    uint8 decimals_,\r\n    address governanceToken_,\r\n    address owner_\r\n  ) public initializer {\r\n    __ERC20_init(name_, symbol_);\r\n    __ERC20Pausable_init();\r\n    __Ownable_init();\r\n\r\n    isSignatory[owner_] = true;\r\n    signatoryList.push(owner_);\r\n\r\n    _decimals = decimals_;\r\n    _governanceTokenAddress = governanceToken_;\r\n    _setRequestTypeCount();\r\n    _setDefaultThresholds();\r\n\r\n    _transferOwnership(owner_);\r\n  }\r\n\r\n  /**\r\n   * @dev Function to set dafault Thresholds for all operations.\r\n   */\r\n  function _setDefaultThresholds() private {\r\n    tokenSupplyControlThresholds[TokenSupplyControlRequestType.BURN] = 1;\r\n    tokenSupplyControlThresholds[TokenSupplyControlRequestType.MINT] = 1;\r\n    transactionControlThresholds[TransactionControlRequestType.PAUSE] = 1;\r\n    transactionControlThresholds[TransactionControlRequestType.UNPAUSE] = 1;\r\n    signatoryControlThresholds[SignatoryControlRequestType.ADD] = 1;\r\n    signatoryControlThresholds[SignatoryControlRequestType.REMOVE] = 1;\r\n    thresholdControlThresholds[ThresholdControlRequestType.UPDATE] = 1;\r\n  }\r\n\r\n  /**\r\n   * @dev    override function to modify the decimal support for the Token.\r\n   * @return uint8 number of decimals allowed\r\n   */\r\n  function decimals() public view virtual override returns (uint8) {\r\n    return _decimals;\r\n  }\r\n\r\n  /**\r\n   * @dev    Fetching list of all the Signatories.\r\n   * @return address[] Array containing all signatories.\r\n   */\r\n  function getSignatoryList() external view returns (address[] memory) {\r\n    return signatoryList;\r\n  }\r\n\r\n  /**\r\n   * @dev    To get the Threshold value for specified Request Type.\r\n   * @param  reqType_ Type of operation.\r\n   * @return uint256[] array containing Threshold count for the Request Type.\r\n   */\r\n  function getThresholds(RequestType reqType_) external view returns (uint256[] memory) {\r\n    uint256[] memory thresholds = new uint256[](requestTypeCount[reqType_]);\r\n    for (uint256 i; i < requestTypeCount[reqType_]; i++) {\r\n      if (reqType_ == RequestType.TOKEN_SUPPLY_CONTROL) {\r\n        thresholds[i] = tokenSupplyControlThresholds[TokenSupplyControlRequestType(i)];\r\n      } else if (reqType_ == RequestType.TRANSACTION_CONTROL) {\r\n        thresholds[i] = transactionControlThresholds[TransactionControlRequestType(i)];\r\n      } else if (reqType_ == RequestType.SIGNATORY_CONTROL) {\r\n        thresholds[i] = signatoryControlThresholds[SignatoryControlRequestType(i)];\r\n      } else {\r\n        thresholds[i] = thresholdControlThresholds[ThresholdControlRequestType(i)];\r\n      }\r\n    }\r\n    return thresholds;\r\n  }\r\n\r\n  /**\r\n   * @dev    To see the Requested Object for Token Supply.\r\n   * @param  id_ ID of the request.\r\n   * @return Structure of Token Supply Request of given ID.\r\n   */\r\n  function getTokenSupplyControlRequest(\r\n    uint256 id_\r\n  ) external view returns (TokenSupplyControlRequests memory) {\r\n    require(tokenSupplyControlRequests[id_].owner != address(0), 'INVALID_REQUEST!');\r\n    return tokenSupplyControlRequests[id_];\r\n  }\r\n\r\n  /**\r\n   * @dev    To see the Requested Object for Transaction Control.\r\n   * @param  id_ ID of the request.\r\n   * @return Structure of Transaction Control Request of given ID.\r\n   */\r\n  function getTransactionControlRequest(\r\n    uint256 id_\r\n  ) external view returns (TransactionControlRequests memory) {\r\n    require(transactionControlRequests[id_].owner != address(0), 'INVALID_REQUEST!');\r\n    return transactionControlRequests[id_];\r\n  }\r\n\r\n  /**\r\n   * @dev    To see the Requested Object for Signatory Control.\r\n   * @param  id_ ID of the request.\r\n   * @return Structure of Signatory Control Request of given ID.\r\n   */\r\n  function getSignatoryControlRequest(\r\n    uint256 id_\r\n  ) external view returns (SignatoryControlRequests memory) {\r\n    require(signatoryControlRequests[id_].owner != address(0), 'INVALID_REQUEST!');\r\n    return signatoryControlRequests[id_];\r\n  }\r\n\r\n  /**\r\n   * @dev    To see the Requested Object for Threshold Control.\r\n   * @param  id_ ID of the request.\r\n   * @return Structure of Threshold Control Request of given ID.\r\n   */\r\n  function getThresholdControlRequest(\r\n    uint256 id_\r\n  ) external view returns (ThresholdControlRequests memory) {\r\n    require(thresholdControlRequests[id_].owner != address(0), 'INVALID_REQUEST!');\r\n    return thresholdControlRequests[id_];\r\n  }\r\n\r\n  /**\r\n   * @dev   To create a Token Supply Control Request.\r\n   * @param reqSubType_ Sub Type of the request (Mint/Burn).\r\n   * @param id_         ID for the newly created Request.\r\n   * @param amount_     Ammount of Tokens for minting or burning.\r\n   * @param to_         Address of receiver.\r\n   */\r\n  function createTokenSupplyControlRequest(\r\n    TokenSupplyControlRequestType reqSubType_,\r\n    uint256 id_,\r\n    uint256 amount_,\r\n    address to_\r\n  ) external onlySignatory {\r\n    require(tokenSupplyControlRequests[id_].owner == address(0), 'INVALID_REQUEST!');\r\n\r\n    tokenSupplyControlRequests[id_].id = id_;\r\n    tokenSupplyControlRequests[id_].subType = reqSubType_;\r\n    tokenSupplyControlRequests[id_].amount = amount_;\r\n    tokenSupplyControlRequests[id_].wallet = to_;\r\n    tokenSupplyControlRequests[id_].owner = msg.sender;\r\n    tokenSupplyControlRequests[id_].status = RequestStatus.IN_PROGRESS;\r\n\r\n    emit RequestCreated(RequestType.TOKEN_SUPPLY_CONTROL, uint256(reqSubType_), msg.sender, id_);\r\n  }\r\n\r\n  /**\r\n   * @dev   To update a Token Supply Control Request.\r\n   * @param id_         ID of the request needs to be updated.\r\n   * @param amount_     new Ammount of Tokens for minting or burning.\r\n   * @param to_         new Address of receiver.\r\n   */\r\n  function updateTokenSupplyControlRequest(\r\n    uint256 id_,\r\n    uint256 amount_,\r\n    address to_\r\n  ) external onlySignatory {\r\n    require(tokenSupplyControlRequests[id_].owner != address(0), 'INVALID_REQUEST!');\r\n    require(tokenSupplyControlRequests[id_].owner == msg.sender, 'UNAUTHORIZED!');\r\n    require(tokenSupplyControlRequests[id_].status == RequestStatus.IN_PROGRESS, 'NOT_ACTIVE!');\r\n\r\n    tokenSupplyControlRequests[id_].amount = amount_;\r\n    tokenSupplyControlRequests[id_].wallet = to_;\r\n    tokenSupplyControlRequests[id_].approvals = new address[](0);\r\n\r\n    emit RequestUpdated(RequestType.TOKEN_SUPPLY_CONTROL, id_);\r\n  }\r\n\r\n  /**\r\n   * @dev   To create a Transaction Control Request.\r\n   * @param reqSubType_ Sub Type of the request (Pause/Unpause).\r\n   * @param id_         ID for the newly created Request.\r\n   */\r\n  function createTransactionControlRequest(\r\n    TransactionControlRequestType reqSubType_,\r\n    uint256 id_\r\n  ) external onlySignatory {\r\n    require(transactionControlRequests[id_].owner == address(0), 'INVALID_REQUEST!');\r\n\r\n    transactionControlRequests[id_].id = id_;\r\n    transactionControlRequests[id_].subType = reqSubType_;\r\n    transactionControlRequests[id_].owner = msg.sender;\r\n    transactionControlRequests[id_].status = RequestStatus.IN_PROGRESS;\r\n\r\n    emit RequestCreated(RequestType.TRANSACTION_CONTROL, uint256(reqSubType_), msg.sender, id_);\r\n  }\r\n\r\n  /**\r\n   * @dev   Request To create a Signatories.\r\n   * @param reqSubType_ Sub Type of the request (ADD/REMOVE).\r\n   * @param id_         ID for the newly created Request.\r\n   * @param users_      list of signatories to add or remove.\r\n   */\r\n  function createSignatoryControlRequest(\r\n    SignatoryControlRequestType reqSubType_,\r\n    uint256 id_,\r\n    address[] memory users_\r\n  ) external onlySignatory {\r\n    require(signatoryControlRequests[id_].owner == address(0), 'INVALID_REQUEST!');\r\n\r\n    signatoryControlRequests[id_].id = id_;\r\n    signatoryControlRequests[id_].subType = reqSubType_;\r\n    signatoryControlRequests[id_].wallets = users_;\r\n    signatoryControlRequests[id_].owner = msg.sender;\r\n    signatoryControlRequests[id_].status = RequestStatus.IN_PROGRESS;\r\n\r\n    emit RequestCreated(RequestType.SIGNATORY_CONTROL, uint256(reqSubType_), msg.sender, id_);\r\n  }\r\n\r\n  /**\r\n   * @dev   To update a Signatory Control Request.\r\n   * @param id_    ID of the request needs to be updated.\r\n   * @param users_ new list of signatories.\r\n   */\r\n  function updateSignatoryControlRequest(\r\n    uint256 id_,\r\n    address[] memory users_\r\n  ) external onlySignatory {\r\n    require(signatoryControlRequests[id_].owner != address(0), 'INVALID_REQUEST!');\r\n    require(signatoryControlRequests[id_].owner == msg.sender, 'UNAUTHORIZED!');\r\n    require(signatoryControlRequests[id_].status == RequestStatus.IN_PROGRESS, 'NOT_ACTIVE!');\r\n\r\n    signatoryControlRequests[id_].wallets = users_;\r\n    signatoryControlRequests[id_].approvals = new address[](0);\r\n    emit RequestUpdated(RequestType.SIGNATORY_CONTROL, id_);\r\n  }\r\n\r\n  /**\r\n   * @dev   Request To create Threshold Control.\r\n   * @param reqType_    Request Type for which thresholds need to change.\r\n   * @param id_         ID for the newly created Request.\r\n   * @param thresholds_ list of thresholds for the request.\r\n   */\r\n  function createThresholdControlRequest(\r\n    RequestType reqType_,\r\n    uint256 id_,\r\n    uint256[] memory thresholds_\r\n  ) external onlySignatory {\r\n    require(thresholdControlRequests[id_].owner == address(0), 'INVALID_REQUEST!');\r\n    require(thresholds_.length == requestTypeCount[reqType_], 'INVALID_THRESHOLD_COUNTS!');\r\n    for(uint256 i;i < thresholds_.length;i++){\r\n      require(thresholds_[i] > 0, 'INVALID_THRESHOLD!');\r\n    }\r\n\r\n    thresholdControlRequests[id_].id = id_;\r\n    thresholdControlRequests[id_].reqType = reqType_;\r\n    thresholdControlRequests[id_].subType = ThresholdControlRequestType.UPDATE;\r\n    thresholdControlRequests[id_].thresholds = thresholds_;\r\n    thresholdControlRequests[id_].owner = msg.sender;\r\n    thresholdControlRequests[id_].status = RequestStatus.IN_PROGRESS;\r\n\r\n    emit RequestCreated(RequestType.THRESHOLD_CONTROL, uint256(ThresholdControlRequestType.UPDATE), msg.sender, id_);\r\n  }\r\n\r\n  /**\r\n   * @dev   To update a Threshold Control Request.\r\n   * @param id_         ID of the request needs to be updated.\r\n   * @param thresholds_ new list of Thresholds for the request Type.\r\n   */\r\n  function updateThresholdControlRequest(\r\n    uint256 id_,\r\n    uint256[] memory thresholds_\r\n  ) external onlySignatory {\r\n    require(thresholdControlRequests[id_].owner != address(0), 'INVALID_REQUEST!');\r\n    require(thresholdControlRequests[id_].owner == msg.sender, 'UNAUTHORIZED!');\r\n    require(thresholdControlRequests[id_].status == RequestStatus.IN_PROGRESS, 'NOT_ACTIVE!');\r\n    require(\r\n      thresholds_.length == requestTypeCount[thresholdControlRequests[id_].reqType],\r\n      'INVALID_THRESHOLD_COUNTS!'\r\n    );\r\n    for(uint256 i;i < thresholds_.length;i++){\r\n      require(thresholds_[i] > 0, 'INVALID_THRESHOLD!');\r\n    }\r\n    thresholdControlRequests[id_].thresholds = thresholds_;\r\n    thresholdControlRequests[id_].approvals = new address[](0);\r\n\r\n    emit RequestUpdated(RequestType.THRESHOLD_CONTROL, id_);\r\n  }\r\n\r\n  /**\r\n   * @dev To vote for a request of any type.\r\n   * @param reqType_  Request Type of operations.\r\n   * @param id_       ID of the request, which was made previously.\r\n   * @param approval_ true for approval, false for rejection.\r\n   */\r\n  function vote(\r\n    RequestType reqType_,\r\n    uint256 id_,\r\n    bool approval_\r\n  ) external onlySignatory nonReentrant {\r\n    if (reqType_ == RequestType.TOKEN_SUPPLY_CONTROL) {\r\n      _isApprovable(tokenSupplyControlRequests[id_].owner, tokenSupplyControlRequests[id_].status);\r\n\r\n      bool isApproved = ArrayOps.isElement(tokenSupplyControlRequests[id_].approvals, msg.sender);\r\n      if (approval_) {\r\n        require(!isApproved, 'APPROVED!');\r\n        tokenSupplyControlRequests[id_].approvals.push(msg.sender);\r\n      } else {\r\n        require(isApproved, 'NOT_APPROVED!');\r\n        address[] memory updatedApprovals = ArrayOps.deleteFromArray(\r\n          tokenSupplyControlRequests[id_].approvals,\r\n          msg.sender\r\n        );\r\n        tokenSupplyControlRequests[id_].approvals = updatedApprovals;\r\n      }\r\n\r\n      tokenSupplyControlRequests[id_].status = tokenSupplyControlRequests[id_].approvals.length >=\r\n        tokenSupplyControlThresholds[tokenSupplyControlRequests[id_].subType]\r\n        ? RequestStatus.ACCEPTED\r\n        : RequestStatus.IN_PROGRESS;\r\n    } else if (reqType_ == RequestType.TRANSACTION_CONTROL) {\r\n      _isApprovable(transactionControlRequests[id_].owner, transactionControlRequests[id_].status);\r\n\r\n      bool isApproved = ArrayOps.isElement(transactionControlRequests[id_].approvals, msg.sender);\r\n      if (approval_) {\r\n        require(!isApproved, 'APPROVED!');\r\n        transactionControlRequests[id_].approvals.push(msg.sender);\r\n      } else {\r\n        require(isApproved, 'NOT_APPROVED!');\r\n        address[] memory updatedApprovals = ArrayOps.deleteFromArray(\r\n          transactionControlRequests[id_].approvals,\r\n          msg.sender\r\n        );\r\n        transactionControlRequests[id_].approvals = updatedApprovals;\r\n      }\r\n\r\n      transactionControlRequests[id_].status = transactionControlRequests[id_].approvals.length >=\r\n        transactionControlThresholds[transactionControlRequests[id_].subType]\r\n        ? RequestStatus.ACCEPTED\r\n        : RequestStatus.IN_PROGRESS;\r\n    } else if (reqType_ == RequestType.SIGNATORY_CONTROL) {\r\n      _isApprovable(signatoryControlRequests[id_].owner, signatoryControlRequests[id_].status);\r\n\r\n      bool isApproved = ArrayOps.isElement(signatoryControlRequests[id_].approvals, msg.sender);\r\n      if (approval_) {\r\n        require(!isApproved, 'APPROVED!');\r\n        signatoryControlRequests[id_].approvals.push(msg.sender);\r\n      } else {\r\n        require(isApproved, 'NOT_APPROVED!');\r\n        signatoryControlRequests[id_].approvals = ArrayOps.deleteFromArray(\r\n          signatoryControlRequests[id_].approvals,\r\n          msg.sender\r\n        );\r\n      }\r\n\r\n      signatoryControlRequests[id_].status = signatoryControlRequests[id_].approvals.length >=\r\n        signatoryControlThresholds[signatoryControlRequests[id_].subType]\r\n        ? RequestStatus.ACCEPTED\r\n        : RequestStatus.IN_PROGRESS;\r\n    } else if (reqType_ == RequestType.THRESHOLD_CONTROL) {\r\n      _isApprovable(thresholdControlRequests[id_].owner, thresholdControlRequests[id_].status);\r\n\r\n      bool isApproved = ArrayOps.isElement(thresholdControlRequests[id_].approvals, msg.sender);\r\n      if (approval_) {\r\n        require(!isApproved, 'APPROVED!');\r\n        thresholdControlRequests[id_].approvals.push(msg.sender);\r\n      } else {\r\n        require(isApproved, 'NOT_APPROVED!');\r\n        thresholdControlRequests[id_].approvals = ArrayOps.deleteFromArray(\r\n          thresholdControlRequests[id_].approvals,\r\n          msg.sender\r\n        );\r\n      }\r\n\r\n      thresholdControlRequests[id_].status = thresholdControlRequests[id_].approvals.length >=\r\n        thresholdControlThresholds[thresholdControlRequests[id_].subType]\r\n        ? RequestStatus.ACCEPTED\r\n        : RequestStatus.IN_PROGRESS;\r\n    } else {\r\n      revert('UNKNOWN_REQUEST!');\r\n    }\r\n\r\n    emit RequestApproval(reqType_, id_, msg.sender, approval_);\r\n  }\r\n\r\n  /**\r\n   * @dev To execute the operation, if thresholds are valid then it will execute else revert.\r\n   * @param reqType_ Type of Request which needs to be executed.\r\n   * @param id_      ID of the request.\r\n   */\r\n  function execute(RequestType reqType_, uint256 id_) external {\r\n    if (reqType_ == RequestType.TOKEN_SUPPLY_CONTROL) {\r\n      _isExecutable(tokenSupplyControlRequests[id_].owner, tokenSupplyControlRequests[id_].status);\r\n\r\n      if (TokenSupplyControlRequestType.MINT == tokenSupplyControlRequests[id_].subType) {\r\n        _mint(tokenSupplyControlRequests[id_].wallet, tokenSupplyControlRequests[id_].amount);\r\n      } else {\r\n        if (tokenSupplyControlRequests[id_].wallet == tokenSupplyControlRequests[id_].owner) {\r\n          _burn(tokenSupplyControlRequests[id_].owner, tokenSupplyControlRequests[id_].amount);\r\n        } else if (tokenSupplyControlRequests[id_].wallet == address(this)) {\r\n          _burn(address(this), tokenSupplyControlRequests[id_].amount);\r\n        } else {\r\n          require(\r\n            allowance(\r\n              tokenSupplyControlRequests[id_].wallet,\r\n              tokenSupplyControlRequests[id_].owner\r\n            ) >= tokenSupplyControlRequests[id_].amount,\r\n            'INSUFFICIENT_ALLOWANCE!'\r\n          );\r\n          _spendAllowance(\r\n            tokenSupplyControlRequests[id_].wallet,\r\n            tokenSupplyControlRequests[id_].owner,\r\n            tokenSupplyControlRequests[id_].amount\r\n          );\r\n          _burn(tokenSupplyControlRequests[id_].wallet, tokenSupplyControlRequests[id_].amount);\r\n        }\r\n      }\r\n\r\n      tokenSupplyControlRequests[id_].status = RequestStatus.EXECUTED;\r\n    } else if (reqType_ == RequestType.TRANSACTION_CONTROL) {\r\n      _isExecutable(transactionControlRequests[id_].owner, transactionControlRequests[id_].status);\r\n\r\n      if (TransactionControlRequestType.PAUSE == transactionControlRequests[id_].subType) {\r\n        _pause();\r\n      } else {\r\n        _unpause();\r\n      }\r\n\r\n      transactionControlRequests[id_].status = RequestStatus.EXECUTED;\r\n    } else if (reqType_ == RequestType.SIGNATORY_CONTROL) {\r\n      _isExecutable(signatoryControlRequests[id_].owner, signatoryControlRequests[id_].status);\r\n\r\n      for (uint256 i; i < signatoryControlRequests[id_].wallets.length; i++) {\r\n        if (SignatoryControlRequestType.ADD == signatoryControlRequests[id_].subType) {\r\n          require(!isSignatory[signatoryControlRequests[id_].wallets[i]], 'EXISTING!');\r\n          isSignatory[signatoryControlRequests[id_].wallets[i]] = true;\r\n          signatoryList.push(signatoryControlRequests[id_].wallets[i]);\r\n        } else {\r\n          require(signatoryList.length > 1, 'LAST_SIGNATORY!');\r\n          require(isSignatory[signatoryControlRequests[id_].wallets[i]], 'UNKNOWN!');\r\n          isSignatory[signatoryControlRequests[id_].wallets[i]] = false;\r\n          signatoryList = ArrayOps.deleteFromArray(\r\n            signatoryList,\r\n            signatoryControlRequests[id_].wallets[i]\r\n          );\r\n        }\r\n      }\r\n\r\n      signatoryControlRequests[id_].status = RequestStatus.EXECUTED;\r\n      emit SignatoriesUpdated(\r\n        signatoryControlRequests[id_].subType,\r\n        id_,\r\n        signatoryControlRequests[id_].wallets\r\n      );\r\n    } else if (reqType_ == RequestType.THRESHOLD_CONTROL) {\r\n      _isExecutable(thresholdControlRequests[id_].owner, thresholdControlRequests[id_].status);\r\n\r\n      for (uint256 i; i < requestTypeCount[thresholdControlRequests[id_].reqType]; i++) {\r\n        if (thresholdControlRequests[id_].reqType == RequestType.TOKEN_SUPPLY_CONTROL) {\r\n          tokenSupplyControlThresholds[TokenSupplyControlRequestType(i)] = thresholdControlRequests[\r\n            id_\r\n          ].thresholds[i];\r\n        } else if (thresholdControlRequests[id_].reqType == RequestType.TRANSACTION_CONTROL) {\r\n          transactionControlThresholds[TransactionControlRequestType(i)] = thresholdControlRequests[\r\n            id_\r\n          ].thresholds[i];\r\n        } else if (thresholdControlRequests[id_].reqType == RequestType.SIGNATORY_CONTROL) {\r\n          signatoryControlThresholds[SignatoryControlRequestType(i)] = thresholdControlRequests[id_]\r\n            .thresholds[i];\r\n        } else {\r\n          thresholdControlThresholds[ThresholdControlRequestType(i)] = thresholdControlRequests[id_]\r\n            .thresholds[i];\r\n        }\r\n      }\r\n\r\n      thresholdControlRequests[id_].status = RequestStatus.EXECUTED;\r\n      emit ThresholdUpdated(thresholdControlRequests[id_].reqType, id_, thresholdControlRequests[id_].thresholds);\r\n    } else {\r\n      revert('UNKNOWN_REQUEST!');\r\n    }\r\n  }\r\n\r\n  /**\r\n   * @dev To cancel a request which is made previously.\r\n   * @param reqType_ Request Type of operation.\r\n   * @param id_      ID of the pending request.\r\n   */\r\n  function cancelRequest(RequestType reqType_, uint256 id_) external onlySignatory nonReentrant {\r\n    if (reqType_ == RequestType.TOKEN_SUPPLY_CONTROL) {\r\n      _isCancellable(tokenSupplyControlRequests[id_].owner, tokenSupplyControlRequests[id_].status);\r\n      tokenSupplyControlRequests[id_].status = RequestStatus.CANCELLED;\r\n    } else if (reqType_ == RequestType.TRANSACTION_CONTROL) {\r\n      _isCancellable(transactionControlRequests[id_].owner, transactionControlRequests[id_].status);\r\n      transactionControlRequests[id_].status = RequestStatus.CANCELLED;\r\n    } else if (reqType_ == RequestType.SIGNATORY_CONTROL) {\r\n      _isCancellable(signatoryControlRequests[id_].owner, signatoryControlRequests[id_].status);\r\n      signatoryControlRequests[id_].status = RequestStatus.CANCELLED;\r\n    } else if (reqType_ == RequestType.THRESHOLD_CONTROL) {\r\n      _isCancellable(thresholdControlRequests[id_].owner, thresholdControlRequests[id_].status);\r\n      thresholdControlRequests[id_].status = RequestStatus.CANCELLED;\r\n    } else {\r\n      revert('UNKNOWN_REQUEST!');\r\n    }\r\n    emit RequestCancelled(reqType_, id_);\r\n  }\r\n\r\n  /**\r\n   * @dev To mint the Token by swaping.\r\n   * @param user_   address of receiver.\r\n   * @param amount_ Amount of token to be minted.\r\n   */\r\n  function swap(address user_, uint256 amount_) external nonReentrant {\r\n    require(msg.sender == _governanceTokenAddress, 'UNAUTHORIZED!');\r\n    _mint(user_, amount_);\r\n  }\r\n\r\n  /**\r\n   * @dev     Overriding inherited hook\r\n   * @param   from   Address from which token amount is transfer.\r\n   * @param   to     Address to which token amount is received.\r\n   * @param   amount Token amount to be transfer.\r\n   */\r\n  function _beforeTokenTransfer(\r\n    address from,\r\n    address to,\r\n    uint256 amount\r\n  ) internal override(ERC20Upgradeable,ERC20PausableUpgradeable) whenNotPaused {\r\n    super._beforeTokenTransfer(from, to, amount);\r\n  }\r\n}","deployed_bytecode":"0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063715018a61161011a578063a9059cbb116100ad578063cdba49df1161007c578063cdba49df14610469578063d004f0f71461047c578063da3d21641461048f578063dd62ed3e146104af578063f2fde38b146104c257600080fd5b8063a9059cbb14610410578063c451c08d14610423578063c820f14614610443578063c93661941461045657600080fd5b80638da5cb5b116100e95780638da5cb5b146103c557806395d89b41146103e0578063a07addc0146103e8578063a457c2d7146103fd57600080fd5b8063715018a6146103775780637162da071461037f5780637b7b2c0e1461039f5780637d4ef73b146103b257600080fd5b8063313ce567116101925780635c975abb116101615780635c975abb1461031d57806361d22fae1461032857806364cc5eae1461033b57806370a082311461034e57600080fd5b8063313ce567146102c157806339509351146102d75780633d7c3e13146102ea5780634e3cdaeb146102fd57600080fd5b80631a6c5f90116101ce5780631a6c5f90146102735780631cf372ad1461028857806323b872dd1461029b578063250800cd146102ae57600080fd5b806306fdde0314610200578063095ea7b31461021e578063139dba551461024157806318160ddd14610261575b600080fd5b6102086104d5565b60405161021591906141cb565b60405180910390f35b61023161022c366004614235565b610567565b6040519015158152602001610215565b61025461024f36600461426e565b610581565b6040516102159190614290565b6035545b604051908152602001610215565b6102866102813660046143aa565b610799565b005b610286610296366004614401565b6109e7565b6102316102a936600461441d565b610c7e565b6102866102bc366004614466565b610ca2565b6101385460405160ff9091168152602001610215565b6102316102e5366004614235565b610ddc565b6102866102f83660046144ae565b610dfe565b61031061030b3660046144e3565b610f6d565b60405161021591906145aa565b60655460ff16610231565b61028661033636600461464d565b611133565b610286610349366004614401565b6113b3565b61026561035c366004614694565b6001600160a01b031660009081526033602052604090205490565b610286611dfd565b61039261038d3660046144e3565b611e11565b60405161021591906146bf565b6102866103ad366004614782565b611f5f565b6102866103c03660046147bf565b6120a3565b60c9546040516001600160a01b039091168152602001610215565b6102086121cd565b6103f06121dc565b60405161021591906147dd565b61023161040b366004614235565b61223d565b61023161041e366004614235565b6122b8565b6104366104313660046144e3565b6122c6565b60405161021591906147f0565b6102866104513660046148e3565b612448565b610286610464366004614981565b612612565b6102866104773660046149d0565b612727565b61028661048a366004614235565b61303c565b6104a261049d3660046144e3565b6130a9565b6040516102159190614a15565b6102656104bd366004614a91565b61321e565b6102866104d0366004614694565b613249565b6060603680546104e490614ac4565b80601f016020809104026020016040519081016040528092919081815260200182805461051090614ac4565b801561055d5780601f106105325761010080835404028352916020019161055d565b820191906000526020600020905b81548152906001019060200180831161054057829003601f168201915b5050505050905090565b6000336105758185856132c2565b60019150505b92915050565b6060600060fd600084600481111561059b5761059b6144fc565b60048111156105ac576105ac6144fc565b81526020019081526020016000205467ffffffffffffffff8111156105d3576105d36142d4565b6040519080825280602002602001820160405280156105fc578160200160208202803683370190505b50905060005b60fd6000856004811115610618576106186144fc565b6004811115610629576106296144fc565b815260200190815260200160002054811015610792576000846004811115610653576106536144fc565b036106c25760fe600082600181111561066e5761066e6144fc565b600181111561067f5761067f6144fc565b6001811115610690576106906144fc565b8152602001908152602001600020548282815181106106b1576106b1614afe565b602002602001018181525050610780565b60018460048111156106d6576106d66144fc565b036106f257610100600082600181111561066e5761066e6144fc565b6002846004811115610706576107066144fc565b0361072257610102600082600181111561066e5761066e6144fc565b6101046000828015610736576107366144fc565b8015610744576107446144fc565b8015610752576107526144fc565b81526020019081526020016000205482828151811061077357610773614afe565b6020026020010181815250505b8061078a81614b2a565b915050610602565b5092915050565b33600090815260fb602052604090205460ff166107d15760405162461bcd60e51b81526004016107c890614b43565b60405180910390fd5b600082815261010560205260409020600301546001600160a01b03161561080a5760405162461bcd60e51b81526004016107c890614b6a565b60fd6000846004811115610820576108206144fc565b6004811115610831576108316144fc565b81526020019081526020016000205481511461088b5760405162461bcd60e51b8152602060048201526019602482015278494e56414c49445f5448524553484f4c445f434f554e54532160381b60448201526064016107c8565b60005b81518110156109075760008282815181106108ab576108ab614afe565b6020026020010151116108f55760405162461bcd60e51b8152602060048201526012602482015271494e56414c49445f5448524553484f4c442160701b60448201526064016107c8565b806108ff81614b2a565b91505061088e565b5060008281526101056020526040902082815560019081018054859260ff199091169083600481111561093c5761093c6144fc565b021790555060008281526101056020908152604090912060018101805461ff00191690558251610974926002909201918401906140a4565b506000828152610105602052604081206003810180546001600160a01b03191633179055600501805460ff1916600183021790555033600060035b6040518581527f12c58aca4e9ebf5bbe5235f6dc667de7a3b7c4f8471be709f514e9e1a71cff259060200160405180910390a4505050565b33600090815260fb602052604090205460ff16610a165760405162461bcd60e51b81526004016107c890614b43565b60026101065403610a395760405162461bcd60e51b81526004016107c890614b94565b6002610106556000826004811115610a5357610a536144fc565b03610ab357600081815260ff602081905260409091206004810154600690910154610a8a926001600160a01b0390921691166133e7565b600081815260ff6020526040902060060180546003919060ff19166001835b0217905550610c38565b6001826004811115610ac757610ac76144fc565b03610b23576000818152610101602052604090206001810154600390910154610b019161010090046001600160a01b03169060ff166133e7565b6000818152610101602052604090206003908101805460ff1916600183610aa9565b6002826004811115610b3757610b376144fc565b03610b90576000818152610103602052604090206003810154600590910154610b6c916001600160a01b03169060ff166133e7565b60008181526101036020526040902060050180546003919060ff1916600183610aa9565b6003826004811115610ba457610ba46144fc565b03610bfd576000818152610105602052604090206003810154600590910154610bd9916001600160a01b03169060ff166133e7565b60008181526101056020526040902060050180546003919060ff1916600183610aa9565b60405162461bcd60e51b815260206004820152601060248201526f554e4b4e4f574e5f524551554553542160801b60448201526064016107c8565b80826004811115610c4b57610c4b6144fc565b6040517fd4b68df9eef98410eb5ed4c779e2014889bc9e9f836af8bde49982ead4877d2690600090a35050600161010655565b600033610c8c858285613482565b610c978585856134fc565b506001949350505050565b33600090815260fb602052604090205460ff16610cd15760405162461bcd60e51b81526004016107c890614b43565b600083815260ff60205260409020600401546001600160a01b031615610d095760405162461bcd60e51b81526004016107c890614b6a565b600083815260ff6020526040902083815560019081018054869260ff19909116908381811115610d3b57610d3b6144fc565b0217905550600083815260ff60205260409020600281018390556003810180546001600160a01b03199081166001600160a01b03851617909155600482018054339216821790556006909101805460ff19169055846001811115610da157610da16144fc565b60006040518681527f12c58aca4e9ebf5bbe5235f6dc667de7a3b7c4f8471be709f514e9e1a71cff259060200160405180910390a450505050565b600033610575818585610def838361321e565b610df99190614bcb565b6132c2565b33600090815260fb602052604090205460ff16610e2d5760405162461bcd60e51b81526004016107c890614b43565b600083815260ff60205260409020600401546001600160a01b0316610e645760405162461bcd60e51b81526004016107c890614b6a565b600083815260ff60205260409020600401546001600160a01b03163314610e9d5760405162461bcd60e51b81526004016107c890614b43565b600083815260ff60208190526040822060060154166003811115610ec357610ec36144fc565b14610ee05760405162461bcd60e51b81526004016107c890614bde565b600083815260ff60208181526040808420600281018790556003810180546001600160a01b0319166001600160a01b03881617905581518581528084019283905294889052929091529151610f3b92600590920191906140ef565b508260006040517f8ab39991fae765346c6afb7eb20811f1509a6c893ec0e1815ddfb656d280231890600090a3505050565b610f75614144565b600082815261010560205260409020600301546001600160a01b0316610fad5760405162461bcd60e51b81526004016107c890614b6a565b60008281526101056020908152604091829020825160e08101909352805483526001810154909183019060ff166004811115610feb57610feb6144fc565b6004811115610ffc57610ffc6144fc565b81526001820154602090910190610100900460ff16801561101f5761101f6144fc565b801561102d5761102d6144fc565b81526020016002820180548060200260200160405190810160405280929190818152602001828054801561108057602002820191906000526020600020905b81548152602001906001019080831161106c575b505050918352505060038201546001600160a01b031660208083019190915260048301805460408051828502810185018252828152940193928301828280156110f257602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116110d4575b5050509183525050600582015460209091019060ff166003811115611119576111196144fc565b600381111561112a5761112a6144fc565b90525092915050565b33600090815260fb602052604090205460ff166111625760405162461bcd60e51b81526004016107c890614b43565b600082815261010560205260409020600301546001600160a01b031661119a5760405162461bcd60e51b81526004016107c890614b6a565b600082815261010560205260409020600301546001600160a01b031633146111d45760405162461bcd60e51b81526004016107c890614b43565b6000828152610105602052604081206005015460ff1660038111156111fb576111fb6144fc565b146112185760405162461bcd60e51b81526004016107c890614bde565b6000828152610105602052604081206001015460fd919060ff166004811115611243576112436144fc565b6004811115611254576112546144fc565b8152602001908152602001600020548151146112ae5760405162461bcd60e51b8152602060048201526019602482015278494e56414c49445f5448524553484f4c445f434f554e54532160381b60448201526064016107c8565b60005b815181101561132a5760008282815181106112ce576112ce614afe565b6020026020010151116113185760405162461bcd60e51b8152602060048201526012602482015271494e56414c49445f5448524553484f4c442160701b60448201526064016107c8565b8061132281614b2a565b9150506112b1565b506000828152610105602090815260409091208251611351926002909201918401906140a4565b506040805160008082526020808301808552868352610105909152929020905161138192600490920191906140ef565b508160035b6040517f8ab39991fae765346c6afb7eb20811f1509a6c893ec0e1815ddfb656d280231890600090a35050565b60008260048111156113c7576113c76144fc565b0361160457600081815260ff6020819052604090912060048101546006909101546113fe926001600160a01b0390921691166136d5565b600081815260ff6020819052604090912060019081015490911690811115611428576114286144fc565b60010361146057600081815260ff60205260409020600381015460029091015461145b916001600160a01b031690613754565b6115dc565b600081815260ff6020526040902060048101546003909101546001600160a01b039182169116036114b757600081815260ff60205260409020600481015460029091015461145b916001600160a01b031690613838565b600081815260ff6020526040902060030154306001600160a01b03909116036114f757600081815260ff602052604090206002015461145b903090613838565b600081815260ff6020526040902060028101546003820154600490920154909161152d916001600160a01b03918216911661321e565b101561157b5760405162461bcd60e51b815260206004820152601760248201527f494e53554646494349454e545f414c4c4f57414e43452100000000000000000060448201526064016107c8565b600081815260ff60205260409020600381015460048201546002909201546115b0926001600160a01b03928316921690613482565b600081815260ff6020526040902060038101546002909101546115dc916001600160a01b031690613838565b600081815260ff6020526040902060060180546002919060ff19166001835b02179055505050565b6001826004811115611618576116186144fc565b036116ba5760008181526101016020526040902060018101546003909101546116529161010090046001600160a01b03169060ff166136d5565b60008181526101016020526040902060019081015460ff169081111561167a5761167a6144fc565b60000361168e5761168961398f565b611696565b6116966139e9565b60008181526101016020526040902060030180546002919060ff19166001836115fb565b60028260048111156116ce576116ce6144fc565b03611ac6576000818152610103602052604090206003810154600590910154611703916001600160a01b03169060ff166136d5565b60005b60008281526101036020526040902060020154811015611a395760008281526101036020526040902060019081015460ff1690811115611748576117486144fc565b6001036118a357600082815261010360205260408120600201805460fb9291908490811061177857611778614afe565b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff16156117d95760405162461bcd60e51b81526020600482015260096024820152684558495354494e472160b81b60448201526064016107c8565b600160fb60006101036000868152602001908152602001600020600201848154811061180757611807614afe565b6000918252602080832091909101546001600160a01b031683528281019390935260409182018120805460ff1916941515949094179093558483526101039091529020600201805460fc91908390811061186357611863614afe565b60009182526020808320909101548354600181018555938352912090910180546001600160a01b0319166001600160a01b03909216919091179055611a27565b60fc546001106118e75760405162461bcd60e51b815260206004820152600f60248201526e4c4153545f5349474e41544f52592160881b60448201526064016107c8565b600082815261010360205260408120600201805460fb9291908490811061191057611910614afe565b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff1661196f5760405162461bcd60e51b8152602060048201526008602482015267554e4b4e4f574e2160c01b60448201526064016107c8565b600082815261010360205260408120600201805460fb9183918590811061199857611998614afe565b6000918252602080832091909101546001600160a01b031683528281019390935260409182018120805460ff19169415159490941790935584835261010390915290206002018054611a119160fc91849081106119f7576119f7614afe565b6000918252602090912001546001600160a01b0316613a22565b8051611a259160fc916020909101906140ef565b505b80611a3181614b2a565b915050611706565b5060008181526101036020526040902060058101805460ff19166002179055600190810154829160ff90911690811115611a7557611a756144fc565b7f7e514c236ce0c21fcabe88383d4dcf42e90a71538f6ecc3cb1241359cc2151d46101036000858152602001908152602001600020600201604051611aba9190614c03565b60405180910390a35050565b6003826004811115611ada57611ada6144fc565b03610bfd576000818152610105602052604090206003810154600590910154611b0f916001600160a01b03169060ff166136d5565b60005b6000828152610105602052604081206001015460fd919060ff166004811115611b3d57611b3d6144fc565b6004811115611b4e57611b4e6144fc565b815260200190815260200160002054811015611d7b576000828152610105602052604081206001015460ff166004811115611b8b57611b8b6144fc565b03611c0d57600082815261010560205260409020600201805482908110611bb457611bb4614afe565b906000526020600020015460fe6000836001811115611bd557611bd56144fc565b6001811115611be657611be66144fc565b6001811115611bf757611bf76144fc565b8152602081019190915260400160002055611d69565b60016000838152610105602052604090206001015460ff166004811115611c3657611c366144fc565b03611c8157600082815261010560205260409020600201805482908110611c5f57611c5f614afe565b90600052602060002001546101006000836001811115611bd557611bd56144fc565b60026000838152610105602052604090206001015460ff166004811115611caa57611caa6144fc565b03611cf557600082815261010560205260409020600201805482908110611cd357611cd3614afe565b90600052602060002001546101026000836001811115611bd557611bd56144fc565b600082815261010560205260409020600201805482908110611d1957611d19614afe565b90600052602060002001546101046000836000811115611d3b57611d3b6144fc565b8015611d4957611d496144fc565b8015611d5757611d576144fc565b81526020810191909152604001600020555b80611d7381614b2a565b915050611b12565b5060008181526101056020526040902060058101805460ff1916600217905560010154819060ff166004811115611db457611db46144fc565b7f374689f34df0bbe3adf83d2b6c5271d938df5fd3604e8074c28378ff0b4eae006101056000858152602001908152602001600020600201604051611aba9190614c47565b5050565b611e05613b8c565b611e0f6000613be6565b565b6040805160a08101825260008082526020820181905291810182905260608082015260808101919091526000828152610101602052604090206001015461010090046001600160a01b0316611e785760405162461bcd60e51b81526004016107c890614b6a565b60008281526101016020908152604091829020825160a0810190935280548352600180820154919284019160ff1690811115611eb657611eb66144fc565b6001811115611ec757611ec76144fc565b8152600182015461010090046001600160a01b03166020808301919091526002830180546040805182850281018501825282815294019392830182828015611f3857602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611f1a575b505050918352505060038281015460209092019160ff1690811115611119576111196144fc565b33600090815260fb602052604090205460ff16611f8e5760405162461bcd60e51b81526004016107c890614b43565b600082815261010360205260409020600301546001600160a01b0316611fc65760405162461bcd60e51b81526004016107c890614b6a565b600082815261010360205260409020600301546001600160a01b031633146120005760405162461bcd60e51b81526004016107c890614b43565b6000828152610103602052604081206005015460ff166003811115612027576120276144fc565b146120445760405162461bcd60e51b81526004016107c890614bde565b600082815261010360209081526040909120825161206a926002909201918401906140ef565b506040805160008082526020808301808552868352610103909152929020905161209a92600490920191906140ef565b50816002611386565b33600090815260fb602052604090205460ff166120d25760405162461bcd60e51b81526004016107c890614b43565b6000818152610101602052604090206001015461010090046001600160a01b0316156121105760405162461bcd60e51b81526004016107c890614b6a565b60008181526101016020526040902081815560019081018054849260ff19909116908381811115612143576121436144fc565b021790555060008181526101016020526040902060018082018054610100600160a81b031916336101008102919091179091556003909201805460ff191690558390811115612194576121946144fc565b60016040518481527f12c58aca4e9ebf5bbe5235f6dc667de7a3b7c4f8471be709f514e9e1a71cff259060200160405180910390a45050565b6060603780546104e490614ac4565b606060fc80548060200260200160405190810160405280929190818152602001828054801561055d57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612216575050505050905090565b6000338161224b828661321e565b9050838110156122ab5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107c8565b610c9782868684036132c2565b6000336105758185856134fc565b6122ce61419c565b600082815261010360205260409020600301546001600160a01b03166123065760405162461bcd60e51b81526004016107c890614b6a565b60008281526101036020908152604091829020825160c0810190935280548352600180820154919284019160ff1690811115612344576123446144fc565b6001811115612355576123556144fc565b81526020016002820180548060200260200160405190810160405280929190818152602001828054801561108057602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161239457505050918352505060038201546001600160a01b031660208083019190915260048301805460408051828502810185018252828152940193928301828280156110f2576020028201919060005260206000209081546001600160a01b031681526001909101906020018083116110d4575050509183525050600582015460209091019060ff166003811115611119576111196144fc565b600054610100900460ff16158080156124685750600054600160ff909116105b806124825750303b158015612482575060005460ff166001145b6124e55760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107c8565b6000805460ff191660011790558015612508576000805461ff0019166101001790555b6125128686613c38565b61251a613c69565b612522613c98565b6001600160a01b03808316600081815260fb60205260408120805460ff1916600190811790915560fc805491820181559091527f371f36870d18f32a11fea0f144b021c8b407bb50f8e0267c711123f454b963c00180546001600160a01b03191690911790556101388054918516610100026001600160a81b031990921660ff8716179190911790556125b3613cc7565b6125bb613d80565b6125c482613be6565b801561260a576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b33600090815260fb602052604090205460ff166126415760405162461bcd60e51b81526004016107c890614b43565b600082815261010360205260409020600301546001600160a01b03161561267a5760405162461bcd60e51b81526004016107c890614b6a565b60008281526101036020526040902082815560019081018054859260ff199091169083818111156126ad576126ad6144fc565b021790555060008281526101036020908152604090912082516126d8926002909201918401906140ef565b506000828152610103602052604081206003810180546001600160a01b03191633179055600501805460ff1916600183021790555033836001811115612720576127206144fc565b60026109af565b33600090815260fb602052604090205460ff166127565760405162461bcd60e51b81526004016107c890614b43565b600261010654036127795760405162461bcd60e51b81526004016107c890614b94565b6002610106556000836004811115612793576127936144fc565b0361299b57600082815260ff6020819052604090912060048101546006909101546127ca926001600160a01b039092169116613e6f565b600082815260ff6020908152604080832060050180548251818502810185019093528083526128379383018282801561282c57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161280e575b505050505033613e95565b9050811561289357801561285d5760405162461bcd60e51b81526004016107c890614c82565b600083815260ff602090815260408220600501805460018101825590835291200180546001600160a01b031916331790556128f6565b806128b05760405162461bcd60e51b81526004016107c890614ca5565b600083815260ff602052604081206128cb9060050133613a22565b600085815260ff6020908152604090912082519293506128f3926005909101918401906140ef565b50505b600083815260ff60208190526040822060019081015460fe93921690811115612921576129216144fc565b6001811115612932576129326144fc565b8152602080820192909252604090810160009081205486825260ff90935220600501541015612962576000612965565b60015b600084815260ff60205260409020600601805460ff19166001836003811115612990576129906144fc565b021790555050612fe8565b60018360048111156129af576129af6144fc565b03612bbe5760008281526101016020526040902060018101546003909101546129e99161010090046001600160a01b03169060ff16613e6f565b6000828152610101602090815260408083206002018054825181850281018501909352808352612a559383018282801561282c576020028201919060005260206000209081546001600160a01b0316815260019091019060200180831161280e57505050505033613e95565b90508115612ab2578015612a7b5760405162461bcd60e51b81526004016107c890614c82565b6000838152610101602090815260408220600201805460018101825590835291200180546001600160a01b03191633179055612b17565b80612acf5760405162461bcd60e51b81526004016107c890614ca5565b600083815261010160205260408120612aeb9060020133613a22565b6000858152610101602090815260409091208251929350612b14926002909101918401906140ef565b50505b600083815261010160205260408120600190810154610100929160ff90911690811115612b4657612b466144fc565b6001811115612b5757612b576144fc565b8152602080820192909252604090810160009081205486825261010190935220600201541015612b88576000612b8b565b60015b60008481526101016020526040902060039081018054909160ff19909116906001908490811115612990576129906144fc565b6002836004811115612bd257612bd26144fc565b03612dd5576000828152610103602052604090206003810154600590910154612c07916001600160a01b03169060ff16613e6f565b6000828152610103602090815260408083206004018054825181850281018501909352808352612c739383018282801561282c576020028201919060005260206000209081546001600160a01b0316815260019091019060200180831161280e57505050505033613e95565b90508115612cd0578015612c995760405162461bcd60e51b81526004016107c890614c82565b6000838152610103602090815260408220600401805460018101825590835291200180546001600160a01b03191633179055612d35565b80612ced5760405162461bcd60e51b81526004016107c890614ca5565b600083815261010360205260409020612d099060040133613a22565b61010360008581526020019081526020016000206004019080519060200190612d339291906140ef565b505b600083815261010360205260408120600190810154610102929160ff90911690811115612d6457612d646144fc565b6001811115612d7557612d756144fc565b8152602080820192909252604090810160009081205486825261010390935220600401541015612da6576000612da9565b60015b600084815261010360205260409020600501805460ff19166001836003811115612990576129906144fc565b6003836004811115612de957612de96144fc565b03610bfd576000828152610105602052604090206003810154600590910154612e1e916001600160a01b03169060ff16613e6f565b6000828152610105602090815260408083206004018054825181850281018501909352808352612e8a9383018282801561282c576020028201919060005260206000209081546001600160a01b0316815260019091019060200180831161280e57505050505033613e95565b90508115612ee7578015612eb05760405162461bcd60e51b81526004016107c890614c82565b6000838152610105602090815260408220600401805460018101825590835291200180546001600160a01b03191633179055612f4c565b80612f045760405162461bcd60e51b81526004016107c890614ca5565b600083815261010560205260409020612f209060040133613a22565b61010560008581526020019081526020016000206004019080519060200190612f4a9291906140ef565b505b600083815261010560205260408120600101546101049190610100900460ff168015612f7a57612f7a6144fc565b8015612f8857612f886144fc565b8152602080820192909252604090810160009081205486825261010590935220600401541015612fb9576000612fbc565b60015b600084815261010560205260409020600501805460ff19166001836003811115612990576129906144fc565b3382846004811115612ffc57612ffc6144fc565b60405184151581527fdca74fe419e42e4b1192a5ed6d15146d8a2c79be70e858272e4137be529458139060200160405180910390a4505060016101065550565b6002610106540361305f5760405162461bcd60e51b81526004016107c890614b94565b6002610106556101385461010090046001600160a01b031633146130955760405162461bcd60e51b81526004016107c890614b43565b61309f8282613754565b5050600161010655565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082015260c0810191909152600082815260ff60205260409020600401546001600160a01b03166131185760405162461bcd60e51b81526004016107c890614b6a565b600082815260ff6020818152604092839020835160e08101909452805484526001808201549193928501929190911690811115613157576131576144fc565b6001811115613168576131686144fc565b8152600282015460208083019190915260038301546001600160a01b039081166040808501919091526004850154909116606084015260058401805482518185028101850190935280835260809094019391929091908301828280156131f757602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116131d9575b5050509183525050600682015460209091019060ff166003811115611119576111196144fc565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b613251613b8c565b6001600160a01b0381166132b65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107c8565b6132bf81613be6565b50565b6001600160a01b0383166133245760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107c8565b6001600160a01b0382166133855760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107c8565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03821661340d5760405162461bcd60e51b81526004016107c890614b6a565b6001600160a01b03821633146134355760405162461bcd60e51b81526004016107c890614b43565b6000816003811115613449576134496144fc565b148061346657506001816003811115613464576134646144fc565b145b611df95760405162461bcd60e51b81526004016107c890614bde565b600061348e848461321e565b905060001981146134f657818110156134e95760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107c8565b6134f684848484036132c2565b50505050565b6001600160a01b0383166135605760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107c8565b6001600160a01b0382166135c25760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107c8565b6135cd838383613ef9565b6001600160a01b038316600090815260336020526040902054818110156136455760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107c8565b6001600160a01b0380851660009081526033602052604080822085850390559185168152908120805484929061367c908490614bcb565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516136c891815260200190565b60405180910390a36134f6565b6001600160a01b0382166136fb5760405162461bcd60e51b81526004016107c890614b6a565b6001600160a01b03821633146137235760405162461bcd60e51b81526004016107c890614b43565b6001816003811115613737576137376144fc565b14611df95760405162461bcd60e51b81526004016107c890614ca5565b6001600160a01b0382166137aa5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107c8565b6137b660008383613ef9565b80603560008282546137c89190614bcb565b90915550506001600160a01b038216600090815260336020526040812080548392906137f5908490614bcb565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611aba565b6001600160a01b0382166138985760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107c8565b6138a482600083613ef9565b6001600160a01b038216600090815260336020526040902054818110156139185760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107c8565b6001600160a01b0383166000908152603360205260408120838303905560358054849290613947908490614ccc565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016133da565b505050565b613997613f0c565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586139cc3390565b6040516001600160a01b03909116815260200160405180910390a1565b6139f1613f52565b6065805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa336139cc565b606060005b8354811015613b2d57826001600160a01b0316848281548110613a4c57613a4c614afe565b6000918252602090912001546001600160a01b031603613b1b5783548490613a7690600190614ccc565b81548110613a8657613a86614afe565b9060005260206000200160009054906101000a90046001600160a01b0316848281548110613ab657613ab6614afe565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555083805480613af457613af4614cdf565b600082815260209020810160001990810180546001600160a01b0319169055019055613b2d565b80613b2581614b2a565b915050613a27565b50825460408051602080840282018101909252828152918591830182828015613b7f57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311613b61575b5050505050905092915050565b60c9546001600160a01b03163314611e0f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107c8565b60c980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16613c5f5760405162461bcd60e51b81526004016107c890614cf5565b611df98282613f9b565b600054610100900460ff16613c905760405162461bcd60e51b81526004016107c890614cf5565b611e0f613fdb565b600054610100900460ff16613cbf5760405162461bcd60e51b81526004016107c890614cf5565b611e0f61400e565b60fd602081905260027fc34a738ec333e394a3927794cadc6dd0eb7d9eed0999d1e55021ea223ac362cc8190557f6443157f7701a627e53184b74fce0d403f4bf9bc1aaa0bc17c9ee17e10ec8b8f8190557fef9a6077cbcbcf7bec11d47569fea4be738d880200c72c7271b993ae0f57e37e8190556003600090815260017fddec8a35231c466760a2fede23c08a34280dd1cd9b2da7e3dd8e38d773292cc35590919060045b8152602081019190915260400160002055565b60017f32796e36004994222362c2f9423d5e208bb848170964890784a8d59ed40f50af8190557f457c8a48b4735f56b938837eb0a8a5f9c55f23c1a85767ce3b65c3e59d3d32b78190557f1c215b54eec9ee6aca29c851c685652f7166e29c4e460f5b894f8abee449ad3b8190557f0f37cc93c7327dd0773c9bad1b9130cb34ac422da3ad8b8ae014d912837518708190556101026020527f902d1eb9cb7bf5a8087a0aabaf00b340029088a7a2af68d406d96c3be8e809b681905560008080527f565a22c1af7fcc038f06206699a6bd0ad8c85d23dafe9aebac3e0df68e8fb3208290556101049080613d6d565b6001600160a01b0382166134355760405162461bcd60e51b81526004016107c890614b6a565b60008060005b8451811015613ef157836001600160a01b0316858281518110613ec057613ec0614afe565b60200260200101516001600160a01b031603613edf5760019150613ef1565b80613ee981614b2a565b915050613e9b565b509392505050565b613f01613f0c565b61398a83838361403e565b60655460ff1615611e0f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107c8565b60655460ff16611e0f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107c8565b600054610100900460ff16613fc25760405162461bcd60e51b81526004016107c890614cf5565b6036613fce8382614d86565b50603761398a8282614d86565b600054610100900460ff166140025760405162461bcd60e51b81526004016107c890614cf5565b6065805460ff19169055565b600054610100900460ff166140355760405162461bcd60e51b81526004016107c890614cf5565b611e0f33613be6565b60655460ff161561398a5760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b60648201526084016107c8565b8280548282559060005260206000209081019282156140df579160200282015b828111156140df5782518255916020019190600101906140c4565b506140eb9291506141b6565b5090565b8280548282559060005260206000209081019282156140df579160200282015b828111156140df57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019061410f565b6040805160e0810190915260008082526020820190815260200160005b81526020016060815260200160006001600160a01b031681526020016060815260200160006003811115614197576141976144fc565b905290565b6040805160c0810190915260008082526020820190614161565b5b808211156140eb57600081556001016141b7565b600060208083528351808285015260005b818110156141f8578581018301518582016040015282016141dc565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461423057600080fd5b919050565b6000806040838503121561424857600080fd5b61425183614219565b946020939093013593505050565b80356005811061423057600080fd5b60006020828403121561428057600080fd5b6142898261425f565b9392505050565b6020808252825182820181905260009190848201906040850190845b818110156142c8578351835292840192918401916001016142ac565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715614313576143136142d4565b604052919050565b600067ffffffffffffffff821115614335576143356142d4565b5060051b60200190565b600082601f83011261435057600080fd5b813560206143656143608361431b565b6142ea565b82815260059290921b8401810191818101908684111561438457600080fd5b8286015b8481101561439f5780358352918301918301614388565b509695505050505050565b6000806000606084860312156143bf57600080fd5b6143c88461425f565b925060208401359150604084013567ffffffffffffffff8111156143eb57600080fd5b6143f78682870161433f565b9150509250925092565b6000806040838503121561441457600080fd5b6142518361425f565b60008060006060848603121561443257600080fd5b61443b84614219565b925061444960208501614219565b9150604084013590509250925092565b600281106132bf57600080fd5b6000806000806080858703121561447c57600080fd5b843561448781614459565b935060208501359250604085013591506144a360608601614219565b905092959194509250565b6000806000606084860312156144c357600080fd5b83359250602084013591506144da60408501614219565b90509250925092565b6000602082840312156144f557600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b60018110614522576145226144fc565b9052565b600081518084526020808501945080840160005b838110156145565781518752958201959082019060010161453a565b509495945050505050565b600081518084526020808501945080840160005b838110156145565781516001600160a01b031687529582019590820190600101614575565b60048110614522576145226144fc565b602081528151602082015260006020830151600581106145cc576145cc6144fc565b8060408401525060408301516145e56060840182614512565b50606083015160e06080840152614600610100840182614526565b9050608084015161461c60a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526146388282614561565b91505060c0840151613ef160e085018261459a565b6000806040838503121561466057600080fd5b82359150602083013567ffffffffffffffff81111561467e57600080fd5b61468a8582860161433f565b9150509250929050565b6000602082840312156146a657600080fd5b61428982614219565b600281106132bf576132bf6144fc565b6020815281516020820152600060208301516146da816146af565b8060408401525060018060a01b036040840151166060830152606083015160a0608084015261470c60c0840182614561565b90506080840151613ef160a085018261459a565b600082601f83011261473157600080fd5b813560206147416143608361431b565b82815260059290921b8401810191818101908684111561476057600080fd5b8286015b8481101561439f5761477581614219565b8352918301918301614764565b6000806040838503121561479557600080fd5b82359150602083013567ffffffffffffffff8111156147b357600080fd5b61468a85828601614720565b600080604083850312156147d257600080fd5b823561425181614459565b6020815260006142896020830184614561565b60208152815160208201526000602083015161480b816146af565b80604084015250604083015160c0606084015261482b60e0840182614561565b60608501516001600160a01b0316608085810191909152850151848203601f190160a086015290915061485e8282614561565b91505060a0840151613ef160c085018261459a565b600082601f83011261488457600080fd5b813567ffffffffffffffff81111561489e5761489e6142d4565b6148b1601f8201601f19166020016142ea565b8181528460208386010111156148c657600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156148fb57600080fd5b853567ffffffffffffffff8082111561491357600080fd5b61491f89838a01614873565b9650602088013591508082111561493557600080fd5b5061494288828901614873565b945050604086013560ff8116811461495957600080fd5b925061496760608701614219565b915061497560808701614219565b90509295509295909350565b60008060006060848603121561499657600080fd5b83356149a181614459565b925060208401359150604084013567ffffffffffffffff8111156149c457600080fd5b6143f786828701614720565b6000806000606084860312156149e557600080fd5b6149ee8461425f565b92506020840135915060408401358015158114614a0a57600080fd5b809150509250925092565b602081528151602082015260006020830151614a30816146af565b8060408401525060408301516060830152606083015160018060a01b0380821660808501528060808601511660a0850152505060a083015160e060c0840152614a7d610100840182614561565b905060c0840151613ef160e085018261459a565b60008060408385031215614aa457600080fd5b614aad83614219565b9150614abb60208401614219565b90509250929050565b600181811c90821680614ad857607f821691505b602082108103614af857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201614b3c57614b3c614b14565b5060010190565b6020808252600d908201526c554e415554484f52495a45442160981b604082015260600190565b60208082526010908201526f494e56414c49445f524551554553542160801b604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b8082018082111561057b5761057b614b14565b6020808252600b908201526a4e4f545f4143544956452160a81b604082015260600190565b6020808252825482820181905260008481528281209092916040850190845b818110156142c85783546001600160a01b031683526001938401939285019201614c22565b6020808252825482820181905260008481528281209092916040850190845b818110156142c857835483526001938401939285019201614c66565b602080825260099082015268415050524f5645442160b81b604082015260600190565b6020808252600d908201526c4e4f545f415050524f5645442160981b604082015260600190565b8181038181111561057b5761057b614b14565b634e487b7160e01b600052603160045260246000fd5b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b601f82111561398a57600081815260208120601f850160051c81016020861015614d675750805b601f850160051c820191505b8181101561260a57828155600101614d73565b815167ffffffffffffffff811115614da057614da06142d4565b614db481614dae8454614ac4565b84614d40565b602080601f831160018114614de95760008415614dd15750858301515b600019600386901b1c1916600185901b17855561260a565b600085815260208120601f198616915b82811015614e1857888601518255948401946001909101908401614df9565b5085821015614e365787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220ac1ac5bbc5327bb72ad538fb7c2022215e1c85017fa4ea8bca93664228db8bb064736f6c63430008150033","optimization_enabled":true,"verified_twin_address_hash":null,"is_verified":true,"compiler_settings":{"evmVersion":"paris","libraries":{},"metadata":{"bytecodeHash":"ipfs"},"optimizer":{"enabled":true,"runs":200},"remappings":[]},"optimization_runs":200,"sourcify_repo_url":"https://repo.sourcify.dev/contracts/partial_match/1/0xC6114A25F69C8115b1778c1c301efa9Bd7154e72/","decoded_constructor_args":null,"compiler_version":"0.8.21+commit.d9974bed","is_verified_via_verifier_alliance":false,"verified_at":"2024-02-21T02:06:30.201468Z","implementations":[],"proxy_type":null,"external_libraries":[],"creation_bytecode":"0x60806040523480156200001157600080fd5b506200001c62000022565b620000e4565b600054610100900460ff16156200008f5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60005460ff9081161015620000e2576000805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b614e7c80620000f46000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c8063715018a61161011a578063a9059cbb116100ad578063cdba49df1161007c578063cdba49df14610469578063d004f0f71461047c578063da3d21641461048f578063dd62ed3e146104af578063f2fde38b146104c257600080fd5b8063a9059cbb14610410578063c451c08d14610423578063c820f14614610443578063c93661941461045657600080fd5b80638da5cb5b116100e95780638da5cb5b146103c557806395d89b41146103e0578063a07addc0146103e8578063a457c2d7146103fd57600080fd5b8063715018a6146103775780637162da071461037f5780637b7b2c0e1461039f5780637d4ef73b146103b257600080fd5b8063313ce567116101925780635c975abb116101615780635c975abb1461031d57806361d22fae1461032857806364cc5eae1461033b57806370a082311461034e57600080fd5b8063313ce567146102c157806339509351146102d75780633d7c3e13146102ea5780634e3cdaeb146102fd57600080fd5b80631a6c5f90116101ce5780631a6c5f90146102735780631cf372ad1461028857806323b872dd1461029b578063250800cd146102ae57600080fd5b806306fdde0314610200578063095ea7b31461021e578063139dba551461024157806318160ddd14610261575b600080fd5b6102086104d5565b60405161021591906141cb565b60405180910390f35b61023161022c366004614235565b610567565b6040519015158152602001610215565b61025461024f36600461426e565b610581565b6040516102159190614290565b6035545b604051908152602001610215565b6102866102813660046143aa565b610799565b005b610286610296366004614401565b6109e7565b6102316102a936600461441d565b610c7e565b6102866102bc366004614466565b610ca2565b6101385460405160ff9091168152602001610215565b6102316102e5366004614235565b610ddc565b6102866102f83660046144ae565b610dfe565b61031061030b3660046144e3565b610f6d565b60405161021591906145aa565b60655460ff16610231565b61028661033636600461464d565b611133565b610286610349366004614401565b6113b3565b61026561035c366004614694565b6001600160a01b031660009081526033602052604090205490565b610286611dfd565b61039261038d3660046144e3565b611e11565b60405161021591906146bf565b6102866103ad366004614782565b611f5f565b6102866103c03660046147bf565b6120a3565b60c9546040516001600160a01b039091168152602001610215565b6102086121cd565b6103f06121dc565b60405161021591906147dd565b61023161040b366004614235565b61223d565b61023161041e366004614235565b6122b8565b6104366104313660046144e3565b6122c6565b60405161021591906147f0565b6102866104513660046148e3565b612448565b610286610464366004614981565b612612565b6102866104773660046149d0565b612727565b61028661048a366004614235565b61303c565b6104a261049d3660046144e3565b6130a9565b6040516102159190614a15565b6102656104bd366004614a91565b61321e565b6102866104d0366004614694565b613249565b6060603680546104e490614ac4565b80601f016020809104026020016040519081016040528092919081815260200182805461051090614ac4565b801561055d5780601f106105325761010080835404028352916020019161055d565b820191906000526020600020905b81548152906001019060200180831161054057829003601f168201915b5050505050905090565b6000336105758185856132c2565b60019150505b92915050565b6060600060fd600084600481111561059b5761059b6144fc565b60048111156105ac576105ac6144fc565b81526020019081526020016000205467ffffffffffffffff8111156105d3576105d36142d4565b6040519080825280602002602001820160405280156105fc578160200160208202803683370190505b50905060005b60fd6000856004811115610618576106186144fc565b6004811115610629576106296144fc565b815260200190815260200160002054811015610792576000846004811115610653576106536144fc565b036106c25760fe600082600181111561066e5761066e6144fc565b600181111561067f5761067f6144fc565b6001811115610690576106906144fc565b8152602001908152602001600020548282815181106106b1576106b1614afe565b602002602001018181525050610780565b60018460048111156106d6576106d66144fc565b036106f257610100600082600181111561066e5761066e6144fc565b6002846004811115610706576107066144fc565b0361072257610102600082600181111561066e5761066e6144fc565b6101046000828015610736576107366144fc565b8015610744576107446144fc565b8015610752576107526144fc565b81526020019081526020016000205482828151811061077357610773614afe565b6020026020010181815250505b8061078a81614b2a565b915050610602565b5092915050565b33600090815260fb602052604090205460ff166107d15760405162461bcd60e51b81526004016107c890614b43565b60405180910390fd5b600082815261010560205260409020600301546001600160a01b03161561080a5760405162461bcd60e51b81526004016107c890614b6a565b60fd6000846004811115610820576108206144fc565b6004811115610831576108316144fc565b81526020019081526020016000205481511461088b5760405162461bcd60e51b8152602060048201526019602482015278494e56414c49445f5448524553484f4c445f434f554e54532160381b60448201526064016107c8565b60005b81518110156109075760008282815181106108ab576108ab614afe565b6020026020010151116108f55760405162461bcd60e51b8152602060048201526012602482015271494e56414c49445f5448524553484f4c442160701b60448201526064016107c8565b806108ff81614b2a565b91505061088e565b5060008281526101056020526040902082815560019081018054859260ff199091169083600481111561093c5761093c6144fc565b021790555060008281526101056020908152604090912060018101805461ff00191690558251610974926002909201918401906140a4565b506000828152610105602052604081206003810180546001600160a01b03191633179055600501805460ff1916600183021790555033600060035b6040518581527f12c58aca4e9ebf5bbe5235f6dc667de7a3b7c4f8471be709f514e9e1a71cff259060200160405180910390a4505050565b33600090815260fb602052604090205460ff16610a165760405162461bcd60e51b81526004016107c890614b43565b60026101065403610a395760405162461bcd60e51b81526004016107c890614b94565b6002610106556000826004811115610a5357610a536144fc565b03610ab357600081815260ff602081905260409091206004810154600690910154610a8a926001600160a01b0390921691166133e7565b600081815260ff6020526040902060060180546003919060ff19166001835b0217905550610c38565b6001826004811115610ac757610ac76144fc565b03610b23576000818152610101602052604090206001810154600390910154610b019161010090046001600160a01b03169060ff166133e7565b6000818152610101602052604090206003908101805460ff1916600183610aa9565b6002826004811115610b3757610b376144fc565b03610b90576000818152610103602052604090206003810154600590910154610b6c916001600160a01b03169060ff166133e7565b60008181526101036020526040902060050180546003919060ff1916600183610aa9565b6003826004811115610ba457610ba46144fc565b03610bfd576000818152610105602052604090206003810154600590910154610bd9916001600160a01b03169060ff166133e7565b60008181526101056020526040902060050180546003919060ff1916600183610aa9565b60405162461bcd60e51b815260206004820152601060248201526f554e4b4e4f574e5f524551554553542160801b60448201526064016107c8565b80826004811115610c4b57610c4b6144fc565b6040517fd4b68df9eef98410eb5ed4c779e2014889bc9e9f836af8bde49982ead4877d2690600090a35050600161010655565b600033610c8c858285613482565b610c978585856134fc565b506001949350505050565b33600090815260fb602052604090205460ff16610cd15760405162461bcd60e51b81526004016107c890614b43565b600083815260ff60205260409020600401546001600160a01b031615610d095760405162461bcd60e51b81526004016107c890614b6a565b600083815260ff6020526040902083815560019081018054869260ff19909116908381811115610d3b57610d3b6144fc565b0217905550600083815260ff60205260409020600281018390556003810180546001600160a01b03199081166001600160a01b03851617909155600482018054339216821790556006909101805460ff19169055846001811115610da157610da16144fc565b60006040518681527f12c58aca4e9ebf5bbe5235f6dc667de7a3b7c4f8471be709f514e9e1a71cff259060200160405180910390a450505050565b600033610575818585610def838361321e565b610df99190614bcb565b6132c2565b33600090815260fb602052604090205460ff16610e2d5760405162461bcd60e51b81526004016107c890614b43565b600083815260ff60205260409020600401546001600160a01b0316610e645760405162461bcd60e51b81526004016107c890614b6a565b600083815260ff60205260409020600401546001600160a01b03163314610e9d5760405162461bcd60e51b81526004016107c890614b43565b600083815260ff60208190526040822060060154166003811115610ec357610ec36144fc565b14610ee05760405162461bcd60e51b81526004016107c890614bde565b600083815260ff60208181526040808420600281018790556003810180546001600160a01b0319166001600160a01b03881617905581518581528084019283905294889052929091529151610f3b92600590920191906140ef565b508260006040517f8ab39991fae765346c6afb7eb20811f1509a6c893ec0e1815ddfb656d280231890600090a3505050565b610f75614144565b600082815261010560205260409020600301546001600160a01b0316610fad5760405162461bcd60e51b81526004016107c890614b6a565b60008281526101056020908152604091829020825160e08101909352805483526001810154909183019060ff166004811115610feb57610feb6144fc565b6004811115610ffc57610ffc6144fc565b81526001820154602090910190610100900460ff16801561101f5761101f6144fc565b801561102d5761102d6144fc565b81526020016002820180548060200260200160405190810160405280929190818152602001828054801561108057602002820191906000526020600020905b81548152602001906001019080831161106c575b505050918352505060038201546001600160a01b031660208083019190915260048301805460408051828502810185018252828152940193928301828280156110f257602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116110d4575b5050509183525050600582015460209091019060ff166003811115611119576111196144fc565b600381111561112a5761112a6144fc565b90525092915050565b33600090815260fb602052604090205460ff166111625760405162461bcd60e51b81526004016107c890614b43565b600082815261010560205260409020600301546001600160a01b031661119a5760405162461bcd60e51b81526004016107c890614b6a565b600082815261010560205260409020600301546001600160a01b031633146111d45760405162461bcd60e51b81526004016107c890614b43565b6000828152610105602052604081206005015460ff1660038111156111fb576111fb6144fc565b146112185760405162461bcd60e51b81526004016107c890614bde565b6000828152610105602052604081206001015460fd919060ff166004811115611243576112436144fc565b6004811115611254576112546144fc565b8152602001908152602001600020548151146112ae5760405162461bcd60e51b8152602060048201526019602482015278494e56414c49445f5448524553484f4c445f434f554e54532160381b60448201526064016107c8565b60005b815181101561132a5760008282815181106112ce576112ce614afe565b6020026020010151116113185760405162461bcd60e51b8152602060048201526012602482015271494e56414c49445f5448524553484f4c442160701b60448201526064016107c8565b8061132281614b2a565b9150506112b1565b506000828152610105602090815260409091208251611351926002909201918401906140a4565b506040805160008082526020808301808552868352610105909152929020905161138192600490920191906140ef565b508160035b6040517f8ab39991fae765346c6afb7eb20811f1509a6c893ec0e1815ddfb656d280231890600090a35050565b60008260048111156113c7576113c76144fc565b0361160457600081815260ff6020819052604090912060048101546006909101546113fe926001600160a01b0390921691166136d5565b600081815260ff6020819052604090912060019081015490911690811115611428576114286144fc565b60010361146057600081815260ff60205260409020600381015460029091015461145b916001600160a01b031690613754565b6115dc565b600081815260ff6020526040902060048101546003909101546001600160a01b039182169116036114b757600081815260ff60205260409020600481015460029091015461145b916001600160a01b031690613838565b600081815260ff6020526040902060030154306001600160a01b03909116036114f757600081815260ff602052604090206002015461145b903090613838565b600081815260ff6020526040902060028101546003820154600490920154909161152d916001600160a01b03918216911661321e565b101561157b5760405162461bcd60e51b815260206004820152601760248201527f494e53554646494349454e545f414c4c4f57414e43452100000000000000000060448201526064016107c8565b600081815260ff60205260409020600381015460048201546002909201546115b0926001600160a01b03928316921690613482565b600081815260ff6020526040902060038101546002909101546115dc916001600160a01b031690613838565b600081815260ff6020526040902060060180546002919060ff19166001835b02179055505050565b6001826004811115611618576116186144fc565b036116ba5760008181526101016020526040902060018101546003909101546116529161010090046001600160a01b03169060ff166136d5565b60008181526101016020526040902060019081015460ff169081111561167a5761167a6144fc565b60000361168e5761168961398f565b611696565b6116966139e9565b60008181526101016020526040902060030180546002919060ff19166001836115fb565b60028260048111156116ce576116ce6144fc565b03611ac6576000818152610103602052604090206003810154600590910154611703916001600160a01b03169060ff166136d5565b60005b60008281526101036020526040902060020154811015611a395760008281526101036020526040902060019081015460ff1690811115611748576117486144fc565b6001036118a357600082815261010360205260408120600201805460fb9291908490811061177857611778614afe565b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff16156117d95760405162461bcd60e51b81526020600482015260096024820152684558495354494e472160b81b60448201526064016107c8565b600160fb60006101036000868152602001908152602001600020600201848154811061180757611807614afe565b6000918252602080832091909101546001600160a01b031683528281019390935260409182018120805460ff1916941515949094179093558483526101039091529020600201805460fc91908390811061186357611863614afe565b60009182526020808320909101548354600181018555938352912090910180546001600160a01b0319166001600160a01b03909216919091179055611a27565b60fc546001106118e75760405162461bcd60e51b815260206004820152600f60248201526e4c4153545f5349474e41544f52592160881b60448201526064016107c8565b600082815261010360205260408120600201805460fb9291908490811061191057611910614afe565b60009182526020808320909101546001600160a01b0316835282019290925260400190205460ff1661196f5760405162461bcd60e51b8152602060048201526008602482015267554e4b4e4f574e2160c01b60448201526064016107c8565b600082815261010360205260408120600201805460fb9183918590811061199857611998614afe565b6000918252602080832091909101546001600160a01b031683528281019390935260409182018120805460ff19169415159490941790935584835261010390915290206002018054611a119160fc91849081106119f7576119f7614afe565b6000918252602090912001546001600160a01b0316613a22565b8051611a259160fc916020909101906140ef565b505b80611a3181614b2a565b915050611706565b5060008181526101036020526040902060058101805460ff19166002179055600190810154829160ff90911690811115611a7557611a756144fc565b7f7e514c236ce0c21fcabe88383d4dcf42e90a71538f6ecc3cb1241359cc2151d46101036000858152602001908152602001600020600201604051611aba9190614c03565b60405180910390a35050565b6003826004811115611ada57611ada6144fc565b03610bfd576000818152610105602052604090206003810154600590910154611b0f916001600160a01b03169060ff166136d5565b60005b6000828152610105602052604081206001015460fd919060ff166004811115611b3d57611b3d6144fc565b6004811115611b4e57611b4e6144fc565b815260200190815260200160002054811015611d7b576000828152610105602052604081206001015460ff166004811115611b8b57611b8b6144fc565b03611c0d57600082815261010560205260409020600201805482908110611bb457611bb4614afe565b906000526020600020015460fe6000836001811115611bd557611bd56144fc565b6001811115611be657611be66144fc565b6001811115611bf757611bf76144fc565b8152602081019190915260400160002055611d69565b60016000838152610105602052604090206001015460ff166004811115611c3657611c366144fc565b03611c8157600082815261010560205260409020600201805482908110611c5f57611c5f614afe565b90600052602060002001546101006000836001811115611bd557611bd56144fc565b60026000838152610105602052604090206001015460ff166004811115611caa57611caa6144fc565b03611cf557600082815261010560205260409020600201805482908110611cd357611cd3614afe565b90600052602060002001546101026000836001811115611bd557611bd56144fc565b600082815261010560205260409020600201805482908110611d1957611d19614afe565b90600052602060002001546101046000836000811115611d3b57611d3b6144fc565b8015611d4957611d496144fc565b8015611d5757611d576144fc565b81526020810191909152604001600020555b80611d7381614b2a565b915050611b12565b5060008181526101056020526040902060058101805460ff1916600217905560010154819060ff166004811115611db457611db46144fc565b7f374689f34df0bbe3adf83d2b6c5271d938df5fd3604e8074c28378ff0b4eae006101056000858152602001908152602001600020600201604051611aba9190614c47565b5050565b611e05613b8c565b611e0f6000613be6565b565b6040805160a08101825260008082526020820181905291810182905260608082015260808101919091526000828152610101602052604090206001015461010090046001600160a01b0316611e785760405162461bcd60e51b81526004016107c890614b6a565b60008281526101016020908152604091829020825160a0810190935280548352600180820154919284019160ff1690811115611eb657611eb66144fc565b6001811115611ec757611ec76144fc565b8152600182015461010090046001600160a01b03166020808301919091526002830180546040805182850281018501825282815294019392830182828015611f3857602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611f1a575b505050918352505060038281015460209092019160ff1690811115611119576111196144fc565b33600090815260fb602052604090205460ff16611f8e5760405162461bcd60e51b81526004016107c890614b43565b600082815261010360205260409020600301546001600160a01b0316611fc65760405162461bcd60e51b81526004016107c890614b6a565b600082815261010360205260409020600301546001600160a01b031633146120005760405162461bcd60e51b81526004016107c890614b43565b6000828152610103602052604081206005015460ff166003811115612027576120276144fc565b146120445760405162461bcd60e51b81526004016107c890614bde565b600082815261010360209081526040909120825161206a926002909201918401906140ef565b506040805160008082526020808301808552868352610103909152929020905161209a92600490920191906140ef565b50816002611386565b33600090815260fb602052604090205460ff166120d25760405162461bcd60e51b81526004016107c890614b43565b6000818152610101602052604090206001015461010090046001600160a01b0316156121105760405162461bcd60e51b81526004016107c890614b6a565b60008181526101016020526040902081815560019081018054849260ff19909116908381811115612143576121436144fc565b021790555060008181526101016020526040902060018082018054610100600160a81b031916336101008102919091179091556003909201805460ff191690558390811115612194576121946144fc565b60016040518481527f12c58aca4e9ebf5bbe5235f6dc667de7a3b7c4f8471be709f514e9e1a71cff259060200160405180910390a45050565b6060603780546104e490614ac4565b606060fc80548060200260200160405190810160405280929190818152602001828054801561055d57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612216575050505050905090565b6000338161224b828661321e565b9050838110156122ab5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016107c8565b610c9782868684036132c2565b6000336105758185856134fc565b6122ce61419c565b600082815261010360205260409020600301546001600160a01b03166123065760405162461bcd60e51b81526004016107c890614b6a565b60008281526101036020908152604091829020825160c0810190935280548352600180820154919284019160ff1690811115612344576123446144fc565b6001811115612355576123556144fc565b81526020016002820180548060200260200160405190810160405280929190818152602001828054801561108057602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161239457505050918352505060038201546001600160a01b031660208083019190915260048301805460408051828502810185018252828152940193928301828280156110f2576020028201919060005260206000209081546001600160a01b031681526001909101906020018083116110d4575050509183525050600582015460209091019060ff166003811115611119576111196144fc565b600054610100900460ff16158080156124685750600054600160ff909116105b806124825750303b158015612482575060005460ff166001145b6124e55760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107c8565b6000805460ff191660011790558015612508576000805461ff0019166101001790555b6125128686613c38565b61251a613c69565b612522613c98565b6001600160a01b03808316600081815260fb60205260408120805460ff1916600190811790915560fc805491820181559091527f371f36870d18f32a11fea0f144b021c8b407bb50f8e0267c711123f454b963c00180546001600160a01b03191690911790556101388054918516610100026001600160a81b031990921660ff8716179190911790556125b3613cc7565b6125bb613d80565b6125c482613be6565b801561260a576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050505050565b33600090815260fb602052604090205460ff166126415760405162461bcd60e51b81526004016107c890614b43565b600082815261010360205260409020600301546001600160a01b03161561267a5760405162461bcd60e51b81526004016107c890614b6a565b60008281526101036020526040902082815560019081018054859260ff199091169083818111156126ad576126ad6144fc565b021790555060008281526101036020908152604090912082516126d8926002909201918401906140ef565b506000828152610103602052604081206003810180546001600160a01b03191633179055600501805460ff1916600183021790555033836001811115612720576127206144fc565b60026109af565b33600090815260fb602052604090205460ff166127565760405162461bcd60e51b81526004016107c890614b43565b600261010654036127795760405162461bcd60e51b81526004016107c890614b94565b6002610106556000836004811115612793576127936144fc565b0361299b57600082815260ff6020819052604090912060048101546006909101546127ca926001600160a01b039092169116613e6f565b600082815260ff6020908152604080832060050180548251818502810185019093528083526128379383018282801561282c57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161280e575b505050505033613e95565b9050811561289357801561285d5760405162461bcd60e51b81526004016107c890614c82565b600083815260ff602090815260408220600501805460018101825590835291200180546001600160a01b031916331790556128f6565b806128b05760405162461bcd60e51b81526004016107c890614ca5565b600083815260ff602052604081206128cb9060050133613a22565b600085815260ff6020908152604090912082519293506128f3926005909101918401906140ef565b50505b600083815260ff60208190526040822060019081015460fe93921690811115612921576129216144fc565b6001811115612932576129326144fc565b8152602080820192909252604090810160009081205486825260ff90935220600501541015612962576000612965565b60015b600084815260ff60205260409020600601805460ff19166001836003811115612990576129906144fc565b021790555050612fe8565b60018360048111156129af576129af6144fc565b03612bbe5760008281526101016020526040902060018101546003909101546129e99161010090046001600160a01b03169060ff16613e6f565b6000828152610101602090815260408083206002018054825181850281018501909352808352612a559383018282801561282c576020028201919060005260206000209081546001600160a01b0316815260019091019060200180831161280e57505050505033613e95565b90508115612ab2578015612a7b5760405162461bcd60e51b81526004016107c890614c82565b6000838152610101602090815260408220600201805460018101825590835291200180546001600160a01b03191633179055612b17565b80612acf5760405162461bcd60e51b81526004016107c890614ca5565b600083815261010160205260408120612aeb9060020133613a22565b6000858152610101602090815260409091208251929350612b14926002909101918401906140ef565b50505b600083815261010160205260408120600190810154610100929160ff90911690811115612b4657612b466144fc565b6001811115612b5757612b576144fc565b8152602080820192909252604090810160009081205486825261010190935220600201541015612b88576000612b8b565b60015b60008481526101016020526040902060039081018054909160ff19909116906001908490811115612990576129906144fc565b6002836004811115612bd257612bd26144fc565b03612dd5576000828152610103602052604090206003810154600590910154612c07916001600160a01b03169060ff16613e6f565b6000828152610103602090815260408083206004018054825181850281018501909352808352612c739383018282801561282c576020028201919060005260206000209081546001600160a01b0316815260019091019060200180831161280e57505050505033613e95565b90508115612cd0578015612c995760405162461bcd60e51b81526004016107c890614c82565b6000838152610103602090815260408220600401805460018101825590835291200180546001600160a01b03191633179055612d35565b80612ced5760405162461bcd60e51b81526004016107c890614ca5565b600083815261010360205260409020612d099060040133613a22565b61010360008581526020019081526020016000206004019080519060200190612d339291906140ef565b505b600083815261010360205260408120600190810154610102929160ff90911690811115612d6457612d646144fc565b6001811115612d7557612d756144fc565b8152602080820192909252604090810160009081205486825261010390935220600401541015612da6576000612da9565b60015b600084815261010360205260409020600501805460ff19166001836003811115612990576129906144fc565b6003836004811115612de957612de96144fc565b03610bfd576000828152610105602052604090206003810154600590910154612e1e916001600160a01b03169060ff16613e6f565b6000828152610105602090815260408083206004018054825181850281018501909352808352612e8a9383018282801561282c576020028201919060005260206000209081546001600160a01b0316815260019091019060200180831161280e57505050505033613e95565b90508115612ee7578015612eb05760405162461bcd60e51b81526004016107c890614c82565b6000838152610105602090815260408220600401805460018101825590835291200180546001600160a01b03191633179055612f4c565b80612f045760405162461bcd60e51b81526004016107c890614ca5565b600083815261010560205260409020612f209060040133613a22565b61010560008581526020019081526020016000206004019080519060200190612f4a9291906140ef565b505b600083815261010560205260408120600101546101049190610100900460ff168015612f7a57612f7a6144fc565b8015612f8857612f886144fc565b8152602080820192909252604090810160009081205486825261010590935220600401541015612fb9576000612fbc565b60015b600084815261010560205260409020600501805460ff19166001836003811115612990576129906144fc565b3382846004811115612ffc57612ffc6144fc565b60405184151581527fdca74fe419e42e4b1192a5ed6d15146d8a2c79be70e858272e4137be529458139060200160405180910390a4505060016101065550565b6002610106540361305f5760405162461bcd60e51b81526004016107c890614b94565b6002610106556101385461010090046001600160a01b031633146130955760405162461bcd60e51b81526004016107c890614b43565b61309f8282613754565b5050600161010655565b6040805160e08101825260008082526020820181905291810182905260608082018390526080820183905260a082015260c0810191909152600082815260ff60205260409020600401546001600160a01b03166131185760405162461bcd60e51b81526004016107c890614b6a565b600082815260ff6020818152604092839020835160e08101909452805484526001808201549193928501929190911690811115613157576131576144fc565b6001811115613168576131686144fc565b8152600282015460208083019190915260038301546001600160a01b039081166040808501919091526004850154909116606084015260058401805482518185028101850190935280835260809094019391929091908301828280156131f757602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116131d9575b5050509183525050600682015460209091019060ff166003811115611119576111196144fc565b6001600160a01b03918216600090815260346020908152604080832093909416825291909152205490565b613251613b8c565b6001600160a01b0381166132b65760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016107c8565b6132bf81613be6565b50565b6001600160a01b0383166133245760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107c8565b6001600160a01b0382166133855760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107c8565b6001600160a01b0383811660008181526034602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03821661340d5760405162461bcd60e51b81526004016107c890614b6a565b6001600160a01b03821633146134355760405162461bcd60e51b81526004016107c890614b43565b6000816003811115613449576134496144fc565b148061346657506001816003811115613464576134646144fc565b145b611df95760405162461bcd60e51b81526004016107c890614bde565b600061348e848461321e565b905060001981146134f657818110156134e95760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107c8565b6134f684848484036132c2565b50505050565b6001600160a01b0383166135605760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107c8565b6001600160a01b0382166135c25760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107c8565b6135cd838383613ef9565b6001600160a01b038316600090815260336020526040902054818110156136455760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107c8565b6001600160a01b0380851660009081526033602052604080822085850390559185168152908120805484929061367c908490614bcb565b92505081905550826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef846040516136c891815260200190565b60405180910390a36134f6565b6001600160a01b0382166136fb5760405162461bcd60e51b81526004016107c890614b6a565b6001600160a01b03821633146137235760405162461bcd60e51b81526004016107c890614b43565b6001816003811115613737576137376144fc565b14611df95760405162461bcd60e51b81526004016107c890614ca5565b6001600160a01b0382166137aa5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107c8565b6137b660008383613ef9565b80603560008282546137c89190614bcb565b90915550506001600160a01b038216600090815260336020526040812080548392906137f5908490614bcb565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001611aba565b6001600160a01b0382166138985760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107c8565b6138a482600083613ef9565b6001600160a01b038216600090815260336020526040902054818110156139185760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107c8565b6001600160a01b0383166000908152603360205260408120838303905560358054849290613947908490614ccc565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906020016133da565b505050565b613997613f0c565b6065805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586139cc3390565b6040516001600160a01b03909116815260200160405180910390a1565b6139f1613f52565b6065805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa336139cc565b606060005b8354811015613b2d57826001600160a01b0316848281548110613a4c57613a4c614afe565b6000918252602090912001546001600160a01b031603613b1b5783548490613a7690600190614ccc565b81548110613a8657613a86614afe565b9060005260206000200160009054906101000a90046001600160a01b0316848281548110613ab657613ab6614afe565b9060005260206000200160006101000a8154816001600160a01b0302191690836001600160a01b0316021790555083805480613af457613af4614cdf565b600082815260209020810160001990810180546001600160a01b0319169055019055613b2d565b80613b2581614b2a565b915050613a27565b50825460408051602080840282018101909252828152918591830182828015613b7f57602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311613b61575b5050505050905092915050565b60c9546001600160a01b03163314611e0f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016107c8565b60c980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff16613c5f5760405162461bcd60e51b81526004016107c890614cf5565b611df98282613f9b565b600054610100900460ff16613c905760405162461bcd60e51b81526004016107c890614cf5565b611e0f613fdb565b600054610100900460ff16613cbf5760405162461bcd60e51b81526004016107c890614cf5565b611e0f61400e565b60fd602081905260027fc34a738ec333e394a3927794cadc6dd0eb7d9eed0999d1e55021ea223ac362cc8190557f6443157f7701a627e53184b74fce0d403f4bf9bc1aaa0bc17c9ee17e10ec8b8f8190557fef9a6077cbcbcf7bec11d47569fea4be738d880200c72c7271b993ae0f57e37e8190556003600090815260017fddec8a35231c466760a2fede23c08a34280dd1cd9b2da7e3dd8e38d773292cc35590919060045b8152602081019190915260400160002055565b60017f32796e36004994222362c2f9423d5e208bb848170964890784a8d59ed40f50af8190557f457c8a48b4735f56b938837eb0a8a5f9c55f23c1a85767ce3b65c3e59d3d32b78190557f1c215b54eec9ee6aca29c851c685652f7166e29c4e460f5b894f8abee449ad3b8190557f0f37cc93c7327dd0773c9bad1b9130cb34ac422da3ad8b8ae014d912837518708190556101026020527f902d1eb9cb7bf5a8087a0aabaf00b340029088a7a2af68d406d96c3be8e809b681905560008080527f565a22c1af7fcc038f06206699a6bd0ad8c85d23dafe9aebac3e0df68e8fb3208290556101049080613d6d565b6001600160a01b0382166134355760405162461bcd60e51b81526004016107c890614b6a565b60008060005b8451811015613ef157836001600160a01b0316858281518110613ec057613ec0614afe565b60200260200101516001600160a01b031603613edf5760019150613ef1565b80613ee981614b2a565b915050613e9b565b509392505050565b613f01613f0c565b61398a83838361403e565b60655460ff1615611e0f5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107c8565b60655460ff16611e0f5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107c8565b600054610100900460ff16613fc25760405162461bcd60e51b81526004016107c890614cf5565b6036613fce8382614d86565b50603761398a8282614d86565b600054610100900460ff166140025760405162461bcd60e51b81526004016107c890614cf5565b6065805460ff19169055565b600054610100900460ff166140355760405162461bcd60e51b81526004016107c890614cf5565b611e0f33613be6565b60655460ff161561398a5760405162461bcd60e51b815260206004820152602a60248201527f45524332305061757361626c653a20746f6b656e207472616e736665722077686044820152691a5b19481c185d5cd95960b21b60648201526084016107c8565b8280548282559060005260206000209081019282156140df579160200282015b828111156140df5782518255916020019190600101906140c4565b506140eb9291506141b6565b5090565b8280548282559060005260206000209081019282156140df579160200282015b828111156140df57825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019061410f565b6040805160e0810190915260008082526020820190815260200160005b81526020016060815260200160006001600160a01b031681526020016060815260200160006003811115614197576141976144fc565b905290565b6040805160c0810190915260008082526020820190614161565b5b808211156140eb57600081556001016141b7565b600060208083528351808285015260005b818110156141f8578581018301518582016040015282016141dc565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461423057600080fd5b919050565b6000806040838503121561424857600080fd5b61425183614219565b946020939093013593505050565b80356005811061423057600080fd5b60006020828403121561428057600080fd5b6142898261425f565b9392505050565b6020808252825182820181905260009190848201906040850190845b818110156142c8578351835292840192918401916001016142ac565b50909695505050505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715614313576143136142d4565b604052919050565b600067ffffffffffffffff821115614335576143356142d4565b5060051b60200190565b600082601f83011261435057600080fd5b813560206143656143608361431b565b6142ea565b82815260059290921b8401810191818101908684111561438457600080fd5b8286015b8481101561439f5780358352918301918301614388565b509695505050505050565b6000806000606084860312156143bf57600080fd5b6143c88461425f565b925060208401359150604084013567ffffffffffffffff8111156143eb57600080fd5b6143f78682870161433f565b9150509250925092565b6000806040838503121561441457600080fd5b6142518361425f565b60008060006060848603121561443257600080fd5b61443b84614219565b925061444960208501614219565b9150604084013590509250925092565b600281106132bf57600080fd5b6000806000806080858703121561447c57600080fd5b843561448781614459565b935060208501359250604085013591506144a360608601614219565b905092959194509250565b6000806000606084860312156144c357600080fd5b83359250602084013591506144da60408501614219565b90509250925092565b6000602082840312156144f557600080fd5b5035919050565b634e487b7160e01b600052602160045260246000fd5b60018110614522576145226144fc565b9052565b600081518084526020808501945080840160005b838110156145565781518752958201959082019060010161453a565b509495945050505050565b600081518084526020808501945080840160005b838110156145565781516001600160a01b031687529582019590820190600101614575565b60048110614522576145226144fc565b602081528151602082015260006020830151600581106145cc576145cc6144fc565b8060408401525060408301516145e56060840182614512565b50606083015160e06080840152614600610100840182614526565b9050608084015161461c60a08501826001600160a01b03169052565b5060a0840151838203601f190160c08501526146388282614561565b91505060c0840151613ef160e085018261459a565b6000806040838503121561466057600080fd5b82359150602083013567ffffffffffffffff81111561467e57600080fd5b61468a8582860161433f565b9150509250929050565b6000602082840312156146a657600080fd5b61428982614219565b600281106132bf576132bf6144fc565b6020815281516020820152600060208301516146da816146af565b8060408401525060018060a01b036040840151166060830152606083015160a0608084015261470c60c0840182614561565b90506080840151613ef160a085018261459a565b600082601f83011261473157600080fd5b813560206147416143608361431b565b82815260059290921b8401810191818101908684111561476057600080fd5b8286015b8481101561439f5761477581614219565b8352918301918301614764565b6000806040838503121561479557600080fd5b82359150602083013567ffffffffffffffff8111156147b357600080fd5b61468a85828601614720565b600080604083850312156147d257600080fd5b823561425181614459565b6020815260006142896020830184614561565b60208152815160208201526000602083015161480b816146af565b80604084015250604083015160c0606084015261482b60e0840182614561565b60608501516001600160a01b0316608085810191909152850151848203601f190160a086015290915061485e8282614561565b91505060a0840151613ef160c085018261459a565b600082601f83011261488457600080fd5b813567ffffffffffffffff81111561489e5761489e6142d4565b6148b1601f8201601f19166020016142ea565b8181528460208386010111156148c657600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a086880312156148fb57600080fd5b853567ffffffffffffffff8082111561491357600080fd5b61491f89838a01614873565b9650602088013591508082111561493557600080fd5b5061494288828901614873565b945050604086013560ff8116811461495957600080fd5b925061496760608701614219565b915061497560808701614219565b90509295509295909350565b60008060006060848603121561499657600080fd5b83356149a181614459565b925060208401359150604084013567ffffffffffffffff8111156149c457600080fd5b6143f786828701614720565b6000806000606084860312156149e557600080fd5b6149ee8461425f565b92506020840135915060408401358015158114614a0a57600080fd5b809150509250925092565b602081528151602082015260006020830151614a30816146af565b8060408401525060408301516060830152606083015160018060a01b0380821660808501528060808601511660a0850152505060a083015160e060c0840152614a7d610100840182614561565b905060c0840151613ef160e085018261459a565b60008060408385031215614aa457600080fd5b614aad83614219565b9150614abb60208401614219565b90509250929050565b600181811c90821680614ad857607f821691505b602082108103614af857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600060018201614b3c57614b3c614b14565b5060010190565b6020808252600d908201526c554e415554484f52495a45442160981b604082015260600190565b60208082526010908201526f494e56414c49445f524551554553542160801b604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b8082018082111561057b5761057b614b14565b6020808252600b908201526a4e4f545f4143544956452160a81b604082015260600190565b6020808252825482820181905260008481528281209092916040850190845b818110156142c85783546001600160a01b031683526001938401939285019201614c22565b6020808252825482820181905260008481528281209092916040850190845b818110156142c857835483526001938401939285019201614c66565b602080825260099082015268415050524f5645442160b81b604082015260600190565b6020808252600d908201526c4e4f545f415050524f5645442160981b604082015260600190565b8181038181111561057b5761057b614b14565b634e487b7160e01b600052603160045260246000fd5b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b601f82111561398a57600081815260208120601f850160051c81016020861015614d675750805b601f850160051c820191505b8181101561260a57828155600101614d73565b815167ffffffffffffffff811115614da057614da06142d4565b614db481614dae8454614ac4565b84614d40565b602080601f831160018114614de95760008415614dd15750858301515b600019600386901b1c1916600185901b17855561260a565b600085815260208120601f198616915b82811015614e1857888601518255948401946001909101908401614df9565b5085821015614e365787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fea2646970667358221220ac1ac5bbc5327bb72ad538fb7c2022215e1c85017fa4ea8bca93664228db8bb064736f6c63430008150033","name":"StableCoin","is_blueprint":false,"license_type":"none","is_fully_verified":false,"is_verified_via_eth_bytecode_db":true,"language":"solidity","evm_version":"paris","can_be_visualized_via_sol2uml":true,"is_verified_via_sourcify":true,"additional_sources":[],"certified":false,"conflicting_implementations":null,"abi":[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum Common.RequestType","name":"reqType","type":"uint8"},{"indexed":true,"internalType":"uint256","name":"reqId","type":"uint256"},{"indexed":true,"internalType":"address","name":"signatoryAddress","type":"address"},{"indexed":false,"internalType":"bool","name":"isApproved","type":"bool"}],"name":"RequestApproval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum Common.RequestType","name":"reqType","type":"uint8"},{"indexed":true,"internalType":"uint256","name":"reqId","type":"uint256"}],"name":"RequestCancelled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum Common.RequestType","name":"reqType","type":"uint8"},{"indexed":true,"internalType":"uint256","name":"subType","type":"uint256"},{"indexed":true,"internalType":"address","name":"ownerAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"reqId","type":"uint256"}],"name":"RequestCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum Common.RequestType","name":"reqType","type":"uint8"},{"indexed":true,"internalType":"uint256","name":"reqId","type":"uint256"}],"name":"RequestUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum Common.SignatoryControlRequestType","name":"reqType","type":"uint8"},{"indexed":true,"internalType":"uint256","name":"reqId","type":"uint256"},{"indexed":false,"internalType":"address[]","name":"signatoryAddress","type":"address[]"}],"name":"SignatoriesUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"enum Common.RequestType","name":"reqType","type":"uint8"},{"indexed":true,"internalType":"uint256","name":"reqId","type":"uint256"},{"indexed":false,"internalType":"uint256[]","name":"newThresholds","type":"uint256[]"}],"name":"ThresholdUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum Common.RequestType","name":"reqType_","type":"uint8"},{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"cancelRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Common.SignatoryControlRequestType","name":"reqSubType_","type":"uint8"},{"internalType":"uint256","name":"id_","type":"uint256"},{"internalType":"address[]","name":"users_","type":"address[]"}],"name":"createSignatoryControlRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Common.RequestType","name":"reqType_","type":"uint8"},{"internalType":"uint256","name":"id_","type":"uint256"},{"internalType":"uint256[]","name":"thresholds_","type":"uint256[]"}],"name":"createThresholdControlRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Common.TokenSupplyControlRequestType","name":"reqSubType_","type":"uint8"},{"internalType":"uint256","name":"id_","type":"uint256"},{"internalType":"uint256","name":"amount_","type":"uint256"},{"internalType":"address","name":"to_","type":"address"}],"name":"createTokenSupplyControlRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Common.TransactionControlRequestType","name":"reqSubType_","type":"uint8"},{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"createTransactionControlRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Common.RequestType","name":"reqType_","type":"uint8"},{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"execute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"getSignatoryControlRequest","outputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"enum Common.SignatoryControlRequestType","name":"subType","type":"uint8"},{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address[]","name":"approvals","type":"address[]"},{"internalType":"enum Common.RequestStatus","name":"status","type":"uint8"}],"internalType":"struct Common.SignatoryControlRequests","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSignatoryList","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"getThresholdControlRequest","outputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"enum Common.RequestType","name":"reqType","type":"uint8"},{"internalType":"enum Common.ThresholdControlRequestType","name":"subType","type":"uint8"},{"internalType":"uint256[]","name":"thresholds","type":"uint256[]"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address[]","name":"approvals","type":"address[]"},{"internalType":"enum Common.RequestStatus","name":"status","type":"uint8"}],"internalType":"struct Common.ThresholdControlRequests","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"enum Common.RequestType","name":"reqType_","type":"uint8"}],"name":"getThresholds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"getTokenSupplyControlRequest","outputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"enum Common.TokenSupplyControlRequestType","name":"subType","type":"uint8"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"wallet","type":"address"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address[]","name":"approvals","type":"address[]"},{"internalType":"enum Common.RequestStatus","name":"status","type":"uint8"}],"internalType":"struct Common.TokenSupplyControlRequests","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"}],"name":"getTransactionControlRequest","outputs":[{"components":[{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"enum Common.TransactionControlRequestType","name":"subType","type":"uint8"},{"internalType":"address","name":"owner","type":"address"},{"internalType":"address[]","name":"approvals","type":"address[]"},{"internalType":"enum Common.RequestStatus","name":"status","type":"uint8"}],"internalType":"struct Common.TransactionControlRequests","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"uint8","name":"decimals_","type":"uint8"},{"internalType":"address","name":"governanceToken_","type":"address"},{"internalType":"address","name":"owner_","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"swap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"},{"internalType":"address[]","name":"users_","type":"address[]"}],"name":"updateSignatoryControlRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"},{"internalType":"uint256[]","name":"thresholds_","type":"uint256[]"}],"name":"updateThresholdControlRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id_","type":"uint256"},{"internalType":"uint256","name":"amount_","type":"uint256"},{"internalType":"address","name":"to_","type":"address"}],"name":"updateTokenSupplyControlRequest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Common.RequestType","name":"reqType_","type":"uint8"},{"internalType":"uint256","name":"id_","type":"uint256"},{"internalType":"bool","name":"approval_","type":"bool"}],"name":"vote","outputs":[],"stateMutability":"nonpayable","type":"function"}],"is_changed_bytecode":false,"is_partially_verified":true,"constructor_args":null}