fuel-core-relayer 0.47.1

Fuel Relayer
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![allow(missing_docs)]
use ethers_contract::abigen;

pub mod bridge {
    // The link to the original event definition:
    // https://github.com/FuelLabs/fuel-bridge/blob/05c4d9cced70d262742e20c85c7ef8a5d8898701/packages/portal-contracts/contracts/fuelchain/FuelMessagePortal.sol#L54
    super::abigen!(
        MessageSent,
        r#"[
            event MessageSent(bytes32 indexed sender, bytes32 indexed recipient, uint256 indexed nonce, uint64 amount, bytes data)
            event Transaction(uint256 indexed nonce, uint64 max_gas, bytes canonically_serialized_tx)
        ]"#,
    );
}