Skip to content

Commit c76760a

Browse files
committed
update inheritdoc inheritance
1 parent 44bcd02 commit c76760a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/aglorithms/algorithm-2.sol

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
pragma solidity ^0.8.26;
33

44
import { BaseAlgorithm } from "./BaseAlgorithm.sol";
5+
import { IAlgorithm } from "@async-swap/interfaces/IAlgorithm.sol";
56
import { AsyncOrder } from "@async-swap/types/AsyncOrder.sol";
67
import { TransientStorage } from "@async-swap/utils/TransientStorage.sol";
78
import { SafeCast } from "@openzeppelin/contracts/utils/math/SafeCast.sol";
@@ -45,12 +46,12 @@ contract Algorithm2 is BaseAlgorithm, TransientStorage {
4546

4647
constructor(address _hookAddress) BaseAlgorithm(_hookAddress) { }
4748

48-
/// @inheritdoc BaseAlgorithm
49+
/// @inheritdoc IAlgorithm
4950
function name() external pure override returns (string memory) {
5051
return "Algorithm2";
5152
}
5253

53-
/// @inheritdoc BaseAlgorithm
54+
/// @inheritdoc IAlgorithm
5455
function version() external pure override returns (string memory) {
5556
return "1.0.0";
5657
}
@@ -61,7 +62,7 @@ contract Algorithm2 is BaseAlgorithm, TransientStorage {
6162
return zeroForOne ? true : false;
6263
}
6364

64-
/// @inheritdoc BaseAlgorithm
65+
/// @inheritdoc IAlgorithm
6566
function orderingRule(bool zeroForOne, uint256 amount) external virtual override onlyHook {
6667
bool isNextBuy;
6768
bool isPrevBuy;

0 commit comments

Comments
 (0)