跳到主要内容

terminalsOf

For each project ID, the terminals that are currently managing its funds.

Definition

function terminalsOf(uint256 _projectId)
external
view
override
returns (IJBPaymentTerminal[] memory) { ... }
  • Arguments:
    • _projectId is the ID of the project to get terminals 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 IJBDirectory interface.
  • The function returns an array of terminal addresses.

Body

  1. This function just reads and returns the stored _terminalsOf the project.

    return _terminalsOf[_projectId];

    Internal references: