MCPcopy Create free account

hub / github.com/sushi-labs/sushiswap / functions

Functions3,426 in github.com/sushi-labs/sushiswap

↓ 2 callersFunctiongetAvailableSpotBalance
( spotBalances: TokenBalance[] | undefined, tokenId: number, )
apps/web/src/app/(networks)/(evm)/perps/_ui/exchange/update-isloated-margin-dialog.tsx:293
↓ 2 callersFunctiongetBalanceOfsContracts
({ account, vaultIds, }: GetBalanceOfsContracts)
apps/web/src/lib/steer/fetchers/get-balance-of.ts:10
↓ 2 callersFunctiongetBalanceOfsSelect
( vaultId: EvmID, result: bigint, )
apps/web/src/lib/steer/fetchers/get-balance-of.ts:48
↓ 2 callersFunctiongetBaseCoin
(coin: string)
apps/web/src/lib/perps/user/use-balances.ts:134
↓ 2 callersFunctiongetBaseTokensWithoutKey
({ network, }: { network: SupportedNetwork })
apps/web/src/app/(networks)/(non-evm)/aptos/_common/lib/common/use-base-tokens.ts:33
↓ 2 callersFunctiongetCollateralTokenForDex
( perpMetas: AllPerpMetasResponse | undefined, dexName: string, )
apps/web/src/lib/perps/info/use-all-perp-metas.ts:25
↓ 2 callersFunctiongetConcentratedLiquidityPool
({ chainId, token0, token1, feeAmount, config, }: { chainId: SushiSwapV3ChainId token0: EvmCurre
apps/web/src/lib/wagmi/hooks/pools/actions/getConcentratedLiquidityPool.ts:119
↓ 2 callersFunctiongetConcentratedLiquidityPools
({ poolKeys, config, }: { poolKeys: { chainId: SushiSwapV3ChainId token0: EvmCurrency token1
apps/web/src/lib/wagmi/hooks/pools/actions/getConcentratedLiquidityPool.ts:23
↓ 2 callersFunctiongetConcentratedLiquidityPositionsFromTokenIds
({ tokenIds, config, }: { tokenIds: { chainId: SushiSwapV3ChainId; tokenId: bigint }[] config: PublicW
apps/web/src/lib/wagmi/hooks/positions/actions/getConcentratedLiquidityPositionsFromTokenIds.ts:44
↓ 2 callersFunctiongetConnectorConfig
()
apps/web/src/app/(networks)/(non-evm)/solana/_common/config/connector.ts:7
↓ 2 callersFunctiongetCurrencyEntryByTokenAssetId
( entries: readonly NearIntentsCurrencyEntry[], token: NearIntentsToken | undefined, )
apps/web/src/app/(networks)/(evm)/[chainId]/(trade)/cross-chain-swap/_ui/near-intents/hooks/use-near-intents-currency-catalog.ts:21
↓ 2 callersFunctiongetCurrencyEntryKey
( chainId: NearIntentsSupportedChainId, tokenParam: string, )
apps/web/src/lib/swap/near-intents/tokens.ts:305
↓ 2 callersFunctiongetCurrencyPrice
( currency: Token, defaultStable: Token, native: Token, stableTokens: Token[], nativePairInfo: [Pair
apps/web/src/app/(networks)/(non-evm)/aptos/_common/lib/common/get-currency-price.ts:6
↓ 2 callersFunctiongetEmbeddedPrivyWallet
( connectedWallets: ConnectedWallet[] | ConnectedStandardSolanaWallet[], namespace: 'evm' | 'svm', )
apps/web/src/lib/wallet/privy.ts:14
↓ 2 callersFunctiongetExistingPositionTpSlOrders
( openOrders: UserOpenOrdersItemType[], )
apps/web/src/lib/perps/math.ts:518
↓ 2 callersFunctiongetFactoryContractClient
({ contractId, publicKey, }: ContractClientParams)
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/soroban/client.ts:28
↓ 2 callersFunctiongetFaqAnswerSearch
( variables: GetFaqAnswerSearch, options?: RequestOptions, )
packages/graph-client/src/subgraphs/strapi/queries/faq-answer-search.ts:64
↓ 2 callersFunctiongetFaqCategories
( variables: GetFaqCategories = {}, options?: RequestOptions, )
packages/graph-client/src/subgraphs/strapi/queries/faq-categories.ts:25
↓ 2 callersFunctiongetFaqCategory
( variables: GetFaqCategory, options?: RequestOptions, )
packages/graph-client/src/subgraphs/strapi/queries/faq-category.ts:49
↓ 2 callersFunctiongetFillEntryPx
(trade: FillWithPnl)
apps/web/src/app/(networks)/(evm)/perps/_ui/trade-tables/_common/share-closed-pnl-dialog.tsx:88
↓ 2 callersFunctiongetHyperliquidCoinIconUrl
( asset: PerpOrSpotAsset | undefined, )
apps/web/src/lib/perps/utils.ts:122
↓ 2 callersFunctiongetHyperliquidExplorerUrl
( type: 'token' | 'txn', value: string, )
apps/web/src/lib/perps/utils.ts:106
↓ 2 callersFunctiongetIdpIntent
(id: string, token: string)
apps/web/src/app/portal/_common/lib/get-idp-intent.ts:58
↓ 2 callersFunctiongetKey
(time: Timeframe)
apps/web/src/app/(networks)/(evm)/perps/vaults/[address]/_ui/vault-details.tsx:130
↓ 2 callersFunctiongetKnownStellarTokenIcon
({ symbol, issuer, }: { symbol: string issuer?: StellarAccountAddress })
apps/web/src/lib/swap/near-intents/tokens.ts:52
↓ 2 callersFunctiongetLeadingVaultsQueryKey
( address: EvmAddress | undefined, )
apps/web/src/lib/perps/info/use-leading-vaults.ts:6
↓ 2 callersFunctiongetLedgerVersionUrl
({ secondsAgo, network }: UseLedgerVersion)
apps/web/src/app/(networks)/(non-evm)/aptos/_common/lib/common/use-ledger-version.ts:7
↓ 2 callersFunctiongetLiquidityTokenFromPool
(pool: PoolId)
apps/web/src/lib/hooks/useTokensFromPool.ts:15
↓ 2 callersFunctiongetNativeIfNativeAndWNativeSupported
( chainId: TChainId, token: CurrencyFor<TChainId> | undefined, address: string, )
apps/web/src/app/(networks)/(evm)/[chainId]/(trade)/_ui/derivedstate-swap-helpers.ts:54
↓ 2 callersFunctiongetNearIntentsEvmFeeCollectorAddress
( chainId: NearIntentsSupportedEvmChainId, )
apps/web/src/lib/swap/near-intents/placeholders.ts:26
↓ 2 callersMethodgetNumberOfUserPositions
* Get the number of positions (NFTs) owned by a user
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/services/position-service.ts:76
↓ 2 callersFunctiongetOppositeDefaultChainId
( sourceChainId: NearIntentsSupportedChainId, )
apps/web/src/app/(networks)/(evm)/[chainId]/(trade)/cross-chain-swap/_ui/near-intents/xswap-provider.tsx:104
↓ 2 callersFunctiongetPIdIndex
( farmIndex: number | undefined, stakes: UserStakes | undefined, )
apps/web/src/app/(networks)/(non-evm)/aptos/_common/lib/common/use-user-handle.ts:82
↓ 2 callersFunctiongetPerpsPointsOverview
( variables: GetPerpsPointsOverview, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/perps/points-overview.ts:33
↓ 2 callersFunctiongetPoolInfo
( address: StellarContractAddress, )
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/soroban/pool-helpers.ts:97
↓ 2 callersFunctiongetPoolsByTokenPairsBatched
( params: GetPoolsByTokenPairsBatchedParams, )
apps/web/src/app/(networks)/(non-evm)/stellar/swap/lib/swap-get-route/use-pool-graph.ts:33
↓ 2 callersFunctiongetPortfolioWallet
( variables: GetPortfolioWallet, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/portfolio/portfolio-wallet.ts:40
↓ 2 callersFunctiongetPriceOrderingFromPositionForUI
(position?: Position)
apps/web/src/lib/functions.ts:114
↓ 2 callersFunctiongetProducts
( _variables: GetProducts = {}, options?: RequestOptions, )
packages/graph-client/src/subgraphs/strapi/queries/products.ts:37
↓ 2 callersFunctiongetReservesAddress
( tokenA: Token, tokenB: Token, network: SupportedNetwork, )
apps/web/src/app/(networks)/(non-evm)/aptos/pool/lib/use-pools-by-tokens.ts:75
↓ 2 callersFunctiongetServerTransport
()
apps/web/src/app/portal/_common/lib/zitadel-client.ts:10
↓ 2 callersFunctiongetShareImageFileName
(trade: NormalizedTrade)
apps/web/src/app/(networks)/(evm)/perps/_ui/trade-tables/_common/share-closed-pnl-dialog.tsx:607
↓ 2 callersFunctiongetShareText
(title: string | undefined)
apps/web/src/app/(cms)/constants.ts:12
↓ 2 callersFunctiongetSideValue
(side: 'A' | 'B')
apps/web/src/app/(networks)/(evm)/perps/_ui/trade-tables/order-history-table/columns.tsx:106
↓ 2 callersFunctiongetStats
(data: typeof stats7d, isLoading: boolean)
apps/web/src/app/portal/(authenticated)/dashboard/[teamId]/(dashboard)/_common/ui/team-api-key-table.tsx:184
↓ 2 callersFunctiongetStellarAddressLink
( address: StellarAccountAddress, )
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/utils/stellarchain-helpers.ts:6
↓ 2 callersFunctiongetStellarIssuer
(token: { contractAddress?: string assetIssuer?: string })
apps/web/src/lib/swap/near-intents/tokens.ts:127
↓ 2 callersFunctiongetStellarTokenIcon
( token: StellarToken | undefined, )
apps/web/src/lib/swap/near-intents/tokens.ts:44
↓ 2 callersFunctiongetStellarTokenMetadata
(token: { blockchain: NearIntentsSdkToken['blockchain'] symbol: string name?: string decimals: number
apps/web/src/lib/swap/near-intents/tokens.ts:72
↓ 2 callersFunctiongetStellarWalletId
(moduleId: string)
apps/web/src/lib/wallet/namespaces/stellar/config.ts:15
↓ 2 callersFunctiongetStyroClient
(session: Session)
apps/web/src/app/portal/_common/ui/auth-provider/auth-provider.tsx:18
↓ 2 callersFunctiongetSwapEdgeConfig
()
apps/web/src/app/(networks)/(evm)/[chainId]/(trade)/swap/get-swap-edge-config.ts:7
↓ 2 callersFunctiongetSwapPayload
( contractAddress: string, amount_in: number, routes: any, minimumOut: number, )
apps/web/src/app/(networks)/(non-evm)/aptos/swap/lib/get-swap-payload.ts:3
↓ 2 callersFunctiongetTimeLeft
()
apps/web/src/app/(networks)/(evm)/perps/leaderboard/_ui/season-countdown.tsx:23
↓ 2 callersFunctiongetTokenData
(chainId: SushiSwapChainId, address: Address)
apps/web/src/app/(networks)/(evm)/[chainId]/token/[address]/page.tsx:16
↓ 2 callersFunctiongetTokenFromUrl
( chainId: EvmChainId, currencyId: string | undefined | null, token: EvmToken | undefined, isLoading:
apps/web/src/app/(networks)/(evm)/[chainId]/pool/_ui/concentrated-liquidity-url-state-provider.tsx:67
↓ 2 callersFunctiongetTokenIds
(tokenIds: TokenId | TokenId[])
apps/web/src/app/(networks)/(evm)/_common/ui/balance-provider/utils.ts:5
↓ 2 callersFunctiongetTopNonEvmPools
( variables: GetTopNonEvmPools, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/pool/top-non-evm-pools.ts:34
↓ 2 callersFunctiongetTopics
( _variables: GetTopics = {}, options?: RequestOptions, )
packages/graph-client/src/subgraphs/strapi/queries/topics.ts:25
↓ 2 callersFunctiongetTotalSuppliesContracts
({ vaultIds, }: GetTotalSuppliesContracts)
apps/web/src/lib/steer/utils/get-total-supply.ts:9
↓ 2 callersFunctiongetTotalSuppliesSelect
( vaultId: EvmID, result: bigint, )
apps/web/src/lib/steer/utils/get-total-supply.ts:41
↓ 2 callersFunctiongetTwapSuborderSize
({ totalSize, orderCount, decimals, }: { totalSize: string orderCount: number decimals: number })
apps/web/src/lib/perps/math.ts:14
↓ 2 callersFunctiongetUSDCArgs
({ chainId, amount, }: { chainId: EvmChainId; amount: bigint })
apps/web/src/app/(networks)/(evm)/perps/_ui/account-management/deposit-dialog/usdc-options.tsx:35
↓ 2 callersFunctiongetUnauthenticatedStyroClient
()
apps/web/src/app/portal/_common/lib/styro/styro-client.ts:5
↓ 2 callersFunctiongetUrl
(address: string, defaultCrypto: string)
packages/ui/src/components/swapped.tsx:84
↓ 2 callersMethodgetUserPositionsWithFees
* Get all positions owned by a user with live fee calculations * This is now an alias for getUserPositions since get_user_positions * already re
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/services/position-service.ts:267
↓ 2 callersFunctiongetV2Pool
( variables: GetV2Pool, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/pool/v2-pool.ts:94
↓ 2 callersFunctiongetValue
(source: string)
apps/web/src/app/(networks)/(evm)/[chainId]/(blade-pool)/pool/blade/[address]/(landing)/_ui/blade-pool-sources-chart.tsx:136
↓ 2 callersFunctiongetVault
(variables: GetVault, options?: RequestOptions)
packages/graph-client/src/subgraphs/data-api/queries/smart-pool/vault.ts:71
↓ 2 callersFunctiongetVaults
( variables: GetVaults, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/smart-pool/vaults.ts:72
↓ 2 callersFunctiongetWidgetMode
(chainId0: number, chainId1: number)
apps/web/src/app/(networks)/(evm)/[chainId]/(trade)/cross-chain-swap/_ui/get-widget-mode.ts:7
↓ 2 callersFunctionhandleButtonClickScroll
(direction: 'left' | 'right')
apps/web/src/app/(networks)/(evm)/perps/_ui/_common/overflow-x.tsx:18
↓ 2 callersFunctionhandleToken
(page: Page, currency: EvmCurrency, type: InputType)
apps/web/test/swap/cross-chain.test.ts:186
↓ 2 callersFunctionhasTrustline
( userAddress: StellarAccountAddress, assetCode: string, assetIssuer: StellarAccountAddress, )
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/soroban/trustline-helpers.ts:250
↓ 2 callersFunctionindicatorToBgColor
(indicator: StatusInidator | undefined)
apps/web/src/app/(networks)/(evm)/perps/_ui/_common/hl-api-status.tsx:23
↓ 2 callersMethodinputAmount
(amount: Amount<EvmCurrency> | 'max')
apps/web/test/helpers/swap.ts:238
↓ 2 callersFunctioninterceptAnvil
(page: Page, next: NextFixture)
apps/web/test/intercept-anvil.ts:8
↓ 2 callersFunctionisAddressFeeWhitelisted
(address: Address)
apps/web/src/lib/swap/fee.ts:8
↓ 2 callersFunctionisAdvancedPath
(pathname: string)
apps/web/src/app/(networks)/(evm)/[chainId]/(trade)/_ui/swap-mode-buttons.tsx:35
↓ 2 callersFunctionisBalanceStale
(balance: Balance)
apps/web/src/app/(networks)/(evm)/_common/ui/balance-provider/utils.ts:17
↓ 2 callersFunctionisBrowserDetectedWallet
(wallet: WalletWithState)
apps/web/src/lib/wallet/components/wallet-connectors-list/wallet-connectors-list.tsx:151
↓ 2 callersFunctionisInjectedConnector
(connector: Connector)
apps/web/src/lib/wallet/namespaces/evm/adapters/injected.ts:27
↓ 2 callersFunctionisPoolInitialized
( address: StellarContractAddress, )
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/soroban/pool-initialization.ts:13
↓ 2 callersFunctionisStellarToken
(token: NearIntentsSdkToken)
apps/web/src/lib/swap/near-intents/tokens.ts:40
↓ 2 callersFunctionisSushiSwapV2Pool
( pool: SushiSwapV2Pool | null, )
apps/web/src/lib/functions.ts:25
↓ 2 callersFunctionisTokenScannerChainId
( value: ChainId, )
packages/graph-client/src/subgraphs/de.fi/types/TokenScannerChainId.ts:19
↓ 2 callersFunctionisTypeNumber
(type: InputType)
packages/ui/src/components/text-field.tsx:92
↓ 2 callersFunctionisTypePercent
(type: InputType)
packages/ui/src/components/text-field.tsx:93
↓ 2 callersFunctionisValidNumberInput
(value: string)
apps/web/src/app/(networks)/(non-evm)/aptos/_common/lib/common/is-valid-number-input.ts:3
↓ 2 callersFunctionisWindowVisible
()
packages/hooks/src/useIsWindowVisible.ts:8
↓ 2 callersFunctionisXSwapChainId
(chainId: number)
apps/web/src/app/(networks)/(evm)/[chainId]/(trade)/cross-chain-swap/_ui/xswap-form-provider.tsx:28
↓ 2 callersFunctionlifiToSushiChainId
( chainId: TChainId, )
apps/web/src/app/(networks)/(evm)/api/cross-chain/schemas.ts:68
↓ 2 callersFunctionlogin
(params: Login)
apps/web/src/app/portal/(hero)/(unauthenticated)/api/auth/callback/lib/login.ts:9
↓ 2 callersFunctionlogoutAction
()
apps/web/src/app/portal/_common/lib/logout-action.ts:7
↓ 2 callersFunctionmakeQueryClient
()
apps/web/src/providers/query-client-provider.tsx:11
↓ 2 callersFunctionmapNearIntentsTokensToCurrencyEntries
( tokens: readonly NearIntentsToken[], )
apps/web/src/lib/swap/near-intents/tokens.ts:353
↓ 2 callersFunctionmapStellarTokenToNearIntents
( stellarToken: StellarToken, sdkToken?: NearIntentsSdkToken, )
apps/web/src/lib/swap/near-intents/tokens.ts:211
↓ 2 callersFunctionmatchesSearch
(s: string)
apps/web/src/app/(networks)/(non-evm)/aptos/_common/lib/common/get-sorted-tokens-by-query.ts:25
↓ 2 callersMethodmockPoolApi
( next: NextFixture, token0: EvmToken, token1: EvmToken, fee: number, protocol: 'SUSHISWAP
apps/web/test/helpers/pool.ts:416
↓ 2 callersFunctionnormalizeNearIntentsTokens
(tokens: unknown)
apps/web/src/app/(networks)/(evm)/api/cross-chain/near-intents/schemas.ts:225
← previousnext →501–600 of 3,426, ranked by callers