Skip to main content

Module AllocationManager

Module AllocationManager 

Source
Expand description

Generated by the following Solidity interface…

library IAllocationManagerTypes {
    struct AllocateParams {
        OperatorSet operatorSet;
        address[] strategies;
        uint64[] newMagnitudes;
    }
    struct Allocation {
        uint64 currentMagnitude;
        int128 pendingDiff;
        uint32 effectBlock;
    }
    struct CreateSetParams {
        uint32 operatorSetId;
        address[] strategies;
    }
    struct DeregisterParams {
        address operator;
        address avs;
        uint32[] operatorSetIds;
    }
    struct RegisterParams {
        address avs;
        uint32[] operatorSetIds;
        bytes data;
    }
    struct SlashingParams {
        address operator;
        uint32 operatorSetId;
        address[] strategies;
        uint256[] wadsToSlash;
        string description;
    }
}

interface AllocationManager {
    struct OperatorSet {
        address avs;
        uint32 id;
    }

    error AlreadyMemberOfSet();
    error CurrentlyPaused();
    error Empty();
    error InputAddressZero();
    error InputArrayLengthMismatch();
    error InsufficientMagnitude();
    error InvalidAVSRegistrar();
    error InvalidCaller();
    error InvalidNewPausedStatus();
    error InvalidOperator();
    error InvalidOperatorSet();
    error InvalidPermissions();
    error InvalidShortString();
    error InvalidSnapshotOrdering();
    error InvalidWadToSlash();
    error ModificationAlreadyPending();
    error NonexistentAVSMetadata();
    error NotMemberOfSet();
    error OnlyPauser();
    error OnlyUnpauser();
    error OperatorNotSlashable();
    error OutOfBounds();
    error SameMagnitude();
    error StrategiesMustBeInAscendingOrder();
    error StrategyAlreadyInOperatorSet();
    error StrategyNotInOperatorSet();
    error StringTooLong(string str);
    error UninitializedAllocationDelay();

    event AVSMetadataURIUpdated(address indexed avs, string metadataURI);
    event AVSRegistrarSet(address avs, address registrar);
    event AllocationDelaySet(address operator, uint32 delay, uint32 effectBlock);
    event AllocationUpdated(address operator, OperatorSet operatorSet, address strategy, uint64 magnitude, uint32 effectBlock);
    event EncumberedMagnitudeUpdated(address operator, address strategy, uint64 encumberedMagnitude);
    event Initialized(uint8 version);
    event MaxMagnitudeUpdated(address operator, address strategy, uint64 maxMagnitude);
    event OperatorAddedToOperatorSet(address indexed operator, OperatorSet operatorSet);
    event OperatorRemovedFromOperatorSet(address indexed operator, OperatorSet operatorSet);
    event OperatorSetCreated(OperatorSet operatorSet);
    event OperatorSlashed(address operator, OperatorSet operatorSet, address[] strategies, uint256[] wadSlashed, string description);
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    event Paused(address indexed account, uint256 newPausedStatus);
    event StrategyAddedToOperatorSet(OperatorSet operatorSet, address strategy);
    event StrategyRemovedFromOperatorSet(OperatorSet operatorSet, address strategy);
    event Unpaused(address indexed account, uint256 newPausedStatus);

    constructor(address _delegation, address _pauserRegistry, address _permissionController, uint32 _DEALLOCATION_DELAY, uint32 _ALLOCATION_CONFIGURATION_DELAY, string _version);

    function ALLOCATION_CONFIGURATION_DELAY() external view returns (uint32);
    function DEALLOCATION_DELAY() external view returns (uint32);
    function addStrategiesToOperatorSet(address avs, uint32 operatorSetId, address[] memory strategies) external;
    function clearDeallocationQueue(address operator, address[] memory strategies, uint16[] memory numToClear) external;
    function createOperatorSets(address avs, IAllocationManagerTypes.CreateSetParams[] memory params) external;
    function delegation() external view returns (address);
    function deregisterFromOperatorSets(IAllocationManagerTypes.DeregisterParams memory params) external;
    function getAVSRegistrar(address avs) external view returns (address);
    function getAllocatableMagnitude(address operator, address strategy) external view returns (uint64);
    function getAllocatedSets(address operator) external view returns (OperatorSet[] memory);
    function getAllocatedStake(OperatorSet memory operatorSet, address[] memory operators, address[] memory strategies) external view returns (uint256[][] memory);
    function getAllocatedStrategies(address operator, OperatorSet memory operatorSet) external view returns (address[] memory);
    function getAllocation(address operator, OperatorSet memory operatorSet, address strategy) external view returns (IAllocationManagerTypes.Allocation memory);
    function getAllocationDelay(address operator) external view returns (bool, uint32);
    function getAllocations(address[] memory operators, OperatorSet memory operatorSet, address strategy) external view returns (IAllocationManagerTypes.Allocation[] memory);
    function getEncumberedMagnitude(address operator, address strategy) external view returns (uint64);
    function getMaxMagnitude(address operator, address strategy) external view returns (uint64);
    function getMaxMagnitudes(address[] memory operators, address strategy) external view returns (uint64[] memory);
    function getMaxMagnitudes(address operator, address[] memory strategies) external view returns (uint64[] memory);
    function getMaxMagnitudesAtBlock(address operator, address[] memory strategies, uint32 blockNumber) external view returns (uint64[] memory);
    function getMemberCount(OperatorSet memory operatorSet) external view returns (uint256);
    function getMembers(OperatorSet memory operatorSet) external view returns (address[] memory);
    function getMinimumSlashableStake(OperatorSet memory operatorSet, address[] memory operators, address[] memory strategies, uint32 futureBlock) external view returns (uint256[][] memory slashableStake);
    function getOperatorSetCount(address avs) external view returns (uint256);
    function getRegisteredSets(address operator) external view returns (OperatorSet[] memory);
    function getStrategiesInOperatorSet(OperatorSet memory operatorSet) external view returns (address[] memory);
    function getStrategyAllocations(address operator, address strategy) external view returns (OperatorSet[] memory, IAllocationManagerTypes.Allocation[] memory);
    function initialize(address initialOwner, uint256 initialPausedStatus) external;
    function isMemberOfOperatorSet(address operator, OperatorSet memory operatorSet) external view returns (bool);
    function isOperatorSet(OperatorSet memory operatorSet) external view returns (bool);
    function isOperatorSlashable(address operator, OperatorSet memory operatorSet) external view returns (bool);
    function modifyAllocations(address operator, IAllocationManagerTypes.AllocateParams[] memory params) external;
    function owner() external view returns (address);
    function pause(uint256 newPausedStatus) external;
    function pauseAll() external;
    function paused(uint8 index) external view returns (bool);
    function paused() external view returns (uint256);
    function pauserRegistry() external view returns (address);
    function permissionController() external view returns (address);
    function registerForOperatorSets(address operator, IAllocationManagerTypes.RegisterParams memory params) external;
    function removeStrategiesFromOperatorSet(address avs, uint32 operatorSetId, address[] memory strategies) external;
    function renounceOwnership() external;
    function setAVSRegistrar(address avs, address registrar) external;
    function setAllocationDelay(address operator, uint32 delay) external;
    function slashOperator(address avs, IAllocationManagerTypes.SlashingParams memory params) external;
    function transferOwnership(address newOwner) external;
    function unpause(uint256 newPausedStatus) external;
    function updateAVSMetadataURI(address avs, string memory metadataURI) external;
    function version() external view returns (string memory);
}

