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 or GlobalAddress)
  • A package function on the given blueprint (pass (PackageAddress, String) or Blueprint)