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
Input | Type | Description |
---|---|---|
_release | uint8 | The release number. |
_releaseMetadata | bytes | The 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
Input | Type | Description |
---|---|---|
_release | uint8 | The release number. |
_pluginSetupAddress | address | The address of the plugin setup contract. |
_buildMetadata | bytes | The build metadata URI. |
_releaseMetadata | bytes | The release metadata URI. |