{
    "Function": "verifyCallResultFromTarget",
    "File": "contracts/src/vendor/openzeppelin-solidity/v4.8.3/contracts/utils/Address.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [
        "isContract",
        "require(bool,string)",
        "_revert"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function verifyCallResultFromTarget(\n    address target,\n    bool success,\n    bytes memory returndata,\n    string memory errorMessage\n  ) internal view returns (bytes memory) {\n    if (success) {\n      if (returndata.length == 0) {\n        // only check isContract if the call was successful and the return data is empty\n        // otherwise we already know that it was a contract\n        require(isContract(target), \"Address: call to non-contract\");\n      }\n      return returndata;\n    } else {\n      _revert(returndata, errorMessage);\n    }\n  }"
}