[][src]Function casperlabs_contract_ffi::contract_api::runtime::get_caller

pub fn get_caller() -> PublicKey

Returns caller of current context. When in root context (not in the sub call) - returns None. When in the sub call - returns public key of the account that made the deploy.