Skip to content

Commit 682e7cc

Browse files
authored
Add forced transaction inclusion interface (#151)
1 parent 0de9157 commit 682e7cc

File tree

2 files changed

+21
-0
lines changed

2 files changed

+21
-0
lines changed

.changeset/honest-dryers-promise.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@fuel-bridge/solidity-contracts': patch
3+
---
4+
5+
Add FTI interface
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 Transaction(uint64 max_gas, bytes canonically_serialized_tx);
10+
11+
function sendTransaction(uint64 gas, bytes calldata serializedTx) 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)