-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: modified flexCallData validator further
- Loading branch information
1 parent
776be11
commit b119d63
Showing
2 changed files
with
38 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
// SPDX-License-Identifier: MIT | ||
|
||
pragma solidity ^0.8.0; | ||
|
||
struct OnchainCrossChainOrder { | ||
uint32 fillDeadline; | ||
bytes32 orderDataType; | ||
bytes orderData; | ||
} | ||
|
||
contract MockBridge { | ||
event Open(OnchainCrossChainOrder order); | ||
|
||
function open(OnchainCrossChainOrder calldata order) public { | ||
emit Open(order); | ||
} | ||
} |
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