Skip to content

Commit

Permalink
Add Mock Pool manager
Browse files Browse the repository at this point in the history
  • Loading branch information
nobita851 committed Dec 3, 2024
1 parent ff52255 commit afc068d
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions contracts/src/Mock/MockPoolManager.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.9;
import {IPoolManager, PoolKey, BalanceDelta} from "../IPoolManager.sol";

contract MockPoolManager {
event SwapExecuted();

function swap(
PoolKey memory,
IPoolManager.SwapParams calldata,
bytes calldata
) external returns (BalanceDelta delta) {
emit SwapExecuted();
return delta;
}
}

0 comments on commit afc068d

Please sign in to comment.