RouterImmutable
thirdweb.com
Methods
_getPluginForFunction
View address of the plugged-in functionality contract for a given function signature.
Parameters
_selector
bytes4
undefined
Returns
_0
address
undefined
addPlugin
Parameters
_plugin
IPluginMap.Plugin
undefined
getAllFunctionsOfPlugin
View all funtionality as list of function signatures.
Parameters
_pluginAddress
address
undefined
Returns
registered
bytes4[]
undefined
getAllPlugins
View all funtionality existing on the contract.
Returns
registered
IPluginMap.Plugin[]
undefined
getPluginForFunction
View address of the plugged-in functionality contract for a given function signature.
Parameters
_selector
bytes4
undefined
Returns
_0
address
undefined
multicall
Receives and executes a batch of function calls on this contract.
Receives and executes a batch of function calls on this contract.
Parameters
data
bytes[]
The bytes data that makes up the batch of function calls to execute.
Returns
results
bytes[]
The bytes data that makes up the result of the batch of function calls executed.
pluginMap
Returns
_0
address
undefined
removePlugin
Remove existing functionality from the contract.
Parameters
_selector
bytes4
undefined
supportsInterface
See {IERC165-supportsInterface}.
Parameters
interfaceId
bytes4
undefined
Returns
_0
bool
undefined
updatePlugin
Parameters
_plugin
IPluginMap.Plugin
undefined
Events
PluginAdded
Parameters
functionSelector indexed
bytes4
undefined
pluginAddress indexed
address
undefined
PluginRemoved
Parameters
functionSelector indexed
bytes4
undefined
pluginAddress indexed
address
undefined
PluginSet
Parameters
functionSelector indexed
bytes4
undefined
functionSignature indexed
string
undefined
pluginAddress indexed
address
undefined
PluginUpdated
Parameters
functionSelector indexed
bytes4
undefined
oldPluginAddress indexed
address
undefined
newPluginAddress indexed
address
undefined
Last updated