Skip to main content

ModuleResolutionContext

For the complete documentation index, see llms.txt

@midnight-ntwrk/compact-runtime v0.20.0


@midnight-ntwrk/compact-runtime / ModuleResolutionContext

Type Alias: ModuleResolutionContext

type ModuleResolutionContext = {
calleeAddress: ContractAddress;
calleeCircuitId: CircuitId;
callerAddress: ContractAddress;
interfaceName: string;
};

Which call failed, and through which contract type.

Properties​

calleeAddress​

readonly calleeAddress: ContractAddress;

calleeCircuitId​

readonly calleeCircuitId: CircuitId;

callerAddress​

readonly callerAddress: ContractAddress;

interfaceName​

readonly interfaceName: string;

The caller's local name for the contract type. Nothing on the callee's side is matched against it, since it has no name to offer.