0
if there is no caller—for example, when a transaction begins execution inside an
account contract.
Note: This function returns the direct caller. If you’re interested in the account that
initiated the transaction, use get_execution_info().tx_info.unbox().account_contract_address
instead.
pub fn get_caller_address() -> ContractAddress
use starknet::get_caller_address;
let caller = get_caller_address();