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
| Returns | Type | Description |
|---|---|---|
[0] | IPlugin.PluginType |
Enums
Operation
solidity
enum Operation {
Call,
DelegateCall
}| Option | Value |
|---|---|
Call | 0 |
DelegateCall | 1 |
PluginType
solidity
enum PluginType {
UUPS,
Cloneable,
Constructable
}| Option | Value |
|---|---|
UUPS | 0 |
Cloneable | 1 |
Constructable | 2 |
Structs
TargetConfig
solidity
struct TargetConfig {
address target;
IPlugin.Operation operation;
}| Field | Type | Description |
|---|---|---|
target | address | |
operation | IPlugin.Operation |