Icon LinkCall

use fuel_types::{AssetId, ContractId};
pub struct Call {
    pub contract_id: ContractId,
    pub to: ContractId,
    pub amount: u64,
    pub asset_id: AssetId,
    pub gas: u64,
    pub fn_name: String,
}

You can handle functions that produce a Call receipt type by adding a parameter with the type Call.

fn handle_call(call: Call) {
	// handle the emitted Call receipt
}