Skip to content

Commit

Permalink
test: one inch adapter (#1213)
Browse files Browse the repository at this point in the history
  • Loading branch information
KedziaPawel authored May 21, 2024
1 parent d237aa1 commit 48d7148
Show file tree
Hide file tree
Showing 3 changed files with 781 additions and 0 deletions.
26 changes: 26 additions & 0 deletions tests/interfaces/external/IOneInchV5AggregationRouter.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
// SPDX-License-Identifier: GPL-3.0

/*
This file is part of the Enzyme Protocol.
(c) Enzyme Council <[email protected]>
For the full license information, please view the LICENSE
file that was distributed with this source code.
*/

pragma solidity >=0.6.0 <0.9.0;

/// @title IOneInchV5AggregationRouter Interface
/// @author Enzyme Council <[email protected]>
interface IOneInchV5AggregationRouter {
struct SwapDescription {
address srcToken;
address dstToken;
address payable srcReceiver;
address payable dstReceiver;
uint256 amount;
uint256 minReturnAmount;
uint256 flags;
}
}
1 change: 1 addition & 0 deletions tests/interfaces/interfaces.txt
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ IZeroExV4Adapter.sol: ZeroExV4Adapter.abi.json
ISwellStakingAdapter.sol: SwellStakingAdapter.abi.json
IDivaStakingAdapter.sol: DivaStakingAdapter.abi.json
IGenericWrappingAdapterBase.sol: GenericWrappingAdapterBase.abi.json
IOneInchV5Adapter.sol: OneInchV5Adapter.abi.json

# External positions
IExternalPositionManager.sol: ExternalPositionManager.abi.json
Expand Down
Loading

0 comments on commit 48d7148

Please sign in to comment.