CallVerification
The CallVerification
library provides utility functions for verifying and hashing call sequences within the Atlas Protocol. It ensures the integrity of operation chains by generating unique hashes based on user and solver operations. This library is essential for maintaining consistent and secure execution flows in complex decentralized applications.
Functions
getCallChainHash
function getCallChainHash(
UserOperation memory userOp,
SolverOperation[] memory solverOps
) internal pure returns (bytes32 callSequenceHash)
Description
Generates a unique hash representing the sequence of user and solver operations. This hash is used to verify the integrity and order of operations within the protocol, ensuring that the execution flow remains consistent and tamper-proof.
Parameters
Name | Type | Description |
---|---|---|
userOp | UserOperation memory | The user operation to be included in the hash. |
solverOps | SolverOperation[] memory | An array of solver operations to be included in the hash. |
Return Values
Name | Type | Description |
---|---|---|
callSequenceHash | bytes32 | The resulting hash representing the call sequence. |