{
    "Function": "resolveHandler",
    "File": "contracts/Disputes.sol",
    "Parent Contracts": [
        "node_modules/@openzeppelin/contracts-upgradeable/metatx/ERC2771ContextUpgradeable.sol",
        "node_modules/@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol",
        "node_modules/@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol",
        "node_modules/@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol",
        "contracts/interfaces/IDisputes.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "executeTaskAdd",
        "executeTaskPay",
        "executeTaskChange"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function resolveHandler(uint256 _disputeID) internal {\n        // Local instance of variable. For saving gas.\n        Dispute storage dispute = disputes[_disputeID];\n\n        // If action type is add task then execute add task\n        if (dispute.actionType == ActionType.TaskAdd) {\n            executeTaskAdd(dispute.project, dispute.actionData);\n        }\n        // If action type is task change then execute task change\n        else if (dispute.actionType == ActionType.TaskChange) {\n            executeTaskChange(dispute.project, dispute.actionData);\n        }\n        // Else execute task pay\n        else {\n            executeTaskPay(dispute.project, dispute.actionData);\n        }\n    }"
}