File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 22pragma solidity ^ 0.8.26 ;
33
44import { BaseAlgorithm } from "./BaseAlgorithm.sol " ;
5+ import { IAlgorithm } from "@async-swap/interfaces/IAlgorithm.sol " ;
56import { AsyncOrder } from "@async-swap/types/AsyncOrder.sol " ;
67import { TransientStorage } from "@async-swap/utils/TransientStorage.sol " ;
78import { 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;
You can’t perform that action at this time.
0 commit comments