Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SuperteamDAO/earn
/ functions
Functions
2,549 in github.com/SuperteamDAO/earn
⨍
Functions
2,549
◇
Types & classes
603
↓ 601 callers
Function
cn
(...inputs: ClassValue[])
src/utils/cn.ts:4
↓ 272 callers
Function
safeStringify
(obj: unknown)
src/utils/safeStringify.ts:4
↓ 113 callers
Function
useUser
()
src/store/user.ts:23
↓ 59 callers
Function
baseAsset
(filename: string)
src/pages/earn/hackathon/talent-olympics.tsx:44
↓ 58 callers
Function
formatNumberWithSuffix
( amount: number, decimals: number = 2, skipThousands: boolean = false, capitalizeSuffix: boolean = fa
src/utils/formatNumberWithSuffix.ts:1
↓ 55 callers
Function
getURL
()
src/utils/validUrl.ts:1
↓ 52 callers
Function
GenIcon
(data: IconTree)
src/components/icons/helpers/GenIcon.tsx:24
↓ 50 callers
Function
useDisclosure
(initialState = false)
src/hooks/use-disclosure.ts:10
↓ 45 callers
Function
headers
()
next.config.ts:103
↓ 38 callers
Function
withSponsorAuth
(handler: Handler)
src/features/auth/utils/withSponsorAuth.ts:14
↓ 36 callers
Function
extractSocialUsername
( platform: LinkedUsernames, url: string, )
src/features/social/utils/extractUsername.ts:21
↓ 35 callers
Function
useListingForm
( defaultValues?: ListingFormData, hackathons?: HackathonModel[], )
src/features/listing-builder/hooks/index.ts:64
↓ 34 callers
Function
withAuth
(handler: Handler)
src/features/auth/utils/withAuth.ts:14
↓ 31 callers
Function
useBreakpoint
(breakpoint: Breakpoint)
src/hooks/use-breakpoint.ts:20
↓ 25 callers
Function
getUserSession
( headers: ReadonlyHeaders, )
src/features/auth/utils/getUserSession.ts:15
↓ 22 callers
Function
getColorStyles
(status: string)
src/features/listings/utils/getColorStyles.ts:1
↓ 22 callers
Function
loadGoogleFont
(font: string, text: string)
src/utils/ogHelpers.ts:20
↓ 21 callers
Function
queueEmail
({ type, id, userId, // pass userId of the person you are sending the email to otherInfo, triggeredB
src/features/emails/utils/queueEmail.ts:47
↓ 19 callers
Function
getListingIcon
(type: string, className?: string)
src/features/listings/utils/getListingIcon.tsx:36
↓ 18 callers
Function
calculateSitemapCount
(totalCount: number)
src/app/sitemap.ts:263
↓ 18 callers
Function
escapeHtml
(value: string)
src/features/sponsor-dashboard/utils/grantEmailCopy.ts:1
↓ 18 callers
Function
formatString
(str: string, maxLength: number)
src/utils/ogHelpers.ts:1
↓ 18 callers
Function
normalizeRegionValue
(value: string | null | undefined)
src/features/listings/utils/region.ts:6
↓ 17 callers
Function
normalize
(value: string | null | undefined)
src/utils/chapterRegion.ts:32
↓ 16 callers
Function
checkGrantSponsorAuth
( userSponsorId: string | undefined, grantId: string, )
src/features/auth/utils/checkGrantSponsorAuth.ts:4
↓ 16 callers
Function
generateBreadcrumbListSchema
( items: Array<{ readonly name: string; readonly url?: string }>, )
src/utils/json-ld.ts:428
↓ 16 callers
Function
getChapterRegions
()
src/utils/chapterRegion.ts:36
↓ 16 callers
Function
getPrivyToken
( req: | NextApiRequest | (IncomingMessage & { cookies: NextApiRequestCookies; }), )
src/features/auth/utils/getPrivyToken.ts:8
↓ 16 callers
Function
sanitizeGrantApplicationHtml
(value?: string | null)
src/features/grants/utils/sanitizeGrantApplicationHtml.ts:68
↓ 15 callers
Function
fetchTokenUSDValue
(mintAddress: string)
src/features/wallet/utils/fetchTokenUSDValue.ts:3
↓ 14 callers
Function
truncatePublicKey
( publicKey: string = '', length: number = 4, )
src/utils/truncatePublicKey.ts:1
↓ 13 callers
Function
domPurify
(dirty: string | Node, cfg?: IsoDomPurify.Config)
src/lib/domPurify.ts:3
↓ 13 callers
Function
getTokenBySymbol
( tokenSymbol?: string | null, options?: { includeInactive?: boolean; }, )
src/server/tokenList.ts:256
↓ 12 callers
Function
extractXHandle
(url: string)
src/features/social/utils/x-verification.ts:30
↓ 12 callers
Function
getCombinedRegion
( region: string, lookupSTCountries: boolean = false, chapters: ChapterRegionData[] = [], )
src/features/listings/utils/region.ts:22
↓ 12 callers
Function
getURLSanitized
(url: string)
src/utils/getURLSanitized.ts:3
↓ 11 callers
Function
getSponsorSession
( headers: ReadonlyHeaders, )
src/features/auth/utils/getSponsorSession.ts:21
↓ 11 callers
Function
isHandleVerified
( handle: string, verifiedHandles: string[], )
src/features/social/utils/x-verification.ts:113
↓ 11 callers
Function
randomBetween
(min: number, max: number)
src/features/pro/components/ProUpgradeOverlay.tsx:89
↓ 11 callers
Function
useMediaQuery
(query: string)
src/hooks/use-media-query.ts:3
↓ 10 callers
Function
airtableUrl
(baseId: string, tableName: string, recordId?: string)
src/utils/airtable.ts:3
↓ 10 callers
Function
getParam
(name: any, processFn = (x: any) => x)
src/app/api/dynamic-og/listing/route.tsx:17
↓ 10 callers
Function
isAgenticEngineeringGrant
( grant: { title?: string | null } | null | undefined, )
src/features/grants/utils/stGrant.ts:224
↓ 10 callers
Function
isEligiblePeopleType
(type: string | null | undefined)
src/features/membership/utils/peopleEligibility.ts:5
↓ 10 callers
Function
normalizeTokenSearchValue
(value?: string | null)
src/utils/tokenSearch.ts:14
↓ 10 callers
Function
slugLink
(slug: string)
src/pages/earn/hackathon/talent-olympics.tsx:46
↓ 10 callers
Function
validateCustomEmailNote
({ noteHtml, fullEmailHtml, }: { noteHtml: string; fullEmailHtml: string; })
src/features/sponsor-dashboard/utils/customEmailSanitizer.ts:34
↓ 10 callers
Function
validateListingSponsorAuth
( userSponsorId: string, listingId: string, )
src/features/auth/utils/checkListingSponsorAuth.ts:66
↓ 10 callers
Function
validateSession
( headers: ReadonlyHeaders, )
src/features/auth/utils/getSponsorSession.ts:104
↓ 9 callers
Function
checkListingSponsorAuth
( userSponsorId: string | undefined, listingId: string, )
src/features/auth/utils/checkListingSponsorAuth.ts:11
↓ 9 callers
Function
getRpc
()
src/features/wallet/utils/getConnection.ts:7
↓ 9 callers
Function
isDeadlineOver
( deadline: string | Date | undefined, serverTime?: number, )
src/features/listings/utils/deadline.ts:13
↓ 9 callers
Function
sanitizeCustomEmailBody
(html: string)
src/features/sponsor-dashboard/utils/customEmailSanitizer.ts:28
↓ 9 callers
Function
statsDataQuery
(slug: string)
src/queries/hackathon.ts:32
↓ 8 callers
Function
baseAsset
(filename: string)
src/pages/earn/hackathon/mobius.tsx:43
↓ 8 callers
Function
checkAndApplyRateLimitApp
( options: ApplyRateLimitOptions, )
src/lib/rateLimiterService.ts:103
↓ 8 callers
Function
checkAndApplyRateLimitPages
( options: ApplyRateLimitOptions & { res: NextApiResponse }, )
src/lib/rateLimiterService.ts:145
↓ 8 callers
Function
findSkillBySlug
( slug: string, )
src/features/listings/utils/skill.ts:31
↓ 8 callers
Function
getCustomEmailPlainText
(html: string)
src/features/sponsor-dashboard/utils/customEmailSanitizer.ts:20
↓ 8 callers
Function
getListingStatus
( listing: Listing | ListingWithSubmissions | any, isGrant?: boolean, )
src/features/listings/utils/status.ts:26
↓ 8 callers
Function
grantAmount
({ minReward, maxReward, }: { minReward: number; maxReward: number; })
src/features/grants/utils/grantAmount.ts:3
↓ 8 callers
Function
nthLabelGenerator
( key: number, noBonusLabel: boolean = false, )
src/utils/rank.ts:81
↓ 8 callers
Function
onSelect
()
src/components/ui/carousel.tsx:194
↓ 8 callers
Function
trackDataQuery
(slug: string)
src/queries/hackathon.ts:26
↓ 7 callers
Function
buildTime
(options: BuildTimeOptions)
src/components/ui/datetime-picker.tsx:1042
↓ 7 callers
Function
calculateTotalPrizes
( rewards: Rewards | undefined | null, maxBonusSpots: number, )
src/features/listing-builder/utils/rewards.ts:7
↓ 7 callers
Function
convertToJpegUrl
(url: string)
src/utils/cloudinary.ts:69
↓ 7 callers
Function
fetchAirtableRecordId
( url: string, fieldName: string | null, fieldValue: string | null, config: ReturnType<typeof airtable
src/utils/airtable.ts:48
↓ 7 callers
Function
generateSlug
(name: string)
src/features/listings/utils/region.ts:186
↓ 7 callers
Function
getParam
(name: any, processFn = (x: any) => x)
src/app/api/dynamic-og/talent/route.tsx:11
↓ 7 callers
Function
getParam
(name: string, processFn = (x: any) => x)
src/app/api/dynamic-og/grant/route.tsx:13
↓ 7 callers
Function
isXInternalStatusUrl
(url: string)
src/features/social/utils/x-verification.ts:77
↓ 7 callers
Function
queueAgent
({ type, id, userId, otherInfo, }: AgentNotificationParams)
src/features/agents/utils/queueAgent.ts:24
↓ 7 callers
Function
useServerTimeSync
( options: UseServerTimeSyncOptions = {}, )
src/hooks/use-server-time.ts:46
↓ 7 callers
Function
withAgentAuth
(handler: Handler)
src/features/auth/utils/withAgentAuth.ts:13
↓ 7 callers
Function
withRedisLock
( key: string, callback: () => Promise<TResult>, options?: RedisLockOptions, )
src/lib/with-redis-lock.ts:16
↓ 6 callers
Function
airtableConfig
(apiToken: string)
src/utils/airtable.ts:13
↓ 6 callers
Function
bindParam
(value: unknown)
src/app/api/sponsor-dashboard/listing/[id]/scout/route.ts:94
↓ 6 callers
Function
cleanRewards
(rewards?: Rewards | null, skipBonus = false)
src/utils/rank.ts:63
↓ 6 callers
Function
findOptionByValue
(value: string)
src/components/shared/SuperteamCombobox.tsx:118
↓ 6 callers
Function
generateStars
(count: number, width: number, height: number)
src/pages/collaborate.tsx:9
↓ 6 callers
Function
getRankLabels
(rank: number)
src/utils/rank.ts:58
↓ 6 callers
Function
getTokenSearchRank
({ query, name, symbol, mintAddress, sortOrder, }: { query: string; name: string; symbol?: str
src/utils/tokenSearch.ts:17
↓ 6 callers
Function
getTotalImpressionsForValue
( value: number, emailImpressions: number, isFeatureAvailable: boolean, )
src/features/listing-builder/components/Form/Boost/utils.ts:146
↓ 6 callers
Function
isXUrl
(url: string)
src/features/social/utils/x-verification.ts:73
↓ 6 callers
Function
seededRandom
()
src/features/stfun/components/sections/Hero.tsx:28
↓ 6 callers
Function
useTokenList
()
src/constants/tokenList.ts:104
↓ 6 callers
Function
userApplicationQuery
(id: string)
src/features/grants/queries/user-application.ts:21
↓ 5 callers
Function
calculateTotalRewardsForPodium
( currentRewards: Record<string, number>, maxBonusSpots: number, )
src/features/listing-builder/utils/rewards.ts:14
↓ 5 callers
Function
filterRegionCountry
( region: ReturnType<typeof getCombinedRegion>, country: string, )
src/features/listings/utils/region.ts:101
↓ 5 callers
Function
findCategoryBySlug
(slug: string)
src/features/listings/utils/category.ts:39
↓ 5 callers
Function
findChapterByRegionInput
( region: string, )
src/utils/chapterRegion.ts:104
↓ 5 callers
Function
generateSkillSlug
* Generates a URL-friendly slug from a skill name
src/features/listings/utils/skill.ts:10
↓ 5 callers
Function
getCloudinaryFetchUrl
( url: string | null | undefined, )
src/utils/cloudinary.ts:35
↓ 5 callers
Function
getOrRemoveBonuses
( submissions: SubmissionWithUser[], removeBonus: boolean, )
src/features/listings/components/ListingPage/ListingWinners.tsx:26
↓ 5 callers
Function
getParentRegions
( region: ReturnType<typeof getCombinedRegion>, )
src/features/listings/utils/region.ts:91
↓ 5 callers
Function
handleCategoryChange
(category: string)
src/features/talent/components/EmailSettingsModal.tsx:50
↓ 5 callers
Function
invalidCharacterMessage
(_: string, allowed: string)
src/features/social/utils/schema.ts:7
↓ 5 callers
Function
labelMenuOptions
(type: BountyType | 'grant' | undefined)
src/features/sponsor-dashboard/constants/index.ts:3
↓ 5 callers
Function
onComplete
()
src/features/sponsor-dashboard/components/GrantApplications/Modals/AiReview.tsx:203
next →
1–100 of 2,549, ranked by callers