MCPcopy Create free account

hub / github.com/NeurProjects/neur-app / functions

Functions392 in github.com/NeurProjects/neur-app

↓ 197 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:17
↓ 20 callersFunctiondebugLog
( message: string, data?: unknown, options: DebugOptions = {}, )
src/lib/debug.ts:23
↓ 16 callersFunctionformatNumber
(value: number)
src/lib/utils.ts:21
↓ 14 callersFunctionlogWithTiming
(startTime: number, message: string)
src/lib/utils.ts:227
↓ 11 callersFunctionformatNumber
( input: any, type: 'currency' | 'number' | 'percent' = 'number', decimals = 2, )
src/lib/format.ts:13
↓ 8 callersFunctionfetchHelius
(method: HeliusMethod, params: any)
src/lib/solana/helius.ts:43
↓ 8 callersFunctionuseUser
()
src/hooks/use-user.ts:122
↓ 7 callersFunctiontruncate
(str: string, length = 6)
src/lib/utils/format.ts:57
↓ 6 callersFunctiongetSubPriceFloat
()
src/lib/utils.ts:253
↓ 6 callersFunctionsearchWalletAssets
(ownerAddress: string)
src/lib/solana/helius.ts:100
↓ 5 callersFunctiondbCreateMessages
({ messages, }: { messages: Omit<PrismaMessage, 'id' | 'createdAt'>[]; })
src/server/db/queries.ts:85
↓ 5 callersMethodgenerate
(options: PlaceholderOptions = {})
src/lib/placeholder.ts:19
↓ 5 callersFunctiongetRandomInt
* Generate a random integer between min and max (inclusive)
src/app/(user)/chat/[id]/chat-skeleton.tsx:10
↓ 5 callersFunctionhandleUpdateUser
(data: UserUpdateData)
src/app/(user)/account/account-content.tsx:249
↓ 4 callersFunctiongetValue
( token: TransformedToken, key: typeof sortBy, )
src/ai/solana/defined-fi.tsx:211
↓ 4 callersFunctionhandleQuickAmount
(percentage: number)
src/components/transfer-dialog.tsx:136
↓ 4 callersFunctionisValidTokenUsage
(usage: LanguageModelUsage)
src/lib/utils.ts:57
↓ 4 callersFunctionresetPromptAction
()
src/app/(user)/saved-prompts/page.tsx:282
↓ 4 callersFunctionsortPrompts
( prompts: SavedPrompt[], property: keyof SavedPrompt, swapComparison = false, )
src/app/(user)/saved-prompts/page.tsx:119
↓ 4 callersFunctionuseSidebar
()
src/components/ui/sidebar.tsx:42
↓ 3 callersFunctioncanAffordSubscription
( walletPortfolio?: Awaited<ReturnType<typeof searchWalletAssets>>, )
src/lib/utils.ts:233
↓ 3 callersFunctioncapitalize
(str: string)
src/lib/utils/format.ts:53
↓ 3 callersFunctioncheckUserAuth
()
src/server/actions/subscription.ts:17
↓ 3 callersFunctiondbGetConversation
({ conversationId, includeMessages, isServer, }: { conversationId: string; includeMessages?: boolean
src/server/db/queries.ts:16
↓ 3 callersFunctiondbGetConversationMessages
({ conversationId, limit, isServer, }: { conversationId: string; limit?: number; isServer?: boolea
src/server/db/queries.ts:149
↓ 3 callersFunctionformatSOL
(lamports: number)
src/ai/solana/magic-eden.tsx:49
↓ 3 callersFunctiongetPayloadConfigFromPayload
( config: ChartConfig, payload: unknown, key: string, )
src/components/ui/chart.tsx:321
↓ 3 callersFunctionhandleSubmit
(e?: React.FormEvent)
src/app/(user)/home/conversation-input.tsx:172
↓ 3 callersMethodnft
(size = 48)
src/lib/placeholder.ts:48
↓ 3 callersFunctionrefreshWalletData
* Refresh wallet list + this wallet's balance
src/components/dashboard/wallet-card.tsx:68
↓ 3 callersFunctionrenderTokenInfo
(showSelectedAmount: boolean = false)
src/components/transfer-dialog.tsx:161
↓ 2 callersFunctioncheckUserTelegramSetup
( username?: string, userId?: string, )
src/server/actions/telegram.ts:69
↓ 2 callersFunctiondbCreateTokenStat
({ userId, messageIds, totalTokens, promptTokens, completionTokens, }: { userId: string; message
src/server/db/queries.ts:329
↓ 2 callersFunctionfetchConversations
(userId: string)
src/hooks/use-conversations.ts:8
↓ 2 callersFunctionformatChartPrice
(value: number)
src/lib/format.ts:49
↓ 2 callersFunctionformatDate
(date: Date | string)
src/lib/utils.ts:63
↓ 2 callersFunctionformatLargeNumber
(value: number)
src/ai/solana/magic-eden.tsx:56
↓ 2 callersFunctiongenerateReferralCode
()
src/server/actions/user.ts:35
↓ 2 callersFunctiongetAgentKit
({ userId, walletId, }: { userId: string; walletId?: string; })
src/server/actions/ai.ts:96
↓ 2 callersFunctiongetConfirmationButtonText
(action: SubscriptionAction)
src/components/subscription/subscription-section.tsx:135
↓ 2 callersFunctiongetConfirmationResult
(message: Message)
src/lib/utils/ai.ts:151
↓ 2 callersFunctiongetDexPriceHistory
( contractAddress: string, network: string = 'solana', timeFrame: TIMEFRAME = TIMEFRAME.MINUTES, aggre
src/server/actions/chart.ts:154
↓ 2 callersFunctiongetLinkText
(link: DexScreenerTokenProfileLink)
src/ai/solana/dexscreener.tsx:361
↓ 2 callersFunctiongetMintAccountInfo
(mint: string)
src/lib/solana/helius.ts:272
↓ 2 callersFunctiongetMultipleAccountsInfoHelius
* Use "getMultipleAccounts" in a single RPC call for a list of addresses
src/lib/solana/helius.ts:425
↓ 2 callersFunctiongetToolConfig
(toolName: string)
src/ai/providers.tsx:280
↓ 2 callersFunctiongetToolsFromOrchestrator
( messages: Message[] | undefined, excludeConfirmationTool: boolean, )
src/server/actions/orchestrator.ts:7
↓ 2 callersFunctiongetToolsFromRequiredTools
( toolNames: string[], )
src/ai/providers.tsx:284
↓ 2 callersFunctiongetTrialTokensFloat
()
src/lib/utils.ts:259
↓ 2 callersFunctionnormalizeString
(str: string)
src/ai/solana/cookie.tsx:94
↓ 2 callersFunctiononChange
()
src/hooks/use-mobile.tsx:12
↓ 2 callersFunctionrenderTelegramResponse
({ success, error, botId, successTitle, successMessage, }: { success: boolean; error?: string;
src/ai/generic/telegram.tsx:20
↓ 2 callersMethodresolveDomainToAddress
* Resolve .sol domain name to address * @param domain Domain name
src/lib/solana/index.ts:33
↓ 2 callersFunctionretrieveAgentKitServer
({ userId, walletId, }: { userId: string; walletId?: string; })
src/server/utils/index.ts:18
↓ 2 callersFunctionsaveToCache
* Saves NeurUser data to localStorage * @param {NeurUser | null} data User data to cache or null to clear cache
src/hooks/use-user.ts:55
↓ 2 callersFunctionsearchJupiterTokens
( query: string, )
src/server/actions/jupiter.ts:50
↓ 2 callersFunctiontransformToPortfolio
( address: string, fungibleTokens: FungibleToken[], nonFungibleTokens: NonFungibleToken[], )
src/types/helius/portfolio.ts:30
↓ 2 callersFunctiontruncate
(str: string | null, length: number)
src/components/ui/tweet-card.tsx:50
↓ 2 callersFunctionupdatePath
()
src/components/ui/animated-beam.tsx:68
↓ 2 callersFunctionupdatePromptAction
(action: PromptAction)
src/app/(user)/saved-prompts/page.tsx:286
↓ 2 callersFunctionuseChart
()
src/components/ui/chart.tsx:28
↓ 2 callersFunctionuseConversations
(userId?: string)
src/hooks/use-conversations.ts:14
↓ 2 callersFunctionuseIsMobile
()
src/hooks/use-mobile.tsx:5
↓ 2 callersFunctionusePolling
({ url, onUpdate, interval = 60000 }: UsePollingOptions)
src/hooks/use-polling.ts:9
↓ 2 callersFunctionuseWalletPortfolio
()
src/hooks/use-wallet-portfolio.ts:9
↓ 1 callersFunctionDefaultToolResultRenderer
({ result }: { result: unknown })
src/ai/providers.tsx:134
↓ 1 callersFunctionaddToolMessageToChat
* Adds tool message results to existing chat messages by updating their tool invocations. * * @param params - Object containing toolMessage and mess
src/lib/utils.ts:88
↓ 1 callersFunctionadjustValue
(value: any)
src/ai/solana/bundle.tsx:26
↓ 1 callersFunctionapplyToolUpdates
(messages: Message[], toolUpdates: ToolUpdate[])
src/app/(user)/chat/[id]/chat-interface.tsx:144
↓ 1 callersMethodavatar
(size = 48)
src/lib/placeholder.ts:40
↓ 1 callersFunctioncalculateUsdValue
( balance: number, decimals: number, pricePerToken: number, )
src/components/transfer-dialog.tsx:128
↓ 1 callersFunctionchunkArray
(arr: T[], chunkSize: number)
src/lib/utils.ts:35
↓ 1 callersFunctionclassifyAddresses
* Classify a list of addresses (subset of holders). * - If address is in ACCOUNT_LABELS, use that. * - Else look at the account's `owner` program →
src/lib/solana/helius.ts:438
↓ 1 callersFunctionconvertToUIMessages
( messages: Array<PrismaMessage>, )
src/lib/utils.ts:126
↓ 1 callersFunctionconvertUserResponseToBoolean
(message: string)
src/server/actions/ai.ts:37
↓ 1 callersFunctioncopyToClipboard
(text: string)
src/components/referral-section.tsx:58
↓ 1 callersFunctioncopyToClipboard
(text: string)
src/components/message/pumpfun-launch.tsx:58
↓ 1 callersFunctioncreateConnection
()
src/lib/solana/index.ts:15
↓ 1 callersFunctiondbCreateAction
(action: NewAction)
src/server/db/queries.ts:303
↓ 1 callersFunctiondbCreateConversation
({ conversationId, userId, title, }: { conversationId: string; userId: string; title: string; })
src/server/db/queries.ts:56
↓ 1 callersFunctiondbCreateSavedPrompt
({ userId, title, content, }: { userId: string; title: string; content: string; })
src/server/db/queries.ts:507
↓ 1 callersFunctiondbDeleteAction
({ id, userId, }: { id: string; userId: string; })
src/server/db/queries.ts:425
↓ 1 callersFunctiondbDeleteConversation
({ conversationId, userId, }: { conversationId: string; userId: string; })
src/server/db/queries.ts:213
↓ 1 callersFunctiondbDeleteSavedPrompt
({ id }: { id: string })
src/server/db/queries.ts:613
↓ 1 callersFunctiondbGetActions
({ triggered = true, paused = false, completed = false, }: { triggered: boolean; paused: boolean;
src/server/db/queries.ts:275
↓ 1 callersFunctiondbGetConversations
({ userId }: { userId: string })
src/server/db/queries.ts:251
↓ 1 callersFunctiondbGetSavedPrompts
({ userId }: { userId: string })
src/server/db/queries.ts:480
↓ 1 callersFunctiondbGetUserActions
({ userId }: { userId: string })
src/server/db/queries.ts:406
↓ 1 callersFunctiondbGetUserTelegramChat
({ userId }: { userId: string })
src/server/db/queries.ts:363
↓ 1 callersFunctiondbUpdateAction
({ id, userId, data, }: { id: string; userId: string; data: Partial<Action>; })
src/server/db/queries.ts:445
↓ 1 callersFunctiondbUpdateMessageToolInvocations
({ messageId, toolInvocations, }: { messageId: string; toolInvocations: JsonValue; })
src/server/db/queries.ts:116
↓ 1 callersFunctiondbUpdateSavedPrompt
({ id, title, content, }: { id: string; title: string; content: string; })
src/server/db/queries.ts:537
↓ 1 callersFunctiondbUpdateSavedPromptIsFavorite
({ id, isFavorite, }: { id: string; isFavorite: boolean; })
src/server/db/queries.ts:563
↓ 1 callersFunctiondbUpdateSavedPromptLastUsedAt
({ id }: { id: string })
src/server/db/queries.ts:589
↓ 1 callersFunctiondbUpdateUserTelegramChat
({ userId, username, chatId, }: { userId: string; username: string; chatId?: string; })
src/server/db/queries.ts:381
↓ 1 callersMethoddecrypt
(encrypted: string)
src/lib/solana/wallet-generator.ts:88
↓ 1 callersFunctiondecryptPrivateKey
(encryptedPrivateKey: string)
src/lib/solana/wallet-generator.ts:19
↓ 1 callersMethodencrypt
(source: string)
src/lib/solana/wallet-generator.ts:72
↓ 1 callersFunctionfetchMetadata
()
src/components/message/pumpfun-launch.tsx:158
↓ 1 callersFunctionfetchNeurUserData
* Fetches NeurUser data from the server * @param {PrivyUser} privyUser The authenticated Privy user * @returns {Promise<NeurUser | null>} User data
src/hooks/use-user.ts:83
next →1–100 of 392, ranked by callers