-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
51 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
// SPDX-License-Identifier: GPL-3.0-only | ||
|
||
pragma solidity ^0.8.18; | ||
|
||
import "../../interfaces/ISwapOperator.sol"; | ||
|
||
contract STMockSwapOperator is ISwapOperator { | ||
|
||
function requestAsset(address, uint) external virtual pure { | ||
revert("Unsupported"); | ||
} | ||
|
||
function transferRequestedAsset(address, uint) external virtual pure { | ||
revert("Unsupported"); | ||
} | ||
|
||
function getDigest(GPv2Order.Data calldata) external virtual view returns (bytes32) { | ||
revert("Unsupported"); | ||
} | ||
|
||
function getUID(GPv2Order.Data calldata) external virtual view returns (bytes memory) { | ||
revert("Unsupported"); | ||
} | ||
|
||
function orderInProgress() external virtual pure returns (bool) { | ||
revert("Unsupported"); | ||
} | ||
|
||
function placeOrder(GPv2Order.Data calldata, bytes calldata) external virtual { | ||
revert("Unsupported"); | ||
} | ||
|
||
function closeOrder(GPv2Order.Data calldata) external virtual { | ||
revert("Unsupported"); | ||
} | ||
|
||
function swapEnzymeVaultShareForETH(uint, uint) external virtual { | ||
revert("Unsupported"); | ||
} | ||
|
||
function swapETHForEnzymeVaultShare(uint, uint) external virtual { | ||
revert("Unsupported"); | ||
} | ||
|
||
function recoverAsset(address, address) external virtual { | ||
revert("Unsupported"); | ||
} | ||
} |
19 changes: 0 additions & 19 deletions
19
contracts/mocks/SafeTracker/SafeTrackerSwapOperatorMock.sol
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters