fix(trenches): add robinhood launchpad/quote-address config

market trenches returned all-empty on robinhood because
TRENCHES_PLATFORMS and TRENCHES_QUOTE_ADDRESS_TYPES had no robinhood
entry, so an empty quote_address_type filtered out every result.

Add robinhood config:
- platforms: noxa, virtuals_v2, bankr, dyorswap, pool_uniswap_v2/v3/v4
- quote_address_type: [11, 20, 24, 12, 0]

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
David Lau
2026-07-09 17:52:43 +08:00
parent 1e45828c8c
commit f6e3bc4ef7
+5
View File
@@ -842,6 +842,10 @@ const TRENCHES_PLATFORMS: Record<string, string[]> = {
"trench", "clanker", "klik", "livo", "stroid",
"pool_uniswap_v2", "pool_uniswap_v3", "printr",
],
robinhood: [
"noxa", "virtuals_v2", "bankr", "dyorswap",
"pool_uniswap_v2", "pool_uniswap_v3", "pool_uniswap_v4",
],
};
const TRENCHES_QUOTE_ADDRESS_TYPES: Record<string, number[]> = {
@@ -849,6 +853,7 @@ const TRENCHES_QUOTE_ADDRESS_TYPES: Record<string, number[]> = {
bsc: [6, 7, 1, 16, 8, 3, 9, 10, 2, 17, 18, 0],
base: [11, 3, 12, 13, 0],
eth: [20, 11, 8, 3, 12, 1, 0],
robinhood: [11, 20, 24, 12, 0],
};
function buildTrenchesBody(chain: string, types?: string[], platforms?: string[], limit?: number, filters?: Record<string, number | string>): Record<string, unknown> {