Skip to content

Commit bd9bfbd

Browse files
committed
feat: add forced tx inclusion interface
1 parent 0de9157 commit bd9bfbd

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
// SPDX-License-Identifier: Apache 2.0
2+
pragma solidity 0.8.9;
3+
4+
import {FuelMessagePortalV3} from "./v3/FuelMessagePortalV3.sol";
5+
6+
/// @notice to be used by external tools, like the block producer
7+
/// @dev marked abstract to track all relevant current and future functions as development evolves
8+
abstract contract IFuelMessagePortal is FuelMessagePortalV3 {
9+
event TransactionSent(bytes serializedTx, uint64);
10+
11+
function sendTransaction(bytes calldata serializedTx, uint64 gas) external payable virtual;
12+
13+
function getLastSeenBlock() external virtual returns (uint256);
14+
15+
function getUsedGas() external virtual returns (uint64);
16+
}

0 commit comments

Comments
 (0)