({ contract })
| 79 | contracts, |
| 80 | name, |
| 81 | getCacheKey({ contract }) { |
| 82 | if (typeof contract.address === 'string') |
| 83 | return `${camelCase(name)}:${contract.address}` |
| 84 | return `${camelCase(name)}:${JSON.stringify(contract.address)}` |
| 85 | }, |
| 86 | async parse({ response }) { |
| 87 | const json = await response.json() |
| 88 | const parsed = await BlockExplorerResponse.safeParseAsync(json) |
nothing calls this directly
no outgoing calls
no test coverage detected