Skip to main content

register_symbol

Function register_symbol 

Source
pub fn register_symbol(name: &str) -> String
Expand description

The register symbol of the capability called name: the prefix, then the name with every character a symbol cannot carry replaced by _.

lumen-capability-macros spells the same name at the capability’s compile time; the two spellings are the contract between a capability and a link that selects it.