Skip to content

CallbackLibrary

State Variables

CALLBACK_TYPE

string constant CALLBACK_TYPE = "Callback(address addr,uint96 gasLimit)";

CALLBACK_TYPEHASH

bytes32 constant CALLBACK_TYPEHASH = keccak256(bytes(CALLBACK_TYPE));

Functions

eip712Digest

Computes the EIP-712 digest for the given callback

function eip712Digest(Callback memory callback) internal pure returns (bytes32);
Parameters
NameTypeDescription
callbackCallbackThe callback to compute the digest for
Returns
NameTypeDescription
<none>bytes32The EIP-712 digest of the callback