pub fn program_id() -> ActorId
Return the identifier of the current program.
use gcore::exec; #[unsafe(no_mangle)] extern "C" fn handle() { let whoami = exec::program_id(); }