Documentation for interfaces in KeepBridge
@@ -77,7 +77,13 @@ contract KeepBridge is IKeep {
}
/// @notice Interface for communication with `KeepRegistry` contract
+/// @dev It allows to call a function without the need of low-level call
interface KeepRegistryContract {
+
+ /// @notice Create a new ECDSA keep
+ /// @param _groupSize Number of members in the keep
+ /// @param _honestThreshold Minimum number of honest keep members
+ /// @return Created keep address
function createECDSAKeep(
uint256 _groupSize,
uint256 _honestThreshold
@@ -85,6 +91,10 @@ interface KeepRegistryContract {
}
/// @notice Interface for communication with `ECDSAKeep` contract
+/// @dev It allows to call a function without the need of low-level call
interface ECDSAKeepContract {
+
+ /// @notice Returns the keep signer's public key.
+ /// @return Signer's public key.
function getPublicKey() external view returns (bytes memory);
}
