Skip to main content

PlaceholderSetup

Description

A placeholder setup contract for outdated plugin builds. When moving plugin repos to new chains or layers, where only the latest release and build should be available, this placeholder can be used to populate previous builds.

Implementation

error PlaceholderSetupCannotBeUsed

Thrown if the dummy is used.

error PlaceholderSetupCannotBeUsed()

public function constructor

constructor() public

external function prepareInstallation

Prepares the installation of a plugin.

function prepareInstallation(address, bytes) external pure returns (address, struct IPluginSetup.PreparedSetupData)
InputTypeDescription
``address
``bytes
Output
0address
1struct IPluginSetup.PreparedSetupData

external function prepareUninstallation

Prepares the uninstallation of a plugin.

function prepareUninstallation(address, struct IPluginSetup.SetupPayload) external pure returns (struct PermissionLib.MultiTargetPermission[])
InputTypeDescription
``address
``struct IPluginSetup.SetupPayload
Output
0struct PermissionLib.MultiTargetPermission[]
© 2024