Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/beefyfinance/beefy-v2
/ functions
Functions
2,834 in github.com/beefyfinance/beefy-v2
⨍
Functions
2,834
◇
Types & classes
568
↓ 1 callers
Function
getMiniAppDomain
()
vite.config.ts:11
↓ 1 callers
Function
getMinterConfig
(chainId: ChainEntity['id'])
src/helpers/getConfig.ts:8
↓ 1 callers
Function
getMinterTokensForChain
(chain: ChainEntity)
scripts/common/tokens.ts:128
↓ 1 callers
Function
getMintersForChain
(chainId: string)
scripts/common/config.ts:218
↓ 1 callers
Function
getModeBreakpoint
(opts: FromOrToProp)
src/hooks/useBreakpoint.ts:22
↓ 1 callers
Function
getMostCommon
(arr: T[])
src/features/data/utils/array-utils.ts:92
↓ 1 callers
Function
getNextSnapshot
()
src/features/vault/components/HistoricGraph/utils.ts:37
↓ 1 callers
Method
getNormalizedWeights
()
src/features/data/apis/amm/balancer/weighted/WeightedPool.ts:57
↓ 1 callers
Function
getNotifications
( sliceState: DataLoaderState, walletAddress?: string )
src/features/data/reducers/data-loader-notifications.ts:149
↓ 1 callers
Method
getOffChainRewardCampaigns
()
src/features/data/apis/beefy/beefy-api.ts:183
↓ 1 callers
Function
getOffChainStatusFromData
( promo: OffChainPromoEntity, data: OffchainRewardData[], now?: number )
src/features/data/reducers/promos.ts:280
↓ 1 callers
Method
getOnboardWalletInitializers
()
src/features/data/apis/wallet/wallet-connection.ts:513
↓ 1 callers
Method
getOptimalAddLiquidity
(inputs: TokenAmount[])
src/features/data/apis/amm/types.ts:72
↓ 1 callers
Method
getOptimalAddLiquidityAmounts
* @see UniswapV2Router02.sol#_addLiquidity
src/features/data/apis/amm/uniswap-v2/UniswapV2Pool.ts:416
↓ 1 callers
Method
getOptimalSwapAmount
(fullAmountIn: BigNumber, tokenIn: string)
src/features/data/apis/amm/types.ts:42
↓ 1 callers
Method
getOptimalSwapAmountStable
* @see BeefySolidlyZap.sol#_getStableSwap
src/features/data/apis/amm/solidly/SolidlyPool.ts:345
↓ 1 callers
Method
getOptimalSwapAmountVolatile
(fullAmountIn: BigNumber, tokenIn: string)
src/features/data/apis/amm/solidly/SolidlyPool.ts:377
↓ 1 callers
Method
getOptimismL1Fee
(estimateL1FeeParams: EstimateL1FeeParams)
src/features/data/apis/axelar/axelar-sdk.ts:198
↓ 1 callers
Function
getOrCreateMinterChainState
(sliceState: Draft<MintersState>, chainId: ChainEntity['id'])
src/features/data/reducers/minters.ts:75
↓ 1 callers
Function
getOrCreateMinterVaultState
(sliceState: Draft<MintersState>, vaultId: VaultEntity['id'])
src/features/data/reducers/minters.ts:83
↓ 1 callers
Function
getOrCreateVaultFees
( sliceState: FeesState, vaultId: VaultEntity['id'], data: ApyVaultFeeData )
src/features/data/reducers/fees.ts:43
↓ 1 callers
Function
getPayload
(props: TooltipContentProps<ChartStat>)
src/features/vault/components/HistoricGraph/TooltipContent/TooltipContent.tsx:36
↓ 1 callers
Function
getPlatformSrc
(platformId: string)
src/helpers/platformsSrc.ts:10
↓ 1 callers
Method
getPoolContract
()
src/features/data/apis/amm/balancer/meta-stable/MetaStablePool.ts:78
↓ 1 callers
Method
getPoolContract
()
src/features/data/apis/amm/balancer/composable-stable/ComposableStablePool.ts:136
↓ 1 callers
Method
getPoolContract
()
src/features/data/apis/amm/balancer/weighted/WeightedPool.ts:63
↓ 1 callers
Function
getPoolDate
()
scripts/getPoolCreationTimestamp.ts:136
↓ 1 callers
Function
getPoolStatusFromContractState
( promo: PoolPromoEntity, contractState: GovVaultMultiContractData, now?: number )
src/features/data/reducers/promos.ts:299
↓ 1 callers
Function
getPoolTokens
( pool: Pool, prices: TokenPrices, swaps: ZapSwaps, forceUpdate: boolean = false )
scripts/zaps/balancer.ts:475
↓ 1 callers
Function
getPoolTokens
( pool: Pool, prices: TokenPrices, swaps: ZapSwaps, forceUpdate: boolean = false )
scripts/zaps/beraswap.ts:436
↓ 1 callers
Function
getPrefetchedOrFreshGasPrice
(chain: ChainEntity)
src/features/data/actions/wallet/cross-chain.ts:79
↓ 1 callers
Method
getPriceChartData
( oracleId: TokenEntity['oracleId'], bucket: ApiTimeBucket )
src/features/data/apis/beefy/beefy-data-api-types.ts:83
↓ 1 callers
Method
getPriceHistoryForVaultSince
( chainId: ChainEntity['id'], vaultAddress: VaultEntity['contractAddress'], since: Date, perio
src/features/data/apis/clm/clm-api-types.ts:214
↓ 1 callers
Method
getPrices
()
src/features/data/apis/beefy/beefy-api.ts:33
↓ 1 callers
Function
getRegistryAddress
(chainId: ChainId)
src/features/data/apis/name-services/resolvers/ens-common.ts:55
↓ 1 callers
Method
getRemainingSharesAvgEntryPpfs
()
src/helpers/pnl.ts:136
↓ 1 callers
Method
getRemainingSharesAvgEntryPrice
()
src/helpers/pnl.ts:123
↓ 1 callers
Method
getRemainingSharesAvgEntryPrice
()
src/helpers/pnl.ts:308
↓ 1 callers
Method
getRemoveLiquidityOneTokenZap
( liquidityIn: BigNumber, tokenOut: string, amountOutMin: BigNumber, from: string, insertB
src/features/data/apis/amm/balancer/types.ts:55
↓ 1 callers
Method
getRemoveLiquidityZap
( amountIn: BigNumber, minAmountsOut: BigNumber[], from: string, insertBalance: boolean )
src/features/data/apis/amm/balancer/types.ts:33
↓ 1 callers
Method
getRevenueStatsByPeriod
(revenueStatType: ApiRevenueStatType)
src/features/data/apis/beefy/beefy-data-api-types.ts:96
↓ 1 callers
Function
getReverseDomain
(chainId: ChainId)
src/features/data/apis/name-services/resolvers/ens-common.ts:51
↓ 1 callers
Method
getReverts
()
src/components/Tenderly/Result/TenderlySimulateResponseProcessor.ts:16
↓ 1 callers
Function
getRisksConfigErrors
(risks: Record<string, unknown>)
scripts/common/risks.ts:42
↓ 1 callers
Function
getRunArgs
()
scripts/retireChain.ts:37
↓ 1 callers
Function
getRunArgs
()
scripts/addBalancerZap.ts:43
↓ 1 callers
Function
getRunArgs
()
scripts/addCurveZap.ts:42
↓ 1 callers
Function
getRunArgs
()
scripts/setVaultStatus.ts:63
↓ 1 callers
Function
getRunArgs
()
scripts/addBeraSwapZap.ts:45
↓ 1 callers
Function
getRunArgs
()
scripts/setVaultRisks.ts:81
↓ 1 callers
Method
getSharesToUnderlying
()
src/helpers/graph/timeseries.ts:360
↓ 1 callers
Method
getSourceFrom
( contractAddress: string, code_length: number, code_start: number, file_index: number )
src/components/Tenderly/Result/StackEntry.ts:17
↓ 1 callers
Method
getSqrtRatioAtTick
* Calculates sqrt(1.0001^tick) * @param tick The input tick for the above formula
src/features/data/apis/amm/gamma/TickMath.ts:28
↓ 1 callers
Method
getSqrtRatioAtTickInt
* 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 callers
Method
getStableK
( reserves0: BigNumber, reserves1: BigNumber, decimals0: number, decimals1: number )
src/features/data/apis/amm/solidly/SolidlyPool.ts:538
↓ 1 callers
Function
getStandardVault
( config: VaultConfig, chainId: ChainEntity['id'], clmBase: VaultCowcentratedBaseOnly | undefined )
src/features/data/actions/vaults.ts:90
↓ 1 callers
Function
getStellaSwapUserState
(sliceState: Draft<UserRewardsState>, userAddress: string)
src/features/data/reducers/wallet/user-rewards.ts:58
↓ 1 callers
Function
getStepChainId
(step: ZapQuoteStep)
src/features/vault/components/Actions/Transact/ZapRoute/ZapRoute.tsx:61
↓ 1 callers
Function
getStrategyIds
()
scripts/common/strategies.ts:10
↓ 1 callers
Function
getSuffix
(name: string, type: VaultEntity['type'])
src/features/data/utils/vault-utils.ts:22
↓ 1 callers
Method
getSupportedChains
(state: BeefyState)
src/features/data/apis/transact/swap/ISwapProvider.ts:57
↓ 1 callers
Method
getSupportedTokens
( vaultId: VaultEntity['id'] | undefined, chainId: ChainEntity['id'], state: BeefyState )
src/features/data/apis/transact/swap/ISwapProvider.ts:52
↓ 1 callers
Method
getSwap
(request: SwapRequest)
src/features/data/apis/one-inch/one-inch-types.ts:180
↓ 1 callers
Method
getSwapAmounts
(input: TokenAmount)
src/features/data/apis/transact/strategies/balancer/BalancerStrategy.ts:537
↓ 1 callers
Method
getSwapFeeParams
()
src/features/data/apis/amm/uniswap-v2/UniswapV2Pool.ts:354
↓ 1 callers
Method
getSwapFeeParams
()
src/features/data/apis/amm/solidly/SolidlyPool.ts:426
↓ 1 callers
Method
getSwapRatios
()
src/features/data/apis/amm/balancer/types.ts:24
↓ 1 callers
Function
getTimeoutAbortSignal
(timeout: number)
src/helpers/http/helpers.ts:66
↓ 1 callers
Function
getTimestamp
(vaultAddress: string, chain: AddressBookChainId)
scripts/getPoolCreationTimestamp.ts:115
↓ 1 callers
Method
getTimestamps
(exactTxTimestamps: number[], firstTxInRangeTimestamp: number)
src/helpers/graph/timeseries.ts:541
↓ 1 callers
Method
getTimestamps
(txTimestamps: number[])
src/helpers/graph/timeseries.ts:660
↓ 1 callers
Function
getTokenByAddress
( address: TokenEntity['address'], chainId: ChainEntity['id'] )
scripts/common/tokens.ts:255
↓ 1 callers
Function
getTokenIconUrl
( id: TokenEntity['id'], chainId: TokenEntity['chainId'], customUrl?: string )
src/features/data/actions/add-to-wallet.ts:18
↓ 1 callers
Method
getTokenRates
()
src/features/data/apis/amm/balancer/gyro/GyroPool.ts:212
↓ 1 callers
Function
getTotalTvlByChainId
(state: BeefyState, byVaultId: VaultTvlById)
src/features/data/middlewares/tvl.ts:44
↓ 1 callers
Function
getTransactProviderIcon
(provider: string)
src/helpers/transactProviderSrc.ts:11
↓ 1 callers
Method
getTreasury
()
src/features/data/apis/beefy/beefy-api.ts:140
↓ 1 callers
Method
getTvlChartData
(vaultId: VaultEntity['id'], bucket: ApiTimeBucket)
src/features/data/apis/beefy/beefy-data-api-types.ts:79
↓ 1 callers
Method
getTxStatusByTxHash
( srcNetworkId: ChainEntity['networkChainId'], txHash: string )
src/features/data/apis/cctp/cctp-api.ts:18
↓ 1 callers
Method
getUnderlyingToUsd
()
src/helpers/graph/timeseries.ts:435
↓ 1 callers
Function
getUniqueTokensForOptions
(options: TransactOption[], _state: BeefyState)
src/features/data/actions/transact.ts:196
↓ 1 callers
Method
getUnrealizedPnl
(currentPrice: BigNumber, ppfs: BigNumber)
src/helpers/pnl.ts:89
↓ 1 callers
Function
getUrlSearchParams
( params: GetUrlSearchParamsRecord, options?: FetchParamsOptions )
src/helpers/http/helpers.ts:20
↓ 1 callers
Function
getUrlsForVault
( vault: VaultConfig, wnative: TokenEntity )
scripts/setVaultUrls.ts:258
↓ 1 callers
Function
getUsdcDecimals
(chainId: AppChainId)
scripts/updateCctpBridgeFees.ts:26
↓ 1 callers
Function
getV2VRelevantChainsFor
( state: BeefyState, vaultId: VaultEntity['id'] )
src/features/data/apis/transact/strategies/cross-chain/eligibility.ts:103
↓ 1 callers
Function
getVault
(chainId: string, vaultId: string)
scripts/zaps/curve.ts:106
↓ 1 callers
Function
getVault
(chainId: string, vaultId: string)
scripts/zaps/balancer.ts:153
↓ 1 callers
Function
getVault
(chainId: string, vaultId: string)
scripts/zaps/beraswap.ts:118
↓ 1 callers
Method
getVaultLastHarvest
* 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 callers
Function
getVaultNames
( configName: string, configType: VaultEntity['type'] | undefined )
src/features/data/utils/vault-utils.ts:27
↓ 1 callers
Method
getVaultPrices
( productType: 'vault' | 'boost', priceType: DatabarnPriceType, timeBucket: DatabarnTimeBucket,
src/features/data/apis/databarn/databarn-types.ts:46
↓ 1 callers
Function
getVaultRelations
(sliceState: Draft<VaultsState>)
src/features/data/reducers/vaults.ts:262
↓ 1 callers
Function
getVaultTokensForChain
(chain: ChainEntity)
scripts/common/tokens.ts:56
↓ 1 callers
Function
getVaultTvlById
(state: BeefyState, contractData: FetchAllContractDataResult)
src/features/data/middlewares/tvl.ts:123
↓ 1 callers
Method
getVaultTypeFor
( vault: T, getState: BeefyStateFn )
src/features/data/apis/transact/transact.ts:433
↓ 1 callers
Function
getVaultWithRelated
(vault: VaultConfig, allVaults: VaultConfig[])
scripts/setVaultRisks.ts:106
↓ 1 callers
Function
getVaults
(chainId: string)
scripts/zaps/curve.ts:98
↓ 1 callers
Function
getVaults
(chainId: string)
scripts/zaps/balancer.ts:145
↓ 1 callers
Function
getVaults
(chainId: string)
scripts/zaps/beraswap.ts:110
← previous
next →
1,301–1,400 of 2,834, ranked by callers