(slug: string, networks: any[])
| 17 | }; |
| 18 | |
| 19 | export function findNetworkBySlug(slug: string, networks: any[]) { |
| 20 | return find(networks, ["slug", slug]); |
| 21 | } |
| 22 | |
| 23 | export const generateExploreLink = (explorer, hash, type = "tx") => { |
| 24 | return `${explorer}/${type}/${hash}`; |
nothing calls this directly
no outgoing calls
no test coverage detected