MCPcopy Create free account

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

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

↓ 1 callersFunctiongetMiniAppDomain
()
vite.config.ts:11
↓ 1 callersFunctiongetMinterConfig
(chainId: ChainEntity['id'])
src/helpers/getConfig.ts:8
↓ 1 callersFunctiongetMinterTokensForChain
(chain: ChainEntity)
scripts/common/tokens.ts:128
↓ 1 callersFunctiongetMintersForChain
(chainId: string)
scripts/common/config.ts:218
↓ 1 callersFunctiongetModeBreakpoint
(opts: FromOrToProp)
src/hooks/useBreakpoint.ts:22
↓ 1 callersFunctiongetMostCommon
(arr: T[])
src/features/data/utils/array-utils.ts:92
↓ 1 callersFunctiongetNextSnapshot
()
src/features/vault/components/HistoricGraph/utils.ts:37
↓ 1 callersMethodgetNormalizedWeights
()
src/features/data/apis/amm/balancer/weighted/WeightedPool.ts:57
↓ 1 callersFunctiongetNotifications
( sliceState: DataLoaderState, walletAddress?: string )
src/features/data/reducers/data-loader-notifications.ts:149
↓ 1 callersMethodgetOffChainRewardCampaigns
()
src/features/data/apis/beefy/beefy-api.ts:183
↓ 1 callersFunctiongetOffChainStatusFromData
( promo: OffChainPromoEntity, data: OffchainRewardData[], now?: number )
src/features/data/reducers/promos.ts:280
↓ 1 callersMethodgetOnboardWalletInitializers
()
src/features/data/apis/wallet/wallet-connection.ts:513
↓ 1 callersMethodgetOptimalAddLiquidity
(inputs: TokenAmount[])
src/features/data/apis/amm/types.ts:72
↓ 1 callersMethodgetOptimalAddLiquidityAmounts
* @see UniswapV2Router02.sol#_addLiquidity
src/features/data/apis/amm/uniswap-v2/UniswapV2Pool.ts:416
↓ 1 callersMethodgetOptimalSwapAmount
(fullAmountIn: BigNumber, tokenIn: string)
src/features/data/apis/amm/types.ts:42
↓ 1 callersMethodgetOptimalSwapAmountStable
* @see BeefySolidlyZap.sol#_getStableSwap
src/features/data/apis/amm/solidly/SolidlyPool.ts:345
↓ 1 callersMethodgetOptimalSwapAmountVolatile
(fullAmountIn: BigNumber, tokenIn: string)
src/features/data/apis/amm/solidly/SolidlyPool.ts:377
↓ 1 callersMethodgetOptimismL1Fee
(estimateL1FeeParams: EstimateL1FeeParams)
src/features/data/apis/axelar/axelar-sdk.ts:198
↓ 1 callersFunctiongetOrCreateMinterChainState
(sliceState: Draft<MintersState>, chainId: ChainEntity['id'])
src/features/data/reducers/minters.ts:75
↓ 1 callersFunctiongetOrCreateMinterVaultState
(sliceState: Draft<MintersState>, vaultId: VaultEntity['id'])
src/features/data/reducers/minters.ts:83
↓ 1 callersFunctiongetOrCreateVaultFees
( sliceState: FeesState, vaultId: VaultEntity['id'], data: ApyVaultFeeData )
src/features/data/reducers/fees.ts:43
↓ 1 callersFunctiongetPayload
(props: TooltipContentProps<ChartStat>)
src/features/vault/components/HistoricGraph/TooltipContent/TooltipContent.tsx:36
↓ 1 callersFunctiongetPlatformSrc
(platformId: string)
src/helpers/platformsSrc.ts:10
↓ 1 callersMethodgetPoolContract
()
src/features/data/apis/amm/balancer/meta-stable/MetaStablePool.ts:78
↓ 1 callersMethodgetPoolContract
()
src/features/data/apis/amm/balancer/composable-stable/ComposableStablePool.ts:136
↓ 1 callersMethodgetPoolContract
()
src/features/data/apis/amm/balancer/weighted/WeightedPool.ts:63
↓ 1 callersFunctiongetPoolDate
()
scripts/getPoolCreationTimestamp.ts:136
↓ 1 callersFunctiongetPoolStatusFromContractState
( promo: PoolPromoEntity, contractState: GovVaultMultiContractData, now?: number )
src/features/data/reducers/promos.ts:299
↓ 1 callersFunctiongetPoolTokens
( pool: Pool, prices: TokenPrices, swaps: ZapSwaps, forceUpdate: boolean = false )
scripts/zaps/balancer.ts:475
↓ 1 callersFunctiongetPoolTokens
( pool: Pool, prices: TokenPrices, swaps: ZapSwaps, forceUpdate: boolean = false )
scripts/zaps/beraswap.ts:436
↓ 1 callersFunctiongetPrefetchedOrFreshGasPrice
(chain: ChainEntity)
src/features/data/actions/wallet/cross-chain.ts:79
↓ 1 callersMethodgetPriceChartData
( oracleId: TokenEntity['oracleId'], bucket: ApiTimeBucket )
src/features/data/apis/beefy/beefy-data-api-types.ts:83
↓ 1 callersMethodgetPriceHistoryForVaultSince
( chainId: ChainEntity['id'], vaultAddress: VaultEntity['contractAddress'], since: Date, perio
src/features/data/apis/clm/clm-api-types.ts:214
↓ 1 callersMethodgetPrices
()
src/features/data/apis/beefy/beefy-api.ts:33
↓ 1 callersFunctiongetRegistryAddress
(chainId: ChainId)
src/features/data/apis/name-services/resolvers/ens-common.ts:55
↓ 1 callersMethodgetRemainingSharesAvgEntryPpfs
()
src/helpers/pnl.ts:136
↓ 1 callersMethodgetRemainingSharesAvgEntryPrice
()
src/helpers/pnl.ts:123
↓ 1 callersMethodgetRemainingSharesAvgEntryPrice
()
src/helpers/pnl.ts:308
↓ 1 callersMethodgetRemoveLiquidityOneTokenZap
( liquidityIn: BigNumber, tokenOut: string, amountOutMin: BigNumber, from: string, insertB
src/features/data/apis/amm/balancer/types.ts:55
↓ 1 callersMethodgetRemoveLiquidityZap
( amountIn: BigNumber, minAmountsOut: BigNumber[], from: string, insertBalance: boolean )
src/features/data/apis/amm/balancer/types.ts:33
↓ 1 callersMethodgetRevenueStatsByPeriod
(revenueStatType: ApiRevenueStatType)
src/features/data/apis/beefy/beefy-data-api-types.ts:96
↓ 1 callersFunctiongetReverseDomain
(chainId: ChainId)
src/features/data/apis/name-services/resolvers/ens-common.ts:51
↓ 1 callersMethodgetReverts
()
src/components/Tenderly/Result/TenderlySimulateResponseProcessor.ts:16
↓ 1 callersFunctiongetRisksConfigErrors
(risks: Record<string, unknown>)
scripts/common/risks.ts:42
↓ 1 callersFunctiongetRunArgs
()
scripts/retireChain.ts:37
↓ 1 callersFunctiongetRunArgs
()
scripts/addBalancerZap.ts:43
↓ 1 callersFunctiongetRunArgs
()
scripts/addCurveZap.ts:42
↓ 1 callersFunctiongetRunArgs
()
scripts/setVaultStatus.ts:63
↓ 1 callersFunctiongetRunArgs
()
scripts/addBeraSwapZap.ts:45
↓ 1 callersFunctiongetRunArgs
()
scripts/setVaultRisks.ts:81
↓ 1 callersMethodgetSharesToUnderlying
()
src/helpers/graph/timeseries.ts:360
↓ 1 callersMethodgetSourceFrom
( contractAddress: string, code_length: number, code_start: number, file_index: number )
src/components/Tenderly/Result/StackEntry.ts:17
↓ 1 callersMethodgetSqrtRatioAtTick
* Calculates sqrt(1.0001^tick) * @param tick The input tick for the above formula
src/features/data/apis/amm/gamma/TickMath.ts:28
↓ 1 callersMethodgetSqrtRatioAtTickInt
* Calculates sqrt(1.0001^tick) * 2^96 * @param tick The input tick for the above formula * @return Q128.96-encoded value * @protected
src/features/data/apis/amm/gamma/TickMath.ts:50
↓ 1 callersMethodgetStableK
( reserves0: BigNumber, reserves1: BigNumber, decimals0: number, decimals1: number )
src/features/data/apis/amm/solidly/SolidlyPool.ts:538
↓ 1 callersFunctiongetStandardVault
( config: VaultConfig, chainId: ChainEntity['id'], clmBase: VaultCowcentratedBaseOnly | undefined )
src/features/data/actions/vaults.ts:90
↓ 1 callersFunctiongetStellaSwapUserState
(sliceState: Draft<UserRewardsState>, userAddress: string)
src/features/data/reducers/wallet/user-rewards.ts:58
↓ 1 callersFunctiongetStepChainId
(step: ZapQuoteStep)
src/features/vault/components/Actions/Transact/ZapRoute/ZapRoute.tsx:61
↓ 1 callersFunctiongetStrategyIds
()
scripts/common/strategies.ts:10
↓ 1 callersFunctiongetSuffix
(name: string, type: VaultEntity['type'])
src/features/data/utils/vault-utils.ts:22
↓ 1 callersMethodgetSupportedChains
(state: BeefyState)
src/features/data/apis/transact/swap/ISwapProvider.ts:57
↓ 1 callersMethodgetSupportedTokens
( vaultId: VaultEntity['id'] | undefined, chainId: ChainEntity['id'], state: BeefyState )
src/features/data/apis/transact/swap/ISwapProvider.ts:52
↓ 1 callersMethodgetSwap
(request: SwapRequest)
src/features/data/apis/one-inch/one-inch-types.ts:180
↓ 1 callersMethodgetSwapAmounts
(input: TokenAmount)
src/features/data/apis/transact/strategies/balancer/BalancerStrategy.ts:537
↓ 1 callersMethodgetSwapFeeParams
()
src/features/data/apis/amm/uniswap-v2/UniswapV2Pool.ts:354
↓ 1 callersMethodgetSwapFeeParams
()
src/features/data/apis/amm/solidly/SolidlyPool.ts:426
↓ 1 callersMethodgetSwapRatios
()
src/features/data/apis/amm/balancer/types.ts:24
↓ 1 callersFunctiongetTimeoutAbortSignal
(timeout: number)
src/helpers/http/helpers.ts:66
↓ 1 callersFunctiongetTimestamp
(vaultAddress: string, chain: AddressBookChainId)
scripts/getPoolCreationTimestamp.ts:115
↓ 1 callersMethodgetTimestamps
(exactTxTimestamps: number[], firstTxInRangeTimestamp: number)
src/helpers/graph/timeseries.ts:541
↓ 1 callersMethodgetTimestamps
(txTimestamps: number[])
src/helpers/graph/timeseries.ts:660
↓ 1 callersFunctiongetTokenByAddress
( address: TokenEntity['address'], chainId: ChainEntity['id'] )
scripts/common/tokens.ts:255
↓ 1 callersFunctiongetTokenIconUrl
( id: TokenEntity['id'], chainId: TokenEntity['chainId'], customUrl?: string )
src/features/data/actions/add-to-wallet.ts:18
↓ 1 callersMethodgetTokenRates
()
src/features/data/apis/amm/balancer/gyro/GyroPool.ts:212
↓ 1 callersFunctiongetTotalTvlByChainId
(state: BeefyState, byVaultId: VaultTvlById)
src/features/data/middlewares/tvl.ts:44
↓ 1 callersFunctiongetTransactProviderIcon
(provider: string)
src/helpers/transactProviderSrc.ts:11
↓ 1 callersMethodgetTreasury
()
src/features/data/apis/beefy/beefy-api.ts:140
↓ 1 callersMethodgetTvlChartData
(vaultId: VaultEntity['id'], bucket: ApiTimeBucket)
src/features/data/apis/beefy/beefy-data-api-types.ts:79
↓ 1 callersMethodgetTxStatusByTxHash
( srcNetworkId: ChainEntity['networkChainId'], txHash: string )
src/features/data/apis/cctp/cctp-api.ts:18
↓ 1 callersMethodgetUnderlyingToUsd
()
src/helpers/graph/timeseries.ts:435
↓ 1 callersFunctiongetUniqueTokensForOptions
(options: TransactOption[], _state: BeefyState)
src/features/data/actions/transact.ts:196
↓ 1 callersMethodgetUnrealizedPnl
(currentPrice: BigNumber, ppfs: BigNumber)
src/helpers/pnl.ts:89
↓ 1 callersFunctiongetUrlSearchParams
( params: GetUrlSearchParamsRecord, options?: FetchParamsOptions )
src/helpers/http/helpers.ts:20
↓ 1 callersFunctiongetUrlsForVault
( vault: VaultConfig, wnative: TokenEntity )
scripts/setVaultUrls.ts:258
↓ 1 callersFunctiongetUsdcDecimals
(chainId: AppChainId)
scripts/updateCctpBridgeFees.ts:26
↓ 1 callersFunctiongetV2VRelevantChainsFor
( state: BeefyState, vaultId: VaultEntity['id'] )
src/features/data/apis/transact/strategies/cross-chain/eligibility.ts:103
↓ 1 callersFunctiongetVault
(chainId: string, vaultId: string)
scripts/zaps/curve.ts:106
↓ 1 callersFunctiongetVault
(chainId: string, vaultId: string)
scripts/zaps/balancer.ts:153
↓ 1 callersFunctiongetVault
(chainId: string, vaultId: string)
scripts/zaps/beraswap.ts:118
↓ 1 callersMethodgetVaultLastHarvest
* For now we fetch lastHarvest from the api * TODO: fetch this from the contract directly
src/features/data/apis/beefy/beefy-api.ts:102
↓ 1 callersFunctiongetVaultNames
( configName: string, configType: VaultEntity['type'] | undefined )
src/features/data/utils/vault-utils.ts:27
↓ 1 callersMethodgetVaultPrices
( productType: 'vault' | 'boost', priceType: DatabarnPriceType, timeBucket: DatabarnTimeBucket,
src/features/data/apis/databarn/databarn-types.ts:46
↓ 1 callersFunctiongetVaultRelations
(sliceState: Draft<VaultsState>)
src/features/data/reducers/vaults.ts:262
↓ 1 callersFunctiongetVaultTokensForChain
(chain: ChainEntity)
scripts/common/tokens.ts:56
↓ 1 callersFunctiongetVaultTvlById
(state: BeefyState, contractData: FetchAllContractDataResult)
src/features/data/middlewares/tvl.ts:123
↓ 1 callersMethodgetVaultTypeFor
( vault: T, getState: BeefyStateFn )
src/features/data/apis/transact/transact.ts:433
↓ 1 callersFunctiongetVaultWithRelated
(vault: VaultConfig, allVaults: VaultConfig[])
scripts/setVaultRisks.ts:106
↓ 1 callersFunctiongetVaults
(chainId: string)
scripts/zaps/curve.ts:98
↓ 1 callersFunctiongetVaults
(chainId: string)
scripts/zaps/balancer.ts:145
↓ 1 callersFunctiongetVaults
(chainId: string)
scripts/zaps/beraswap.ts:110
← previousnext →1,301–1,400 of 2,834, ranked by callers