{
    "Function": "receive",
    "File": "tokenomics/contracts/Treasury.sol",
    "Parent Contracts": [
        "tokenomics/contracts/interfaces/IErrorsTokenomics.sol"
    ],
    "High-Level Calls": [],
    "Internal Calls": [
        "revert Overflow(uint256,uint256)",
        "revert LowerThan(uint256,uint256)"
    ],
    "Library Calls": [],
    "Low-Level Calls": [],
    "Code": "receive() external payable {\n        if (msg.value < minAcceptedETH) {\n            revert LowerThan(msg.value, minAcceptedETH);\n        }\n\n        uint256 amount = ETHOwned;\n        amount += msg.value;\n        // Check for the overflow values, specifically when fuzzing, since practically these amounts are not realistic\n        if (amount + ETHFromServices > type(uint96).max) {\n            revert Overflow(amount, type(uint96).max);\n        }\n        ETHOwned = uint96(amount);\n        emit ReceiveETH(msg.sender, msg.value);\n    }"
}