Runtime

Runtime Info Provider

The Runtime contract provides runtime information to developers. It exposes functions to retrieve pseudo-process IDs (PIDs) and pseudo-random UUIDs.

Public Functions

pid

function pid() public returns (bytes memory args)

Get the pseudo-process ID (PID) from Arcology concurrent framework.

  • Details:

    • The PID is a pseudo-process ID and does not represent a real transaction being processed.

  • Returns:

    • args (type: bytes): The pseudo-process ID (PID) returned by the external contract.

uuid

function uuid() public returns (bytes memory id)

Get a pseudo-random UUID.

  • Details:

    • The UUID is a pseudo-random number generated by the external contract.

  • Returns:

    • id (type: bytes): The pseudo-random UUID returned by the external contract.

Last updated