{
    "Function": "verify",
    "File": "contracts/lib/openzeppelin-contracts/contracts/metatx/MinimalForwarder.sol",
    "Parent Contracts": [
        "contracts/lib/openzeppelin-contracts/contracts/utils/cryptography/draft-EIP712.sol"
    ],
    "High-Level Calls": [
        "ECDSA"
    ],
    "Internal Calls": [
        "_hashTypedDataV4",
        "keccak256(bytes)",
        "keccak256(bytes)",
        "abi.encode()"
    ],
    "Library Calls": [
        "recover"
    ],
    "Low-Level Calls": [],
    "Code": "function verify(ForwardRequest calldata req, bytes calldata signature) public view returns (bool) {\n        address signer = _hashTypedDataV4(\n            keccak256(abi.encode(_TYPEHASH, req.from, req.to, req.value, req.gas, req.nonce, keccak256(req.data)))\n        ).recover(signature);\n        return _nonces[req.from] == req.nonce && signer == req.from;\n    }"
}