pub const DEFAULT_SUB_ID = b256::zero()
Expand description

The default Sub Id for assets.

Examples

use std::{call_frames::contract_id, constants::DEFAULT_SUB_ID};

fn foo() {
    let asset = AssetId::default();
    assert(AssetId::new(contract_id(), DEFAULT_SUB_ID) == msg_asset_id());
}