Skip to main content

ensNamePartsOf

Contract: JBProjectHandles​‌

Interface: IJBProjectHandles

The parts of the stored ENS name of a project.

Definition

function ensNamePartsOf(uint256 _projectId) external view override returns (string[] memory) { ... }
  • Arguments:
    • _projectId is the ID of the project to get the ENS name of.
  • The view function can be accessed externally by anyone.
  • The view function does not alter state on the blockchain.
  • The function overrides a function definition from the IJBProjectHandles interface.
  • The function returns the ENS name parts of a project.

Body

  1. Return the contents of the stored internal variable.

    return _ensNamePartsOf[_projectId];

    Internal references: