Skip to main content
Version: v1.4

ISCUtil

ISCUtil

Functions of the ISC Magic Contract not directly related to the ISC sandbox

hn

function hn(string s) external pure returns (ISCHname)

Get an ISC contract's hname given its instance name

Converts a string instance name to its corresponding ISC hname.

Parameters

NameTypeDescription
sstringThe instance name of the ISC contract.

Return Values

NameTypeDescription
[0]ISCHnameThe ISCHname corresponding to the given instance name.

print

function print(string s) external pure

Print something to the console (will only work when debugging contracts with Solo)

Prints the given string to the console for debugging purposes.

Parameters

NameTypeDescription
sstringThe string to print to the console.

__iscUtil

contract ISCUtil __iscUtil