If current node is a state maintainer node, return true
If it’s a hosting node, return false.
Return current system timestamp
Return current wasm-actor’s token_id in manifest file
Return empty string if the env var is not set by the OS
Return system time
Depends on tea:env actor
Return current miner’s owner address
Register cronjob in wasm-actor.
register_cron_job(CronjobArgs {
subject: “cronjob_subject”.into(),
expression: “0 2/30 * * * * *”.to_string(),
gas_limit: DEFAULT_GAS_LIMIT,
})
.await?;
Register a random tick with range_start
and range_end
specifying the min and max tick interval
in milliseconds
Return system time in micro-seconds