…which was generated by the following JSON ABI:

[
  {
    "type": "constructor",
    "inputs": [
      {
        "name": "_delegation",
        "type": "address",
        "internalType": "contract IDelegationManager"
      },
      {
        "name": "_pauserRegistry",
        "type": "address",
        "internalType": "contract IPauserRegistry"
      },
      {
        "name": "_permissionController",
        "type": "address",
        "internalType": "contract IPermissionController"
      },
      {
        "name": "_DEALLOCATION_DELAY",
        "type": "uint32",
        "internalType": "uint32"
      },
      {
        "name": "_ALLOCATION_CONFIGURATION_DELAY",
        "type": "uint32",
        "internalType": "uint32"
      },
      {
        "name": "_version",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "ALLOCATION_CONFIGURATION_DELAY",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint32",
        "internalType": "uint32"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "DEALLOCATION_DELAY",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint32",
        "internalType": "uint32"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "addStrategiesToOperatorSet",
    "inputs": [
      {
        "name": "avs",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "operatorSetId",
        "type": "uint32",
        "internalType": "uint32"
      },
      {
        "name": "strategies",
        "type": "address[]",
        "internalType": "contract IStrategy[]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "clearDeallocationQueue",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "strategies",
        "type": "address[]",
        "internalType": "contract IStrategy[]"
      },
      {
        "name": "numToClear",
        "type": "uint16[]",
        "internalType": "uint16[]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "createOperatorSets",
    "inputs": [
      {
        "name": "avs",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "params",
        "type": "tuple[]",
        "internalType": "struct IAllocationManagerTypes.CreateSetParams[]",
        "components": [
          {
            "name": "operatorSetId",
            "type": "uint32",
            "internalType": "uint32"
          },
          {
            "name": "strategies",
            "type": "address[]",
            "internalType": "contract IStrategy[]"
          }
        ]
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "delegation",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract IDelegationManager"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "deregisterFromOperatorSets",
    "inputs": [
      {
        "name": "params",
        "type": "tuple",
        "internalType": "struct IAllocationManagerTypes.DeregisterParams",
        "components": [
          {
            "name": "operator",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "operatorSetIds",
            "type": "uint32[]",
            "internalType": "uint32[]"
          }
        ]
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "getAVSRegistrar",
    "inputs": [
      {
        "name": "avs",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract IAVSRegistrar"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getAllocatableMagnitude",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "strategy",
        "type": "address",
        "internalType": "contract IStrategy"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint64",
        "internalType": "uint64"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getAllocatedSets",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "tuple[]",
        "internalType": "struct OperatorSet[]",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getAllocatedStake",
    "inputs": [
      {
        "name": "operatorSet",
        "type": "tuple",
        "internalType": "struct OperatorSet",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      },
      {
        "name": "operators",
        "type": "address[]",
        "internalType": "address[]"
      },
      {
        "name": "strategies",
        "type": "address[]",
        "internalType": "contract IStrategy[]"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256[][]",
        "internalType": "uint256[][]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getAllocatedStrategies",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "operatorSet",
        "type": "tuple",
        "internalType": "struct OperatorSet",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "address[]",
        "internalType": "contract IStrategy[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getAllocation",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "operatorSet",
        "type": "tuple",
        "internalType": "struct OperatorSet",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      },
      {
        "name": "strategy",
        "type": "address",
        "internalType": "contract IStrategy"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "tuple",
        "internalType": "struct IAllocationManagerTypes.Allocation",
        "components": [
          {
            "name": "currentMagnitude",
            "type": "uint64",
            "internalType": "uint64"
          },
          {
            "name": "pendingDiff",
            "type": "int128",
            "internalType": "int128"
          },
          {
            "name": "effectBlock",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getAllocationDelay",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      },
      {
        "name": "",
        "type": "uint32",
        "internalType": "uint32"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getAllocations",
    "inputs": [
      {
        "name": "operators",
        "type": "address[]",
        "internalType": "address[]"
      },
      {
        "name": "operatorSet",
        "type": "tuple",
        "internalType": "struct OperatorSet",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      },
      {
        "name": "strategy",
        "type": "address",
        "internalType": "contract IStrategy"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "tuple[]",
        "internalType": "struct IAllocationManagerTypes.Allocation[]",
        "components": [
          {
            "name": "currentMagnitude",
            "type": "uint64",
            "internalType": "uint64"
          },
          {
            "name": "pendingDiff",
            "type": "int128",
            "internalType": "int128"
          },
          {
            "name": "effectBlock",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getEncumberedMagnitude",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "strategy",
        "type": "address",
        "internalType": "contract IStrategy"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint64",
        "internalType": "uint64"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getMaxMagnitude",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "strategy",
        "type": "address",
        "internalType": "contract IStrategy"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint64",
        "internalType": "uint64"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getMaxMagnitudes",
    "inputs": [
      {
        "name": "operators",
        "type": "address[]",
        "internalType": "address[]"
      },
      {
        "name": "strategy",
        "type": "address",
        "internalType": "contract IStrategy"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint64[]",
        "internalType": "uint64[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getMaxMagnitudes",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "strategies",
        "type": "address[]",
        "internalType": "contract IStrategy[]"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint64[]",
        "internalType": "uint64[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getMaxMagnitudesAtBlock",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "strategies",
        "type": "address[]",
        "internalType": "contract IStrategy[]"
      },
      {
        "name": "blockNumber",
        "type": "uint32",
        "internalType": "uint32"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint64[]",
        "internalType": "uint64[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getMemberCount",
    "inputs": [
      {
        "name": "operatorSet",
        "type": "tuple",
        "internalType": "struct OperatorSet",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getMembers",
    "inputs": [
      {
        "name": "operatorSet",
        "type": "tuple",
        "internalType": "struct OperatorSet",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "address[]",
        "internalType": "address[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getMinimumSlashableStake",
    "inputs": [
      {
        "name": "operatorSet",
        "type": "tuple",
        "internalType": "struct OperatorSet",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      },
      {
        "name": "operators",
        "type": "address[]",
        "internalType": "address[]"
      },
      {
        "name": "strategies",
        "type": "address[]",
        "internalType": "contract IStrategy[]"
      },
      {
        "name": "futureBlock",
        "type": "uint32",
        "internalType": "uint32"
      }
    ],
    "outputs": [
      {
        "name": "slashableStake",
        "type": "uint256[][]",
        "internalType": "uint256[][]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getOperatorSetCount",
    "inputs": [
      {
        "name": "avs",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getRegisteredSets",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "tuple[]",
        "internalType": "struct OperatorSet[]",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getStrategiesInOperatorSet",
    "inputs": [
      {
        "name": "operatorSet",
        "type": "tuple",
        "internalType": "struct OperatorSet",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "address[]",
        "internalType": "contract IStrategy[]"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "getStrategyAllocations",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "strategy",
        "type": "address",
        "internalType": "contract IStrategy"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "tuple[]",
        "internalType": "struct OperatorSet[]",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      },
      {
        "name": "",
        "type": "tuple[]",
        "internalType": "struct IAllocationManagerTypes.Allocation[]",
        "components": [
          {
            "name": "currentMagnitude",
            "type": "uint64",
            "internalType": "uint64"
          },
          {
            "name": "pendingDiff",
            "type": "int128",
            "internalType": "int128"
          },
          {
            "name": "effectBlock",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "initialize",
    "inputs": [
      {
        "name": "initialOwner",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "initialPausedStatus",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "isMemberOfOperatorSet",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "operatorSet",
        "type": "tuple",
        "internalType": "struct OperatorSet",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "isOperatorSet",
    "inputs": [
      {
        "name": "operatorSet",
        "type": "tuple",
        "internalType": "struct OperatorSet",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "isOperatorSlashable",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "operatorSet",
        "type": "tuple",
        "internalType": "struct OperatorSet",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "modifyAllocations",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "params",
        "type": "tuple[]",
        "internalType": "struct IAllocationManagerTypes.AllocateParams[]",
        "components": [
          {
            "name": "operatorSet",
            "type": "tuple",
            "internalType": "struct OperatorSet",
            "components": [
              {
                "name": "avs",
                "type": "address",
                "internalType": "address"
              },
              {
                "name": "id",
                "type": "uint32",
                "internalType": "uint32"
              }
            ]
          },
          {
            "name": "strategies",
            "type": "address[]",
            "internalType": "contract IStrategy[]"
          },
          {
            "name": "newMagnitudes",
            "type": "uint64[]",
            "internalType": "uint64[]"
          }
        ]
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "owner",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "address"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "pause",
    "inputs": [
      {
        "name": "newPausedStatus",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "pauseAll",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "paused",
    "inputs": [
      {
        "name": "index",
        "type": "uint8",
        "internalType": "uint8"
      }
    ],
    "outputs": [
      {
        "name": "",
        "type": "bool",
        "internalType": "bool"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "paused",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "pauserRegistry",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract IPauserRegistry"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "permissionController",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "address",
        "internalType": "contract IPermissionController"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "function",
    "name": "registerForOperatorSets",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "params",
        "type": "tuple",
        "internalType": "struct IAllocationManagerTypes.RegisterParams",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "operatorSetIds",
            "type": "uint32[]",
            "internalType": "uint32[]"
          },
          {
            "name": "data",
            "type": "bytes",
            "internalType": "bytes"
          }
        ]
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "removeStrategiesFromOperatorSet",
    "inputs": [
      {
        "name": "avs",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "operatorSetId",
        "type": "uint32",
        "internalType": "uint32"
      },
      {
        "name": "strategies",
        "type": "address[]",
        "internalType": "contract IStrategy[]"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "renounceOwnership",
    "inputs": [],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "setAVSRegistrar",
    "inputs": [
      {
        "name": "avs",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "registrar",
        "type": "address",
        "internalType": "contract IAVSRegistrar"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "setAllocationDelay",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "delay",
        "type": "uint32",
        "internalType": "uint32"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "slashOperator",
    "inputs": [
      {
        "name": "avs",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "params",
        "type": "tuple",
        "internalType": "struct IAllocationManagerTypes.SlashingParams",
        "components": [
          {
            "name": "operator",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "operatorSetId",
            "type": "uint32",
            "internalType": "uint32"
          },
          {
            "name": "strategies",
            "type": "address[]",
            "internalType": "contract IStrategy[]"
          },
          {
            "name": "wadsToSlash",
            "type": "uint256[]",
            "internalType": "uint256[]"
          },
          {
            "name": "description",
            "type": "string",
            "internalType": "string"
          }
        ]
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "transferOwnership",
    "inputs": [
      {
        "name": "newOwner",
        "type": "address",
        "internalType": "address"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "unpause",
    "inputs": [
      {
        "name": "newPausedStatus",
        "type": "uint256",
        "internalType": "uint256"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "updateAVSMetadataURI",
    "inputs": [
      {
        "name": "avs",
        "type": "address",
        "internalType": "address"
      },
      {
        "name": "metadataURI",
        "type": "string",
        "internalType": "string"
      }
    ],
    "outputs": [],
    "stateMutability": "nonpayable"
  },
  {
    "type": "function",
    "name": "version",
    "inputs": [],
    "outputs": [
      {
        "name": "",
        "type": "string",
        "internalType": "string"
      }
    ],
    "stateMutability": "view"
  },
  {
    "type": "event",
    "name": "AVSMetadataURIUpdated",
    "inputs": [
      {
        "name": "avs",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "metadataURI",
        "type": "string",
        "indexed": false,
        "internalType": "string"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "AVSRegistrarSet",
    "inputs": [
      {
        "name": "avs",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      },
      {
        "name": "registrar",
        "type": "address",
        "indexed": false,
        "internalType": "contract IAVSRegistrar"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "AllocationDelaySet",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      },
      {
        "name": "delay",
        "type": "uint32",
        "indexed": false,
        "internalType": "uint32"
      },
      {
        "name": "effectBlock",
        "type": "uint32",
        "indexed": false,
        "internalType": "uint32"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "AllocationUpdated",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      },
      {
        "name": "operatorSet",
        "type": "tuple",
        "indexed": false,
        "internalType": "struct OperatorSet",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      },
      {
        "name": "strategy",
        "type": "address",
        "indexed": false,
        "internalType": "contract IStrategy"
      },
      {
        "name": "magnitude",
        "type": "uint64",
        "indexed": false,
        "internalType": "uint64"
      },
      {
        "name": "effectBlock",
        "type": "uint32",
        "indexed": false,
        "internalType": "uint32"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "EncumberedMagnitudeUpdated",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      },
      {
        "name": "strategy",
        "type": "address",
        "indexed": false,
        "internalType": "contract IStrategy"
      },
      {
        "name": "encumberedMagnitude",
        "type": "uint64",
        "indexed": false,
        "internalType": "uint64"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "Initialized",
    "inputs": [
      {
        "name": "version",
        "type": "uint8",
        "indexed": false,
        "internalType": "uint8"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "MaxMagnitudeUpdated",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      },
      {
        "name": "strategy",
        "type": "address",
        "indexed": false,
        "internalType": "contract IStrategy"
      },
      {
        "name": "maxMagnitude",
        "type": "uint64",
        "indexed": false,
        "internalType": "uint64"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "OperatorAddedToOperatorSet",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "operatorSet",
        "type": "tuple",
        "indexed": false,
        "internalType": "struct OperatorSet",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "OperatorRemovedFromOperatorSet",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "operatorSet",
        "type": "tuple",
        "indexed": false,
        "internalType": "struct OperatorSet",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "OperatorSetCreated",
    "inputs": [
      {
        "name": "operatorSet",
        "type": "tuple",
        "indexed": false,
        "internalType": "struct OperatorSet",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "OperatorSlashed",
    "inputs": [
      {
        "name": "operator",
        "type": "address",
        "indexed": false,
        "internalType": "address"
      },
      {
        "name": "operatorSet",
        "type": "tuple",
        "indexed": false,
        "internalType": "struct OperatorSet",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      },
      {
        "name": "strategies",
        "type": "address[]",
        "indexed": false,
        "internalType": "contract IStrategy[]"
      },
      {
        "name": "wadSlashed",
        "type": "uint256[]",
        "indexed": false,
        "internalType": "uint256[]"
      },
      {
        "name": "description",
        "type": "string",
        "indexed": false,
        "internalType": "string"
      }
    ],
    "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
  },
  {
    "type": "event",
    "name": "Paused",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "newPausedStatus",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "StrategyAddedToOperatorSet",
    "inputs": [
      {
        "name": "operatorSet",
        "type": "tuple",
        "indexed": false,
        "internalType": "struct OperatorSet",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      },
      {
        "name": "strategy",
        "type": "address",
        "indexed": false,
        "internalType": "contract IStrategy"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "StrategyRemovedFromOperatorSet",
    "inputs": [
      {
        "name": "operatorSet",
        "type": "tuple",
        "indexed": false,
        "internalType": "struct OperatorSet",
        "components": [
          {
            "name": "avs",
            "type": "address",
            "internalType": "address"
          },
          {
            "name": "id",
            "type": "uint32",
            "internalType": "uint32"
          }
        ]
      },
      {
        "name": "strategy",
        "type": "address",
        "indexed": false,
        "internalType": "contract IStrategy"
      }
    ],
    "anonymous": false
  },
  {
    "type": "event",
    "name": "Unpaused",
    "inputs": [
      {
        "name": "account",
        "type": "address",
        "indexed": true,
        "internalType": "address"
      },
      {
        "name": "newPausedStatus",
        "type": "uint256",
        "indexed": false,
        "internalType": "uint256"
      }
    ],
    "anonymous": false
  },
  {
    "type": "error",
    "name": "AlreadyMemberOfSet",
    "inputs": []
  },
  {
    "type": "error",
    "name": "CurrentlyPaused",
    "inputs": []
  },
  {
    "type": "error",
    "name": "Empty",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InputAddressZero",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InputArrayLengthMismatch",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InsufficientMagnitude",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InvalidAVSRegistrar",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InvalidCaller",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InvalidNewPausedStatus",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InvalidOperator",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InvalidOperatorSet",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InvalidPermissions",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InvalidShortString",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InvalidSnapshotOrdering",
    "inputs": []
  },
  {
    "type": "error",
    "name": "InvalidWadToSlash",
    "inputs": []
  },
  {
    "type": "error",
    "name": "ModificationAlreadyPending",
    "inputs": []
  },
  {
    "type": "error",
    "name": "NonexistentAVSMetadata",
    "inputs": []
  },
  {
    "type": "error",
    "name": "NotMemberOfSet",
    "inputs": []
  },
  {
    "type": "error",
    "name": "OnlyPauser",
    "inputs": []
  },
  {
    "type": "error",
    "name": "OnlyUnpauser",
    "inputs": []
  },
  {
    "type": "error",
    "name": "OperatorNotSlashable",
    "inputs": []
  },
  {
    "type": "error",
    "name": "OutOfBounds",
    "inputs": []
  },
  {
    "type": "error",
    "name": "SameMagnitude",
    "inputs": []
  },
  {
    "type": "error",
    "name": "StrategiesMustBeInAscendingOrder",
    "inputs": []
  },
  {
    "type": "error",
    "name": "StrategyAlreadyInOperatorSet",
    "inputs": []
  },
  {
    "type": "error",
    "name": "StrategyNotInOperatorSet",
    "inputs": []
  },
  {
    "type": "error",
    "name": "StringTooLong",
    "inputs": [
      {
        "name": "str",
        "type": "string",
        "internalType": "string"
      }
    ]
  },
  {
    "type": "error",
    "name": "UninitializedAllocationDelay",
    "inputs": []
  }
]

Structs§

ALLOCATION_CONFIGURATION_DELAYCall
Function with signature ALLOCATION_CONFIGURATION_DELAY() and selector 0x7bc1ef61. solidity function ALLOCATION_CONFIGURATION_DELAY() external view returns (uint32);
ALLOCATION_CONFIGURATION_DELAYReturn
Container type for the return parameters of the ALLOCATION_CONFIGURATION_DELAY() function.
AVSMetadataURIUpdated
Event with signature AVSMetadataURIUpdated(address,string) and selector 0xa89c1dc243d8908a96dd84944bcc97d6bc6ac00dd78e20621576be6a3c943713. solidity event AVSMetadataURIUpdated(address indexed avs, string metadataURI);
AVSRegistrarSet
Event with signature AVSRegistrarSet(address,address) and selector 0x2ae945c40c44dc0ec263f95609c3fdc6952e0aefa22d6374e44f2c997acedf85. solidity event AVSRegistrarSet(address avs, address registrar);
AllocationDelaySet
Event with signature AllocationDelaySet(address,uint32,uint32) and selector 0x4e85751d6331506c6c62335f207eb31f12a61e570f34f5c17640308785c6d4db. solidity event AllocationDelaySet(address operator, uint32 delay, uint32 effectBlock);
AllocationManagerInstance
A AllocationManager instance.
AllocationUpdated
Event with signature AllocationUpdated(address,(address,uint32),address,uint64,uint32) and selector 0x1487af5418c47ee5ea45ef4a93398668120890774a9e13487e61e9dc3baf76dd. solidity event AllocationUpdated(address operator, OperatorSet operatorSet, address strategy, uint64 magnitude, uint32 effectBlock);
AlreadyMemberOfSet
Custom error with signature AlreadyMemberOfSet() and selector 0xd8d8dc4e. solidity error AlreadyMemberOfSet();
CurrentlyPaused
Custom error with signature CurrentlyPaused() and selector 0x840a48d5. solidity error CurrentlyPaused();
DEALLOCATION_DELAYCall
Function with signature DEALLOCATION_DELAY() and selector 0x2981eb77. solidity function DEALLOCATION_DELAY() external view returns (uint32);
DEALLOCATION_DELAYReturn
Container type for the return parameters of the DEALLOCATION_DELAY() function.
Empty
Custom error with signature Empty() and selector 0x3db2a12a. solidity error Empty();
EncumberedMagnitudeUpdated
Event with signature EncumberedMagnitudeUpdated(address,address,uint64) and selector 0xacf9095feb3a370c9cf692421c69ef320d4db5c66e6a7d29c7694eb02364fc55. solidity event EncumberedMagnitudeUpdated(address operator, address strategy, uint64 encumberedMagnitude);
Initialized
Event with signature Initialized(uint8) and selector 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498. solidity event Initialized(uint8 version);
InputAddressZero
Custom error with signature InputAddressZero() and selector 0x73632176. solidity error InputAddressZero();
InputArrayLengthMismatch
Custom error with signature InputArrayLengthMismatch() and selector 0x43714afd. solidity error InputArrayLengthMismatch();
InsufficientMagnitude
Custom error with signature InsufficientMagnitude() and selector 0x6c9be0bf. solidity error InsufficientMagnitude();
InvalidAVSRegistrar
Custom error with signature InvalidAVSRegistrar() and selector 0xe8589e08. solidity error InvalidAVSRegistrar();
InvalidCaller
Custom error with signature InvalidCaller() and selector 0x48f5c3ed. solidity error InvalidCaller();
InvalidNewPausedStatus
Custom error with signature InvalidNewPausedStatus() and selector 0xc61dca5d. solidity error InvalidNewPausedStatus();
InvalidOperator
Custom error with signature InvalidOperator() and selector 0xccea9e6f. solidity error InvalidOperator();
InvalidOperatorSet
Custom error with signature InvalidOperatorSet() and selector 0x7ec5c154. solidity error InvalidOperatorSet();
InvalidPermissions
Custom error with signature InvalidPermissions() and selector 0x932d94f7. solidity error InvalidPermissions();
InvalidShortString
Custom error with signature InvalidShortString() and selector 0xb3512b0c. solidity error InvalidShortString();
InvalidSnapshotOrdering
Custom error with signature InvalidSnapshotOrdering() and selector 0x2a371c7e. solidity error InvalidSnapshotOrdering();
InvalidWadToSlash
Custom error with signature InvalidWadToSlash() and selector 0x13536031. solidity error InvalidWadToSlash();
MaxMagnitudeUpdated
Event with signature MaxMagnitudeUpdated(address,address,uint64) and selector 0x1c6458079a41077d003c11faf9bf097e693bd67979e4e6500bac7b29db779b5c. solidity event MaxMagnitudeUpdated(address operator, address strategy, uint64 maxMagnitude);
ModificationAlreadyPending
Custom error with signature ModificationAlreadyPending() and selector 0xd8fcbe30. solidity error ModificationAlreadyPending();
NonexistentAVSMetadata
Custom error with signature NonexistentAVSMetadata() and selector 0x48f7dbb9. solidity error NonexistentAVSMetadata();
NotMemberOfSet
Custom error with signature NotMemberOfSet() and selector 0x25131d4f. solidity error NotMemberOfSet();
OnlyPauser
Custom error with signature OnlyPauser() and selector 0x75df51dc. solidity error OnlyPauser();
OnlyUnpauser
Custom error with signature OnlyUnpauser() and selector 0x794821ff. solidity error OnlyUnpauser();
OperatorAddedToOperatorSet
Event with signature OperatorAddedToOperatorSet(address,(address,uint32)) and selector 0x43232edf9071753d2321e5fa7e018363ee248e5f2142e6c08edd3265bfb4895e. solidity event OperatorAddedToOperatorSet(address indexed operator, OperatorSet operatorSet);
OperatorNotSlashable
Custom error with signature OperatorNotSlashable() and selector 0xebbff497. solidity error OperatorNotSlashable();
OperatorRemovedFromOperatorSet
Event with signature OperatorRemovedFromOperatorSet(address,(address,uint32)) and selector 0xad34c3070be1dffbcaa499d000ba2b8d9848aefcac3059df245dd95c4ece14fe. solidity event OperatorRemovedFromOperatorSet(address indexed operator, OperatorSet operatorSet);
OperatorSet
OperatorSetCreated
Event with signature OperatorSetCreated((address,uint32)) and selector 0x31629285ead2335ae0933f86ed2ae63321f7af77b4e6eaabc42c057880977e6c. solidity event OperatorSetCreated(OperatorSet operatorSet);
OperatorSlashed
Event with signature OperatorSlashed(address,(address,uint32),address[],uint256[],string) and selector 0x80969ad29428d6797ee7aad084f9e4a42a82fc506dcd2ca3b6fb431f85ccebe5. solidity event OperatorSlashed(address operator, OperatorSet operatorSet, address[] strategies, uint256[] wadSlashed, string description);
OutOfBounds
Custom error with signature OutOfBounds() and selector 0xb4120f14. solidity error OutOfBounds();
OwnershipTransferred
Event with signature OwnershipTransferred(address,address) and selector 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0. solidity event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
Paused
Event with signature Paused(address,uint256) and selector 0xab40a374bc51de372200a8bc981af8c9ecdc08dfdaef0bb6e09f88f3c616ef3d. solidity event Paused(address indexed account, uint256 newPausedStatus);
SameMagnitude
Custom error with signature SameMagnitude() and selector 0x8c0c2f26. solidity error SameMagnitude();
StrategiesMustBeInAscendingOrder
Custom error with signature StrategiesMustBeInAscendingOrder() and selector 0x9f1c8053. solidity error StrategiesMustBeInAscendingOrder();
StrategyAddedToOperatorSet
Event with signature StrategyAddedToOperatorSet((address,uint32),address) and selector 0x7ab260fe0af193db5f4986770d831bda4ea46099dc817e8b6716dcae8af8e88b. solidity event StrategyAddedToOperatorSet(OperatorSet operatorSet, address strategy);
StrategyAlreadyInOperatorSet
Custom error with signature StrategyAlreadyInOperatorSet() and selector 0x585cfb2f. solidity error StrategyAlreadyInOperatorSet();
StrategyNotInOperatorSet
Custom error with signature StrategyNotInOperatorSet() and selector 0x6378684e. solidity error StrategyNotInOperatorSet();
StrategyRemovedFromOperatorSet
Event with signature StrategyRemovedFromOperatorSet((address,uint32),address) and selector 0x7b4b073d80dcac55a11177d8459ad9f664ceeb91f71f27167bb14f8152a7eeee. solidity event StrategyRemovedFromOperatorSet(OperatorSet operatorSet, address strategy);
StringTooLong
Custom error with signature StringTooLong(string) and selector 0x305a27a9. solidity error StringTooLong(string str);
UninitializedAllocationDelay
Custom error with signature UninitializedAllocationDelay() and selector 0xfa55fc81. solidity error UninitializedAllocationDelay();
Unpaused
Event with signature Unpaused(address,uint256) and selector 0x3582d1828e26bf56bd801502bc021ac0bc8afb57c826e4986b45593c8fad389c. solidity event Unpaused(address indexed account, uint256 newPausedStatus);
addStrategiesToOperatorSetCall
Function with signature addStrategiesToOperatorSet(address,uint32,address[]) and selector 0x50feea20. solidity function addStrategiesToOperatorSet(address avs, uint32 operatorSetId, address[] memory strategies) external;
addStrategiesToOperatorSetReturn
Container type for the return parameters of the addStrategiesToOperatorSet(address,uint32,address[]) function.
clearDeallocationQueueCall
Function with signature clearDeallocationQueue(address,address[],uint16[]) and selector 0x4b5046ef. solidity function clearDeallocationQueue(address operator, address[] memory strategies, uint16[] memory numToClear) external;
clearDeallocationQueueReturn
Container type for the return parameters of the clearDeallocationQueue(address,address[],uint16[]) function.
constructorCall
Constructor`. solidity constructor(address _delegation, address _pauserRegistry, address _permissionController, uint32 _DEALLOCATION_DELAY, uint32 _ALLOCATION_CONFIGURATION_DELAY, string _version);
createOperatorSetsCall
Function with signature createOperatorSets(address,(uint32,address[])[]) and selector 0x261f84e0. solidity function createOperatorSets(address avs, IAllocationManagerTypes.CreateSetParams[] memory params) external;
createOperatorSetsReturn
Container type for the return parameters of the createOperatorSets(address,(uint32,address[])[]) function.
delegationCall
Function with signature delegation() and selector 0xdf5cf723. solidity function delegation() external view returns (address);
delegationReturn
Container type for the return parameters of the delegation() function.
deregisterFromOperatorSetsCall
Function with signature deregisterFromOperatorSets((address,address,uint32[])) and selector 0x6e3492b5. solidity function deregisterFromOperatorSets(IAllocationManagerTypes.DeregisterParams memory params) external;
deregisterFromOperatorSetsReturn
Container type for the return parameters of the deregisterFromOperatorSets((address,address,uint32[])) function.
getAVSRegistrarCall
Function with signature getAVSRegistrar(address) and selector 0x304c10cd. solidity function getAVSRegistrar(address avs) external view returns (address);
getAVSRegistrarReturn
Container type for the return parameters of the getAVSRegistrar(address) function.
getAllocatableMagnitudeCall
Function with signature getAllocatableMagnitude(address,address) and selector 0x6cfb4481. solidity function getAllocatableMagnitude(address operator, address strategy) external view returns (uint64);
getAllocatableMagnitudeReturn
Container type for the return parameters of the getAllocatableMagnitude(address,address) function.
getAllocatedSetsCall
Function with signature getAllocatedSets(address) and selector 0x15fe5028. solidity function getAllocatedSets(address operator) external view returns (OperatorSet[] memory);
getAllocatedSetsReturn
Container type for the return parameters of the getAllocatedSets(address) function.
getAllocatedStakeCall
Function with signature getAllocatedStake((address,uint32),address[],address[]) and selector 0x2b453a9a. solidity function getAllocatedStake(OperatorSet memory operatorSet, address[] memory operators, address[] memory strategies) external view returns (uint256[][] memory);
getAllocatedStakeReturn
Container type for the return parameters of the getAllocatedStake((address,uint32),address[],address[]) function.
getAllocatedStrategiesCall
Function with signature getAllocatedStrategies(address,(address,uint32)) and selector 0xc221d8ae. solidity function getAllocatedStrategies(address operator, OperatorSet memory operatorSet) external view returns (address[] memory);
getAllocatedStrategiesReturn
Container type for the return parameters of the getAllocatedStrategies(address,(address,uint32)) function.
getAllocationCall
Function with signature getAllocation(address,(address,uint32),address) and selector 0x10e1b9b8. solidity function getAllocation(address operator, OperatorSet memory operatorSet, address strategy) external view returns (IAllocationManagerTypes.Allocation memory);
getAllocationDelayCall
Function with signature getAllocationDelay(address) and selector 0xb9fbaed1. solidity function getAllocationDelay(address operator) external view returns (bool, uint32);
getAllocationDelayReturn
Container type for the return parameters of the getAllocationDelay(address) function.
getAllocationReturn
Container type for the return parameters of the getAllocation(address,(address,uint32),address) function.
getAllocationsCall
Function with signature getAllocations(address[],(address,uint32),address) and selector 0x8ce64854. solidity function getAllocations(address[] memory operators, OperatorSet memory operatorSet, address strategy) external view returns (IAllocationManagerTypes.Allocation[] memory);
getAllocationsReturn
Container type for the return parameters of the getAllocations(address[],(address,uint32),address) function.
getEncumberedMagnitudeCall
Function with signature getEncumberedMagnitude(address,address) and selector 0xf605ce08. solidity function getEncumberedMagnitude(address operator, address strategy) external view returns (uint64);
getEncumberedMagnitudeReturn
Container type for the return parameters of the getEncumberedMagnitude(address,address) function.
getMaxMagnitudeCall
Function with signature getMaxMagnitude(address,address) and selector 0xa9333ec8. solidity function getMaxMagnitude(address operator, address strategy) external view returns (uint64);
getMaxMagnitudeReturn
Container type for the return parameters of the getMaxMagnitude(address,address) function.
getMaxMagnitudesAtBlockCall
Function with signature getMaxMagnitudesAtBlock(address,address[],uint32) and selector 0x94d7d00c. solidity function getMaxMagnitudesAtBlock(address operator, address[] memory strategies, uint32 blockNumber) external view returns (uint64[] memory);
getMaxMagnitudesAtBlockReturn
Container type for the return parameters of the getMaxMagnitudesAtBlock(address,address[],uint32) function.
getMaxMagnitudes_0Call
Function with signature getMaxMagnitudes(address[],address) and selector 0x4a10ffe5. solidity function getMaxMagnitudes(address[] memory operators, address strategy) external view returns (uint64[] memory);
getMaxMagnitudes_0Return
Container type for the return parameters of the getMaxMagnitudes(address[],address) function.
getMaxMagnitudes_1Call
Function with signature getMaxMagnitudes(address,address[]) and selector 0x547afb87. solidity function getMaxMagnitudes(address operator, address[] memory strategies) external view returns (uint64[] memory);
getMaxMagnitudes_1Return
Container type for the return parameters of the getMaxMagnitudes(address,address[]) function.
getMemberCountCall
Function with signature getMemberCount((address,uint32)) and selector 0xb2447af7. solidity function getMemberCount(OperatorSet memory operatorSet) external view returns (uint256);
getMemberCountReturn
Container type for the return parameters of the getMemberCount((address,uint32)) function.
getMembersCall
Function with signature getMembers((address,uint32)) and selector 0x6e875dba. solidity function getMembers(OperatorSet memory operatorSet) external view returns (address[] memory);
getMembersReturn
Container type for the return parameters of the getMembers((address,uint32)) function.
getMinimumSlashableStakeCall
Function with signature getMinimumSlashableStake((address,uint32),address[],address[],uint32) and selector 0x2bab2c4a. solidity function getMinimumSlashableStake(OperatorSet memory operatorSet, address[] memory operators, address[] memory strategies, uint32 futureBlock) external view returns (uint256[][] memory slashableStake);
getMinimumSlashableStakeReturn
Container type for the return parameters of the getMinimumSlashableStake((address,uint32),address[],address[],uint32) function.
getOperatorSetCountCall
Function with signature getOperatorSetCount(address) and selector 0xba1a84e5. solidity function getOperatorSetCount(address avs) external view returns (uint256);
getOperatorSetCountReturn
Container type for the return parameters of the getOperatorSetCount(address) function.
getRegisteredSetsCall
Function with signature getRegisteredSets(address) and selector 0x79ae50cd. solidity function getRegisteredSets(address operator) external view returns (OperatorSet[] memory);
getRegisteredSetsReturn
Container type for the return parameters of the getRegisteredSets(address) function.
getStrategiesInOperatorSetCall
Function with signature getStrategiesInOperatorSet((address,uint32)) and selector 0x4177a87c. solidity function getStrategiesInOperatorSet(OperatorSet memory operatorSet) external view returns (address[] memory);
getStrategiesInOperatorSetReturn
Container type for the return parameters of the getStrategiesInOperatorSet((address,uint32)) function.
getStrategyAllocationsCall
Function with signature getStrategyAllocations(address,address) and selector 0x40120dab. solidity function getStrategyAllocations(address operator, address strategy) external view returns (OperatorSet[] memory, IAllocationManagerTypes.Allocation[] memory);
getStrategyAllocationsReturn
Container type for the return parameters of the getStrategyAllocations(address,address) function.
initializeCall
Function with signature initialize(address,uint256) and selector 0xcd6dc687. solidity function initialize(address initialOwner, uint256 initialPausedStatus) external;
initializeReturn
Container type for the return parameters of the initialize(address,uint256) function.
isMemberOfOperatorSetCall
Function with signature isMemberOfOperatorSet(address,(address,uint32)) and selector 0x670d3ba2. solidity function isMemberOfOperatorSet(address operator, OperatorSet memory operatorSet) external view returns (bool);
isMemberOfOperatorSetReturn
Container type for the return parameters of the isMemberOfOperatorSet(address,(address,uint32)) function.
isOperatorSetCall
Function with signature isOperatorSet((address,uint32)) and selector 0x260dc758. solidity function isOperatorSet(OperatorSet memory operatorSet) external view returns (bool);
isOperatorSetReturn
Container type for the return parameters of the isOperatorSet((address,uint32)) function.
isOperatorSlashableCall
Function with signature isOperatorSlashable(address,(address,uint32)) and selector 0x1352c3e6. solidity function isOperatorSlashable(address operator, OperatorSet memory operatorSet) external view returns (bool);
isOperatorSlashableReturn
Container type for the return parameters of the isOperatorSlashable(address,(address,uint32)) function.
modifyAllocationsCall
Function with signature modifyAllocations(address,((address,uint32),address[],uint64[])[]) and selector 0x952899ee. solidity function modifyAllocations(address operator, IAllocationManagerTypes.AllocateParams[] memory params) external;
modifyAllocationsReturn
Container type for the return parameters of the modifyAllocations(address,((address,uint32),address[],uint64[])[]) function.
ownerCall
Function with signature owner() and selector 0x8da5cb5b. solidity function owner() external view returns (address);
ownerReturn
Container type for the return parameters of the owner() function.
pauseAllCall
Function with signature pauseAll() and selector 0x595c6a67. solidity function pauseAll() external;
pauseAllReturn
Container type for the return parameters of the pauseAll() function.
pauseCall
Function with signature pause(uint256) and selector 0x136439dd. solidity function pause(uint256 newPausedStatus) external;
pauseReturn
Container type for the return parameters of the pause(uint256) function.
paused_0Call
Function with signature paused(uint8) and selector 0x5ac86ab7. solidity function paused(uint8 index) external view returns (bool);
paused_0Return
Container type for the return parameters of the paused(uint8) function.
paused_1Call
Function with signature paused() and selector 0x5c975abb. solidity function paused() external view returns (uint256);
paused_1Return
Container type for the return parameters of the paused() function.
pauserRegistryCall
Function with signature pauserRegistry() and selector 0x886f1195. solidity function pauserRegistry() external view returns (address);
pauserRegistryReturn
Container type for the return parameters of the pauserRegistry() function.
permissionControllerCall
Function with signature permissionController() and selector 0x4657e26a. solidity function permissionController() external view returns (address);
permissionControllerReturn
Container type for the return parameters of the permissionController() function.
registerForOperatorSetsCall
Function with signature registerForOperatorSets(address,(address,uint32[],bytes)) and selector 0xadc2e3d9. solidity function registerForOperatorSets(address operator, IAllocationManagerTypes.RegisterParams memory params) external;
registerForOperatorSetsReturn
Container type for the return parameters of the registerForOperatorSets(address,(address,uint32[],bytes)) function.
removeStrategiesFromOperatorSetCall
Function with signature removeStrategiesFromOperatorSet(address,uint32,address[]) and selector 0xb66bd989. solidity function removeStrategiesFromOperatorSet(address avs, uint32 operatorSetId, address[] memory strategies) external;
removeStrategiesFromOperatorSetReturn
Container type for the return parameters of the removeStrategiesFromOperatorSet(address,uint32,address[]) function.
renounceOwnershipCall
Function with signature renounceOwnership() and selector 0x715018a6. solidity function renounceOwnership() external;
renounceOwnershipReturn
Container type for the return parameters of the renounceOwnership() function.
setAVSRegistrarCall
Function with signature setAVSRegistrar(address,address) and selector 0xd3d96ff4. solidity function setAVSRegistrar(address avs, address registrar) external;
setAVSRegistrarReturn
Container type for the return parameters of the setAVSRegistrar(address,address) function.
setAllocationDelayCall
Function with signature setAllocationDelay(address,uint32) and selector 0x56c483e6. solidity function setAllocationDelay(address operator, uint32 delay) external;
setAllocationDelayReturn
Container type for the return parameters of the setAllocationDelay(address,uint32) function.
slashOperatorCall
Function with signature slashOperator(address,(address,uint32,address[],uint256[],string)) and selector 0x36352057. solidity function slashOperator(address avs, IAllocationManagerTypes.SlashingParams memory params) external;
slashOperatorReturn
Container type for the return parameters of the slashOperator(address,(address,uint32,address[],uint256[],string)) function.
transferOwnershipCall
Function with signature transferOwnership(address) and selector 0xf2fde38b. solidity function transferOwnership(address newOwner) external;
transferOwnershipReturn
Container type for the return parameters of the transferOwnership(address) function.
unpauseCall
Function with signature unpause(uint256) and selector 0xfabc1cbc. solidity function unpause(uint256 newPausedStatus) external;
unpauseReturn
Container type for the return parameters of the unpause(uint256) function.
updateAVSMetadataURICall
Function with signature updateAVSMetadataURI(address,string) and selector 0xa9821821. solidity function updateAVSMetadataURI(address avs, string memory metadataURI) external;
updateAVSMetadataURIReturn
Container type for the return parameters of the updateAVSMetadataURI(address,string) function.
versionCall
Function with signature version() and selector 0x54fd4d50. solidity function version() external view returns (string memory);
versionReturn
Container type for the return parameters of the version() function.

Enums§

AllocationManagerCalls
Container for all the AllocationManager function calls.
AllocationManagerErrors
Container for all the AllocationManager custom errors.
AllocationManagerEvents
Container for all the AllocationManager events.

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 AllocationManager contract instance.