Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FCY316/OROG_WEB
/ functions
Functions
208 in github.com/FCY316/OROG_WEB
⨍
Functions
208
◇
Types & classes
38
↓ 42 callers
Function
formatLargeNumber
( num: number, nums: number = 4, precision: number = 4, i18nUnits?: Record<"k" | "M" | "B", string> )
utils/index.ts:115
↓ 14 callers
Function
mobileHidden
( value: string, start: number = 10, end: number = 4, d: number = 3 )
utils/index.ts:4
↓ 9 callers
Function
getRequest
( url: string, params?: any )
request/requestFun.ts:5
↓ 9 callers
Function
useConnectWallet
(chain: ChainsType)
store/wallet/useConnectWallet.tsx:12
↓ 8 callers
Function
useEffectFiltrateStore
(fun: (filtrateLocal: FiltrateType) => void)
store/filtrate/index.tsx:148
↓ 7 callers
Function
useRouter
()
i18n/routing.tsx:76
↓ 6 callers
Function
useHistory
()
i18n/routing.tsx:121
↓ 5 callers
Function
getChainFromUrl
()
i18n/routing.tsx:19
↓ 5 callers
Function
multiplyAndTruncate
( num: number, isAbs: boolean = false )
utils/index.ts:218
↓ 5 callers
Function
useLogin
(chain: ChainsType)
hook/useLogin.tsx:12
↓ 4 callers
Function
getBalance
()
hook/useGetBlance/useGetBalance.tsx:36
↓ 4 callers
Function
getTokenBalance
()
hook/useGetTokenBlance/useGetTokenBalance.tsx:38
↓ 4 callers
Function
sendMessage
(message: any)
hook/useWebSocket.tsx:69
↓ 4 callers
Function
toNonExponential
(num: any)
utils/index.ts:303
↓ 4 callers
Function
usePathname
()
i18n/routing.tsx:107
↓ 4 callers
Function
useUpdateEffect
(effect: React.EffectCallback, deps?: React.DependencyList)
hook/useUpdateEffect.tsx:10
↓ 3 callers
Function
checkExecution
(fun?: Function)
hook/useLogin.tsx:37
↓ 3 callers
Function
multiplyDecimal
( num1: number | string, num2: number | string )
utils/index.ts:277
↓ 2 callers
Function
checkTransactionStatus
( connection: Connection, signature: string )
hook/useCheckTransactionStatus/checkTransactionStatusSol.ts:3
↓ 2 callers
Function
clearPing
()
hook/useWebSocket.tsx:65
↓ 2 callers
Function
formatDuration
( milliseconds: number, onlyLargestUnit = false )
utils/index.ts:40
↓ 2 callers
Function
getPeriod
(value: string)
app/[locale]/[chain]/mywallet/component/UserInfo.tsx:65
↓ 2 callers
Function
getProgramAccounts
( baseMint: PublicKey, // 基础代币(如 wSOL)的 mint 地址 quoteMint: PublicKey // 目标代币(如 USDC)的 mint 地址 )
hook/useTransaction/transactionSol.ts:39
↓ 2 callers
Function
getRequestToken
( url: string, params?: any )
request/requestFun.ts:30
↓ 2 callers
Function
getTimeDataText
()
app/[locale]/[chain]/follow/page.tsx:107
↓ 2 callers
Function
postRequestToken
( url: string, params?: any )
request/requestFun.ts:43
↓ 2 callers
Function
sendPing
()
hook/useWebSocket.tsx:58
↓ 2 callers
Function
setTransactionFun
(num: number)
app/[locale]/[chain]/trade/component/Transaction.tsx:266
↓ 2 callers
Function
singMsgAndSubmit
()
hook/useLogin.tsx:21
↓ 2 callers
Function
unsubscribe
(unsubscribeArr: ChannelArrType, subscribeData: SubscribeItem[])
hook/useWebSocket.tsx:93
↓ 2 callers
Function
webSocketInit
(channelArr: ChannelArrType, subscribeData: SubscribeItem[])
hook/useWebSocket.tsx:18
↓ 1 callers
Function
calcAmountOut
( poolKeys: LiquidityPoolKeys, // 流动性池的关键信息 rawAmountIn: number, // 输入金额 slippage: number = 10, //
hook/useTransaction/transactionSol.ts:169
↓ 1 callers
Function
changeFollowOrHolding
(value: string)
app/[locale]/[chain]/trade/component/TokenList.tsx:108
↓ 1 callers
Function
changeGasSelected
(index: number)
app/[locale]/[chain]/trade/component/Transaction.tsx:256
↓ 1 callers
Function
changePeriod
(value: string)
app/[locale]/[chain]/xtop/page.tsx:183
↓ 1 callers
Function
changePointSlip
(value: string)
app/[locale]/[chain]/trade/component/Transaction.tsx:205
↓ 1 callers
Function
changeTrendingOrXtop
(value: string)
app/[locale]/[chain]/trade/component/TokenList.tsx:120
↓ 1 callers
Function
colorFun
()
component/TableMc.tsx:9
↓ 1 callers
Function
connectWallet
(key: string)
app/[locale]/[chain]/Layout/components/header/Connect.tsx:75
↓ 1 callers
Function
connectWalletSolStore
( walletName: string, watchChangeFun?: Function )
store/wallet/connectWallet/useWalletSol.ts:42
↓ 1 callers
Function
connectedWalletSol
(walletName: string)
store/wallet/tools/connected/connectedWalletSol.ts:13
↓ 1 callers
Function
disconnectWallet
()
app/[locale]/[chain]/Layout/components/header/Connect.tsx:80
↓ 1 callers
Function
divideDecimal
( num1: number | string, num2: number | string, numOrStt: boolean = true )
utils/index.ts:293
↓ 1 callers
Function
fillMissingBars
( data: historicalTickerCandleType[], from: number, to: number, resolution: string )
component/TradingView/datafeed.ts:29
↓ 1 callers
Function
followHttp
(params: { chain_id: string; token: string })
request/index.ts:107
↓ 1 callers
Function
formatDate
(input: Date | string | number)
utils/index.ts:81
↓ 1 callers
Function
getBalanceSol
(connection: any, address: string)
hook/useGetBlance/getBalanceSol.ts:13
↓ 1 callers
Function
getDatafeed
( requireFun: (data: { internal: string; from: number; to: number; }) => Promise<historicalTic
component/TradingView/datafeed.ts:109
↓ 1 callers
Function
getFollowPeriod
(value: string)
app/[locale]/[chain]/trade/component/TokenList.tsx:73
↓ 1 callers
Function
getInterval
(interval: string, onRealtimeCallback: Function)
app/[locale]/[chain]/trade/[address]/page.tsx:86
↓ 1 callers
Function
getLocal
(key: string)
store/wallet/tools/strage.ts:13
↓ 1 callers
Function
getLogoUrl
()
component/Share.tsx:238
↓ 1 callers
Function
getOwnerTokenAccounts
()
hook/useTransaction/transactionSol.ts:252
↓ 1 callers
Function
getPeriod
(value: string)
app/[locale]/[chain]/trending/page.tsx:63
↓ 1 callers
Function
getPoolInfo
(baseMint: PublicKey, quoteMint: PublicKey)
hook/useTransaction/transactionSol.ts:91
↓ 1 callers
Function
getProgramAccountsAll
( baseMint: PublicKey, quoteMint: PublicKey )
hook/useTransaction/transactionSol.ts:73
↓ 1 callers
Function
getSearchDefault
()
app/[locale]/[chain]/Layout/components/header/SearchDef.tsx:251
↓ 1 callers
Function
getTokenBalanceSol
( connection: any, address: string, tokenMint: string )
hook/useGetTokenBlance/getTokenBalanceSol.ts:17
↓ 1 callers
Function
getTrendingOrXtopPeriod
(value: string)
app/[locale]/[chain]/trade/component/TokenList.tsx:84
↓ 1 callers
Function
goTrade
(token: SearchHistoryType)
app/[locale]/[chain]/Layout/components/header/Searching.tsx:47
↓ 1 callers
Function
goTrade
(token: SearchHistoryType)
app/[locale]/[chain]/Layout/components/header/MobileSearch.tsx:49
↓ 1 callers
Function
goTrade
(token: SearchHistoryType)
app/[locale]/[chain]/Layout/components/header/SearchList.tsx:30
↓ 1 callers
Function
goTrade
(token: SearchHistoryType)
app/[locale]/[chain]/Layout/components/header/SearchHistory.tsx:33
↓ 1 callers
Function
goXtop
(index: number)
app/[locale]/[chain]/Layout/components/header/SearchDef.tsx:244
↓ 1 callers
Function
handleCopyClick
(data: string | number)
utils/index.ts:23
↓ 1 callers
Function
makeSwapInstruction
( poolKeys: LiquidityPoolKeys, userTokenAccounts: TokenAccount[], amountIn: TokenAmount, minAm
hook/useTransaction/transactionSol.ts:272
↓ 1 callers
Function
mergeWithDefaults
(defaults: T, stored: Partial<T>)
store/filtrate/index.tsx:118
↓ 1 callers
Function
messageSingFun
()
hook/useMessageSign/useMessageSing.tsx:31
↓ 1 callers
Function
messageSingSol
( providerSol: any, message: string = "Hello OROG" )
hook/useMessageSign/messageSingSol.ts:1
↓ 1 callers
Function
postRequest
( url: string, params?: any )
request/requestFun.ts:18
↓ 1 callers
Function
receiveMessage
(data: any, channelArr: ChannelArrType)
hook/useWebSocket.tsx:109
↓ 1 callers
Function
removeFollowHttp
(params: { chain_id: string; token: string; })
request/index.ts:113
↓ 1 callers
Function
removeLocal
(key: string)
store/wallet/tools/strage.ts:20
↓ 1 callers
Function
resubscribe
(resubscribeArr: ChannelArrType, subscribeData: SubscribeItem[])
hook/useWebSocket.tsx:78
↓ 1 callers
Function
setChainAndCookie
(newChain: ChainsType)
hook/useSetChainLocale.tsx:20
↓ 1 callers
Function
setChainFun
(key: ChainsType)
app/[locale]/[chain]/Layout/components/header/SetChain.tsx:29
↓ 1 callers
Function
setLocal
(key: string, walletName: string)
store/wallet/tools/strage.ts:5
↓ 1 callers
Function
socketFun
(interval: string, onRealtimeCallback: Function)
component/TradingView/TradingView.tsx:27
↓ 1 callers
Function
switchLocale
(newLocale: string)
hook/useSetChainLocale.tsx:42
↓ 1 callers
Function
transactionSol
( connection: Connection, // Solana 网络连接对象 provider: any, // 提供者对象,用于签署和发送交易 address: string, // 用户的地址(钱
hook/useTransaction/transactionSol.ts:24
↓ 1 callers
Function
useBrowserTitle
(title: string = 'OROG是最牛逼的交易工具')
hook/useBrowserTitle.tsx:2
↓ 1 callers
Function
useCheckTransactionStatus
(chain: ChainsType)
hook/useCheckTransactionStatus/useCheckTransactionStatus.tsx:13
↓ 1 callers
Function
useConnectWalletSol
(chain: ChainsType, removeLocalToken?: Function)
store/wallet/useConnectWalletInt.tsx:10
↓ 1 callers
Function
useGetBalance
(chain: ChainsType, successFun?: Function, errorFun?: Function)
hook/useGetBlance/useGetBalance.tsx:18
↓ 1 callers
Function
useGetTokenBalance
(chain: ChainsType, tokenMint: string, successFun?: Function, errorFun?: Function)
hook/useGetTokenBlance/useGetTokenBalance.tsx:18
↓ 1 callers
Function
useMessageSing
(chain: ChainsType, successFun?: Function, errorFun?: Function)
hook/useMessageSign/useMessageSing.tsx:16
↓ 1 callers
Function
useSetChainLocale
()
hook/useSetChainLocale.tsx:8
↓ 1 callers
Function
useTransaction
(chain: ChainsType, successFun?: Function, errorFun?: Function)
hook/useTransaction/useTransaction.tsx:21
↓ 1 callers
Function
useWebSocket
(funArr: Function[])
hook/useWebSocket.tsx:10
↓ 1 callers
Function
watchSetAddressSol
(walletName: string, fun: Function)
store/wallet/tools/watch/watchSol.ts:13
Function
AllEarnings
({ useInfo, period, theme, address }: { useInfo: MyWalletInfoType, period: string, theme: "light" | "dark", ad
component/Share.tsx:150
Function
AppTable
({ columns, data, loading = false, keys, mh, skeletonMh, skeletonClassname, isCilCk = true, arr = 40, isSc
component/Table.tsx:6
Function
Chart
({ dataValues }: { dataValues: number[] })
app/[locale]/[chain]/mywallet/component/Chart.tsx:17
Function
Connect
({ chain }: { chain: ChainsType })
app/[locale]/[chain]/Layout/components/header/Connect.tsx:56
Function
Copy
({ text, copyIcon, className, successIcon, errorIcon, }: CopyType)
component/Copy.tsx:23
Function
DefImage
({ value, className }: { value: string, className?: string })
component/DefImage.tsx:15
Function
Empty
()
component/Empty.tsx:10
Function
FHItem
({ item, period }: { item: FollowListParams | EarningsListType, period: Period })
app/[locale]/[chain]/trade/component/FHItem.tsx:20
Function
Follow
({ follow, quote_mint_address, chain, className = 'w-3.5 mr-2' }: { chain: ChainsType, follow: boolean, quote_
component/Follow.tsx:21
Function
FollowLayout
({ children }: Readonly<{ children: React.ReactNode; }>)
app/[locale]/[chain]/xtop/layout.tsx:1
next →
1–100 of 208, ranked by callers