Expand description
Generated by the following Solidity interface…
interface ServiceManagerBase {
struct SignatureWithSaltAndExpiry {
bytes signature;
bytes32 salt;
uint256 expiry;
}
event Initialized(uint8 version);
event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
function avsDirectory() external view returns (address);
function deregisterOperatorFromAVS(address operator) external;
function getOperatorRestakedStrategies(address operator) external view returns (address[] memory);
function getRestakeableStrategies() external view returns (address[] memory);
function owner() external view returns (address);
function registerOperatorToAVS(address operator, SignatureWithSaltAndExpiry memory operatorSignature) external;
function renounceOwnership() external;
function transferOwnership(address newOwner) external;
function updateAVSMetadataURI(string memory _metadataURI) external;
}
…which was generated by the following JSON ABI:
[
{
"type": "function",
"name": "avsDirectory",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "deregisterOperatorFromAVS",
"inputs": [
{
"name": "operator",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "getOperatorRestakedStrategies",
"inputs": [
{
"name": "operator",
"type": "address",
"internalType": "address"
}
],
"outputs": [
{
"name": "",
"type": "address[]",
"internalType": "address[]"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "getRestakeableStrategies",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address[]",
"internalType": "address[]"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "owner",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "registerOperatorToAVS",
"inputs": [
{
"name": "operator",
"type": "address",
"internalType": "address"
},
{
"name": "operatorSignature",
"type": "tuple",
"internalType": "struct ISignatureUtils.SignatureWithSaltAndExpiry",
"components": [
{
"name": "signature",
"type": "bytes",
"internalType": "bytes"
},
{
"name": "salt",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "expiry",
"type": "uint256",
"internalType": "uint256"
}
]
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "renounceOwnership",
"inputs": [],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "transferOwnership",
"inputs": [
{
"name": "newOwner",
"type": "address",
"internalType": "address"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "updateAVSMetadataURI",
"inputs": [
{
"name": "_metadataURI",
"type": "string",
"internalType": "string"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "event",
"name": "Initialized",
"inputs": [
{
"name": "version",
"type": "uint8",
"indexed": false,
"internalType": "uint8"
}
],
"anonymous": false
},
{
"type": "event",
"name": "OwnershipTransferred",
"inputs": [
{
"name": "previousOwner",
"type": "address",
"indexed": true,
"internalType": "address"
},
{
"name": "newOwner",
"type": "address",
"indexed": true,
"internalType": "address"
}
],
"anonymous": false
}
]
Structs§
- Event with signature
Initialized(uint8)
and selector0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498
. - Event with signature
OwnershipTransferred(address,address)
and selector0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0
. - A
ServiceManagerBase
instance. - Function with signature
avsDirectory()
and selector0x6b3aa72e
. - Container type for the return parameters of the
avsDirectory()
function. - Function with signature
deregisterOperatorFromAVS(address)
and selector0xa364f4da
. - Container type for the return parameters of the
deregisterOperatorFromAVS(address)
function. - Function with signature
getOperatorRestakedStrategies(address)
and selector0x33cfb7b7
. - Container type for the return parameters of the
getOperatorRestakedStrategies(address)
function. - Function with signature
getRestakeableStrategies()
and selector0xe481af9d
. - Container type for the return parameters of the
getRestakeableStrategies()
function. - Function with signature
owner()
and selector0x8da5cb5b
. - Container type for the return parameters of the
owner()
function. - Function with signature
registerOperatorToAVS(address,(bytes,bytes32,uint256))
and selector0x9926ee7d
. - Container type for the return parameters of the
registerOperatorToAVS(address,(bytes,bytes32,uint256))
function. - Function with signature
renounceOwnership()
and selector0x715018a6
. - Container type for the return parameters of the
renounceOwnership()
function. - Function with signature
transferOwnership(address)
and selector0xf2fde38b
. - Container type for the return parameters of the
transferOwnership(address)
function. - Function with signature
updateAVSMetadataURI(string)
and selector0xa98fb355
. - Container type for the return parameters of the
updateAVSMetadataURI(string)
function.
Enums§
- Container for all the
ServiceManagerBase
function calls. - Container for all the
ServiceManagerBase
events.
Statics§
- The creation / init bytecode of the contract.
- The runtime bytecode of the contract, as deployed on the network.
Functions§
- Deploys this contract using the given
provider
and constructor arguments, if any. - Creates a
RawCallBuilder
for deploying this contract using the givenprovider
and constructor arguments, if any. - Creates a new wrapper around an on-chain
ServiceManagerBase
contract instance.