{
    "Function": "ecMul",
    "File": "src/util/ECCMath.sol",
    "Parent Contracts": [],
    "High-Level Calls": [],
    "Internal Calls": [
        "abi.encode()",
        "abi.decode()"
    ],
    "Library Calls": [],
    "Low-Level Calls": [
        "staticcall"
    ],
    "Code": "function ecMul(Point memory point, uint256 scalar) internal view returns (Point memory) {\n        bytes memory data = abi.encode(point, scalar);\n        if (scalar == 0 || (point.x == 0 && point.y == 0)) return Point(1, 1);\n        (bool res, bytes memory ret) = address(0x07).staticcall{gas: 6000}(data);\n        if (!res) return Point(1, 1);\n        return abi.decode(ret, (Point));\n    }"
}