Skip to main content

IPluginRepo

Description

The interface required for a plugin repository.

Implementation

external function updateReleaseMetadata

Updates the metadata for release with content @fromHex(_releaseMetadata).

function updateReleaseMetadata(uint8 _release, bytes _releaseMetadata) external
InputTypeDescription
_releaseuint8The release number.
_releaseMetadatabytesThe release metadata URI.

external function createVersion

Creates a new plugin version as the latest build for an existing release number or the first build for a new release number for the provided PluginSetup contract address and metadata.

function createVersion(uint8 _release, address _pluginSetupAddress, bytes _buildMetadata, bytes _releaseMetadata) external
InputTypeDescription
_releaseuint8The release number.
_pluginSetupAddressaddressThe address of the plugin setup contract.
_buildMetadatabytesThe build metadata URI.
_releaseMetadatabytesThe release metadata URI.
© 2024