Skip to main content

Function: getParent()

function getParent(contextCall): ClaimIssuer;

Function to get the parent of a call context. If the transaction that held the currently executing CallOp was extracted from L1, it will be "Parser", otherwise, the issuer will be the smart contract that created the transaction that held this CallOp.

Parameters

contextCall: CallContext

The call context.

Returns

ClaimIssuer

The issuer of the call context.


Coinweb © 2024