Skip to content

Commit

Permalink
docs: explaining content of payload
Browse files Browse the repository at this point in the history
  • Loading branch information
RonTuretzky committed Dec 27, 2024
1 parent 8c31b97 commit 988d92c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/example-contracts/OffchainMessageConsumer.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ contract OffchainMessageConsumer is LayerSDK {
constructor(address _stakeRegistry) LayerSDK(_stakeRegistry) {}

/**
* @notice Validates a layer task from off-chain AVS operator
* @param _task The off-chain data to verify
* @return _isValid Whether the task is valid
* @notice Validates a layer task from off-chain AVS operator and checks the message
* @param _task The off-chain message to verify and the encoded signature, signers and reference block
* @return _isValid Whether the task is valid and the message is valid
*/
function validateOffchainMessage(ILayerSDK.Task calldata _task)
external
Expand Down

0 comments on commit 988d92c

Please sign in to comment.