Skip to content

IProjectDiamond

Inherits:

The interface for the ProjectDiamond contract

Relevant interfaces:

  • IEvents: Events used by the project
  • ISharedErrors: Shared errors used by the project
  • IAccessControlFacet: Manages access control and roles
  • IAssetRecoveryFacet: Platform Admin only Recovers stuck assets that are not part of the project
  • IBalanceFacet: Manages the balance of certificates
  • ICertificateFacet: Manages certificates
  • ICycleFacet: Manages cycles (reward distribution periods)
  • IExitAndLiquidationFacet: Manages exits (quick depositToken and rewardTokens withdrawals) and liquidations (sell the depositToken and rewardTokens for ETH)
  • IReadingFacet: Allows querying project’s data in a human-readable format, compatible with JSON consumers
  • IRewardFacet: Manages and distributes rewards (rewardTokens) to certificate holders, respecting the distribution rules
  • ISettingsFacet: Manages the settings of the project (flags and data). The settings are used to control the project’s behaviour
  • IVerificationFacet: Manages the verification level of the project. The verification level is used in the frontend to display the project’s status