refactor: rm usv3 callback from router and add generic callback to executor

This commit is contained in:
royvardhan
2025-02-13 20:31:21 +05:30
parent bb7c6c25a5
commit a309825769
3 changed files with 51 additions and 48 deletions

View File

@@ -24,6 +24,10 @@ interface IExecutor {
uint256 givenAmount,
bytes calldata data
) external payable returns (uint256 calculatedAmount);
function handleCallback(
bytes calldata callbackData
) external returns (address tokenOwed, uint256 amountOwed);
}
interface IExecutorErrors {