MCPcopy Create free account

hub / github.com/0xblackbot/rainbow-swap / functions

Functions378 in github.com/0xblackbot/rainbow-swap

↓ 48 callersFunctionreceiveWebViewEvent
(eventType)
public/scripts/telegram-web-app.js:466
↓ 45 callersFunctionversionAtLeast
(ver)
public/scripts/telegram-web-app.js:1081
↓ 35 callersFunctioncreateEntity
( data: T, isLoading = false, error?: string )
src/store/utils/create-entity.ts:3
↓ 23 callersFunctiongetClassName
(...classNames: string[])
src/utils/style.utils.ts:1
↓ 15 callersFunctiontrackButtonClick
(name: string)
src/hooks/use-analytics.hook.ts:18
↓ 14 callersFunctioncheckVersion
()
public/scripts/telegram-web-app.js:2156
↓ 14 callersFunctionformatNumber
(number: number, fixedValue: number)
src/utils/format-number.utils.ts:1
↓ 13 callersFunctioninvokeStorageMethod
(method, params, callback)
public/scripts/telegram-web-app.js:1784
↓ 12 callersFunctionsetCssProperty
(name, value)
public/scripts/telegram-web-app.js:482
↓ 12 callersFunctionuseWalletAddress
()
src/hooks/use-wallet-address.hook.ts:6
↓ 10 callersFunctionsentryCatchError
( selector: (err: any, caught: Observable<T>) => O )
src/utils/sentry.utils.ts:10
↓ 9 callersFunctioncreateActions
( type: string )
src/store/utils/create-actions.ts:3
↓ 9 callersFunctionstrTrim
(str)
public/scripts/telegram-web-app.js:462
↓ 7 callersFunctionuseModals
()
src/contexts/modals/modals.hook.ts:5
↓ 6 callersFunctionbuttonCheckVersion
()
public/scripts/telegram-web-app.js:1134
↓ 6 callersFunctionbuttonParams
()
public/scripts/telegram-web-app.js:1123
↓ 6 callersFunctioncheckInit
()
public/scripts/telegram-web-app.js:2167
↓ 6 callersFunctionfromNano
(value: bigint, decimals: number)
src/utils/big-int.utils.ts:41
↓ 6 callersFunctionparseColorToHex
(color)
public/scripts/telegram-web-app.js:1014
↓ 6 callersFunctionsetParams
(params)
public/scripts/telegram-web-app.js:1155
↓ 5 callersFunctiongetBottomBarColor
()
public/scripts/telegram-web-app.js:957
↓ 5 callersFunctionmatchesNodeModule
(id: string, packages: string[])
vite.config.ts:7
↓ 5 callersFunctionupdateButton
()
public/scripts/telegram-web-app.js:1145
↓ 5 callersFunctionuseModalState
()
src/hooks/use-modal-state.hook.ts:3
↓ 5 callersFunctionuseSwapForm
()
src/contexts/swap-form/swap-form.hook.ts:5
↓ 4 callersFunctiongenerateCallbackId
(len)
public/scripts/telegram-web-app.js:550
↓ 4 callersFunctionoffWebViewEvent
(eventType, callback)
public/scripts/telegram-web-app.js:478
↓ 4 callersFunctiononWebViewEvent
(eventType, callback)
public/scripts/telegram-web-app.js:474
↓ 4 callersFunctionsetFullscreen
(is_fullscreen)
public/scripts/telegram-web-app.js:489
↓ 4 callersFunctionshowSuccessToast
(text: string)
src/utils/toast.utils.ts:6
↓ 4 callersFunctiontoNano
(src: string, decimals: number)
src/utils/big-int.utils.ts:1
↓ 4 callersFunctionurlSafeDecode
(urlencoded)
public/scripts/telegram-web-app.js:66
↓ 4 callersFunctionuseAssetBalanceSelector
(address: string)
src/store/wallet/wallet-selectors.ts:17
↓ 4 callersFunctionuseIsRoutesLoadingSelector
()
src/store/swap-routes/swap-routes-selectors.ts:3
↓ 4 callersFunctionuseOpenTonConnectModal
()
src/hooks/use-open-ton-connect-modal.hook.ts:5
↓ 4 callersFunctionuseSwapDisplayDataSelector
()
src/store/swap-routes/swap-routes-selectors.ts:11
↓ 3 callersFunctionbuttonState
(btn_params)
public/scripts/telegram-web-app.js:1127
↓ 3 callersFunctiongetRewardText
( amount: number | undefined, symbol: string | undefined )
src/components/trading-competition-modal/competition-info/competition-info.tsx:18
↓ 3 callersFunctioninvokeCustomMethod
(method, params, callback)
public/scripts/telegram-web-app.js:3181
↓ 3 callersFunctionsetThemeParams
(theme_params)
public/scripts/telegram-web-app.js:505
↓ 3 callersFunctionsetViewportHeight
(data)
public/scripts/telegram-web-app.js:571
↓ 3 callersFunctiontriggerFeedback
(params)
public/scripts/telegram-web-app.js:1719
↓ 3 callersFunctionupdateBackgroundColor
()
public/scripts/telegram-web-app.js:946
↓ 3 callersFunctionupdateBottomBarColor
()
public/scripts/telegram-web-app.js:1001
↓ 3 callersFunctionupdateHeaderColor
()
public/scripts/telegram-web-app.js:894
↓ 3 callersFunctionuseDisableMainButton
(condition: boolean)
src/hooks/use-disable-main-button.hook.ts:6
↓ 3 callersFunctionuseDisabledDexGroupsSelector
()
src/store/settings/settings-selectors.ts:13
↓ 3 callersFunctionusePendingSwapSelector
()
src/store/wallet/wallet-selectors.ts:20
↓ 3 callersFunctionuseRiskToleranceSelector
()
src/store/settings/settings-selectors.ts:7
↓ 3 callersFunctionuseTonConnectUI
()
src/tonconnect/useTonConnectUI.ts:6
↓ 2 callersFunctionBottomButtonConstructor
(type)
public/scripts/telegram-web-app.js:1255
↓ 2 callersFunctioncomputeCountdownText
(date: number, placeholder?: string)
src/components/countdown/countdown.tsx:17
↓ 2 callersFunctioncopyToClipboard
(text: string)
src/utils/clipboard.utils.ts:1
↓ 2 callersFunctionfindAssetBySlug
( slug: string | undefined, assetsRecord: AssetsRecord )
src/utils/asset.utils.ts:23
↓ 2 callersFunctionformatTarget
(date: number, placeholder?: string)
src/components/countdown/countdown.tsx:10
↓ 2 callersFunctiongetBackgroundColor
()
public/scripts/telegram-web-app.js:913
↓ 2 callersFunctiongetIsAvailable
()
src/hooks/use-is-main-button-available.hook.ts:4
↓ 2 callersFunctionlocationResponse
(response)
public/scripts/telegram-web-app.js:2483
↓ 2 callersFunctionsetDefaultColors
(def_colors)
public/scripts/telegram-web-app.js:528
↓ 2 callersFunctionsetOrientationLock
(is_locked)
public/scripts/telegram-web-app.js:497
↓ 2 callersFunctionshowErrorToast
(text: string)
src/utils/toast.utils.ts:9
↓ 2 callersFunctionshowInfoToast
(text: string)
src/utils/toast.utils.ts:12
↓ 2 callersFunctionswapAssets
( newAssetAddress: string, otherAssetAddress: string, setCurrentAssetAddress: (address: string) =>
src/utils/swap-assets.utils.ts:1
↓ 2 callersFunctionupdateDebugBottomBar
()
public/scripts/telegram-web-app.js:1223
↓ 2 callersFunctionupdateMainButton
( oldOnClick?: () => void, newText?: string, newOnClick?: () => void )
src/shared/form-button/main-button/main-button.tsx:15
↓ 2 callersFunctionuseAssetSelector
(address: string)
src/store/assets/assets-selectors.ts:13
↓ 2 callersFunctionuseAssetsSearchValueSelector
()
src/store/initialized/runtime-selectors.ts:6
↓ 2 callersFunctionuseEnableBackButton
(isVisible: boolean, onClick: EmptyFn)
src/hooks/use-enable-back-button.hook.ts:6
↓ 2 callersFunctionuseExplorerLinks
()
src/hooks/use-explorer-links.hook.ts:14
↓ 2 callersFunctionuseExplorerSelector
()
src/store/settings/settings-selectors.ts:22
↓ 2 callersFunctionuseIsAssetsInitializedSelector
()
src/store/initialized/runtime-selectors.ts:3
↓ 2 callersFunctionuseIsMainButtonAvailable
()
src/hooks/use-is-main-button-available.hook.ts:13
↓ 2 callersFunctionuseMaxSlippageSelector
()
src/store/settings/settings-selectors.ts:4
↓ 2 callersFunctionuseMaxSplitsSelector
()
src/store/settings/settings-selectors.ts:10
↓ 2 callersFunctionusePreventScroll
(isOpen: boolean)
src/hooks/use-prevent-scrolling.hook.ts:3
↓ 2 callersFunctionuseReferralLink
()
src/hooks/use-referral-link.hook.ts:5
↓ 2 callersFunctionuseSwapMessagesSelector
()
src/store/swap-routes/swap-routes-selectors.ts:6
↓ 2 callersFunctionuseThemeSelector
()
src/store/settings/settings-selectors.ts:19
↓ 2 callersFunctionuseTooltipContext
()
src/shared/tooltip/use-tooltip-context.hook.ts:5
↓ 2 callersFunctionuseTrackPageView
(name: string, isOpen = true)
src/hooks/use-analytics.hook.ts:7
↓ 1 callersFunctionbocToHash
(boc: string)
src/utils/boc.utils.ts:1
↓ 1 callersFunctionbuildContract
(contractLocation: string)
contracts/build.ts:4
↓ 1 callersFunctionbuttonColorDefault
()
public/scripts/telegram-web-app.js:1262
↓ 1 callersFunctionbuttonTextColorDefault
()
public/scripts/telegram-web-app.js:1265
↓ 1 callersFunctionbyteLength
(str)
public/scripts/telegram-web-app.js:1085
↓ 1 callersFunctioncalcPercentDiff
( inputAssetUsdAmount: number, outputAssetUsdAmount: number )
src/utils/percent.utils.ts:3
↓ 1 callersFunctioncallEventCallbacks
(eventType, func)
public/scripts/telegram-web-app.js:186
↓ 1 callersFunctionclamp
(value: number, min: number, max: number)
src/utils/number.utils.ts:1
↓ 1 callersFunctioncopyToClipboardOld
(textToCopy: string)
src/utils/clipboard.utils.ts:10
↓ 1 callersFunctioncreateStore
()
src/store/create-store.ts:19
↓ 1 callersFunctionformatPercentDiff
(percent?: number)
src/utils/percent.utils.ts:15
↓ 1 callersFunctionformatTimestamp
(timestamp: number)
src/utils/date.utils.ts:1
↓ 1 callersFunctiongetAsset
(address: string, assetsRecord: AssetsRecord)
src/utils/asset.utils.ts:18
↓ 1 callersFunctiongetBalancesRecord
( jettonsResponse: AxiosResponse<BalancesArray>, accountResponse: AxiosResponse<TonBalanceArray> )
src/utils/balances-record.utils.ts:9
↓ 1 callersFunctiongetClaimRewards
(params: GetClaimRewardsParams)
src/utils/api.utils.ts:27
↓ 1 callersFunctiongetErrorElement
()
src/components/error-element/error-element.tsx:20
↓ 1 callersFunctiongetHeaderColor
()
public/scripts/telegram-web-app.js:837
↓ 1 callersFunctiongetMaxSentAmount
(balance: string, address: string)
src/utils/get-max-sent-amount.utils.ts:12
↓ 1 callersFunctiongetRequestedContact
(callback, timeout)
public/scripts/telegram-web-app.js:3077
↓ 1 callersFunctiongetSwapHistoryData
(params: GetSwapHistoryDataParams)
src/utils/api.utils.ts:32
next →1–100 of 378, ranked by callers