mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
Update dated documentation for verifySignature (B1)
This commit is contained in:
@@ -148,8 +148,8 @@ contract Router is IRouterWithoutCollisions {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @dev Verify a signature of the calldata, placed immediately after the function selector. The
|
* @dev Verify a signature of the calldata, placed immediately after the function selector. The
|
||||||
* calldata should be signed with the nonce taking the place of the signature's commitment to
|
* calldata should be signed with the chain ID taking the place of the signature's challenge, and
|
||||||
* its nonce, and the signature solution zeroed.
|
* the smart contract's nonce taking the place of the signature's response.
|
||||||
*/
|
*/
|
||||||
/// @param key The key to verify the signature with
|
/// @param key The key to verify the signature with
|
||||||
function verifySignature(bytes32 key)
|
function verifySignature(bytes32 key)
|
||||||
|
|||||||
Reference in New Issue
Block a user