{
    "Function": "slitherConstructorConstantVariables",
    "File": "contracts/mixins/CollateralManagement.sol",
    "Parent Contracts": [
        "contracts/mixins/roles/AdminRole.sol",
        "contracts/mixins/OZ/AccessControlUpgradeable.sol",
        "node_modules/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol",
        "node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "abstract contract CollateralManagement is AdminRole {\n  using AddressUpgradeable for address payable;\n\n  event FundsWithdrawn(address indexed to, uint256 amount);\n\n  /**\n   * @notice Accept native currency payments (i.e. fees)\n   */\n  // solhint-disable-next-line no-empty-blocks\n  receive() external payable {}\n\n  /**\n   * @notice Allows an admin to withdraw funds.\n   * @dev    In normal operation only ETH is required, but this allows access to any\n   *         ERC-20 funds sent to the contract as well.\n   *\n   * @param to        Address to receive the withdrawn funds\n   * @param amount    Amount to withdrawal or 0 to withdraw all available funds\n   */\n  function withdrawFunds(address payable to, uint256 amount) external onlyAdmin {\n    if (amount == 0) {\n      amount = address(this).balance;\n    }\n    to.sendValue(amount);\n\n    emit FundsWithdrawn(to, amount);\n  }\n\n  /**\n   * @notice This empty reserved space is put in place to allow future versions to add new\n   * variables without shifting down storage in the inheritance chain.\n   * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n   */\n  uint256[1000] private __gap;\n}"
}