{
    "Function": "incrementERC1155",
    "File": "src/libraries/DelegateTokenRegistryHelpers.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "IDelegateRegistry"
    ],
    "Internal Calls": [
        "calculateIncreasedAmount",
        "revert HashMismatch()"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function incrementERC1155(address delegateRegistry, bytes32 newRegistryHash, Structs.DelegateInfo calldata delegateInfo) internal {\n        if (\n            IDelegateRegistry(delegateRegistry).delegateERC1155(\n                delegateInfo.delegateHolder,\n                delegateInfo.tokenContract,\n                delegateInfo.tokenId,\n                delegateInfo.rights,\n                calculateIncreasedAmount(delegateRegistry, newRegistryHash, delegateInfo.amount)\n            ) == newRegistryHash\n        ) return;\n        revert Errors.HashMismatch();\n    }"
}