IPluginMap

thirdweb

Methods

getAllFunctionsOfPlugin

function getAllFunctionsOfPlugin(address pluginAddress) external view returns (bytes4[])

Returns all functions that are mapped to the given plug-in contract.

Parameters

Name
Type
Description

pluginAddress

address

undefined

Returns

Name
Type
Description

_0

bytes4[]

undefined

getAllPlugins

function getAllPlugins() external view returns (struct IPluginMap.Plugin[])

Returns all plug-ins known by Map.

Returns

Name
Type
Description

_0

IPluginMap.Plugin[]

undefined

getPluginForFunction

function getPluginForFunction(bytes4 functionSelector) external view returns (address)

Returns the plug-in contract for a given function.

Parameters

Name
Type
Description

functionSelector

bytes4

undefined

Returns

Name
Type
Description

_0

address

undefined

Events

PluginSet

event PluginSet(bytes4 indexed functionSelector, string indexed functionSignature, address indexed pluginAddress)

Emitted when a function selector is mapped to a particular plug-in smart contract, during construction of Map.

Parameters

Name
Type
Description

functionSelector indexed

bytes4

undefined

functionSignature indexed

string

undefined

pluginAddress indexed

address

undefined

Last updated