-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
store relayer on relay [SLT-182] #3170
Changes from 1 commit
41b552c
3f2f3da
7ab1507
caa01ec
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,4 +20,15 @@ interface IFastBridgeV2 is IFastBridge { | |
/// @param request The encoded bridge transaction to claim on origin chain | ||
function claim(bytes memory request) external; | ||
|
||
/// @notice Checks if a transaction has been relayed | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Needs |
||
/// @param transactionId The ID of the transaction to check | ||
/// @return True if the transaction has been relayed, false otherwise | ||
function bridgeRelays(bytes32 transactionId) external view returns (bool); | ||
|
||
struct BridgeRelay { | ||
uint48 blockNumber; | ||
uint48 blockTimestamp; | ||
address relayer; | ||
} | ||
|
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To avoid repetition, let's make
bridgeRelays(bytes32)
a public view - will make it easier to maintain later on.