File tree 2 files changed +21
-0
lines changed
packages/solidity-contracts/contracts/fuelchain/FuelMessagePortal
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @fuel-bridge/solidity-contracts ' : patch
3
+ ---
4
+
5
+ Add FTI interface
Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments