Functionsยง
- assert_
controllers - Asserts that the controller IDs are not anonymous and not revoked.
- assert_
max_ number_ of_ controllers - Asserts that the number of controllers does not exceed the maximum allowed.
- caller_
is_ console - Checks if the caller is the console.
- caller_
is_ observatory - Checks if the caller is the observatory.
- caller_
is_ self - Checks if the caller is the canister itself.
- controller_
can_ write - Checks if a caller is a controller with admin or write scope (permissions).
- delete_
controllers - Removes specified controllers from the set.
- filter_
admin_ controllers - Filters the set of controllers, returning only those with administrative scope.
- init_
admin_ controllers - Initializes a set of controllers with default administrative scope.
- into_
controller_ ids - Converts the controllers set into a vector of controller IDs.
- is_
admin_ controller - Checks if a caller is an admin controller.
- is_
controller - Checks if a caller is a controller regardless of its scope (admin, write or submit).
- set_
controllers - Sets or updates controllers with specified data.