Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

fix(robinhood-feed): pass the swap event to getLogs in the form viem expects

nirholas26b9dcc4aad5
diff --git a/workers/robinhood-feed/scripts/smoke-live.mjs b/workers/robinhood-feed/scripts/smoke-live.mjs
index f7d6b3a18..7b813e7db 100644
--- a/workers/robinhood-feed/scripts/smoke-live.mjs
+++ b/workers/robinhood-feed/scripts/smoke-live.mjs
@@ -108,7 +108,7 @@ async function main() {
assert.ok(poolInfo, 'pool inspection failed (token0/token1 unreadable)');
const to = launch.blockNumber + SCAN_STEP > head ? head : launch.blockNumber + SCAN_STEP;
const swaps = await withRpcRetry(() => hood.public.getLogs({
- address: launch.pool, abi: [uniswapSwapEvent], eventName: 'Swap',
+ address: launch.pool, event: uniswapSwapEvent,
fromBlock: launch.blockNumber, toBlock: to,
}));
if (swaps.length) {