Skip to content

Commit 888708d

Browse files
committed
refactor: add missing functions to IAligned....sol
1 parent 3a47b87 commit 888708d

File tree

3 files changed

+8
-2
lines changed

3 files changed

+8
-2
lines changed

contracts/scripts/anvil/state/alignedlayer-deployed-anvil-state.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

contracts/src/core/AlignedLayerServiceManager.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ contract AlignedLayerServiceManager is
362362
function checkPublicInput(
363363
bytes calldata publicInput,
364364
bytes32 hash
365-
) public pure returns (bool) {
365+
) external pure returns (bool) {
366366
return keccak256(publicInput) == hash;
367367
}
368368

contracts/src/core/IAlignedLayerServiceManager.sol

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,4 +74,10 @@ interface IAlignedLayerServiceManager {
7474
function enableVerifier(uint8 verifierIdx) external;
7575

7676
function setDisabledVerifiers(uint256 bitmap) external;
77+
78+
function withdraw(uint256 amount) external;
79+
80+
function depositToBatcher(address account) external payable;
81+
82+
function checkPublicInput(bytes calldata publicInput, bytes32 hash) external pure returns (bool);
7783
}

0 commit comments

Comments
 (0)