MCPcopy Create free account

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

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

↓ 1 callersFunctioninputAmount
(page: Page, amount: string)
apps/web/test/swap/cross-chain.test.ts:217
↓ 1 callersFunctioninputTranslator
(value: string, code: string)
packages/ui/src/components/chip-input.tsx:53
↓ 1 callersFunctioninstallBigintSerializer
()
apps/web/src/instrumentation/bigint-json.ts:50
↓ 1 callersFunctionintegerSqrt
* Integer square root using Newton's method * Equivalent to the u256_sqrt function in Rust
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/soroban/dex-factory-helpers.ts:170
↓ 1 callersFunctioninvalidatePoolInitializedQuery
( queryClient: QueryClient, poolAddress: StellarContractAddress | null | undefined, )
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/hooks/pool/use-pool-initialized.ts:31
↓ 1 callersFunctionisAddressEligibleForPendingInvite
( invite: PendingPerpsInvite, address: EvmAddress, )
apps/web/src/lib/perps/pending-invite.ts:56
↓ 1 callersFunctionisBalanceStaleWhileRevalidate
(balance: Balance)
apps/web/src/app/(networks)/(evm)/_common/ui/balance-provider/utils.ts:21
↓ 1 callersFunctionisChainIdSupportedByWallet
({ chainId, walletId, }: { chainId: ChainId; walletId: string })
apps/web/src/lib/wagmi/config/wallet.ts:12
↓ 1 callersFunctionisCoinGeckoChainId
(chainId: ChainId)
apps/web/src/lib/hooks/react-query/tokens/useCoinGeckoTokenInfo.ts:51
↓ 1 callersFunctionisEvmWallet
(wallet: Wallet)
apps/web/src/lib/wallet/namespaces/evm/types.ts:9
↓ 1 callersFunctionisIncludedChainId
( chainId: CustomTokenChainId, options: { chainId: CustomTokenChainId | undefined } | undefined, )
packages/hooks/src/useCustomTokens.ts:191
↓ 1 callersFunctionisKatanaStakeRequiredCampaign
( campaign: RewardCampaign, )
apps/web/src/app/(networks)/(evm)/[chainId]/pool/v3/[address]/_lib/reward-campaign-utils.ts:6
↓ 1 callersFunctionisLifiChainId
(chainId: number)
apps/web/src/app/(networks)/(evm)/api/cross-chain/schemas.ts:80
↓ 1 callersFunctionisLifiSvmChainId
( chainId: number, )
apps/web/src/app/(networks)/(evm)/api/cross-chain/schemas.ts:86
↓ 1 callersFunctionisLimitPriceOrder
(orderType?: OrderType)
apps/web/src/app/(networks)/(evm)/[chainId]/(trade)/(orbs)/_ui/helper.ts:29
↓ 1 callersFunctionisNearIntentsEvmToken
( token: NearIntentsToken | undefined, )
apps/web/src/lib/swap/near-intents/tokens.ts:384
↓ 1 callersFunctionisNearIntentsStellarToken
( token: NearIntentsToken | undefined, )
apps/web/src/lib/swap/near-intents/tokens.ts:390
↓ 1 callersFunctionisObservationTooOldError
(error: unknown)
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/utils/slot-hint-helpers.ts:76
↓ 1 callersFunctionisOnrampOverrideChainId
( chainId: number | undefined, )
packages/ui/src/components/onramper.tsx:32
↓ 1 callersFunctionisOracleFootprintError
(error: unknown)
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/utils/error-helpers.ts:222
↓ 1 callersFunctionisPermitSupportedChainId
(chainId: number)
apps/web/src/lib/wagmi/systems/Checker/approve-erc20-with-permit.tsx:61
↓ 1 callersFunctionisPinnable
( t: CurrencyFor<TChainId>, )
apps/web/src/lib/wagmi/components/token-selector/token-lists/token-selector-chip-bar.tsx:29
↓ 1 callersFunctionisPriceRequestChainState
( chainState: WorkerChainState<PriceWorkerChainId>, )
apps/web/src/app/(networks)/(evm)/_common/ui/price-provider/price-worker/solana.ts:23
↓ 1 callersFunctionisPromiseNotification
( data: PromiseNotification | ResolvedNotification, )
packages/notifications/src/types.ts:53
↓ 1 callersFunctionisResetApprovalToken
(token: EvmToken)
apps/web/src/lib/wagmi/systems/Checker/revoke-approve-erc20.tsx:38
↓ 1 callersFunctionisSafeAppAvailable
()
apps/web/src/lib/wallet/namespaces/evm/adapters/safe.ts:29
↓ 1 callersFunctionisSwapApiEnabledChainId
( chainId: number, )
apps/web/src/config.ts:65
↓ 1 callersFunctionisSwapModeChainId
(chainId: number)
apps/web/src/app/(networks)/(evm)/[chainId]/(trade)/_ui/swap-mode-buttons.tsx:98
↓ 1 callersFunctionisSwappedOverrideChainId
( chainId: number | undefined, )
packages/ui/src/components/swapped.tsx:40
↓ 1 callersFunctionisTypeText
(type: InputType)
packages/ui/src/components/text-field.tsx:91
↓ 1 callersFunctionisV3MigrateChainId
( chainId: number, )
apps/web/src/lib/wagmi/hooks/migrate/types.ts:4
↓ 1 callersFunctionisWalletConnectionEqual
(a: WalletConnection, b: WalletConnection)
apps/web/src/lib/wallet/provider/store.ts:12
↓ 1 callersFunctionlistener
()
packages/hooks/src/useLocalStorage.ts:72
↓ 1 callersFunctionloginAction
(data: FormData)
apps/web/src/app/portal/(hero)/(index)/@login/_common/ui/login-action.ts:24
↓ 1 callersFunctionlookupAssetByContract
* Look up asset info from StellarExpert by contract address * This is more reliable than looking up by asset code since it uses the exact contract
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/soroban/trustline-helpers.ts:31
↓ 1 callersFunctionlookupIssuerFromHorizon
* Look up asset issuer from Horizon by matching the contract address to a SAC * SAC contract addresses are deterministic based on the asset
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/soroban/trustline-helpers.ts:79
↓ 1 callersFunctionmain
()
apps/web/test/swap/scripts/generate-swaps.ts:160
↓ 1 callersFunctionmapEvmErc20Token
( chainId: NearIntentsSupportedEvmChainId, symbol: string, decimals: number, contractAddress: AddressF
apps/web/src/lib/swap/near-intents/tokens.ts:264
↓ 1 callersFunctionmapEvmNativeToken
( chainId: NearIntentsSupportedEvmChainId, symbol: string, decimals: number, sdkToken?: NearIntentsSdk
apps/web/src/lib/swap/near-intents/tokens.ts:241
↓ 1 callersFunctionmapNearIntentsTokenToCurrencyEntry
( token: NearIntentsToken, )
apps/web/src/lib/swap/near-intents/tokens.ts:312
↓ 1 callersFunctionmarkPendingInviteAttempt
( invite: PendingPerpsInvite, address: EvmAddress, )
apps/web/src/lib/perps/pending-invite.ts:75
↓ 1 callersFunctionmatchHlTransfer
( tx: UserNonFundingLedgerUpdatesResponse[number], hlTransfers: Map<string, HyperliquidTransfer>, )
apps/web/src/lib/perps/info/use-user-non-funding-ledger-updates.ts:84
↓ 1 callersFunctionmatchHyperunitOp
( tx: UserNonFundingLedgerUpdatesResponse[number], ops: Map<string, HyperunitOperation>, )
apps/web/src/lib/perps/info/use-user-non-funding-ledger-updates.ts:116
↓ 1 callersFunctionmaxAddableIsolatedMargin
({ collateralTokenId, dexWithdrawable, isDexAbstractionEnabled, isUnifiedAccount, perpsDex, perpsW
apps/web/src/app/(networks)/(evm)/perps/_ui/exchange/update-isloated-margin-dialog.tsx:261
↓ 1 callersFunctionmintPosition
({ poolAddress, recipient, tickLower, tickUpper, amount0Desired, amount1Desired, amount0Min, a
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/soroban/position-manager-helpers.ts:26
↓ 1 callersFunctionmockLayerZeroApi
(page: Page)
apps/web/test/swap/cross-chain.test.ts:242
↓ 1 callersFunctionnormalizeLegacyCustomToken
(data: unknown)
packages/hooks/src/useCustomTokens.ts:178
↓ 1 callersFunctionnormalizeResponse
( response: Response, chainId: PriceWorkerChainId, )
apps/web/src/app/(networks)/(evm)/_common/ui/price-provider/price-worker/price-worker.ts:205
↓ 1 callersFunctionnormalizeTrade
(trade: AnyTradeType)
apps/web/src/app/(networks)/(evm)/perps/_ui/trade-tables/_common/share-closed-pnl-dialog.tsx:102
↓ 1 callersFunctionoauthAction
(data: z.infer<typeof oauthFormSchema>)
apps/web/src/app/portal/_common/ui/oauth/oauth-action.ts:17
↓ 1 callersFunctiononClick
()
apps/web/src/lib/wallet/components/connect-wallet-button/connect-evm-wallet-button.tsx:18
↓ 1 callersFunctiononFieldAInput
(typedValue: string)
apps/web/src/lib/steer/components/steer-liquidity-management/add/steer-position-add-provider.tsx:61
↓ 1 callersFunctiononFieldBInput
(typedValue: string)
apps/web/src/lib/steer/components/steer-liquidity-management/add/steer-position-add-provider.tsx:64
↓ 1 callersFunctiononSelect
(name: WalletName)
apps/web/src/app/(networks)/(non-evm)/aptos/_common/ui/user-profile/connect-view/connect-view.tsx:11
↓ 1 callersMethodonValueChange
(values: string[])
packages/ui/src/components/chip-input.tsx:41
↓ 1 callersFunctionparseHyperliquidTx
( tx: UserNonFundingLedgerUpdatesResponse[number], myAddress: EvmAddress, hyperunitOps: Map<string, Hype
apps/web/src/lib/perps/info/use-user-non-funding-ledger-updates.ts:137
↓ 1 callersFunctionparseNearIntentsSdkTokens
( tokens: unknown, )
apps/web/src/app/(networks)/(evm)/api/cross-chain/near-intents/schemas.ts:199
↓ 1 callersFunctionparseRoutesInput
(params: Record<string, string>)
apps/web/src/app/(networks)/(evm)/api/cross-chain/routes/route.ts:39
↓ 1 callersFunctionparseSolanaResponse
(response: Response)
apps/web/src/app/(networks)/(evm)/_common/ui/price-provider/price-worker/solana.ts:172
↓ 1 callersFunctionparseStepInput
(params: Record<string, string>)
apps/web/src/app/(networks)/(evm)/api/cross-chain/step/route.ts:17
↓ 1 callersFunctionpluck
(arr: Arr, key: K)
apps/web/src/lib/wagmi/config/viem.ts:150
↓ 1 callersFunctionportalMiddleware
(request: NextRequest)
apps/web/src/app/portal/middleware.ts:4
↓ 1 callersFunctionprep
()
apps/web/src/app/(networks)/(evm)/[chainId]/pool/v2/[address]/(manage)/_common/ui/remove-section-legacy.tsx:228
↓ 1 callersFunctionprepareSeriesForRendering
* Prepare series data for rendering with curveStepAfter. * * With curveStepAfter, a point at x_0 determines the y-value for the range [x_0, x_1). *
apps/web/src/app/(networks)/(evm)/[chainId]/_ui/LiquidityChartRangeInput/area.tsx:33
↓ 1 callersFunctionprocessPendingSolanaRequests
( chainState: WorkerChainState<PriceWorkerRequestChainId>, )
apps/web/src/app/(networks)/(evm)/_common/ui/price-provider/price-worker/solana.ts:50
↓ 1 callersFunctionprocessTokens
( tokens: TokenListBalances<TChainId>, chainId: TChainId, )
apps/web/src/lib/wagmi/components/token-selector/hooks/use-my-tokens.ts:81
↓ 1 callersFunctionprocessVideos
(html: string)
apps/web/src/app/(cms)/lib/ghost/ghost.ts:38
↓ 1 callersFunctionqueueSolanaRequests
( chainState: WorkerChainState<PriceWorkerRequestChainId>, addresses: PriceWorkerRequestAddress[], )
apps/web/src/app/(networks)/(evm)/_common/ui/price-provider/price-worker/solana.ts:30
↓ 1 callersFunctionreconcileActiveAccountWithLeaderVaults
( activeAccount: ActiveAccount | null, walletAddress: EvmAddress | undefined, leaderVaults: readonly Lea
apps/web/src/app/(networks)/(evm)/perps/active-account-state.ts:54
↓ 1 callersFunctionreconcileActiveAccountWithWallet
( activeAccount: ActiveAccount | null, walletAddress: EvmAddress | undefined, )
apps/web/src/app/(networks)/(evm)/perps/active-account-state.ts:33
↓ 1 callersFunctionredeemPerpsSushiReferralCode
( variables: RedeemPerpsSushiReferralCode, options?: RequestOptions, )
packages/graph-client/src/subgraphs/data-api/mutations/perps/redeem-sushi-referral-code.ts:28
↓ 1 callersFunctionrefetchOverview
()
apps/web/src/app/(networks)/(evm)/perps/referrals/_ui/referrals-action-bar.tsx:75
↓ 1 callersFunctionregister
()
apps/web/src/instrumentation/register.server.ts:39
↓ 1 callersFunctionregister
(idpIntent: IdpIntent)
apps/web/src/app/portal/(hero)/(unauthenticated)/api/auth/callback/lib/register.ts:4
↓ 1 callersFunctionregisterAction
(data: FormData)
apps/web/src/app/portal/(hero)/(unauthenticated)/register/_common/ui/register-action.ts:25
↓ 1 callersFunctionregisterNoDataSetter
(fn: (val: boolean) => void)
apps/web/src/app/(networks)/(evm)/perps/_ui/chart/datafeed.ts:28
↓ 1 callersFunctionregisterWallet
(wallet: Wallet)
apps/web/src/lib/wallet/namespaces/svm/provider/use-register-privy-svm-wallet.ts:86
↓ 1 callersMethodremoveLiquidityV2
(fakeToken: EvmToken)
apps/web/test/helpers/pool.ts:323
↓ 1 callersMethodremoveLiquidityV3
(fakeToken: EvmToken)
apps/web/test/helpers/pool.ts:272
↓ 1 callersFunctionremoveTag
(index: number)
packages/ui/src/components/chip-input.tsx:123
↓ 1 callersFunctionrenderPoster
()
apps/web/src/app/(networks)/(evm)/perps/_ui/trade-tables/_common/share-closed-pnl-dialog.tsx:499
↓ 1 callersFunctionrequestAndApplySolanaPrices
( chainState: WorkerChainState<PriceWorkerRequestChainId>, addresses: PriceWorkerRequestAddress[], )
apps/web/src/app/(networks)/(evm)/_common/ui/price-provider/price-worker/solana.ts:94
↓ 1 callersFunctionrequestWithTimeout
( options: RequestExtendedOptions<V, T>, timeout: number, )
packages/graph-client/src/lib/request.ts:17
↓ 1 callersFunctionrequiresPriceImpactConfirmation
( priceImpact: number | undefined, )
apps/web/src/app/(networks)/(non-evm)/stellar/_common/lib/utils/warning-severity.ts:60
↓ 1 callersFunctionresendCodeAction
()
apps/web/src/app/portal/(hero)/(authenticated)/verify/_common/ui/verify-form/resend-code/resend-code-action.ts:9
↓ 1 callersFunctionresetMintState
()
apps/web/src/app/(networks)/(evm)/[chainId]/_ui/concentrated-liquidity-provider.tsx:166
↓ 1 callersFunctionresetPasswordAction
(data: FormData)
apps/web/src/app/portal/(hero)/(unauthenticated)/reset-password/_common/ui/reset-password-action.ts:18
↓ 1 callersFunctionrespectSolanaRateLimit
( chainState: WorkerChainState<PriceWorkerRequestChainId>, )
apps/web/src/app/(networks)/(evm)/_common/ui/price-provider/price-worker/solana.ts:136
↓ 1 callersFunctionrewardPerDay
({ start, end, amount, token, }: { start: number end: number amount: number token: EvmToken })
apps/web/src/lib/functions.ts:259
↓ 1 callersFunctionroeFromLossUsd
(lossUsd: bigint)
apps/web/src/lib/perps/math.ts:420
↓ 1 callersFunctionroeFromProfitUsd
(profitUsd: bigint)
apps/web/src/lib/perps/math.ts:215
↓ 1 callersFunctionroutesInputSchema
(fromChainId: TChainId0, toChainId: TChainId1)
apps/web/src/app/(networks)/(evm)/api/cross-chain/routes/route.ts:22
↓ 1 callersFunctionroutesOutputSchema
(fromChainId: TChainId0, toChainId: TChainId1)
apps/web/src/app/(networks)/(evm)/api/cross-chain/routes/route.ts:49
↓ 1 callersFunctionscanToken
( _variables: ScanToken, options?: RequestOptions, )
packages/graph-client/src/subgraphs/de.fi/queries/token-scanner.ts:41
↓ 1 callersFunctionsetAmount
(value: string)
apps/web/src/app/(networks)/(non-evm)/stellar/_common/ui/Swap/simple/simple-swap-provider/simple-swap-provider.tsx:145
↓ 1 callersFunctionsetFeeAmount
(feeAmount: SushiSwapV3FeeAmount)
apps/web/src/app/(networks)/(evm)/[chainId]/pool/_ui/concentrated-liquidity-url-state-provider.tsx:185
↓ 1 callersFunctionsetFilters
(filters)
apps/web/src/app/(networks)/_ui/pools-filters-provider.tsx:105
↓ 1 callersFunctionsetLoadingPrice
(value: boolean)
apps/web/src/app/(networks)/(non-evm)/aptos/swap/ui/simple/simple-swap-provider/simple-swap-provider.tsx:169
↓ 1 callersFunctionsetPoolPairRatio
(value: number)
apps/web/src/app/(networks)/(non-evm)/aptos/pool/ui/pool/add/pool-add-provider/pool-add-provider.tsx:124
↓ 1 callersFunctionsetPoolPairRatio
(state: State, action: Actions)
apps/web/src/app/(networks)/(non-evm)/aptos/pool/ui/pool/add/pool-add-provider/actions/setPoolPairRatio.ts:5
← previousnext →1,101–1,200 of 3,426, ranked by callers