Expand description
Generated by the following Solidity interface…
interface SocketRegistry {
error OnlySlashingRegistryCoordinator();
constructor(address _slashingRegistryCoordinator);
function getOperatorSocket(bytes32 _operatorId) external view returns (string memory);
function operatorIdToSocket(bytes32) external view returns (string memory);
function setOperatorSocket(bytes32 _operatorId, string memory _socket) external;
function slashingRegistryCoordinator() external view returns (address);
}…which was generated by the following JSON ABI:
[
{
"type": "constructor",
"inputs": [
{
"name": "_slashingRegistryCoordinator",
"type": "address",
"internalType": "contract ISlashingRegistryCoordinator"
}
],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "getOperatorSocket",
"inputs": [
{
"name": "_operatorId",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "operatorIdToSocket",
"inputs": [
{
"name": "",
"type": "bytes32",
"internalType": "bytes32"
}
],
"outputs": [
{
"name": "",
"type": "string",
"internalType": "string"
}
],
"stateMutability": "view"
},
{
"type": "function",
"name": "setOperatorSocket",
"inputs": [
{
"name": "_operatorId",
"type": "bytes32",
"internalType": "bytes32"
},
{
"name": "_socket",
"type": "string",
"internalType": "string"
}
],
"outputs": [],
"stateMutability": "nonpayable"
},
{
"type": "function",
"name": "slashingRegistryCoordinator",
"inputs": [],
"outputs": [
{
"name": "",
"type": "address",
"internalType": "address"
}
],
"stateMutability": "view"
},
{
"type": "error",
"name": "OnlySlashingRegistryCoordinator",
"inputs": []
}
]Structs§
- Only
Slashing Registry Coordinator - Custom error with signature
OnlySlashingRegistryCoordinator()and selector0xb006c814. - Socket
Registry Instance - A
SocketRegistryinstance. - constructor
Call - Constructor`.
- getOperator
Socket Call - Function with signature
getOperatorSocket(bytes32)and selector0x10bea0d7. - getOperator
Socket Return - Container type for the return parameters of the
getOperatorSocket(bytes32)function. - operator
IdTo Socket Call - Function with signature
operatorIdToSocket(bytes32)and selector0xaf65fdfc. - operator
IdTo Socket Return - Container type for the return parameters of the
operatorIdToSocket(bytes32)function. - setOperator
Socket Call - Function with signature
setOperatorSocket(bytes32,string)and selector0xf043367e. - setOperator
Socket Return - Container type for the return parameters of the
setOperatorSocket(bytes32,string)function. - slashing
Registry Coordinator Call - Function with signature
slashingRegistryCoordinator()and selector0xcf1d6b42. - slashing
Registry Coordinator Return - Container type for the return parameters of the
slashingRegistryCoordinator()function.
Enums§
- Socket
Registry Calls - Container for all the
SocketRegistryfunction calls. - Socket
Registry Errors - Container for all the
SocketRegistrycustom errors.
Statics§
- BYTECODE
- The creation / init bytecode of the contract.
- DEPLOYED_
BYTECODE - The runtime bytecode of the contract, as deployed on the network.
Functions§
- deploy
- Deploys this contract using the given
providerand constructor arguments, if any. - deploy_
builder - Creates a
RawCallBuilderfor deploying this contract using the givenproviderand constructor arguments, if any. - new
- Creates a new wrapper around an on-chain
SocketRegistrycontract instance.