Constant scrypto::constants::GLOBAL_CALLER_VIRTUAL_BADGE
source · pub const GLOBAL_CALLER_VIRTUAL_BADGE: ResourceAddress;
Expand description
The non-fungible badge resource which is used for virtual proofs which represent the global ancestor of the actor which made the latest global call.
For example, if there is a global component A containing an internal component A2, and A2 makes a global call to B,
then the access check for that global call will see a proof of this GLOBAL_CALLER_VIRTUAL_BADGE
for the global component A.