跳到主要内容

projectId

Contract: JBToken​‌

Interface: IJBToken

The ID of the project that this token should be exclusively used for. Send 0 to support any project.

Definition

/**
@notice
The ID of the project that this token should be exclusively used for. Send 0 to support any project.
*/
uint256 public immutable override projectId;
  • Once set the value cannot be changed.
  • The resulting view function can be accessed externally by anyone.
  • The resulting function overrides a function definition from the IJBToken interface.