Smart Contracts
Contracts
Resolvers
CCIP
SignatureVerifier

SignatureVerifier

Git Source (opens in a new tab)

Functions

makeSignatureHash

Generates a hash for signing/verifying.

function makeSignatureHash(address target, uint64 expires, bytes memory request, bytes memory result)
    internal
    pure
    returns (bytes32);

Parameters

NameTypeDescription
targetaddress
expiresuint64
requestbytes
resultbytes

verify

Verifies a signed message returned from a callback.

function verify(bytes calldata request, bytes calldata response) internal view returns (address, bytes memory);

Parameters

NameTypeDescription
requestbytes
responsebytes

Returns

NameTypeDescription
<none>addresssigner: The address that signed this message.
<none>bytesresult: The result decoded from response.