pub fn set_admin(e: &Env, admin: &Address)Expand description
Sets the overarching admin role.
§Arguments
e- Access to Soroban environment.admin- The account to grant the admin privilege.
§Errors
AccessControlError::AdminAlreadySet- If the admin is already set.
IMPORTANT: this function lacks authorization checks. It is expected to call this function only in the constructor!