get_role_admin

Function get_role_admin 

Source
pub fn get_role_admin(e: &Env, role: &Symbol) -> Option<Symbol>
Expand description

Returns the admin role for a specific role. If no admin role is explicitly set, returns None.

ยงArguments

  • e - Access to Soroban environment.
  • role - The role to query the admin role for.