MCPcopy Create free account

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

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

↓ 1 callersFunctiongetPortfolioClaimables
( variables: GetPortfolioClaimables, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/portfolio/portfolio-claimables.ts:169
↓ 1 callersFunctiongetPortfolioHistory
( variables: GetPortfolioHistory, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/portfolio/portfolio-history.ts:64
↓ 1 callersFunctiongetPortfolioPositions
( variables: GetPortfolioPositions, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/portfolio/portfolio-positions.ts:133
↓ 1 callersFunctiongetPortoConnector
()
apps/web/src/lib/wallet/namespaces/evm/adapters/porto.ts:20
↓ 1 callersFunctiongetPosition
({ tokenId, chainId, }: { tokenId: bigint chainId: SushiSwapV3ChainId })
apps/web/src/app/(networks)/(evm)/api/stable/v1/position-info/getPosition.ts:91
↓ 1 callersMethodgetPosition
* Get a single position by token ID * Returns raw position data from the positions() function
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/services/position-service.ts:150
↓ 1 callersFunctiongetPositionColumns
({ openModal, isMobile, isVaultLeaderAndActiveAccountIsVault, }: { openModal: (action: PositionAction,
apps/web/src/app/(networks)/(evm)/perps/vaults/[address]/_ui/vault-tables/positions-table.tsx:39
↓ 1 callersFunctiongetPositionColumns
({ openModal, isMobile, }: { openModal: (action: PositionAction, position: UserPositionsItemType) => voi
apps/web/src/app/(networks)/(evm)/perps/_ui/trade-tables/positions-table/positions-table.tsx:39
↓ 1 callersMethodgetPositionsPrincipalBatch
* Get principal amounts for multiple positions in the same pool (more efficient) * Fetches slot0 once and reuses it for all positions
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/services/position-service.ts:301
↓ 1 callersFunctiongetPosterArtImages
()
apps/web/src/app/(networks)/(evm)/perps/_ui/trade-tables/_common/share-closed-pnl-dialog.tsx:636
↓ 1 callersFunctiongetPosterTheme
(isPositive: boolean)
apps/web/src/app/(networks)/(evm)/perps/_ui/trade-tables/_common/share-closed-pnl-dialog.tsx:849
↓ 1 callersFunctiongetPriceExtremes
( vault: VaultV1, )
apps/web/src/app/(networks)/(evm)/[chainId]/pool/v3/[address]/smart/[vault]/page.tsx:28
↓ 1 callersFunctiongetPrices
({ chainId, }: { chainId: EvmChainId })
apps/web/src/app/(networks)/(evm)/api/stable/v1/position-info/route.ts:21
↓ 1 callersFunctiongetQueryClient
()
apps/web/src/providers/query-client-provider.tsx:24
↓ 1 callersMethodgetQuoteExactInput
* Get quote for multi-hop swap
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/services/quote-service.ts:105
↓ 1 callersMethodgetQuoteExactInputSingle
* Get quote for single-hop swap using pool state
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/services/quote-service.ts:43
↓ 1 callersFunctiongetReferralCodeAvailable
( variables: GetReferralCodeAvailable, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/perps/sushi-referral-code-available.ts:22
↓ 1 callersFunctiongetReferralShareFeePercent
( activeFeeLevels: readonly ActiveFeeLevel[] | undefined, )
apps/web/src/app/(networks)/(evm)/perps/referrals/_ui/referral-share-fee.ts:8
↓ 1 callersFunctiongetSafeConnector
()
apps/web/src/lib/wallet/namespaces/evm/adapters/safe.ts:20
↓ 1 callersFunctiongetSize
()
packages/hooks/src/useWindowSize.ts:7
↓ 1 callersFunctiongetSmartPools
( variables: GetSmartPools, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/smart-pool/smart-pools.ts:60
↓ 1 callersFunctiongetSnapshotCheck
( variables: GetSnapshotCheck, options?: RequestOptions, )
packages/graph-client/src/subgraphs/migration-claim/queries/snapshot/snapshot-check.ts:22
↓ 1 callersFunctiongetSortedTokensByQuery
( tokens: Token[] | undefined, searchQuery: string, )
apps/web/src/app/(networks)/(non-evm)/aptos/_common/lib/common/get-sorted-tokens-by-query.ts:59
↓ 1 callersFunctiongetSqrtPriceLimitForSwap
( tokenIn: string, tokenOut: string, )
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/soroban/constants.ts:80
↓ 1 callersFunctiongetStellarContractAddress
(token: { symbol: string contractAddress?: string assetIssuer?: string })
apps/web/src/lib/swap/near-intents/tokens.ts:142
↓ 1 callersFunctiongetStellarModuleId
(walletId: string)
apps/web/src/lib/wallet/namespaces/stellar/config.ts:19
↓ 1 callersFunctiongetStellarPools
( variables: GetStellarPools, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/pool/stellar-pools.ts:49
↓ 1 callersFunctiongetSuccessUrl
({ baseUrl, config, }: { baseUrl: string config: GetIdpIntentConfig })
apps/web/src/app/portal/_common/lib/get-new-idp-intent.ts:19
↓ 1 callersFunctiongetSushiBarHistory
( variables: GetSushiBarHistory, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/sushi-bar/history.ts:46
↓ 1 callersFunctiongetSushiBarStats
( variables: GetSushiBarStats, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/sushi-bar/stats.ts:29
↓ 1 callersFunctiongetSushiIconImage
()
apps/web/src/app/(networks)/(evm)/perps/_ui/trade-tables/_common/share-closed-pnl-dialog.tsx:614
↓ 1 callersFunctiongetSushiReferralRedemptionExpiry
()
apps/web/src/lib/perps/sushi-referral.ts:58
↓ 1 callersFunctiongetSushiSwapV2Pools
( chainId: SushiSwapV2ChainId | undefined, currencies: [EvmCurrency | undefined, EvmCurrency | undefined][
apps/web/src/lib/wagmi/hooks/pools/hooks/useSushiSwapV2Pools.ts:32
↓ 1 callersFunctiongetSushiV2Burns
( { ...variables }: GetSushiV2Burns, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/v2/burns.ts:28
↓ 1 callersFunctiongetSushiV2Mints
( { ...variables }: GetSushiV2Mints, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/v2/mints.ts:28
↓ 1 callersFunctiongetSushiV2Swaps
( { ...variables }: GetSushiV2Swaps, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/v2/swaps.ts:30
↓ 1 callersFunctiongetSushiV3Burns
( { ...variables }: GetSushiV3Burns, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/v3/burns.ts:29
↓ 1 callersFunctiongetSushiV3Collects
( { ...variables }: GetSushiV3Collects, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/v3/collects.ts:27
↓ 1 callersFunctiongetSushiV3Mints
( { ...variables }: GetSushiV3Mints, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/v3/mints.ts:30
↓ 1 callersFunctiongetSushiV3Swaps
( { ...variables }: GetSushiV3Swaps, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/v3/swaps.ts:29
↓ 1 callersFunctiongetSwapApiResult
({ fromToken, toToken, amount, slippagePercentage, source, }: TradeParams)
apps/web/test/swap/scripts/generate-swaps.ts:54
↓ 1 callersFunctiongetSwapEdgeConfig
()
apps/web/src/app/(networks)/(non-evm)/aptos/_common/lib/edge/get-swap-edge-config.ts:7
↓ 1 callersFunctiongetSwapEdgeConfig
()
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/edge/get-swap-edge-config.ts:7
↓ 1 callersFunctiongetSwapRoute
({ amountIn = 0, tokenIn, tokenOut, pools, network, }: GetSwapRoute)
apps/web/src/app/(networks)/(non-evm)/aptos/swap/lib/swap-get-route/index.ts:17
↓ 1 callersFunctiongetTab
(pathname: string)
apps/web/src/app/portal/(authenticated)/dashboard/[teamId]/settings/layout.tsx:7
↓ 1 callersFunctiongetThemeColors
(resolvedTheme: string | undefined)
apps/web/src/app/(networks)/(evm)/perps/_ui/chart/utils.ts:53
↓ 1 callersFunctiongetTimeFrameString
(filter: HistoryFilter)
apps/web/src/app/(networks)/(evm)/perps/referrals/_ui/referral-history-chart.tsx:37
↓ 1 callersFunctiongetToken
( config: Config, { address, chainId, }: { address: EvmAddress chainId: EvmChainId },
apps/web/src/lib/wagmi/actions/getToken.ts:6
↓ 1 callersFunctiongetToken0Price
(tokenAmount: string[], decimals: number[])
apps/web/src/app/(networks)/(non-evm)/aptos/_common/lib/common/get-currency-price.ts:153
↓ 1 callersFunctiongetToken1Price
(tokenAmount: string[], decimals: number[])
apps/web/src/app/(networks)/(non-evm)/aptos/_common/lib/common/get-currency-price.ts:160
↓ 1 callersFunctiongetTokenAnalysis
( variables: GetTokenAnalysis, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/token-list-submission/token-analysis.ts:81
↓ 1 callersFunctiongetTokenDetails
({ address, hasToken, customTokens, network, }: GetTokenWithQueryCacheFn)
apps/web/src/app/(networks)/(non-evm)/aptos/_common/lib/common/use-token-with-cache.ts:14
↓ 1 callersFunctiongetTokenFromTokenList
( contract: StellarContractAddress, )
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/soroban/token-helpers.ts:20
↓ 1 callersFunctiongetTokenInfo
( variables: GetTokenInfo, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/token/token-info.ts:24
↓ 1 callersFunctiongetTokenListBalances
( variables: GetTokenListBalances<TChainId>, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/token-list/token-list-balances.ts:33
↓ 1 callersFunctiongetTokenMetadata
* Get token metadata * @param tokenAddress - The token contract address * @returns Token metadata
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/soroban/token-helpers.ts:132
↓ 1 callersFunctiongetTokenPriceChart
( variables: GetTokenPriceChart, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/token/token-price-chart.ts:28
↓ 1 callersFunctiongetTokenSecurity
(security: PendingTokens[number]['security'])
apps/web/src/app/tokenlist-request/pending/page.tsx:41
↓ 1 callersFunctiongetTokens
( variables: GetTokens, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/token/tokens.ts:30
↓ 1 callersFunctiongetTokensFromPool
(pool: { id: EvmID | EvmAddress token0: { address: EvmAddress name: string decimals: number
apps/web/src/lib/hooks/useTokensFromPool.ts:25
↓ 1 callersFunctiongetTotalSupplies
({ client, vaultIds }: GetTotalSupplies)
apps/web/src/lib/steer/utils/get-total-supply.ts:29
↓ 1 callersFunctiongetTrendingTokens
( variables: GetTrendingTokens<TChainId>, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/trending-tokens/trending-tokens.ts:28
↓ 1 callersFunctiongetTwapConfig
(chainId: number)
apps/web/src/app/(networks)/(evm)/[chainId]/(trade)/(orbs)/_ui/helper.ts:37
↓ 1 callersFunctiongetUiFeePercent
(chainId: EvmChainId | SvmChainId)
apps/web/src/config.ts:56
↓ 1 callersMethodgetUncollectedFees
* Calculate uncollected fees for a position * Uses position_fees which calculates live fees from the pool
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/services/position-service.ts:484
↓ 1 callersFunctiongetUnsignedTransaction
()
apps/web/src/app/(networks)/(evm)/[chainId]/(trade)/swap/_ui/simple-swap-trade-review-dialog/use-svm-simple-swap-trade-review.ts:131
↓ 1 callersFunctiongetUserById
(id: string)
apps/web/src/app/portal/(hero)/(unauthenticated)/api/auth/callback/lib/get-user-by-id.ts:3
↓ 1 callersMethodgetUserPositions
* Get all positions owned by a user * Uses the get_user_positions function which returns UserPositionInfo[]
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/services/position-service.ts:207
↓ 1 callersFunctiongetUserTrustlines
( userAddress: StellarAccountAddress, )
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/soroban/trustline-helpers.ts:416
↓ 1 callersFunctiongetV2PoolBuckets
( variables: GetV2PoolBuckets, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/v2/buckets.ts:35
↓ 1 callersFunctiongetV2Positions
( variables: GetV2Positions, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/v2/positions.ts:79
↓ 1 callersFunctiongetV3BasePools
( variables: GetV3BasePools, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/v3/pools.ts:68
↓ 1 callersFunctiongetV3BasePoolsByToken
( variables: GetV3BasePoolsByTokens, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/v3/pools-by-tokens.ts:66
↓ 1 callersFunctiongetV3PoolBuckets
( variables: GetV3PoolBuckets, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/queries/v3/buckets.ts:35
↓ 1 callersFunctiongetV3PoolsByTokenPair
( tokenId0: EvmID, tokenId1: EvmID, )
apps/web/src/lib/graph.ts:5
↓ 1 callersFunctiongetVaultPositions
({ client, vaultId, }: GetVaultPositions)
apps/web/src/lib/steer/fetchers/get-vault-position.ts:68
↓ 1 callersFunctiongetVaultPositionsContracts
({ vaultIds, }: GetVaultPositionsContracts)
apps/web/src/lib/steer/fetchers/get-vault-position.ts:10
↓ 1 callersFunctiongetVaultsAprTimeseries
({ vaultIds }: GetVaultsAprs)
apps/web/src/lib/steer/fetchers/get-vault-apr-timeseries.ts:28
↓ 1 callersFunctiongetVaultsPositionSelect
( vaultId: string, result: Readonly< [Readonly<number[]>, Readonly<number[]>, Readonly<number[]>] >,
apps/web/src/lib/steer/fetchers/get-vault-position.ts:45
↓ 1 callersFunctiongetVaultsPositions
({ client, vaultIds, }: GetVaultsPositions)
apps/web/src/lib/steer/fetchers/get-vault-position.ts:30
↓ 1 callersFunctiongetVaultsReserves
({ client, vaultIds, }: GetVaultsReserves)
apps/web/src/lib/steer/fetchers/get-vault-reserves.ts:42
↓ 1 callersFunctiongetVersionTimestamp
({ version, network, }: { version: number; network: SupportedNetwork })
apps/web/src/app/(networks)/(non-evm)/aptos/api/ledgerversion/route.ts:36
↓ 1 callersFunctiongetWagmiInitialState
( cookieHeaders: string | null | undefined, )
apps/web/src/lib/wagmi/config/index.ts:35
↓ 1 callersFunctiongetWalletConnectConnector
()
apps/web/src/lib/wallet/namespaces/evm/adapters/walletconnect.ts:22
↓ 1 callersFunctiongetWidthOfText
()
apps/web/src/app/(networks)/(evm)/perps/_ui/_common/input-with-keyboard.tsx:80
↓ 1 callersFunctiongetZapRouterContractClient
({ contractId, publicKey, }: ContractClientParams)
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/soroban/client.ts:101
↓ 1 callersFunctionhandleCopyLink
()
apps/web/src/app/(networks)/(evm)/perps/_ui/trade-tables/_common/share-closed-pnl-dialog.tsx:277
↓ 1 callersFunctionhandleKeyPress
(key: string)
apps/web/src/app/(networks)/(evm)/perps/_ui/_common/input-with-keyboard.tsx:184
↓ 1 callersFunctionhandleNetwork
(page: Page, chainId: EvmChainId, type: InputType)
apps/web/test/swap/cross-chain.test.ts:161
↓ 1 callersFunctionhandleRedeem
()
apps/web/src/app/(networks)/(evm)/perps/referrals/_ui/referrals-action-bar.tsx:212
↓ 1 callersFunctionhandleSaveImage
()
apps/web/src/app/(networks)/(evm)/perps/_ui/trade-tables/_common/share-closed-pnl-dialog.tsx:288
↓ 1 callersFunctionhandleShareOnX
()
apps/web/src/app/(networks)/(evm)/perps/_ui/trade-tables/_common/share-closed-pnl-dialog.tsx:312
↓ 1 callersFunctionhashStringToColor
(str: string)
apps/web/src/app/(networks)/(non-evm)/aptos/_common/ui/currency/currency-icon.tsx:18
↓ 1 callersFunctionhydrate
(data: Record<Address, number>)
apps/web/src/lib/hooks/react-query/prices/useAllPrices.ts:11
↓ 1 callersFunctionincentiveRewardToToken
( chainId: EvmChainId, incentive: Incentive, )
apps/web/src/lib/functions.ts:31
↓ 1 callersFunctionincreaseLiquidity
({ pool, tokenId, amount0Desired, amount1Desired, amount0Min, amount1Min, deadline, operator,
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/soroban/position-manager-helpers.ts:177
↓ 1 callersFunctionincrementChainId
(chainId: PriceWorkerChainId)
apps/web/src/app/(networks)/(evm)/_common/ui/price-provider/price-worker/price-worker.ts:101
↓ 1 callersFunctionindicatorToTextColor
(indicator: StatusInidator | undefined)
apps/web/src/app/(networks)/(evm)/perps/_ui/_common/hl-api-status.tsx:6
↓ 1 callersFunctioninitState
(state: { source: StepState bridge: StepState dest: StepState })
apps/web/src/app/(networks)/(evm)/[chainId]/(trade)/cross-chain-swap/_ui/lifi/confirmation-dialog.tsx:205
↓ 1 callersFunctioninitiateClaim
( variables: InitiateClaim, options?: RequestOptions, )
packages/graph-client/src/subgraphs/migration-claim/mutations/initiate-claim/initiate-claim.ts:19
← previousnext →1,001–1,100 of 3,426, ranked by callers