Skip to content

Commit 20ece9d

Browse files
committed
doc: add a note in Settler about Katana _dispatchVIP
1 parent bc6c27a commit 20ece9d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Settler.sol

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ abstract contract Settler is ISettlerTakerSubmitted, Permit2PaymentTakerSubmitte
7070
}
7171

7272
function _dispatchVIP(uint256 action, bytes calldata data) internal virtual returns (bool) {
73+
//// NOTICE: Portions of this function have been copy/paste'd into
74+
//// `src/chains/Katana/TakerSubmitted.sol:KatanaSettler._dispatchVIP`. If you make changes
75+
//// here, you need to make sure that corresponding changes are made to that function.
76+
7377
if (action == uint32(ISettlerActions.TRANSFER_FROM.selector)) {
7478
(address recipient, ISignatureTransfer.PermitTransferFrom memory permit, bytes memory sig) =
7579
abi.decode(data, (address, ISignatureTransfer.PermitTransferFrom, bytes));

0 commit comments

Comments
 (0)