mirror of
https://github.com/luxfi/dex.git
synced 2026-10-30 14:45:46 +00:00
The best_venue_buy() and best_venue_sell() methods used Decimal::from_double(1e18) as a sentinel value, which caused integer overflow (1e18 * 1e8 scale = 1e26 exceeds int64_t max ~9.2e18). This resulted in undefined behavior during price comparisons. Changed to use std::optional<Decimal> for safe sentinel-free comparisons.
39 lines
837 B
JSON
39 lines
837 B
JSON
{
|
|
"name": "hummingbot-gateway-lxdex-plugin",
|
|
"version": "1.0.0",
|
|
"description": "Hummingbot Gateway plugin for LX - Ultra-low latency DEX with CLOB, AMM, and CLMM support",
|
|
"main": "dist/index.js",
|
|
"types": "dist/index.d.ts",
|
|
"files": [
|
|
"dist",
|
|
"config"
|
|
],
|
|
"scripts": {
|
|
"build": "tsc",
|
|
"clean": "rm -rf dist",
|
|
"prepublishOnly": "npm run build"
|
|
},
|
|
"keywords": [
|
|
"hummingbot",
|
|
"gateway",
|
|
"plugin",
|
|
"lxdex",
|
|
"lux",
|
|
"dex",
|
|
"trading"
|
|
],
|
|
"author": "Lux Partners Limited",
|
|
"license": "Apache-2.0",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/luxfi/dex.git",
|
|
"directory": "hummingbot-gateway/plugins/lxdex"
|
|
},
|
|
"dependencies": {
|
|
"@lxdex/hummingbot-gateway-connector": "^1.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"fastify": "^4.0.0"
|
|
}
|
|
}
|