Icon LinkBurn

use fuel_types::{AssetId, ContractId};
pub struct Burn {
    pub sub_id: AssetId,
    pub contract_id: ContractId,
    pub val: u64,
    pub pc: u64,
    pub is: u64,
}

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

fn handle_burn(burn: Burn) {
	// handle the emitted Burn receipt
}