@thirdweb-dev/contracts-js
Version:
95 lines • 1.91 kB
JSON
[
{
"type": "function",
"name": "getAllFunctionsOfPlugin",
"inputs": [
{
"name": "pluginAddress",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "bytes4[]",
"internalType": "bytes4[]"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getAllPlugins",
"inputs": [],
"outputs": [
{
"name": "",
"type": "tuple[]",
"internalType": "struct IPluginMap.Plugin[]",
"components": [
{
"name": "functionSelector",
"type": "bytes4",
"internalType": "bytes4"
},
{
"name": "functionSignature",
"type": "string",
"internalType": "string"
},
{
"name": "pluginAddress",
"type": "address",
"internalType": "address"
}
]
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getPluginForFunction",
"inputs": [
{
"name": "functionSelector",
"type": "bytes4",
"internalType": "bytes4"
}
],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "event",
"name": "PluginSet",
"inputs": [
{
"name": "functionSelector",
"type": "bytes4",
"indexed": true,
"internalType": "bytes4"
},
{
"name": "functionSignature",
"type": "string",
"indexed": true,
"internalType": "string"
},
{
"name": "pluginAddress",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
}
]