Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dfinity/orbit
/ time
Function
time
libs/orbit-essentials/src/cdk.rs:80–82 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
78
}
79
80
pub fn time() -> u64 {
81
IC_TIME.with(|t| t.borrow().duration_since(UNIX_EPOCH).unwrap().as_nanos() as u64)
82
}
83
84
pub fn id() -> Principal {
85
super::TEST_CANISTER_ID
Callers
15
rate_limit
Function · 0.85
test_request_insertion
Function · 0.85
test_request_removal
Function · 0.85
test_initialize_job_timers
Function · 0.85
run_scheduled
Method · 0.85
schedule
Method · 0.85
fetch_account_balances
Method · 0.85
from
Method · 0.85
default
Method · 0.85
update_last_upgrade_timestamp
Method · 0.85
ensure_not_in_progress
Method · 0.85
evaluate_requests
Method · 0.85
Calls
no outgoing calls
Tested by
6
test_request_insertion
Function · 0.68
test_request_removal
Function · 0.68
test_initialize_job_timers
Function · 0.68
test_do_recovery
Function · 0.68
test_sync_committee_during_recovery
Function · 0.68
test_sync_accounts_during_recovery
Function · 0.68