-
Notifications
You must be signed in to change notification settings - Fork 330
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #118 from Layr-Labs/permissioned-operator-churn
Permissioned operator churn
- Loading branch information
Showing
7 changed files
with
289 additions
and
123 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
// SPDX-License-Identifier: BUSL-1.1 | ||
pragma solidity >=0.5.0; | ||
|
||
/** | ||
* @title The interface for common signature utilities. | ||
* @author Layr Labs, Inc. | ||
* @notice Terms of Service: https://docs.eigenlayer.xyz/overview/terms-of-service | ||
*/ | ||
interface ISignatureUtils { | ||
// @notice Struct that bundles together a signature and an expiration time for the signature. Used primarily for stack management. | ||
struct SignatureWithExpiry { | ||
// the signature itself, formatted as a single bytes object | ||
bytes signature; | ||
// the expiration timestamp (UTC) of the signature | ||
uint256 expiry; | ||
} | ||
|
||
// @notice Struct that bundles together a signature, a salt for uniqueness, and an expiration time for the signature. Used primarily for stack management. | ||
struct SignatureWithSaltAndExpiry { | ||
// the signature itself, formatted as a single bytes object | ||
bytes signature; | ||
// the salt used to generate the signature | ||
bytes32 salt; | ||
// the expiration timestamp (UTC) of the signature | ||
uint256 expiry; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.