Return

use fuel_types::ContractId;
pub struct Return {
    pub contract_id: ContractId,
    pub val: u64,
    pub pc: u64,
    pub is: u64,
}

You can handle functions that produce a Return receipt type by adding a parameter with the type abi::Return.

fn handle_return(data: abi::Return) {
  // handle the returned data
}