Skip to content

IPlugin ​

Interface · src/common/plugin/IPlugin.sol

Explained in: The plugin model

Author: Aragon X - 2022-2024

An interface defining the traits of a plugin.

security-contact: sirt@aragon.org

Functions ​

pluginType ​

solidity
function pluginType() external view returns (IPlugin.PluginType)

Selector: 0x41de6830

Returns the plugin's type

ReturnsTypeDescription
[0]IPlugin.PluginType

Enums ​

Operation ​

solidity
enum Operation {
    Call,
    DelegateCall
}
OptionValue
Call0
DelegateCall1

PluginType ​

solidity
enum PluginType {
    UUPS,
    Cloneable,
    Constructable
}
OptionValue
UUPS0
Cloneable1
Constructable2

Structs ​

TargetConfig ​

solidity
struct TargetConfig {
    address target;
    IPlugin.Operation operation;
}
FieldTypeDescription
targetaddress
operationIPlugin.Operation