Skip to content

Commit 0c86a17

Browse files
committed
interfaces
1 parent dc1d7ec commit 0c86a17

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
// SPDX-License-Identifier: MIT
22
pragma solidity ^0.8.0;
33

4-
// https://github.com/Lay3rLabs/WAVS/blob/f1e33d0efd347bea9d99a546cde774d4372a0bf3/sdk/contracts/solidity/interfaces/ILayerService.sol
5-
interface IWavsService {
4+
interface ILayerServiceHandler {
65
/**
76
* @param data The arbitrary data that was signed.
87
* @param signature The signature of the data.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// SPDX-License-Identifier: MIT
2+
pragma solidity ^0.8.0;
3+
4+
interface ILayerServiceManager {
5+
// ------------------------------------------------------------------------
6+
// Custom Errors
7+
// ------------------------------------------------------------------------
8+
error InvalidSignature();
9+
10+
/**
11+
* @param data The arbitrary data that was signed.
12+
* @param signature The signature of the data.
13+
*/
14+
function validate(bytes calldata data, bytes calldata signature) external view;
15+
}

0 commit comments

Comments
 (0)