Skip to main content

key_role

Function key_role 

Source
const fn key_role(is_root: bool, is_admin: bool) -> &'static str
Expand description

root when the key is the account EOA itself, admin when it is a T6 admin key, otherwise limited.