MCPcopy Create free account

hub / github.com/WardAnalytics/WardGraph / functions

Functions289 in github.com/WardAnalytics/WardGraph

↓ 45 callersFunctionlogAnalyticsEvent
(eventName: string, eventParams?: any)
src/services/firestore/analytics/analytics.ts:10
↓ 18 callersFunctionuseAuthState
()
src/hooks/useAuthState.tsx:10
↓ 8 callersFunctionformatNumber
(num: number)
src/utils/formatNumber.tsx:14
↓ 5 callersFunctioninstance
(config: AxiosRequestConfig)
src/api/instance.ts:18
↓ 4 callersFunctionauxIterateCategories
( address: string, categories: Category[], entityMap: Map<string, EntityRowProps>, incoming: boolean,
src/components/graph/analysis_window/content/overview/Overview.tsx:68
↓ 4 callersFunctiongetCategoryRisk
(category: string)
src/components/graph/expand_with_ai.tsx:6
↓ 4 callersFunctionrange
Range function * @description This function will return an array of numbers from start to end. * @param start * @param end * @returns {number[]} r
src/components/common/pagination/usePagination.tsx:10
↓ 3 callersFunctionWithAuth
(WrappedComponent: React.ComponentType<P>)
src/components/auth/WithAuth.tsx:52
↓ 3 callersFunctioncalculateNewAddressPath
( nodes: Node[], edges: Edge[], addresses: string[][], incoming: boolean, )
src/components/graph/graph_calculations.tsx:168
↓ 3 callersFunctionconvertEdgeListToRecord
(edges: Edge[])
src/components/graph/graph_calculations.tsx:41
↓ 3 callersFunctioncreateAddressNode
( address: string, state: AddressNodeState = AddressNodeState.MINIMIZED, highlight: boolean = true, x:
src/components/graph/custom_elements/nodes/AddressNode/create.tsx:4
↓ 3 callersFunctioncreateTransfershipEdge
( source: string, target: string, state: TransfershipEdgeStates = TransfershipEdgeStates.HIDDEN, volum
src/components/graph/custom_elements/edges/TransfershipEdge/create.tsx:4
↓ 3 callersFunctiongetCategory
( getCategoryBody: GetCategoryBody, )
src/api/labels/labels.ts:149
↓ 3 callersFunctiongetRiskLevelColors
(risk: number)
src/utils/risk_levels.tsx:64
↓ 3 callersFunctionhandleActionRequiringAuth
(redirectUrl: RedirectUrl)
src/components/auth/WithAuth.tsx:81
↓ 3 callersFunctionusePremiumStatus
(userID: string)
src/services/firestore/user/premium/premium.tsx:11
↓ 2 callersFunctionaddEdgeAux
Adds an edge to the list of edges. * If the edge already exists, it updates the volume to the higher of the two. * This is done because when adding
src/components/graph/graph_calculations.tsx:106
↓ 2 callersFunctioncalculateLayoutedElements
( nodes: Node[], edges: Edge[], direction = "LR", )
src/components/graph/graph_calculations.tsx:281
↓ 2 callersFunctioncloseDialog
()
src/components/auth/AuthDialog.tsx:111
↓ 2 callersFunctionconvertNodeListToRecord
(nodes: Node[])
src/components/graph/graph_calculations.tsx:28
↓ 2 callersFunctioncreateUserInDatabase
(user: User)
src/services/firestore/user/user.ts:17
↓ 2 callersFunctiondecreaseSlide
()
src/components/graph/tutorial/TutorialDialog.tsx:132
↓ 2 callersFunctiongetCategoryPaths
( originAddress: string, category: Category, )
src/components/graph/expand_with_ai.tsx:16
↓ 2 callersFunctiongetCustomerPortalUrl
()
src/services/stripe/payments.tsx:118
↓ 2 callersFunctiongetExpandWithAIPaths
Expand with AI algorithm * * @param analysisData - The analysis data of the address returned by the API * @param maxPaths - The maximum number of p
src/components/graph/expand_with_ai.tsx:43
↓ 2 callersFunctiongetGraphHref
(graph: PersonalGraph)
src/services/firestore/user/graph_saving/graph_saving.tsx:47
↓ 2 callersFunctiongetHandleParams
Returns the position of a node compared to another node. * * @param nodeA The node to cmopare * @param nodeB The node to compare to * @returns The
src/components/graph/custom_elements/edges/TransfershipEdge/utils.tsx:64
↓ 2 callersFunctiongetNodeCenterX
(node: Node)
src/components/graph/custom_elements/edges/TransfershipEdge/utils.tsx:7
↓ 2 callersFunctiongetTransactionClasses
(mode: AnalysisMode, leaving: boolean = false)
src/components/graph/analysis_window/AnalysisWindow.tsx:104
↓ 2 callersFunctiongetTransactions
( address: string, params?: GetTransactionsParams, signal?: AbortSignal )
src/api/transactions/transactions.ts:30
↓ 2 callersFunctionincreaseSlide
()
src/components/graph/tutorial/TutorialDialog.tsx:123
↓ 2 callersFunctionisValidAddress
(address: string)
src/utils/isValidAddress.tsx:1
↓ 2 callersFunctiononSearchAddressHandler
(input: string)
src/components/graph/search_bar/SearchBar.tsx:141
↓ 2 callersFunctionredirectOnLogin
(userID: string)
src/components/auth/AuthDialog.tsx:76
↓ 2 callersFunctionsearchLabels
( searchLabelsBody: SearchLabelsBody, )
src/api/labels/labels.ts:100
↓ 2 callersFunctionupdatePersonalGraph
( userID: string, graph: PersonalGraph, )
src/services/firestore/user/graph_saving/graph_saving.tsx:76
↓ 2 callersFunctionuseCustomAddressTags
({ userID, address, }: { userID: string; address: string; })
src/services/firestore/user/custom_tags/address_tags.tsx:52
↓ 2 callersFunctionuseGetTransactions
( address: string, params?: GetTransactionsParams, options?: { query?:UseQueryOptions<Awaited<ReturnType<
src/api/transactions/transactions.ts:73
↓ 2 callersFunctionusePersonalGraphs
(userID: string)
src/services/firestore/user/graph_saving/graph_saving.tsx:105
↓ 1 callersFunctionWithPremium
(WrappedComponent: React.ComponentType<P>)
src/components/premium/WithPremium.tsx:58
↓ 1 callersFunctionaddAddressAux
Adds an address to the list of nodes and moves the cursor to the new position. * - Checks for duplicates * - Checks for intersections and moves out
src/components/graph/graph_calculations.tsx:82
↓ 1 callersFunctionaddCustomAddressTag
( userID: string, address: string, tag: string, )
src/services/firestore/user/custom_tags/address_tags.tsx:21
↓ 1 callersFunctionaddCustomUserTag
(userID: string, tag: string)
src/services/firestore/user/custom_tags/user_tags.tsx:21
↓ 1 callersFunctionaddFreeTierExpandWithAIInteraction
( userID: string )
src/services/firestore/user/free_usage/free_usage.tsx:25
↓ 1 callersFunctionaddNewAddressToCenter
(address: string)
src/components/graph/Graph.tsx:788
↓ 1 callersFunctionanalysisAddressData
( address: string, signal?: AbortSignal )
src/api/compliance/compliance.ts:30
↓ 1 callersFunctioncalculateAddTransfershipEdges
( edges: Edge[], nodesRecord: Record<string, Node>, newEdges: Edge[], )
src/components/graph/graph_calculations.tsx:135
↓ 1 callersFunctioncloseTutorial
()
src/components/graph/tutorial/TutorialDialog.tsx:137
↓ 1 callersFunctioncreateCheckoutSession
()
src/services/stripe/payments.tsx:49
↓ 1 callersFunctioncreatePersonalGraph
( userID: string, graph: PersonalGraph, )
src/services/firestore/user/graph_saving/graph_saving.tsx:54
↓ 1 callersFunctioncreateSharableGraph
(graph: SharableGraph)
src/services/firestore/graph_sharing/graph_sharing.ts:27
↓ 1 callersFunctiondoLayout
()
src/components/graph/Graph.tsx:874
↓ 1 callersFunctionexpand
()
src/components/graph/analysis_window/content/advanced/tabs/ExposureTab/EntityView.tsx:35
↓ 1 callersFunctionfilterLayoutElements
()
src/components/graph/Graph.tsx:847
↓ 1 callersFunctiongetAddressLink
(blockchain: string, address: string)
src/utils/explorer_links/getAddressLink.tsx:3
↓ 1 callersFunctiongetAnalysisAddressDataQueryKey
(address: string,)
src/api/compliance/compliance.ts:43
↓ 1 callersFunctiongetAnalysisAddressDataQueryOptions
(address: string, options?: { query?:UseQueryOptions<Awaited<ReturnType<typeof analysisAddressData>>, TError,
src/api/compliance/compliance.ts:48
↓ 1 callersFunctiongetCurrentUser
()
src/services/auth/auth.services.ts:129
↓ 1 callersFunctiongetEdgeHandleID
(edgeID: string)
src/components/graph/Graph.tsx:463
↓ 1 callersFunctiongetEntityLogoURL
(entity: string)
src/components/common/EntityLogo.tsx:3
↓ 1 callersFunctiongetGetCategoryMutationOptions
(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof getCategory>>, TError,{data: GetCategoryBo
src/api/labels/labels.ts:164
↓ 1 callersFunctiongetGetLabelsQueryKey
(address: string,)
src/api/labels/labels.ts:55
↓ 1 callersFunctiongetGetLabelsQueryOptions
(address: string, options?: { query?:UseQueryOptions<Awaited<ReturnType<typeof getLabels>>, TError, TData>, }
src/api/labels/labels.ts:60
↓ 1 callersFunctiongetGetTransactionsQueryKey
(address: string, params?: GetTransactionsParams,)
src/api/transactions/transactions.ts:45
↓ 1 callersFunctiongetGetTransactionsQueryOptions
(address: string, params?: GetTransactionsParams, options?: { query?:UseQueryOptions<Awaited<ReturnType<ty
src/api/transactions/transactions.ts:51
↓ 1 callersFunctiongetHandleCoordsByPosition
Returns the coordinates of a node's handle by its position * @param node The node to get the handle coordinates from * @param handlePosition The pos
src/components/graph/custom_elements/edges/TransfershipEdge/utils.tsx:20
↓ 1 callersFunctiongetLabels
( address: string, signal?: AbortSignal )
src/api/labels/labels.ts:42
↓ 1 callersFunctiongetNodeCount
()
src/components/graph/Graph.tsx:906
↓ 1 callersFunctiongetPersonalGraph
( userID: string, uid: string, )
src/services/firestore/user/graph_saving/graph_saving.tsx:150
↓ 1 callersFunctiongetSearchLabelsMutationOptions
(options?: { mutation?:UseMutationOptions<Awaited<ReturnType<typeof searchLabels>>, TError,{data: SearchLabels
src/api/labels/labels.ts:115
↓ 1 callersFunctiongetSharableGraph
( graphID: string, )
src/services/firestore/graph_sharing/graph_sharing.ts:45
↓ 1 callersFunctiongetSubscription
()
src/services/stripe/subscriptions.tsx:46
↓ 1 callersFunctiongetSubscriptionPrice
(subscription: Subscription)
src/services/stripe/subscriptions.tsx:26
↓ 1 callersFunctiongetTokenLogoURL
(token: string)
src/components/common/TokenLogo.tsx:3
↓ 1 callersFunctiongetTransactionLink
(blockchain: string, hash: string)
src/utils/explorer_links/getTransactionLink.tsx:3
↓ 1 callersFunctionhandleActionRequiringPremium
({ successPath = "", cancelPath = "", }: PremiumRedirectUrl)
src/components/premium/WithPremium.tsx:93
↓ 1 callersFunctionisNodeWithinDistance
Checks if nodes are within a certain distance of each other * @param x the x position of the node * @param y the y position of the node * @param no
src/components/graph/graph_calculations.tsx:58
↓ 1 callersFunctionmoveSelectedIndexDown
()
src/components/graph/search_bar/SearchBar.tsx:162
↓ 1 callersFunctionmoveSelectedIndexDown
()
src/components/graph/analysis_window/header/TagInput.tsx:89
↓ 1 callersFunctionmoveSelectedIndexUp
()
src/components/graph/search_bar/SearchBar.tsx:153
↓ 1 callersFunctionmoveSelectedIndexUp
()
src/components/graph/analysis_window/header/TagInput.tsx:71
↓ 1 callersFunctiononAddTagHandler
(input: string)
src/components/graph/analysis_window/header/TagInput.tsx:47
↓ 1 callersFunctiononChangeGraphName
()
src/templates/SavedGraphsTemplate.tsx:39
↓ 1 callersFunctiononDeleteTagHandler
(tag: string)
src/components/graph/analysis_window/header/TagInput.tsx:62
↓ 1 callersFunctionremoveCustomAddressTag
( userID: string, address: string, tag: string, )
src/services/firestore/user/custom_tags/address_tags.tsx:36
↓ 1 callersFunctionremovePersonalGraph
(userID: string, uid: string)
src/services/firestore/user/graph_saving/graph_saving.tsx:93
↓ 1 callersFunctionresetAuthApiErrorMessage
()
src/components/auth/AuthDialog.tsx:102
↓ 1 callersFunctionsetChange
()
src/components/graph/search_bar/SearchResultPopover.tsx:81
↓ 1 callersFunctionsetEdgeState
(edgeID: string, state: TransfershipEdgeStates)
src/components/graph/Graph.tsx:609
↓ 1 callersFunctionsetLayoutedElements
( filteredNodes: Node[], filteredEdges: Edge[], )
src/components/graph/Graph.tsx:863
↓ 1 callersFunctionsetNodeHighlight
Sets the highlight of a node to either true or false. * * @param address The address of the node to highlight * @param highlight Whether to h
src/components/graph/Graph.tsx:768
↓ 1 callersFunctionstoreSearchedAddress
(userID: string, address: string)
src/services/firestore/user/search_history/search_history.tsx:22
↓ 1 callersFunctionuseAnalysisAddressData
( address: string, options?: { query?:UseQueryOptions<Awaited<ReturnType<typeof analysisAddressData>>, TError
src/api/compliance/compliance.ts:69
↓ 1 callersFunctionuseCheckoutSessionUrl
(priceId: string, userId: string, { enabled, successPath, cancelPath, }: CheckoutSessionOptions = {
src/services/stripe/payments.tsx:23
↓ 1 callersFunctionuseCustomQueryClient
()
src/hooks/useCustomQueryClient.tsx:15
↓ 1 callersFunctionuseCustomUserTags
(userID: string)
src/services/firestore/user/custom_tags/user_tags.tsx:44
↓ 1 callersFunctionuseCustomerPortalUrl
(userID: string, { enabled, }: CustomerPortalOptions = { enabled: true })
src/services/stripe/payments.tsx:108
↓ 1 callersFunctionuseFreeTierExpandWithAIUsage
(userID: string)
src/services/firestore/user/free_usage/free_usage.tsx:50
↓ 1 callersFunctionuseGetLabels
( address: string, options?: { query?:UseQueryOptions<Awaited<ReturnType<typeof getLabels>>, TError, TData>,
src/api/labels/labels.ts:81
↓ 1 callersFunctionusePagination
Pagination hook * @description This hook will return an array of page numbers which we can use to render pagination buttons. * @param totalCount - T
src/components/common/pagination/usePagination.tsx:32
next →1–100 of 289, ranked by callers