Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dfinity/orbit
/ is_controller
Function
is_controller
libs/orbit-essentials/src/cdk.rs:88–90 ·
view source on GitHub ↗
(principal: &Principal)
Source
from the content-addressed store, hash-verified
86
}
87
88
pub fn is_controller(principal: &Principal) -> bool {
89
*principal == super::TEST_CONTROLLER_ID
90
}
91
92
pub fn trap(message: &str) -> ! {
93
panic!(
"{}"
, message);
Callers
9
caller_is_controller_or_self
Method · 0.85
caller_is_controller
Method · 0.85
set_disaster_recovery_committee
Method · 0.85
set_disaster_recovery_accounts
Method · 0.85
set_disaster_recovery_accounts_and_assets
Method · 0.85
can_query_state
Method · 0.85
get_disaster_recovery_accounts_and_assets
Method · 0.85
get_logs
Method · 0.85
is_controller
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected