Skip to content

Commit

Permalink
Add ResolverMock
Browse files Browse the repository at this point in the history
  • Loading branch information
zZoMROT committed Oct 24, 2023
1 parent 1fbefae commit cbbbf9b
Show file tree
Hide file tree
Showing 10 changed files with 228 additions and 886 deletions.
266 changes: 0 additions & 266 deletions contracts/Settlement.sol

This file was deleted.

13 changes: 12 additions & 1 deletion contracts/interfaces/IResolver.sol
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

pragma solidity 0.8.19;

import "@1inch/limit-order-protocol-contract/contracts/interfaces/IOrderMixin.sol";

interface IResolver {
function resolveOrders(bytes calldata tokensAndAmounts, bytes calldata data) external returns(bool);
function takerInteraction(
IOrderMixin.Order calldata order,
bytes calldata extension,
bytes32 orderHash ,
address taker,
uint256 makingAmount,
uint256 takingAmount,
uint256 remainingMakingAmount,
bytes calldata extraData
) external;
}
42 changes: 0 additions & 42 deletions contracts/libraries/DynamicSuffix.sol

This file was deleted.

Loading

0 comments on commit cbbbf9b

Please sign in to comment.