Function ink_lang_ir::utils::local_message_id[][src]

pub fn local_message_id(ident: &Ident) -> u32
Expand description

Returns a local ID unique to the ink! trait definition for the identifier.

Note

  • The returned value is equal to the selector of the message identifier.
  • Used from within ink! trait definitions as well as ink! trait implementation blocks.