MessageCoinPredicate

Type Alias MessageCoinPredicate 

Source
pub type MessageCoinPredicate = Message<MessageCoin<Predicate>>;

Aliased Type§

pub struct MessageCoinPredicate {
    pub sender: Address,
    pub recipient: Address,
    pub amount: u64,
    pub nonce: Nonce,
    pub witness_index: Empty<u16>,
    pub predicate_gas_used: u64,
    pub data: Empty<Bytes>,
    pub predicate: PredicateCode,
    pub predicate_data: Bytes,
}

Fields§

§sender: Address

The sender from the L1 chain.

§recipient: Address

The receiver on the Fuel chain.

§amount: u64§nonce: Nonce§witness_index: Empty<u16>§predicate_gas_used: u64

Exact amount of gas used by the predicate. If the predicate consumes different amount of gas, it’s considered to be false.

§data: Empty<Bytes>§predicate: PredicateCode§predicate_data: Bytes

Implementations§