Crate iota_sc_hname_generator[][src]

Macros

calculate_hash

Calculates hash of the input string and generates the output: “0x123ABC” Usage1: pub const hash_name : u32 = calculate_hash!(“name”) Usage2: enum MyEnum { Hash_Name = calculate_hash!(“fairroulette”); }

generate_schname

Calculates hash of the input string and generates the output: “wasmlib::ScHname();” Usage: pub const HNAME_ : wasmlib::ScHname = generate_schname!(“name”);