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()

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[]

external function implementation

Returns the plugin implementation address.

function implementation() external pure returns (address)
OutputTypeDescription
0addressThe address of the plugin implementation contract.

The implementation can be instantiated via the new keyword, cloned via the minimal clones pattern (see ERC-1167), or proxied via the UUPS pattern (see ERC-1822).

© 2024