Module SocketRegistry

Module SocketRegistry 

Source
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§

OnlySlashingRegistryCoordinator
Custom error with signature OnlySlashingRegistryCoordinator() and selector 0xb006c814.
SocketRegistryInstance
A SocketRegistry instance.
constructorCall
Constructor`.
getOperatorSocketCall
Function with signature getOperatorSocket(bytes32) and selector 0x10bea0d7.
getOperatorSocketReturn
Container type for the return parameters of the getOperatorSocket(bytes32) function.
operatorIdToSocketCall
Function with signature operatorIdToSocket(bytes32) and selector 0xaf65fdfc.
operatorIdToSocketReturn
Container type for the return parameters of the operatorIdToSocket(bytes32) function.
setOperatorSocketCall
Function with signature setOperatorSocket(bytes32,string) and selector 0xf043367e.
setOperatorSocketReturn
Container type for the return parameters of the setOperatorSocket(bytes32,string) function.
slashingRegistryCoordinatorCall
Function with signature slashingRegistryCoordinator() and selector 0xcf1d6b42.
slashingRegistryCoordinatorReturn
Container type for the return parameters of the slashingRegistryCoordinator() function.

Enums§

SocketRegistryCalls
Container for all the SocketRegistry function calls.
SocketRegistryErrors
Container for all the SocketRegistry custom 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 provider and constructor arguments, if any.
deploy_builder
Creates a RawCallBuilder for deploying this contract using the given provider and constructor arguments, if any.
new
Creates a new wrapper around an on-chain SocketRegistry contract instance.