Skip to content

Commit

Permalink
feat: correctly set interface
Browse files Browse the repository at this point in the history
  • Loading branch information
reednaa committed Jun 17, 2024
1 parent 4394417 commit c80eb67
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/interfaces/IIncentivizedMessageEscrow.sol
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,13 @@ interface IIncentivizedMessageEscrow is IMessageEscrowStructs, IMessageEscrowErr
function processPacket(bytes calldata messagingProtocolContext, bytes calldata message, bytes32 feeRecipient) payable external;

function setRemoteImplementation(bytes32 chainIdentifier, bytes calldata implementation) external;

/**
* @notice Estimates the additional cost to the messaging router to validate the message
* @param destinationChainIdentifier Destination chain. Some messaging protocols have chain based costs.
* @return asset The asset the token is in. If native token, returns address(0);
* @return amount The number of assets to pay.
*/
function estimateAdditionalCost(bytes32 destinationChainIdentifier) external view returns(address asset, uint256 amount);
function estimateAdditionalCost() external view returns(address asset, uint256 amount);

function timeoutMessage(
bytes32 sourceIdentifier,
Expand Down

0 comments on commit c80eb67

Please sign in to comment.