-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
2 changed files
with
18 additions
and
1 deletion.
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
17 changes: 17 additions & 0 deletions
17
contracts/src/v0.8/automation/v2_3/AutomationUtils2_3New.sol
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,17 @@ | ||
// SPDX-License-Identifier: BUSL-1.1 | ||
pragma solidity 0.8.19; | ||
|
||
import {AutomationRegistryBase2_3} from "./AutomationRegistryBase2_3.sol"; | ||
|
||
/** | ||
* @notice this file exposes structs that are otherwise internal to the automation registry | ||
* doing this allows those structs to be encoded and decoded with type safety in offchain code | ||
* and tests because generated wrappers are made available | ||
*/ | ||
|
||
contract AutomationUtils2_3 { | ||
/** | ||
* @dev this uses the v2.3 Report, which uses linkUSD instead of linkNative (as in v2.2 and prior). This should be used only in typescript tests. | ||
*/ | ||
function _report(AutomationRegistryBase2_3.Report memory) external {} // 0xe65d6546 | ||
} |