PageSourceSearch

https://aerodrome.finance/assets/useOnchainToken.worker-CKcpi0IF.js

js aerodrome.finance collected 2026-09-24 19:55:54 UTC 698 bytes, 1 lines download raw bytes

1import{aG as t,a1 as l,ac as c}from"./index-Chd_Wa1n.js";function m(s,r,n){return t({chainId:s.id,address:s.superchainConfig.sugar,abi:c,functionName:"tokens",args:[BigInt(r.length),0n,n||l,r]})}function f(s,r,[n,i,d]){return s.map((a,e)=>[a&&a.slice(0,i.length),r[e]]).flatMap(([a,e])=>a.map(o=>[o,e])).map(([a,e])=>{if(a&&i.includes(a.token_address.toLowerCase())&&a.symbol!=="-NA-")return{address:a.token_address.toLowerCase(),balance:n?a.account_balance:0n,decimals:a.decimals??18,symbol:d.all[`${e.id}:${a.token_address.toLowerCase()}`]?.symbol??a.symbol??"Unknown",listed:a.listed,price:0n,balanceValue:0n,chainId:e.id}}).filter(a=>!!a)}export{m as fetchCustomTokens,f as mergeCustomTokens};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.