v4-core
v4-core copied to clipboard
[Bug]: Fix lockAcquired reference in README
Describe the bug
The Interface of lockAcquired in ILockCallback has been changed and it's incorrect to still use the old interface in README
It will cause the compile error for the first time who uses the code in README
It should remove the first parameter id and only keeps data
function lockAcquired(uint256 id, bytes calldata data) external returns (bytes memory) { // perform pool actions poolManager.swap(...) }
Expected Behavior
compile success
To Reproduce
No response
Additional context
No response