Function scrypto::blueprints::resource::global_caller
source · pub fn global_caller(
global_caller: impl Into<GlobalCaller>
) -> ResourceOrNonFungible
Expand description
A requirement for the global ancestor of the actor who made the latest global call to either be:
- The main module of the given global component (pass a
ComponentAddress
orGlobalAddress
) - A package function on the given blueprint (pass
(PackageAddress, String)
orBlueprint
)