{
    "Function": "deliverBribes",
    "File": "contracts/contracts/Gauge.sol",
    "Parent Contracts": [],
    "High-Level Calls": [
        "IBribe",
        "IBribe",
        "IBribe"
    ],
    "Internal Calls": [
        "require(bool)",
        "_notifyBribeAmount",
        "lock"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "function deliverBribes() external lock {\n        require(msg.sender == voter);\n        IBribe sb = IBribe(bribe);\n        uint bribeStart = block.timestamp - (block.timestamp % (7 days)) + BRIBE_LAG;\n        uint numRewards = sb.rewardsListLength();\n\n        for (uint i = 0; i < numRewards; i++) {\n            address token = sb.rewards(i);\n            uint epochRewards = sb.deliverReward(token, bribeStart);\n            if (epochRewards > 0) {\n                _notifyBribeAmount(token, epochRewards, bribeStart);\n            }\n        }\n    }"
}