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
Function
clamp
(value: number, min: number, max: number)
src/helpers/number.ts:60
Function
component
(props: AlertVariantProps)
src/components/Alerts/Alerts.tsx:26
Method
componentDidCatch
(error: Error, errorInfo: ErrorInfo)
src/components/ErrorBoundary/ErrorBoundary.tsx:67
Function
compound
( rate: BigNumberish, principal: BigNumberish = BIG_ONE, periods: number = 365, times: number = 1 )
src/helpers/big-number.ts:21
Function
condition
({ mode }, { getState })
src/features/data/actions/transact.ts:182
Function
condition
({ walletAddress, reloadChainId }, { getState })
src/features/data/actions/user-rewards/merkl-user-rewards.ts:283
Function
condition
({ walletAddress, force }, { getState })
src/features/data/actions/user-rewards/stellaswap-user-rewards.ts:111
Function
constructor
( unsortedPoints: TimeValuePoint<TValue>[], protected interpolator: Interpolator<TValue> )
src/helpers/graph/timeseries.ts:261
Function
constructor
( protected readonly chain: ChainEntity, protected readonly vaultConfig: VaultConfig, protected re
src/features/data/apis/amm/balancer/common/CommonPool.ts:14
Function
constructor
( readonly chain: ChainEntity, readonly vaultConfig: VaultConfig, readonly config: PoolConfig )
src/features/data/apis/amm/balancer/common/SingleAllPool.ts:20
Function
constructor
( readonly chain: ChainEntity, readonly vaultConfig: VaultConfig, readonly config: PoolConfig )
src/features/data/apis/amm/balancer/common/AllPool.ts:27
Function
constructor
( protected options: TOptions, protected helpers: ZapTransactHelpers )
src/features/data/apis/transact/strategies/UniswapLikeStrategy.ts:123
Method
constructor
(protected response: TenderlySimulateResponse)
src/components/Tenderly/Result/TenderlySimulateResponseProcessor.ts:12
Method
constructor
( public readonly id: string, protected trace: TenderlyCallTrace, protected contracts: Record<stri
src/components/Tenderly/Result/StackEntry.ts:7
Method
constructor
(props: ErrorBoundaryProps)
src/components/ErrorBoundary/ErrorBoundary.tsx:33
Method
constructor
()
src/helpers/pnl.ts:30
Method
constructor
()
src/helpers/pnl.ts:191
Method
constructor
(private period: number)
src/helpers/number.ts:26
Method
constructor
(protected math: INumberMath<TValue>)
src/helpers/math.ts:69
Method
constructor
( message: string, public readonly cause?: Error )
src/helpers/http/errors.ts:2
Method
constructor
( public readonly response: Response, message?: string, cause?: Error )
src/helpers/http/errors.ts:12
Method
constructor
(response: Response, cause?: Error)
src/helpers/http/errors.ts:23
Method
constructor
(response: Response, cause?: Error)
src/helpers/http/errors.ts:30
Method
constructor
(response: Response, cause?: Error)
src/helpers/http/errors.ts:37
Method
constructor
(response: Response, cause?: Error)
src/helpers/http/errors.ts:48
Method
constructor
(cause: Error)
src/helpers/http/errors.ts:55
Method
constructor
(cause: Error)
src/helpers/http/errors.ts:62
Method
constructor
( unsortedPoints: TimeValuePoint<TValue>[], protected defaultValue: TValue )
src/helpers/graph/timeseries.ts:217
Method
constructor
(points: TimeValuePoint<BigNumber>[])
src/helpers/graph/timeseries.ts:318
Method
constructor
( protected timeline: Array<TimelineEntryCowcentratedPool | TimelineEntryCowcentratedVault>, protected
src/helpers/graph/timeseries.ts:330
Method
constructor
( protected timeline: ClmUserHarvestsTimelineHarvest[], protected tokens: TokenEntity[], firstDate
src/helpers/graph/timeseries.ts:631
Method
constructor
( message: string, protected innerError: Error )
src/features/data/utils/error-utils.ts:2
Method
constructor
(protected readonly chain: ChainEntity)
src/features/data/apis/gas-prices/gas-prices.ts:68
Method
constructor
(protected readonly chain: ChainEntity)
src/features/data/apis/gas-prices/gas-prices.ts:99
Method
constructor
(protected readonly chain: ChainEntity)
src/features/data/apis/gas-prices/gas-prices.ts:181
Method
constructor
(protected chain: ChainEntity)
src/features/data/apis/liquid-swap/liquid-swap.ts:19
Method
constructor
(protected chain: ChainEntity)
src/features/data/apis/kyber/kyber.ts:35
Method
constructor
( protected address: string, protected amm: AmmEntityUniswapV2, protected chain: ChainEntity )
src/features/data/apis/amm/uniswap-v2/UniswapV2Pool.ts:79
Method
constructor
( protected address: string, protected amm: AmmEntitySolidly, protected chain: ChainEntity )
src/features/data/apis/amm/solidly/SolidlyPool.ts:86
Method
constructor
( protected readonly chain: ChainEntity, protected readonly config: VaultConfig )
src/features/data/apis/amm/balancer/vault/Vault.ts:46
Method
constructor
( readonly chain: ChainEntity, readonly vaultConfig: VaultConfig, readonly config: PoolConfig )
src/features/data/apis/amm/balancer/gyro/GyroPool.ts:32
Method
constructor
( readonly chain: ChainEntity, readonly vaultConfig: VaultConfig, readonly config: PoolConfig )
src/features/data/apis/amm/balancer/meta-stable/MetaStablePool.ts:24
Method
constructor
( readonly chain: ChainEntity, readonly vaultConfig: VaultConfig, readonly config: PoolConfig )
src/features/data/apis/amm/balancer/composable-stable/ComposableStablePool.ts:41
Method
constructor
()
src/features/data/apis/amm/balancer/common/FixedPoint.ts:7
Method
constructor
()
src/features/data/apis/amm/balancer/common/JoinExitEncoder.ts:19
Method
constructor
()
src/features/data/apis/amm/balancer/weighted/WeightedMath.ts:5
Method
constructor
( readonly chain: ChainEntity, readonly vaultConfig: VaultConfig, readonly config: PoolConfig )
src/features/data/apis/amm/balancer/weighted/WeightedPool.ts:23
Method
constructor
( protected address: string, protected amm: AmmConfigGamma, protected chain: ChainEntity )
src/features/data/apis/amm/gamma/GammaPool.ts:30
Method
constructor
(protected chain: T)
src/features/data/apis/allowance/allowance.ts:19
Method
constructor
( protected address: string, protected strategy: string, protected chain: ChainEntity, protect
src/features/data/apis/beefy/beefy-clm-pool.ts:21
Method
constructor
()
src/features/data/apis/beefy/beefy-data-api.ts:21
Method
constructor
()
src/features/data/apis/beefy/beefy-api.ts:26
Method
constructor
(protected chain: T)
src/features/data/apis/balance/balance.ts:47
Method
constructor
()
src/features/data/apis/rewards/stellaswap/stellaswap-api.ts:14
Method
constructor
()
src/features/data/apis/rewards/merkl/merkl-api.ts:16
Method
constructor
()
src/features/data/apis/databarn/databarn-api.ts:17
Method
constructor
(protected options: WalletConnectionOptions)
src/features/data/apis/wallet/wallet-connection.ts:58
Method
constructor
(private config: TenderlyCredentials)
src/features/data/apis/tenderly/tenderly-api.ts:18
Method
constructor
(message: string, cause?: FetchResponseError)
src/features/data/apis/tenderly/errors.ts:4
Method
constructor
(cause: FetchResponseError, message?: string)
src/features/data/apis/tenderly/errors.ts:11
Method
constructor
(cause: FetchResponseError, message?: string)
src/features/data/apis/tenderly/errors.ts:21
Method
constructor
(cause: FetchResponseError, message?: string)
src/features/data/apis/tenderly/errors.ts:28
Method
constructor
(cause: FetchResponseError, message?: string)
src/features/data/apis/tenderly/errors.ts:35
Method
constructor
(message: string = 'The response format was invalid.')
src/features/data/apis/tenderly/errors.ts:42
Method
constructor
(protected chain: ChainEntity)
src/features/data/apis/minter/minter.ts:10
Method
constructor
()
src/features/data/apis/cctp/cctp-api.ts:13
Method
constructor
(protected chain: T)
src/features/data/apis/contract-data/contract-data.ts:47
Method
constructor
(protected destinationChain: ChainEntity)
src/features/data/apis/axelar/axelar-sdk.ts:25
Method
constructor
(protected providers: ISwapProvider[])
src/features/data/apis/transact/swap/SwapAggregator.ts:25
Method
constructor
(message: string)
src/features/data/apis/transact/strategies/error.ts:11
Method
constructor
(inputs: TokenAmount[])
src/features/data/apis/transact/strategies/error.ts:29
Method
constructor
(public readonly action: 'deposit' | 'withdraw')
src/features/data/apis/transact/strategies/error.ts:59
Method
constructor
( protected inner: IComposableStrategy<TId>, protected helpers: ZapTransactHelpers )
src/features/data/apis/transact/strategies/ChargeFeeStrategy.ts:39
Method
constructor
( protected options: RewardPoolToVaultStrategyConfig, protected helpers: ZapTransactHelpers )
src/features/data/apis/transact/strategies/RewardPoolToVaultStrategy.ts:104
Method
constructor
(protected readonly vaultType: T)
src/features/data/apis/transact/strategies/vault/VaultStrategy.ts:24
Method
constructor
( protected options: VaultComposerStrategyConfig, protected helpers: ZapTransactHelpers, underlyin
src/features/data/apis/transact/strategies/vault/VaultComposerStrategy.ts:75
Method
constructor
( protected options: VaultToVaultSingleTokenStrategyConfig, protected helpers: ZapTransactHelpers )
src/features/data/apis/transact/strategies/vault-to-vault/VaultToVaultSingleTokenStrategy.ts:82
Method
constructor
( protected options: ConicStrategyConfig, protected helpers: ZapTransactHelpers )
src/features/data/apis/transact/strategies/conic/ConicStrategy.ts:88
Method
constructor
( protected options: BalancerStrategyConfig, protected helpers: ZapTransactHelpers )
src/features/data/apis/transact/strategies/balancer/BalancerStrategy.ts:135
Method
constructor
( protected options: CurveStrategyConfig, protected helpers: ZapTransactHelpers )
src/features/data/apis/transact/strategies/curve/CurveStrategy.ts:133
Method
constructor
( protected readonly option: CurveTokenOption, protected readonly poolAddress: string, protected r
src/features/data/apis/transact/strategies/curve/CurvePool.ts:13
Method
constructor
( protected options: GovComposerStrategyConfig, protected helpers: ZapTransactHelpers, underlyings
src/features/data/apis/transact/strategies/gov/GovComposerStrategy.ts:95
Method
constructor
( protected options: GammaStrategyConfig, protected helpers: ZapTransactHelpers )
src/features/data/apis/transact/strategies/gamma/GammaStrategy.ts:116
Method
constructor
( protected options: SingleStrategyConfig, protected helpers: ZapTransactHelpers )
src/features/data/apis/transact/strategies/single/SingleStrategy.ts:105
Method
constructor
( protected options: CrossChainStrategyConfig, protected helpers: ZapTransactHelpers )
src/features/data/apis/transact/strategies/cross-chain/CrossChainStrategy.ts:117
Method
constructor
(private readonly swapConfig: StrategySwapConfig | undefined)
src/features/data/apis/transact/strategies/cross-chain/handlers/SwapSourceHandler.ts:37
Method
constructor
( private readonly desiredOutput: TokenEntity, private readonly swapConfig: StrategySwapConfig | undef
src/features/data/apis/transact/strategies/cross-chain/handlers/SwapDestHandler.ts:28
Method
constructor
( protected options: CowcentratedDualStrategyConfig, protected helpers: ZapTransactHelpers )
src/features/data/apis/transact/strategies/cowcentrated/CowcentratedDualStrategy.ts:94
Method
constructor
( protected options: CowcentratedStrategyConfig, protected helpers: ZapTransactHelpers )
src/features/data/apis/transact/strategies/cowcentrated/CowcentratedStrategy.ts:98
Method
constructor
(vault: VaultErc4626, getState: BeefyStateFn)
src/features/data/apis/transact/vaults/Erc4626VaultType.ts:62
Method
constructor
(vault: VaultStandard, getState: BeefyStateFn)
src/features/data/apis/transact/vaults/StandardVaultType.ts:70
Method
constructor
(vault: VaultGov, getState: BeefyStateFn)
src/features/data/apis/transact/vaults/GovVaultType.ts:48
Method
constructor
(vault: VaultCowcentrated, getState: BeefyStateFn)
src/features/data/apis/transact/vaults/CowcentratedVaultType.ts:65
Method
constructor
(starting: TokenAmount[])
src/features/data/apis/transact/helpers/Balances.ts:9
Method
constructor
(private readonly destVaultId: VaultEntity['id'])
src/features/data/apis/transact/handlers/vault/VaultDestHandler.ts:26
Method
constructor
(private readonly srcVaultId: VaultEntity['id'])
src/features/data/apis/transact/handlers/vault/VaultSourceHandler.ts:40
Method
constructor
()
src/features/data/apis/clm/clm-api.ts:59
Method
constructor
(protected chain: ChainEntity)
src/features/data/apis/one-inch/one-inch.ts:33
Method
constructor
( public readonly pool: BalancerApiPool<string, string>, message: string )
scripts/zaps/balancer.ts:367
Method
constructor
( public readonly pool: BeraSwapApiPool<string, string>, message: string )
scripts/zaps/beraswap.ts:332
← previous
next →
2,001–2,100 of 2,834, ranked by callers