MCPcopy Create free account

hub / github.com/Broccoli-CTO/BroccoliNGO-Dapp / functions

Functions286 in github.com/Broccoli-CTO/BroccoliNGO-Dapp

↓ 179 callersFunction_TL_
(v: string)
scripts/collect-i18n.ts:6
↓ 157 callersFunctiontrans
(key: string, replace: Record<string, any> = {})
components/ui/I18nProvider.tsx:38
↓ 22 callersMethodget
(key: string)
shared/server/redis.ts:12
↓ 19 callersFunctionuseI18n
()
components/ui/I18nProvider.tsx:33
↓ 12 callersFunctiondebugLog
(msg: any, level: "info" | "warn" | "error" = "info")
shared/server/sync.ts:26
↓ 11 callersFunctionuserAuth
(strict = true)
shared/server/auth.ts:6
↓ 10 callersFunctionuseGlobalCtx
()
hooks/useGlobal.tsx:64
↓ 8 callersFunctionpadToTwoDigits
(num: string | number)
components/Task/ApprovalView/index.tsx:17
↓ 7 callersFunctionuseTaskDetailsCtx
()
hooks/useTaskDetails.tsx:288
↓ 6 callersFunctionformatDecimalNumber
( num: number | string, maximumFractionDigits = 4, minimumFractionDigits = 0 )
shared/utils.ts:10
↓ 6 callersFunctionnftMetaDataToHelpRequest2
(nftMetaData: NFTMetaData2)
shared/task.ts:175
↓ 6 callersMethodset
( key: string, value: T, options?: { ex?: number } )
shared/server/redis.ts:17
↓ 6 callersFunctionsetEventHandled
(id: number)
shared/server/model.ts:54
↓ 6 callersFunctionuploadJson
( data: | HelpRequest | NFTMetaData | HelpRequest2 | NFTMetaData2 | RescueRequest |
shared/api/index.ts:28
↓ 5 callersFunctionuploadToArweave
( buffer: Buffer | ArrayBuffer, contentType = "application/octet-stream" )
shared/server/ipfs.ts:20
↓ 5 callersFunctionuseRescueRequestCtx
()
hooks/useRescue.tsx:263
↓ 4 callersFunctionNFTMetaDataToRescueRequestForms
( metadata: RescueNFTMetaData )
shared/task.ts:321
↓ 4 callersFunctioncreateAndHandleEvents
(receipt: TransactionReceipt)
shared/server/model.ts:155
↓ 4 callersFunctionformatNFTMetadataToTaskRequest
({ tokenUri, metadata, }: { tokenUri?: string; metadata?: NFTMetaData | NFTMetaData2 | RescueNFTMetaDa
shared/task.ts:385
↓ 4 callersFunctionnftMetaDataToHelpRequest
(nftMetaData: NFTMetaData)
shared/task.ts:67
↓ 4 callersFunctionsyncMultilangueTaskMeta
( nftId: number, taskMetaData?: NFTMetaData | NFTMetaData2 | RescueNFTMetaData )
shared/server/model.ts:118
↓ 3 callersFunctioncreateTask
(url: string)
shared/server/chain.ts:28
↓ 3 callersFunctiondetectLanguage
(text: string)
shared/server/trans.ts:41
↓ 3 callersFunctionfetchProfile
()
shared/api/index.ts:23
↓ 3 callersFunctionformatVotes
(votes: number)
shared/utils.ts:22
↓ 3 callersFunctiongetBalanceOfDate
(address: string, date: string)
shared/server/model.ts:205
↓ 3 callersFunctiongetDistance
(element1: HTMLElement, element2: HTMLElement)
components/Home/grid.ts:77
↓ 3 callersFunctiongetVotes
(pn = 1, ps = 10)
components/Task/VotesView/index.tsx:179
↓ 3 callersFunctionhandleEvents
()
shared/server/sync.ts:101
↓ 3 callersFunctionisMobileDevice
()
shared/utils.ts:1
↓ 3 callersFunctionmap
(x: number, a: number, b: number, c: number, d: number)
components/Home/grid.ts:27
↓ 3 callersFunctionrefreshProfile
()
components/RescueHuman/index.tsx:947
↓ 3 callersFunctionsliceAddress
(address: string, begin = 3, end = -3)
shared/utils.ts:70
↓ 3 callersFunctionuploadImage
( payload: { file?: File | Blob; url?: string; }, maxSize = MAX_IMAGE_SIZE )
shared/upload/index.ts:23
↓ 3 callersFunctionuseColorMode
()
components/ui/color-mode.tsx:26
↓ 2 callersFunctionformatDate
( date: Date | number | string | null | undefined, includeSeparator: boolean = true )
shared/utils.ts:93
↓ 2 callersFunctionformatToVoteOnchainMetadata
( params: VoteOnchainMetadataParams )
shared/task.ts:255
↓ 2 callersFunctionfundTask
(id: number | string, ipfsUrl: string)
shared/server/chain.ts:54
↓ 2 callersFunctiongenerateAuthClient
()
shared/server/twitter.ts:8
↓ 2 callersFunctiongetArweaveClient
()
shared/server/ipfs.ts:4
↓ 2 callersFunctiongetConfig
()
shared/server/model.ts:30
↓ 2 callersFunctiongetOrder
(e: any)
shared/server/sync.ts:70
↓ 2 callersFunctiongetPercent
(num: number)
components/Task/VotesView/index.tsx:104
↓ 2 callersFunctiongetPrivyUserInfoByUserId
(userId: string)
shared/server/privy.ts:15
↓ 2 callersFunctiongetTaskData
(id: string, lang = "en")
hooks/useTaskDetails.tsx:120
↓ 2 callersFunctiongetUploadedFundRecords
(tokenId: string)
hooks/useTaskDetails.tsx:186
↓ 2 callersFunctiongetVoteSignatureMessage
(tokenId: string, result: boolean)
shared/vote.ts:1
↓ 2 callersFunctionhandleSelection
(selected: boolean)
components/Rescue/Form/Main/YesNoSection/index.tsx:85
↓ 2 callersFunctionisSameLanguage
(lang1: string, lang2: string)
shared/server/trans.ts:73
↓ 2 callersFunctionloadTaskMetaData
(tokenUri: string)
hooks/useRescue.tsx:160
↓ 2 callersFunctionrefreshTaskMeta
(nftId: number)
shared/server/model.ts:64
↓ 2 callersFunctionrequestToNFTMetadata
(request: HelpRequest)
shared/task.ts:9
↓ 2 callersFunctionrequestToNFTMetadata2
(request: HelpRequest2)
shared/task.ts:116
↓ 2 callersFunctionsyncEvents
(from: number, to: number)
shared/server/sync.ts:66
↓ 2 callersFunctiontranslateJsonData
( jsonData: any, targetLanguage = "zh", sourceLanguage?: string )
shared/server/trans.ts:179
↓ 2 callersFunctionupdateConfig
(key: string, value: string)
shared/server/model.ts:44
↓ 1 callersFunctionaddFundRecord
(tokenId: string, url: string)
shared/api/index.ts:115
↓ 1 callersFunctionaddProof
(tokenId: string, url: string)
shared/api/index.ts:126
↓ 1 callersFunctionaddProof
(id: number | string, uri: string)
shared/server/chain.ts:66
↓ 1 callersFunctionapproveTask
( tokenId: string, start_date: number, end_date: number )
shared/api/index.ts:89
↓ 1 callersFunctionapproveTask
(id: number | string)
shared/server/chain.ts:42
↓ 1 callersFunctioncallDuneAPI
(url: string, options: any = {})
shared/server/dune.ts:1
↓ 1 callersMethodcheckExpiration
(key: string)
shared/server/redis.ts:32
↓ 1 callersFunctioncheckIsApproved
(tokenId: string)
hooks/useTaskDetails.tsx:140
↓ 1 callersFunctioncheckIsVoteOnchainMetadata
(data: any)
shared/task.ts:234
↓ 1 callersFunctioncollectI18nStrings
()
scripts/collect-i18n.ts:13
↓ 1 callersFunctioncompressFileToJpeg
(file: File | Blob)
shared/upload/index.ts:4
↓ 1 callersFunctioncreateBlobUrl
(file: File | Blob)
components/Task/ProofView/index.tsx:20
↓ 1 callersFunctioncreateBlobUrl
(file: File | Blob)
components/RescueHuman/index.tsx:42
↓ 1 callersFunctioncreateBlobUrl
(file: File | Blob)
shared/utils.ts:126
↓ 1 callersFunctioncreateHumanTask
(tokenURI: string, pics: string[])
shared/api/index.ts:78
↓ 1 callersFunctioncreateSupabaseClient
()
shared/supabase/index.ts:4
↓ 1 callersFunctioncreateTask
(tokenURI: string)
shared/api/index.ts:49
↓ 1 callersFunctioncreateTaskV1
(tokenURI: string)
shared/api/index.ts:60
↓ 1 callersFunctiondoRefreshTaskMeta
(tokenId: number)
scripts/refresh-meta.ts:6
↓ 1 callersFunctiondonate
(amount: string, type: DONATE_BNB_TYPE | DONATE_TYPE)
shared/hooks/useDonate.ts:22
↓ 1 callersFunctiondonateBNB
(amount: string)
shared/hooks/useDonate.ts:29
↓ 1 callersFunctiondonateERC20
(amount: string, type: DONATE_TYPE)
shared/hooks/useDonate.ts:36
↓ 1 callersMethodexpand
* Expands clicked item. * @param {Item} item - the clicked item.
components/Home/grid.ts:165
↓ 1 callersFunctionfetchFundRecords
(id: string)
shared/api/index.ts:174
↓ 1 callersFunctionfetchMedia
()
components/Rescue/Form/Main/Background/index.tsx:126
↓ 1 callersFunctionfetchPreviewUrls
()
components/Task/DatasView/AttachmentView/index.tsx:13
↓ 1 callersFunctionfetchProofs
(id: string)
shared/api/index.ts:169
↓ 1 callersFunctionfetchTaskDetail
( id: string, lang = "en" )
shared/api/index.ts:158
↓ 1 callersFunctionfetchVoteBalance
(address: string, tokenId: string)
shared/api/index.ts:186
↓ 1 callersFunctionfetchVoteResult
(id: string)
shared/api/index.ts:193
↓ 1 callersFunctionfetchXGenerateLink
(referral_from?: string)
shared/api/index.ts:12
↓ 1 callersFunctionflattenObject
( obj: any, detectKeys: string[] = [], parentKey = "" )
shared/utils.ts:39
↓ 1 callersFunctionformatTasks
()
hooks/useRescue.tsx:196
↓ 1 callersFunctionformatToRescueNFTMetadata
( request: RescueRequest )
shared/task.ts:273
↓ 1 callersFunctiongenerateTemplateForTranslation
(jsonData: any)
shared/server/trans.ts:215
↓ 1 callersFunctiongetAIClient
()
shared/server/trans.ts:9
↓ 1 callersFunctiongetBalance
(address: string, tokenId: string)
components/Task/VotesView/index.tsx:169
↓ 1 callersFunctiongetCallbackUrl
()
shared/server/twitter.ts:4
↓ 1 callersFunctiongetERC20Balance
(address: string, blockNumber: string)
scripts/test-erc20-blanceof.ts:3
↓ 1 callersFunctiongetLocale
(request: NextRequest)
middleware.ts:9
↓ 1 callersFunctiongetPrivyUserInfoByAccessToken
(accessToken: string)
shared/server/privy.ts:20
↓ 1 callersFunctiongetTaskDate
(date: string)
shared/server/dune.ts:18
↓ 1 callersFunctiongetToken
()
app/[lang]/privy-test/page.tsx:14
↓ 1 callersFunctiongetTokenCreateEvent
(from: number, to: number)
shared/server/sync.ts:48
next →1–100 of 286, ranked by callers