Skip to content

Commit 403bc20

Browse files
authored
chore: export 7579 types to JSON ABI (#46)
1 parent 8f2cef5 commit 403bc20

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
// SPDX-License-Identifier: MIT
2+
pragma solidity ^0.8.24;
3+
4+
import { Execution } from "../../src/interfaces/IERC7579Account.sol";
5+
6+
/// @title IERC7579TypeExporter
7+
/// @notice Mock contract that exports Execution struct to the ABI
8+
/// @dev This contract exists solely to force the Solidity compiler to include
9+
/// the Execution struct definition in the generated ABI JSON.
10+
/// It should never be deployed or called in production.
11+
contract IERC7579TypeExporter {
12+
function exportExecution(Execution calldata) external pure { }
13+
}

0 commit comments

Comments
 (0)