MCPcopy Create free account

hub / github.com/SuperteamDAO/earn / functions

Functions2,549 in github.com/SuperteamDAO/earn

↓ 601 callersFunctioncn
(...inputs: ClassValue[])
src/utils/cn.ts:4
↓ 272 callersFunctionsafeStringify
(obj: unknown)
src/utils/safeStringify.ts:4
↓ 113 callersFunctionuseUser
()
src/store/user.ts:23
↓ 59 callersFunctionbaseAsset
(filename: string)
src/pages/earn/hackathon/talent-olympics.tsx:44
↓ 58 callersFunctionformatNumberWithSuffix
( amount: number, decimals: number = 2, skipThousands: boolean = false, capitalizeSuffix: boolean = fa
src/utils/formatNumberWithSuffix.ts:1
↓ 55 callersFunctiongetURL
()
src/utils/validUrl.ts:1
↓ 52 callersFunctionGenIcon
(data: IconTree)
src/components/icons/helpers/GenIcon.tsx:24
↓ 50 callersFunctionuseDisclosure
(initialState = false)
src/hooks/use-disclosure.ts:10
↓ 45 callersFunctionheaders
()
next.config.ts:103
↓ 38 callersFunctionwithSponsorAuth
(handler: Handler)
src/features/auth/utils/withSponsorAuth.ts:14
↓ 36 callersFunctionextractSocialUsername
( platform: LinkedUsernames, url: string, )
src/features/social/utils/extractUsername.ts:21
↓ 35 callersFunctionuseListingForm
( defaultValues?: ListingFormData, hackathons?: HackathonModel[], )
src/features/listing-builder/hooks/index.ts:64
↓ 34 callersFunctionwithAuth
(handler: Handler)
src/features/auth/utils/withAuth.ts:14
↓ 31 callersFunctionuseBreakpoint
(breakpoint: Breakpoint)
src/hooks/use-breakpoint.ts:20
↓ 25 callersFunctiongetUserSession
( headers: ReadonlyHeaders, )
src/features/auth/utils/getUserSession.ts:15
↓ 22 callersFunctiongetColorStyles
(status: string)
src/features/listings/utils/getColorStyles.ts:1
↓ 22 callersFunctionloadGoogleFont
(font: string, text: string)
src/utils/ogHelpers.ts:20
↓ 21 callersFunctionqueueEmail
({ type, id, userId, // pass userId of the person you are sending the email to otherInfo, triggeredB
src/features/emails/utils/queueEmail.ts:47
↓ 19 callersFunctiongetListingIcon
(type: string, className?: string)
src/features/listings/utils/getListingIcon.tsx:36
↓ 18 callersFunctioncalculateSitemapCount
(totalCount: number)
src/app/sitemap.ts:263
↓ 18 callersFunctionescapeHtml
(value: string)
src/features/sponsor-dashboard/utils/grantEmailCopy.ts:1
↓ 18 callersFunctionformatString
(str: string, maxLength: number)
src/utils/ogHelpers.ts:1
↓ 18 callersFunctionnormalizeRegionValue
(value: string | null | undefined)
src/features/listings/utils/region.ts:6
↓ 17 callersFunctionnormalize
(value: string | null | undefined)
src/utils/chapterRegion.ts:32
↓ 16 callersFunctioncheckGrantSponsorAuth
( userSponsorId: string | undefined, grantId: string, )
src/features/auth/utils/checkGrantSponsorAuth.ts:4
↓ 16 callersFunctiongenerateBreadcrumbListSchema
( items: Array<{ readonly name: string; readonly url?: string }>, )
src/utils/json-ld.ts:428
↓ 16 callersFunctiongetChapterRegions
()
src/utils/chapterRegion.ts:36
↓ 16 callersFunctiongetPrivyToken
( req: | NextApiRequest | (IncomingMessage & { cookies: NextApiRequestCookies; }), )
src/features/auth/utils/getPrivyToken.ts:8
↓ 16 callersFunctionsanitizeGrantApplicationHtml
(value?: string | null)
src/features/grants/utils/sanitizeGrantApplicationHtml.ts:68
↓ 15 callersFunctionfetchTokenUSDValue
(mintAddress: string)
src/features/wallet/utils/fetchTokenUSDValue.ts:3
↓ 14 callersFunctiontruncatePublicKey
( publicKey: string = '', length: number = 4, )
src/utils/truncatePublicKey.ts:1
↓ 13 callersFunctiondomPurify
(dirty: string | Node, cfg?: IsoDomPurify.Config)
src/lib/domPurify.ts:3
↓ 13 callersFunctiongetTokenBySymbol
( tokenSymbol?: string | null, options?: { includeInactive?: boolean; }, )
src/server/tokenList.ts:256
↓ 12 callersFunctionextractXHandle
(url: string)
src/features/social/utils/x-verification.ts:30
↓ 12 callersFunctiongetCombinedRegion
( region: string, lookupSTCountries: boolean = false, chapters: ChapterRegionData[] = [], )
src/features/listings/utils/region.ts:22
↓ 12 callersFunctiongetURLSanitized
(url: string)
src/utils/getURLSanitized.ts:3
↓ 11 callersFunctiongetSponsorSession
( headers: ReadonlyHeaders, )
src/features/auth/utils/getSponsorSession.ts:21
↓ 11 callersFunctionisHandleVerified
( handle: string, verifiedHandles: string[], )
src/features/social/utils/x-verification.ts:113
↓ 11 callersFunctionrandomBetween
(min: number, max: number)
src/features/pro/components/ProUpgradeOverlay.tsx:89
↓ 11 callersFunctionuseMediaQuery
(query: string)
src/hooks/use-media-query.ts:3
↓ 10 callersFunctionairtableUrl
(baseId: string, tableName: string, recordId?: string)
src/utils/airtable.ts:3
↓ 10 callersFunctiongetParam
(name: any, processFn = (x: any) => x)
src/app/api/dynamic-og/listing/route.tsx:17
↓ 10 callersFunctionisAgenticEngineeringGrant
( grant: { title?: string | null } | null | undefined, )
src/features/grants/utils/stGrant.ts:224
↓ 10 callersFunctionisEligiblePeopleType
(type: string | null | undefined)
src/features/membership/utils/peopleEligibility.ts:5
↓ 10 callersFunctionnormalizeTokenSearchValue
(value?: string | null)
src/utils/tokenSearch.ts:14
↓ 10 callersFunctionslugLink
(slug: string)
src/pages/earn/hackathon/talent-olympics.tsx:46
↓ 10 callersFunctionvalidateCustomEmailNote
({ noteHtml, fullEmailHtml, }: { noteHtml: string; fullEmailHtml: string; })
src/features/sponsor-dashboard/utils/customEmailSanitizer.ts:34
↓ 10 callersFunctionvalidateListingSponsorAuth
( userSponsorId: string, listingId: string, )
src/features/auth/utils/checkListingSponsorAuth.ts:66
↓ 10 callersFunctionvalidateSession
( headers: ReadonlyHeaders, )
src/features/auth/utils/getSponsorSession.ts:104
↓ 9 callersFunctioncheckListingSponsorAuth
( userSponsorId: string | undefined, listingId: string, )
src/features/auth/utils/checkListingSponsorAuth.ts:11
↓ 9 callersFunctiongetRpc
()
src/features/wallet/utils/getConnection.ts:7
↓ 9 callersFunctionisDeadlineOver
( deadline: string | Date | undefined, serverTime?: number, )
src/features/listings/utils/deadline.ts:13
↓ 9 callersFunctionsanitizeCustomEmailBody
(html: string)
src/features/sponsor-dashboard/utils/customEmailSanitizer.ts:28
↓ 9 callersFunctionstatsDataQuery
(slug: string)
src/queries/hackathon.ts:32
↓ 8 callersFunctionbaseAsset
(filename: string)
src/pages/earn/hackathon/mobius.tsx:43
↓ 8 callersFunctioncheckAndApplyRateLimitApp
( options: ApplyRateLimitOptions, )
src/lib/rateLimiterService.ts:103
↓ 8 callersFunctioncheckAndApplyRateLimitPages
( options: ApplyRateLimitOptions & { res: NextApiResponse }, )
src/lib/rateLimiterService.ts:145
↓ 8 callersFunctionfindSkillBySlug
( slug: string, )
src/features/listings/utils/skill.ts:31
↓ 8 callersFunctiongetCustomEmailPlainText
(html: string)
src/features/sponsor-dashboard/utils/customEmailSanitizer.ts:20
↓ 8 callersFunctiongetListingStatus
( listing: Listing | ListingWithSubmissions | any, isGrant?: boolean, )
src/features/listings/utils/status.ts:26
↓ 8 callersFunctiongrantAmount
({ minReward, maxReward, }: { minReward: number; maxReward: number; })
src/features/grants/utils/grantAmount.ts:3
↓ 8 callersFunctionnthLabelGenerator
( key: number, noBonusLabel: boolean = false, )
src/utils/rank.ts:81
↓ 8 callersFunctiononSelect
()
src/components/ui/carousel.tsx:194
↓ 8 callersFunctiontrackDataQuery
(slug: string)
src/queries/hackathon.ts:26
↓ 7 callersFunctionbuildTime
(options: BuildTimeOptions)
src/components/ui/datetime-picker.tsx:1042
↓ 7 callersFunctioncalculateTotalPrizes
( rewards: Rewards | undefined | null, maxBonusSpots: number, )
src/features/listing-builder/utils/rewards.ts:7
↓ 7 callersFunctionconvertToJpegUrl
(url: string)
src/utils/cloudinary.ts:69
↓ 7 callersFunctionfetchAirtableRecordId
( url: string, fieldName: string | null, fieldValue: string | null, config: ReturnType<typeof airtable
src/utils/airtable.ts:48
↓ 7 callersFunctiongenerateSlug
(name: string)
src/features/listings/utils/region.ts:186
↓ 7 callersFunctiongetParam
(name: any, processFn = (x: any) => x)
src/app/api/dynamic-og/talent/route.tsx:11
↓ 7 callersFunctiongetParam
(name: string, processFn = (x: any) => x)
src/app/api/dynamic-og/grant/route.tsx:13
↓ 7 callersFunctionisXInternalStatusUrl
(url: string)
src/features/social/utils/x-verification.ts:77
↓ 7 callersFunctionqueueAgent
({ type, id, userId, otherInfo, }: AgentNotificationParams)
src/features/agents/utils/queueAgent.ts:24
↓ 7 callersFunctionuseServerTimeSync
( options: UseServerTimeSyncOptions = {}, )
src/hooks/use-server-time.ts:46
↓ 7 callersFunctionwithAgentAuth
(handler: Handler)
src/features/auth/utils/withAgentAuth.ts:13
↓ 7 callersFunctionwithRedisLock
( key: string, callback: () => Promise<TResult>, options?: RedisLockOptions, )
src/lib/with-redis-lock.ts:16
↓ 6 callersFunctionairtableConfig
(apiToken: string)
src/utils/airtable.ts:13
↓ 6 callersFunctionbindParam
(value: unknown)
src/app/api/sponsor-dashboard/listing/[id]/scout/route.ts:94
↓ 6 callersFunctioncleanRewards
(rewards?: Rewards | null, skipBonus = false)
src/utils/rank.ts:63
↓ 6 callersFunctionfindOptionByValue
(value: string)
src/components/shared/SuperteamCombobox.tsx:118
↓ 6 callersFunctiongenerateStars
(count: number, width: number, height: number)
src/pages/collaborate.tsx:9
↓ 6 callersFunctiongetRankLabels
(rank: number)
src/utils/rank.ts:58
↓ 6 callersFunctiongetTokenSearchRank
({ query, name, symbol, mintAddress, sortOrder, }: { query: string; name: string; symbol?: str
src/utils/tokenSearch.ts:17
↓ 6 callersFunctiongetTotalImpressionsForValue
( value: number, emailImpressions: number, isFeatureAvailable: boolean, )
src/features/listing-builder/components/Form/Boost/utils.ts:146
↓ 6 callersFunctionisXUrl
(url: string)
src/features/social/utils/x-verification.ts:73
↓ 6 callersFunctionseededRandom
()
src/features/stfun/components/sections/Hero.tsx:28
↓ 6 callersFunctionuseTokenList
()
src/constants/tokenList.ts:104
↓ 6 callersFunctionuserApplicationQuery
(id: string)
src/features/grants/queries/user-application.ts:21
↓ 5 callersFunctioncalculateTotalRewardsForPodium
( currentRewards: Record<string, number>, maxBonusSpots: number, )
src/features/listing-builder/utils/rewards.ts:14
↓ 5 callersFunctionfilterRegionCountry
( region: ReturnType<typeof getCombinedRegion>, country: string, )
src/features/listings/utils/region.ts:101
↓ 5 callersFunctionfindCategoryBySlug
(slug: string)
src/features/listings/utils/category.ts:39
↓ 5 callersFunctionfindChapterByRegionInput
( region: string, )
src/utils/chapterRegion.ts:104
↓ 5 callersFunctiongenerateSkillSlug
* Generates a URL-friendly slug from a skill name
src/features/listings/utils/skill.ts:10
↓ 5 callersFunctiongetCloudinaryFetchUrl
( url: string | null | undefined, )
src/utils/cloudinary.ts:35
↓ 5 callersFunctiongetOrRemoveBonuses
( submissions: SubmissionWithUser[], removeBonus: boolean, )
src/features/listings/components/ListingPage/ListingWinners.tsx:26
↓ 5 callersFunctiongetParentRegions
( region: ReturnType<typeof getCombinedRegion>, )
src/features/listings/utils/region.ts:91
↓ 5 callersFunctionhandleCategoryChange
(category: string)
src/features/talent/components/EmailSettingsModal.tsx:50
↓ 5 callersFunctioninvalidCharacterMessage
(_: string, allowed: string)
src/features/social/utils/schema.ts:7
↓ 5 callersFunctionlabelMenuOptions
(type: BountyType | 'grant' | undefined)
src/features/sponsor-dashboard/constants/index.ts:3
↓ 5 callersFunctiononComplete
()
src/features/sponsor-dashboard/components/GrantApplications/Modals/AiReview.tsx:203
next →1–100 of 2,549, ranked by callers