Function concordium_std::is_valid_entrypoint_name
source · pub fn is_valid_entrypoint_name(name: &str) -> Result<(), NewReceiveNameError>
Expand description
Check whether the given string is a valid contract entrypoint name. This is the case if and only if
- the string is no more than constants::MAX_FUNC_NAME_SIZE bytes
- all characters are ascii alphanumeric or punctuation characters.