-
Notifications
You must be signed in to change notification settings - Fork 2
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
5 changed files
with
39 additions
and
20 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
.forge-snapshots/RelayOrderReactorIntegrationTest-testExecute.snap
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 |
---|---|---|
@@ -1 +1 @@ | ||
264776 | ||
264895 |
2 changes: 1 addition & 1 deletion
2
.forge-snapshots/RelayOrderReactorIntegrationTest-testPermitAndExecute.snap
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 |
---|---|---|
@@ -1 +1 @@ | ||
312241 | ||
312360 |
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,24 @@ | ||
// SPDX-License-Identifier: GPL-2.0-or-later | ||
pragma solidity ^0.8.0; | ||
|
||
interface ReactorErrors { | ||
// Occurs when an output = ETH and the reactor does contain enough ETH but | ||
// the direct filler did not include enough ETH in their call to execute/executeBatch | ||
error InsufficientEth(); | ||
|
||
// A nested call failed | ||
error CallFailed(); | ||
|
||
error InvalidToken(); | ||
error UnsupportedAction(); | ||
error ReactorCallbackNotSupported(); | ||
|
||
/// @notice thrown when an order's deadline is before its end time | ||
error DeadlineBeforeEndTime(); | ||
|
||
/// @notice thrown when an order's end time is before its start time | ||
error OrderEndTimeBeforeStartTime(); | ||
|
||
/// @notice thrown when an order's inputs and outputs both decay | ||
error InputAndOutputDecay(); | ||
} |
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