Skip to content

Instantly share code, notes, and snippets.

@buendiadas
Created November 7, 2023 23:45
Show Gist options
  • Save buendiadas/10ee5236ed00d5fea0b74504f9eb18d4 to your computer and use it in GitHub Desktop.
Save buendiadas/10ee5236ed00d5fea0b74504f9eb18d4 to your computer and use it in GitHub Desktop.
Pool Operator: LockModifyPosition
function lockModifyPosition(PoolKey memory key, IPoolManager.ModifyPositionParams memory params) public {
poolManager.lock(abi.encodeCall(this.__performModifyPosition, (key, params, msg.sender)));
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment