Function piecrust_uplink::caller

source ยท
pub fn caller() -> ContractId
Available on crate feature abi only.
Expand description

Return the ID of the calling contract. The returned id will be uninitialized if there is no caller - meaning this is the first contract to be called.