MCPcopy Create free account

hub / github.com/beefyfinance/beefy-v2 / functions

Functions2,834 in github.com/beefyfinance/beefy-v2

↓ 2 callersMethodfetchZapSwap
( quoteStep: ZapQuoteStepSwap, zapHelpers: ZapHelpers, insertBalance: boolean )
src/features/data/apis/transact/strategies/cowcentrated/CowcentratedStrategy.ts:290
↓ 2 callersMethodfetchZapSwapAggregator
( quoteStep: ZapQuoteStepSwapAggregator, zapHelpers: ZapHelpers, insertBalance: boolean )
src/features/data/apis/transact/strategies/curve/CurveStrategy.ts:445
↓ 2 callersFunctionfileReadable
(path: string)
scripts/common/files.ts:24
↓ 2 callersFunctionfindBridgeTokenMin
( orderOutputs: OrderOutput[], bridgeToken: TokenEntity )
src/features/data/apis/transact/strategies/cross-chain/handlers/utils.ts:32
↓ 2 callersFunctionfirstKey
(obj: T)
src/helpers/object.ts:132
↓ 2 callersFunctionformatChartDate
(date: Date | number)
src/helpers/date.ts:280
↓ 2 callersFunctionformatDate
(date: Date | number)
src/helpers/date.ts:268
↓ 2 callersFunctionformatDateTimeWithSeconds
(date: Date | number)
src/helpers/date.ts:264
↓ 2 callersFunctionformatLabel
(part: keyof Duration, count: number | undefined)
src/helpers/date.ts:66
↓ 2 callersFunctionformatMinutesDuration
(minutes: number)
src/helpers/date.ts:95
↓ 2 callersFunctionformatTime
(date: Date | number)
src/helpers/date.ts:272
↓ 2 callersFunctionfromKeysBy
(arr: K[], valueFn: (key: K) => V)
src/helpers/object.ts:50
↓ 2 callersFunctionfromKeysMapper
( arr: T[], valueFn: (key: T) => V, keyFn: KF )
src/helpers/object.ts:64
↓ 2 callersMethodgetAddLiquidityRatio
(testAmounts: TokenAmount[])
src/features/data/apis/amm/types.ts:70
↓ 2 callersMethodgetAddLiquidityZap
( maxAmountsIn: BigNumber[], liquidity: BigNumber, from: string, insertBalance: boolean )
src/features/data/apis/amm/balancer/types.ts:26
↓ 2 callersFunctiongetAllVaultConfigsByChainId
()
scripts/common/config.ts:161
↓ 2 callersFunctiongetAmmsForChain
(chainId: string)
scripts/common/config.ts:206
↓ 2 callersMethodgetAmountInAfterFee
(amountIn: BigNumber)
src/features/data/apis/amm/uniswap-v2/UniswapV2Pool.ts:361
↓ 2 callersMethodgetAmountInAfterFee
(amountIn: BigNumber)
src/features/data/apis/amm/solidly/SolidlyPool.ts:433
↓ 2 callersMethodgetAmountOut
* @see UniswapV2Library.sol#getAmountOut
src/features/data/apis/amm/uniswap-v2/UniswapV2Pool.ts:345
↓ 2 callersMethodgetBalances
()
src/helpers/graph/timeseries.ts:481
↓ 2 callersFunctiongetBifiBalanceInTokens
( state: BeefyState, oracleId: TreasuryHoldingEntity['oracleId'], balance: BigNumber )
src/features/data/selectors/treasury.ts:213
↓ 2 callersFunctiongetBoostStatusFromContractState
( contractState: Pick<BoostContractData, 'isPreStake' | 'periodFinish'>, now?: number )
src/features/data/reducers/promos.ts:318
↓ 2 callersFunctiongetBridgeFeeForUsdcAmount
( fromChainId: ChainEntity['id'], toChainId: ChainEntity['id'], usdcAmount: BigNumber, usdcDecimals: n
src/features/data/apis/transact/cctp/CCTPProvider.ts:59
↓ 2 callersFunctiongetBridgeProviderIcon
(provider: string)
src/helpers/bridgeProviderSrc.ts:17
↓ 2 callersFunctiongetBucketParams
(bucket: ApiTimeBucket)
src/features/vault/components/HistoricGraph/utils.ts:45
↓ 2 callersFunctiongetDashboardLpBreakdownScalingFactor
( _vaultId: string, userVaultTvl: BigNumber, assets: UserLpBreakdownBalanceAsset[] )
src/features/data/selectors/dashboard.ts:284
↓ 2 callersFunctiongetEffectiveQuote
(quote: TransactQuote)
src/features/data/apis/transact/helpers/quotes.ts:26
↓ 2 callersFunctiongetExecutionChainId
(quote: TransactQuote)
src/helpers/transactUtils.ts:8
↓ 2 callersMethodgetHelpers
()
src/features/data/apis/transact/strategies/IStrategy.ts:86
↓ 2 callersMethodgetHelpersForChain
( chainId: ChainEntity['id'], getState: BeefyStateFn )
src/features/data/apis/transact/transact.ts:112
↓ 2 callersFunctiongetIcon
(id: BridgeEntity['id'])
src/helpers/iconSrc.ts:12
↓ 2 callersMethodgetId
()
src/features/data/apis/transact/swap/liquid-swap/LiquidSwapSwapProvider.ts:31
↓ 2 callersMethodgetId
()
src/features/data/apis/transact/swap/kyber/KyberSwapProvider.ts:27
↓ 2 callersMethodgetId
()
src/features/data/apis/transact/swap/wnative/WNativeSwapProvider.ts:25
↓ 2 callersMethodgetId
()
src/features/data/apis/transact/swap/one-inch/OneInchSwapProvider.ts:23
↓ 2 callersMethodgetInvestorTimeline
(address: string)
src/features/data/apis/clm/clm-api-types.ts:221
↓ 2 callersMethodgetJoinKindValue
(kind: PoolJoinKind)
src/features/data/apis/amm/balancer/gyro/GyroPool.ts:47
↓ 2 callersMethodgetJoinKindValue
(kind: PoolJoinKind)
src/features/data/apis/amm/balancer/composable-stable/ComposableStablePool.ts:56
↓ 2 callersMethodgetJoinPoolZap
(request: JoinPoolZapRequest)
src/features/data/apis/amm/balancer/vault/Vault.ts:200
↓ 2 callersMethodgetMintFee
()
src/features/data/apis/amm/uniswap-v2/UniswapV2Pool.ts:207
↓ 2 callersMethodgetMintFeeParams
()
src/features/data/apis/amm/uniswap-v2/UniswapV2Pool.ts:192
↓ 2 callersFunctiongetNetworkIcon
(chainId: ChainEntity['id'])
src/features/home/components/Filters/components/ChainFilters/hooks.ts:35
↓ 2 callersFunctiongetParam
(key: string, defaultValue: T, parser?: (value: string) => T)
src/features/data/utils/feature-flags.ts:122
↓ 2 callersFunctiongetPendingUserData
(sliceState: WritableDraft<MigrationState>, action: TAction)
src/features/data/reducers/wallet/migration.ts:104
↓ 2 callersMethodgetPoolContract
()
src/features/data/apis/amm/balancer/gyro/GyroPool.ts:218
↓ 2 callersMethodgetPoolTokens
(poolId: string)
src/features/data/apis/amm/balancer/vault/Vault.ts:51
↓ 2 callersFunctiongetPromosForChain
(chainId: string)
scripts/common/config.ts:189
↓ 2 callersFunctiongetReadProposals
()
src/features/data/actions/proposal.ts:13
↓ 2 callersFunctiongetReceivedAddresses
( state: BeefyState, op: { direction: string; vaultId: string; destChainId: ChainEntity['id'];
src/features/data/selectors/stepper.ts:366
↓ 2 callersMethodgetRemainingShares
()
src/helpers/pnl.ts:115
↓ 2 callersMethodgetRemainingShares
()
src/helpers/pnl.ts:289
↓ 2 callersMethodgetScalingFactors
* For composable stable pools, the scaling factors include the token rate too
src/features/data/apis/amm/balancer/composable-stable/ComposableStablePool.ts:130
↓ 2 callersMethodgetSingleClient
(chainId: ChainId)
src/features/data/apis/rpc-contract/rpc-manager.ts:100
↓ 2 callersMethodgetStableKNormalized
(x: BigNumber, y: BigNumber)
src/features/data/apis/amm/solidly/SolidlyPool.ts:550
↓ 2 callersFunctiongetStakingAddress
(vault: VaultEntity, _: BeefyState)
src/features/data/apis/migration/migrators/l2-convex.ts:21
↓ 2 callersFunctiongetStakingAddress
(vault: VaultEntity, _: BeefyState)
src/features/data/apis/migration/migrators/l2-curve.ts:26
↓ 2 callersFunctiongetStakingAddress
(vault: VaultEntity, state: BeefyState)
src/features/data/apis/migration/migrators/ethereum-prisma.ts:30
↓ 2 callersFunctiongetStakingAddress
(vault: VaultEntity, state: BeefyState)
src/features/data/apis/migration/migrators/sonic-swapx.ts:15
↓ 2 callersFunctiongetStakingAddress
(vault: VaultEntity, state: BeefyState)
src/features/data/apis/migration/migrators/bera-infrared.ts:15
↓ 2 callersFunctiongetStakingAddress
(vault: VaultEntity, _state: BeefyState)
src/features/data/apis/migration/migrators/bera-kodiak.ts:15
↓ 2 callersFunctiongetStakingAddress
(vault: VaultEntity, state: BeefyState)
src/features/data/apis/migration/migrators/real-pearl.ts:17
↓ 2 callersFunctiongetStakingAddress
(vault: VaultEntity, state: BeefyState)
src/features/data/apis/migration/migrators/plasma-lithos.ts:17
↓ 2 callersFunctiongetStakingAddress
(vault: VaultEntity, state: BeefyState)
src/features/data/apis/migration/migrators/ethereum-convex.ts:16
↓ 2 callersFunctiongetStakingAddress
(vault: VaultEntity, state: BeefyState)
src/features/data/apis/migration/migrators/ethereum-curve.ts:19
↓ 2 callersFunctiongetStatusFromTime
(promo: PromoEntity, initialStatus?: PromoEntity['status'])
src/features/data/reducers/promos.ts:89
↓ 2 callersMethodgetTokenAddress
(state: BeefyState, token: TokenEntity)
src/features/data/apis/transact/swap/liquid-swap/LiquidSwapSwapProvider.ts:145
↓ 2 callersMethodgetTokenAddress
(token: TokenEntity)
src/features/data/apis/transact/swap/kyber/KyberSwapProvider.ts:31
↓ 2 callersMethodgetTokenToUsd
(i: 0 | 1)
src/helpers/graph/timeseries.ts:458
↓ 2 callersFunctiongetTokensForChain
(chainId: string)
scripts/common/tokens.ts:178
↓ 2 callersFunctiongetTransactSteps
( quote: TransactQuote, t: TFunction<Namespace>, getState: BeefyStateFn )
src/features/data/actions/wallet/transact.ts:42
↓ 2 callersMethodgetType
()
src/components/Tenderly/Result/StackEntry.ts:130
↓ 2 callersMethodgetUnderlyingToToken
(i: 0 | 1)
src/helpers/graph/timeseries.ts:395
↓ 2 callersFunctiongetUnlockTime
( depositTokenAddress: string, userAddress: string | undefined, chain: ChainEntity, config: GlpLikeCon
src/features/vault/components/Actions/Transact/GlpNotices/GetUnlockTime.ts:44
↓ 2 callersFunctiongetUserState
(sliceState: Draft<UserRewardsState>, userAddress: string)
src/features/data/reducers/wallet/user-rewards.ts:35
↓ 2 callersFunctiongetVaultWithdrawnFromContract
( userInput: InputTokenAmount, vault: VaultStandard, state: BeefyState, userAddress: string )
src/features/data/apis/transact/helpers/vault.ts:57
↓ 2 callersFunctiongetVaultsIntegrity
(chainId: string)
scripts/common/exclude.ts:4
↓ 2 callersMethodgetWalletForAutoConnect
()
src/features/data/apis/wallet/wallet-connection.ts:495
↓ 2 callersFunctiongetXInterval
(dataLength: number, xsDown: boolean)
src/helpers/graph/graph.ts:14
↓ 2 callersMethodgetZapAddLiquidity
(request: ZapStepRequest)
src/features/data/apis/amm/types.ts:79
↓ 2 callersMethodgetZapRemoveLiquidity
(request: ZapStepRequest)
src/features/data/apis/amm/types.ts:81
↓ 2 callersFunctionhasLoaderFulfilledRecentlyImpl
( state: LoaderState | undefined, recentSeconds: number = DEFAULT_FULFILLED_RECENT_SECONDS )
src/features/data/selectors/data-loader-helpers.ts:72
↓ 2 callersFunctionifStaged
.lintstagedrc.mjs:1
↓ 2 callersFunctionindexOrNull
( array: TObj[], value: TValue | null )
src/components/Form/Select/Single/helpers.ts:1
↓ 2 callersFunctioninitUniswapLikePool
(pool: T)
src/features/data/apis/amm/amm.ts:98
↓ 2 callersFunctionisBoostAdditionalData
( data: TxAdditionalData | undefined )
src/features/data/reducers/wallet/wallet-action-types.ts:60
↓ 2 callersFunctionisComposerStrategyStatic
( strategy: AnyZapStrategyStatic )
src/features/data/apis/transact/strategies/strategies.ts:75
↓ 2 callersFunctionisCowcentratedVault
(vault: VaultConfig)
scripts/setVaultRisks.ts:102
↓ 2 callersFunctionisCrossChainDepositOption
( option: TransactOption )
src/features/data/apis/transact/transact-types.ts:506
↓ 2 callersFunctionisCrossChainHopEligible
( pageChainId: ChainEntity['id'], otherChainId: ChainEntity['id'] )
src/features/data/apis/transact/strategies/cross-chain/eligibility.ts:93
↓ 2 callersFunctionisCrossChainWithdrawOption
( option: TransactOption )
src/features/data/apis/transact/transact-types.ts:512
↓ 2 callersFunctionisCurveLite
(chainId: string)
scripts/zaps/curve.ts:84
↓ 2 callersFunctionisDepositFlagNeededFixed
( pool: string, coins: number, chainId: string )
scripts/zaps/curve.ts:530
↓ 2 callersFunctionisEqualWithinPercent
( a: BigNumber, b: BigNumber, percent: BigNumber.Value )
src/helpers/big-number.ts:180
↓ 2 callersFunctionisFetchNotFoundError
(value: unknown)
src/helpers/http/errors.ts:76
↓ 2 callersFunctionisGovVaultMulti
(vault: VaultGov)
src/features/data/entities/vault.ts:281
↓ 2 callersFunctionisGovVaultSingle
(vault: VaultGov)
src/features/data/entities/vault.ts:285
↓ 2 callersFunctionisGovVaultType
(vaultType: VaultType)
src/features/data/apis/transact/vaults/IVaultType.ts:108
↓ 2 callersFunctionisIdleStatus
(status: ResolverStatus)
src/features/data/reducers/wallet/resolver-types.ts:32
↓ 2 callersFunctionisLoaderIdle
(state: LoaderState | undefined)
src/features/data/selectors/data-loader-helpers.ts:52
← previousnext →601–700 of 2,834, ranked by callers