Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/YoubetDao/youbet-task
/ functions
Functions
289 in github.com/YoubetDao/youbet-task
⨍
Functions
289
◇
Types & classes
98
↓ 145 callers
Function
cn
(...inputs: ClassValue[])
src/lib/utils.ts:5
↓ 20 callers
Function
toast
({ ...props }: Toast)
src/components/ui/use-toast.ts:138
↓ 13 callers
Function
createApi
(ApiClass: new (...args: any[]) => T)
src/service/index.ts:19
↓ 11 callers
Function
useUsername
()
src/store/userInfo/store.ts:16
↓ 6 callers
Method
getDistributorContract
()
src/constants/distributor.ts:28
↓ 5 callers
Function
dispatch
(action: Action)
src/components/ui/use-toast.ts:129
↓ 5 callers
Function
useToast
()
src/components/ui/use-toast.ts:167
↓ 4 callers
Function
changeURLParams
(navigate: NavigateFunction, key: string, value: string)
src/components/filter-button.tsx:58
↓ 4 callers
Function
formatDateToDay
(date?: string)
src/lib/utils.ts:40
↓ 4 callers
Function
getIconFromKey
(key: string)
src/pages/project/_constants/getIconFromKey.tsx:11
↓ 4 callers
Method
getTokenSymbolAndDecimals
()
src/constants/distributor.ts:59
↓ 4 callers
Function
handleChangetoPatch
(e: { currentTarget: HTMLInputElement })
src/pages/task-management/_components/TaskMgtTable.tsx:65
↓ 4 callers
Function
useAdminProjects
()
src/store/userInfo/store.ts:12
↓ 4 callers
Function
useCarousel
()
src/components/ui/carousel.tsx:31
↓ 4 callers
Function
useFormField
()
src/components/ui/form.tsx:33
↓ 4 callers
Function
usePendingClaimTasks
()
src/store/admin/store.ts:8
↓ 4 callers
Function
usePendingGrantList
()
src/store/admin/store.ts:7
↓ 4 callers
Function
useToken
()
src/store/userInfo/store.ts:15
↓ 3 callers
Method
approveAllowance
(amount: bigint)
src/constants/distributor.ts:53
↓ 3 callers
Function
filterFromEntity
( ids: string, entity: T[], )
src/pages/task-management/_constants/index.ts:8
↓ 3 callers
Method
getAllowance
(walletAddress: string)
src/constants/distributor.ts:64
↓ 3 callers
Function
getNavItems
(isAdminProjects?: boolean, isAdminNamespace?: boolean)
src/constants/data.ts:13
↓ 3 callers
Function
getPayloadConfigFromPayload
(config: ChartConfig, payload: unknown, key: string)
src/components/ui/chart.tsx:278
↓ 3 callers
Method
getTokenContract
()
src/constants/distributor.ts:35
↓ 3 callers
Function
scrollToAnchor
(href: string)
src/components/layout/LandingLayout.tsx:30
↓ 3 callers
Function
selectedFn
(list: IData[])
src/pages/task-management/_constants/index.ts:4
↓ 3 callers
Function
updateTaskDetail
({ value }: { value: string | number })
src/pages/task-management/_components/TaskMgtTable.tsx:56
↓ 3 callers
Function
useAdminNamespace
()
src/store/userInfo/store.ts:13
↓ 3 callers
Function
useDistributorToken
()
src/hooks/useDistributorToken.ts:12
↓ 3 callers
Function
useTask
(githubId?: string)
src/pages/task-detail/_hooks/index.tsx:10
↓ 3 callers
Function
useUserPermission
()
src/store/userInfo/store.ts:17
↓ 2 callers
Function
addToRemoveQueue
(toastId: string)
src/components/ui/use-toast.ts:56
↓ 2 callers
Function
capitalize
(str: string)
src/lib/utils.ts:25
↓ 2 callers
Function
capitalizeFirstLetter
(str: string)
src/components/reward-button.tsx:11
↓ 2 callers
Function
changeValue
(value: string)
src/components/reward-button.tsx:32
↓ 2 callers
Function
filterFromDate
(value: string)
src/pages/task-management/_constants/index.ts:24
↓ 2 callers
Function
formatAddress
(address: string)
src/pages/admin/expense.tsx:111
↓ 2 callers
Function
formatDate
(date: string)
src/pages/period/_constants/index.tsx:17
↓ 2 callers
Function
formatDate
(date?: string)
src/lib/utils.ts:29
↓ 2 callers
Method
getAddress
()
src/constants/distributor.ts:44
↓ 2 callers
Method
getContentHtml
()
src/lib/md-processor.ts:33
↓ 2 callers
Method
getForwarderContract
()
src/constants/gdaV1Forwarder.ts:57
↓ 2 callers
Method
getReadOnlyDistributorContract
()
src/constants/distributor.ts:122
↓ 2 callers
Method
getReadOnlyProvider
()
src/constants/distributor.ts:118
↓ 2 callers
Function
getRedirectUri
()
src/lib/auth.ts:3
↓ 2 callers
Function
getSafeHrefByTitle
(title: string)
src/constants/data.ts:150
↓ 2 callers
Function
githubOAuthUri
()
src/lib/auth.ts:11
↓ 2 callers
Function
randomDistribute
(amount: number, people: number)
src/pages/period/reward-form.tsx:24
↓ 2 callers
Function
renderMenuItem
(item: (typeof navItems)[0], level = 0)
src/components/layout/shared/Sidebar.tsx:32
↓ 2 callers
Function
renderTasks
(tasks: TaskDto[])
src/pages/tasks/index.tsx:147
↓ 2 callers
Function
safeJSONParse
(value?: string, defaultValue?: T)
src/lib/utils.ts:9
↓ 2 callers
Function
shouldLinkWallet
()
src/hooks/useLinkWallet.ts:27
↓ 2 callers
Function
updateSize
()
src/components/ui/background-canvas.tsx:19
↓ 2 callers
Function
useAllowanceCheck
(options: UseAllowanceCheckOptions = {})
src/hooks/useAllowanceCheck.ts:13
↓ 2 callers
Function
useChart
()
src/components/ui/chart.tsx:22
↓ 2 callers
Function
useLinkWallet
(options: UseLinkWalletOptions = {})
src/hooks/useLinkWallet.ts:16
↓ 1 callers
Function
animate
()
src/components/ui/background-canvas.tsx:80
↓ 1 callers
Method
batchClaimRedPacket
( batch: { uuid: string githubId: string signature: string }[], )
src/constants/distributor.ts:106
↓ 1 callers
Method
batchCreateRedPacket
( batch: { uuid: string githubIds: string[] amounts: bigint[] creatorId: string
src/constants/distributor.ts:92
↓ 1 callers
Method
claimRedPacket
(uuid: string, githubId: string, signature: string)
src/constants/distributor.ts:80
↓ 1 callers
Method
createRedPacket
(uuid: string, githubIds: string[], amounts: bigint[], creatorId: string, sourceType: string)
src/constants/distributor.ts:74
↓ 1 callers
Function
createRouter
()
src/router/index.tsx:55
↓ 1 callers
Function
createRouterObjects
(items: NavItem[])
src/router/index.tsx:21
↓ 1 callers
Function
dismiss
()
src/components/ui/use-toast.ts:146
↓ 1 callers
Function
fetchRewards
()
src/pages/profile/index.tsx:41
↓ 1 callers
Function
formatAmount
(amount: number | undefined, decimals: number)
src/pages/task-detail/_constants/index.tsx:79
↓ 1 callers
Function
genId
()
src/components/ui/use-toast.ts:25
↓ 1 callers
Function
getAppearances
()
src/lib/appearances.ts:3
↓ 1 callers
Function
getChainOptions
()
src/constants/data.ts:397
↓ 1 callers
Function
getCurrentChain
()
src/constants/data.ts:377
↓ 1 callers
Function
getDifficultyColor
(difficulty: Difficulty)
src/components/task-v2/task-card.tsx:15
↓ 1 callers
Function
getPaymentChain
()
src/constants/data.ts:387
↓ 1 callers
Function
getPermission
()
src/pages/callback/index.tsx:30
↓ 1 callers
Method
getPlainText
(mdText: string)
src/lib/md-processor.ts:41
↓ 1 callers
Method
getReadOnlyTokenContract
()
src/constants/distributor.ts:127
↓ 1 callers
Method
getToCData
()
src/lib/md-processor.ts:37
↓ 1 callers
Function
getToken
()
src/store/userInfo/store.ts:22
↓ 1 callers
Method
getTokenAddress
()
src/constants/distributor.ts:48
↓ 1 callers
Function
getTokenInfo
()
src/pages/task-detail/_components/QuestLog.tsx:31
↓ 1 callers
Function
getTokenInfo
()
src/hooks/useDistributorToken.ts:21
↓ 1 callers
Function
githubOAuthContentUri
()
src/lib/auth.ts:15
↓ 1 callers
Function
handleAllSelectTask
(periods: ReceiptDto[], checked: boolean)
src/pages/myrewards/index.tsx:114
↓ 1 callers
Function
handleClaim
()
src/pages/profile/index.tsx:80
↓ 1 callers
Function
handleDetailClick
(report: PeriodReport)
src/pages/projectdetail/Reports.tsx:50
↓ 1 callers
Function
handleDetailClick
(periodId: string)
src/pages/period/index.tsx:51
↓ 1 callers
Function
handleFetchUserInfo
(code: string)
src/pages/callback/index.tsx:23
↓ 1 callers
Function
handleMarkAsNoGrantNeeded
(githubId: number)
src/pages/admin/completedTask.tsx:131
↓ 1 callers
Function
handleOpenChange
(open: boolean)
src/components/import-project.tsx:74
↓ 1 callers
Function
handleSelectReward
(resourceId: string)
src/pages/myrewards/index.tsx:106
↓ 1 callers
Function
handleSelectTask
(period: Period)
src/pages/period/_components/PeriodTable.tsx:65
↓ 1 callers
Function
handleSelectTask
(task: TaskDto)
src/pages/admin/completedTask.tsx:93
↓ 1 callers
Function
handleSubmit
(searchValue: string, sortValue: string)
src/pages/project/index.tsx:41
↓ 1 callers
Function
isGithubUser
(item: any)
src/components/filter-button.tsx:45
↓ 1 callers
Function
isIData
(item: any)
src/components/filter-button.tsx:54
↓ 1 callers
Function
isSuperfluidContext
()
src/components/layout/shared/ConnectButton.tsx:18
↓ 1 callers
Function
linkWallet
()
src/hooks/useLinkWallet.ts:39
↓ 1 callers
Function
parseAmount
(amount: string, decimals: number)
src/pages/task-detail/_constants/index.tsx:84
↓ 1 callers
Function
reducer
(state: State, action: Action)
src/components/ui/use-toast.ts:72
↓ 1 callers
Function
renderAssigneeAvatar
(assignee: GithubUser)
src/components/task-v2/task-card.tsx:83
↓ 1 callers
Function
renderGithubStep
()
src/pages/dashboard/_components/BindModal.tsx:100
next →
1–100 of 289, ranked by callers