MCPcopy Create free account
hub / github.com/ethereum/node-crawler / convert

Function convert

frontend/src/data/DataProcessor.ts:251–254  ·  view source on GitHub ↗
(a: [string, number])

Source from the content-addressed store, hash-verified

249 const queryData = (options: Option = {}, filters?: Filter[]): ClientResponse => {
250
251 const convert = (a: [string, number]) => ({
252 name: a[0],
253 count: a[1]
254 })
255
256 const versionToString = (version: Version): string => {
257 let versionString = '' + version.major

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected