The home for Hyperlane core contracts, sdk packages, and other infrastructure
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hyperlane-monorepo/solidity/contracts/interfaces/avs/vendored/IAVSDirectory.sol

25 lines
726 B

// SPDX-License-Identifier: BUSL-1.1
pragma solidity >=0.8.0;
import "./ISignatureUtils.sol";
/// part of mock interfaces for vendoring necessary Eigenlayer contracts for the hyperlane AVS
/// @author Layr Labs, Inc.
interface IAVSDirectory is ISignatureUtils {
enum OperatorAVSRegistrationStatus {
UNREGISTERED,
REGISTERED
}
event AVSMetadataURIUpdated(address indexed avs, string metadataURI);
function registerOperatorToAVS(
address operator,
ISignatureUtils.SignatureWithSaltAndExpiry memory operatorSignature
) external;
function deregisterOperatorFromAVS(address operator) external;
function updateAVSMetadataURI(string calldata metadataURI) external;
}