{
    "Function": "updatePlatformFee",
    "File": "contracts/WardenPledge.sol",
    "Parent Contracts": [
        "contracts/oz/utils/ReentrancyGuard.sol",
        "contracts/oz/utils/Pausable.sol",
        "contracts/oz/utils/Ownable.sol",
        "contracts/oz/utils/Context.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "revert InvalidValue()",
        "onlyOwner"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function updatePlatformFee(uint256 newFee) external onlyOwner {\n        if(newFee > 500) revert Errors.InvalidValue();\n        uint256 oldfee = protocalFeeRatio;\n        protocalFeeRatio = newFee;\n\n        emit PlatformFeeUpdated(oldfee, newFee);\n    }"
}