kernl API
    Preparing search index...

    Function contractName

    • The contract a grant stands for, as the shell writes it beside the plain words: the NAP domain in capitals (RESOURCE, OUTBOX). It is an identifier, like an address, so it is the one place the raw name is shown, and only next to words that say what it means (D-057).

      Parameters

      • domain: string

        The NAP domain.

      Returns string

      The domain in capitals.

      contractName('resource'); // 'RESOURCE'