Icon LinkMint

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

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

fn handle_mint(mint: Mint) {
	// handle the emitted Mint receipt
}

Was this page helpful?