Files
tycho-execution/foundry/interfaces/ICallbackVerifier.sol
Diana Carvalho 33ada0cf26 fix: Remove amountReceived, dataOffset from ICallbackVerifier interface
--- don't change below this line ---
ENG-4081 Took 1 hour 36 minutes
2025-01-29 20:19:34 +00:00

17 lines
444 B
Solidity

// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.28;
interface ICallbackVerifier {
error UnauthorizedCaller(string exchange, address sender);
/**
* @dev This method should revert if the sender is not a verified sender of the exchange.
*/
function verifyCallback(address sender, bytes calldata data)
external
returns (
uint256 amountOwed,
address tokenOwed
);
}