MCPcopy Create free account

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

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

↓ 1 callersFunctionisValidErc4626SubType
(subType: string | undefined)
src/features/data/actions/vaults.ts:271
↓ 1 callersFunctionisValidNumberInputString
(value: string)
src/features/vault/components/Actions/Transact/AmountInput/AmountInput.tsx:20
↓ 1 callersFunctionisValidNumberInputString
(value: string)
src/features/vault/components/Actions/Transact/ZapSlippage/ZapSlippage.tsx:38
↓ 1 callersFunctionisValidRisksConfig
(risks: Record<string, unknown>)
scripts/common/risks.ts:29
↓ 1 callersFunctionisValidZapFeeRule
(rule: ZapFeeRule)
src/features/data/apis/transact/helpers/fee-rules.ts:52
↓ 1 callersFunctionisVaultDestState
(state: DestState)
src/features/data/apis/transact/handlers/types.ts:53
↓ 1 callersFunctionisVaultHoldingConfig
(token: TreasuryHoldingConfig)
src/features/data/apis/config-types.ts:458
↓ 1 callersFunctionisVaultOwnerCorrect
( pool: VaultConfigWithStrategyData, chain: AddressBookChainId, owner: string, updates: Updates )
scripts/validatePools.ts:716
↓ 1 callersFunctionisVaultPausedOrRetired
(vault: VaultEntity)
src/features/data/entities/vault.ts:367
↓ 1 callersFunctionisVaultSourceSelection
(state: BeefyState, selectionId: string)
src/features/data/selectors/balance.ts:993
↓ 1 callersFunctionisVaultToVaultSingleTokenDepositQuote
( quote: TransactQuote )
src/features/data/apis/transact/transact-types.ts:1056
↓ 1 callersFunctionisVaultToVaultSingleTokenOption
( option: TransactOption )
src/features/data/apis/transact/transact-types.ts:552
↓ 1 callersFunctionisVaultToVaultSingleTokenWithdrawOption
( option: TransactOption )
src/features/data/apis/transact/transact-types.ts:544
↓ 1 callersFunctionisVaultUnderlyingCowcentratedDepositQuote
( quote: TransactQuote )
src/features/data/apis/transact/transact-types.ts:1199
↓ 1 callersFunctionisVaultUnderlyingCowcentratedWithdrawQuote
( quote: TransactQuote )
src/features/data/apis/transact/transact-types.ts:1221
↓ 1 callersFunctionisVaultWithdrawQuote
(quote: TransactQuote)
src/features/data/apis/transact/transact-types.ts:1180
↓ 1 callersFunctionisWalletActionBridgeSuccess
( state: WalletActionsState )
src/features/data/actions/wallet/wallet-action.ts:36
↓ 1 callersFunctionisZapFeeDiscounted
( zapFee: ZapFee )
src/features/data/apis/transact/transact-types.ts:58
↓ 1 callersFunctionisZapQuoteStepSwapPool
(step: ZapQuoteStepSwap)
src/features/data/apis/transact/transact-types.ts:727
↓ 1 callersFunctionlastIndexOfAny
* Like `string.lastIndexOf` but for any of the needles * @param haystack * @param needles
src/helpers/string.ts:40
↓ 1 callersFunctionlimitIds
(ids: string[], limit: number | undefined, periodSeconds: number = 21600)
src/features/data/actions/promos.ts:212
↓ 1 callersFunctionlistenForChanges
()
src/features/data/middlewares/filtered-vaults.ts:111
↓ 1 callersMethodlistenForEip6963Wallets
()
src/features/data/apis/wallet/wallet-connection.ts:462
↓ 1 callersFunctionloadCurvePool
(cachePath: string)
scripts/zaps/curve.ts:260
↓ 1 callersFunctionloadJson
( path: string, reviver?: JsonReviver )
scripts/common/files.ts:67
↓ 1 callersFunctionloadJsonSupportingBigInt
(path: string)
scripts/common/files.ts:113
↓ 1 callersFunctionloadPlatforms
()
scripts/updatePlatforms.ts:18
↓ 1 callersFunctionloadString
(path: string)
scripts/common/files.ts:63
↓ 1 callersFunctionlogRiskChanges
(before: VaultRisksConfig, after: VaultRisksConfig)
scripts/setVaultRisks.ts:210
↓ 1 callersFunctionmain
()
scripts/updateCctpBridgeFees.ts:57
↓ 1 callersFunctionmain
()
scripts/retireChain.ts:131
↓ 1 callersFunctionmain
()
scripts/setVaultStatus.ts:209
↓ 1 callersFunctionmain
()
scripts/setVaultRisks.ts:356
↓ 1 callersFunctionmainToZap
(pool: CurveApiPoolWithChain)
scripts/zaps/curve.ts:741
↓ 1 callersFunctionmakeAmounts
(amount: string, index: number, numCoins: number)
scripts/zaps/curve.ts:524
↓ 1 callersFunctionmakeDateTimeTickFormatter
(timeBucket: GraphBucket)
src/helpers/graph/graph.ts:47
↓ 1 callersFunctionmakeDynamicDeposit
(target: string, coins: string[])
scripts/zaps/curve.ts:505
↓ 1 callersFunctionmakeFixedDepositInt128
(target: string, coins: string[])
scripts/zaps/curve.ts:499
↓ 1 callersFunctionmakeFixedDepositUint256
(target: string, coins: string[])
scripts/zaps/curve.ts:501
↓ 1 callersFunctionmakeFixedDepositUnderlying
(target: string, coins: string[])
scripts/zaps/curve.ts:503
↓ 1 callersFunctionmakeHttpHelper
(baseUrl: string)
src/helpers/http/http.ts:82
↓ 1 callersFunctionmakePRNG
(seed: number)
src/features/data/actions/promos.ts:199
↓ 1 callersFunctionmakePoolDynamicDeposit
(target: string, coins: string[])
scripts/zaps/curve.ts:511
↓ 1 callersFunctionmakePoolFixed
(target: string, coins: string[])
scripts/zaps/curve.ts:507
↓ 1 callersFunctionmakeTransaction
()
src/features/data/actions/wallet/offchain.ts:148
↓ 1 callersFunctionmanualPoll
()
src/features/data/actions/scenarios.ts:241
↓ 1 callersFunctionmapBalances
( state: BeefyState, balances: { [address: string]: TreasuryHoldingConfig; }, chainId: ChainEntity
src/features/data/actions/treasury.ts:45
↓ 1 callersFunctionmapValuesAsync
( obj: TObj, fn: (value: TObj[keyof TObj], key: keyof TObj) => Promise<TNew>, skipUndefined = false )
scripts/common/utils.ts:46
↓ 1 callersFunctionmatchFeaturedVaultCampaign
( rules: ZapFeeRule[], feeConfig: { recipient: string; bps: number }, vault: VaultEntity, nowSeconds:
src/features/data/apis/transact/helpers/fee-rules.ts:165
↓ 1 callersFunctionmaybeAddCowcentratedDualZap
(zaps: VaultBase['zaps'])
src/features/data/actions/vaults.ts:231
↓ 1 callersFunctionmaybeAddress
(address: string)
scripts/addCLM.ts:127
↓ 1 callersFunctionmergeAndPartitionTimelines
( ...entriesById: Array<Record<VaultEntity['id'], AnyTimelineEntry[]>> )
src/features/data/actions/analytics.ts:172
↓ 1 callersMethodmergeAndSortTokens
(tokens: TokenEntity[][], state: BeefyState)
src/features/data/apis/transact/swap/SwapAggregator.ts:128
↓ 1 callersFunctionmergeTokenLists
(...lists: TokenEntity[][])
src/features/data/apis/transact/helpers/tokens.ts:95
↓ 1 callersFunctionmigrateUnstake
( unstakeCall: (args: MigratorUnstakeProps) => Promise<Hash>, vault: VaultEntity, amount: BigNumber, m
src/features/data/actions/wallet/migrate.ts:18
↓ 1 callersFunctionmintDeposit
( minter: MinterEntity, payToken: TokenEntity, mintedToken: TokenEntity, amount: BigNumber, max: boo
src/features/data/actions/wallet/minters.ts:25
↓ 1 callersFunctionmodifyApyMerklBoostCampaigns
mutates the total object
src/features/data/actions/apy.ts:260
↓ 1 callersFunctionmuiCompatSvgrPlugin
()
tools/bundle/svgr.ts:15
↓ 1 callersMethodmulUp
(a: BigNumber, b: BigNumber)
src/features/data/apis/amm/balancer/common/FixedPoint.ts:19
↓ 1 callersFunctionmultiplyAndClampToString
( value: BigNumber, multiplier: BigNumber, min: BigNumber, max: BigNumber )
src/features/data/apis/gas-prices/gas-prices.ts:50
↓ 1 callersFunctionmutateSortIndexes
(indexes: number[])
src/components/Form/Select/Multi/helpers.ts:12
↓ 1 callersMethodnativeTokenFormatter
(result: bigint, token: TokenNative)
src/features/data/apis/balance/balance.ts:255
↓ 1 callersFunctionnumberToString
(value: number, maxDecimals: number = 1)
src/features/vault/components/Actions/Transact/ZapSlippage/ZapSlippage.tsx:65
↓ 1 callersFunctionomitEmptyTimelines
( timelines: Record<VaultEntity['id'], T[]> )
src/features/data/actions/analytics.ts:166
↓ 1 callersFunctiononlyOnce
(cmds)
.lintstagedrc.mjs:24
↓ 1 callersFunctionoverride
(pools: VaultConfigWithStrategyData[])
scripts/validatePools.ts:1475
↓ 1 callersFunctionparseApyValue
(val: string)
src/features/home/components/Filters/components/Sort/Sort.tsx:58
↓ 1 callersFunctionparseConfigEntries
(source: string)
scripts/retireChain.ts:55
↓ 1 callersFunctionparseReasonId
( reasonId: string, debug = import.meta.env.DEV )
src/features/data/actions/user-rewards/merkl-user-rewards.ts:56
↓ 1 callersFunctionpause
()
scripts/pausePlatform.ts:8
↓ 1 callersFunctionpercentDifference
(a: BigNumber, b: BigNumber)
src/helpers/big-number.ts:175
↓ 1 callersFunctionperform
()
src/components/AddTokenToWallet/AddTokenForm.tsx:49
↓ 1 callersFunctionpluginMoreTypes
()
tools/styles/more-types-plugin.ts:9
↓ 1 callersFunctionpluginStricterProperties
(options: StricterPropertiesOptions)
tools/styles/stricter-properties-plugin.ts:20
↓ 1 callersFunctionpoolToMethods
(pool: CurveApiPoolWithChain)
scripts/zaps/curve.ts:891
↓ 1 callersFunctionpopulateCowcentratedData
( chain: keyof typeof addressBook, pools: VaultConfig[], viemClient: PublicClient, retries = 5 )
scripts/validatePools.ts:1104
↓ 1 callersFunctionpopulateGovData
( chain: AddressBookChainId, pools: VaultConfig[], viemClient: PublicClient, retries = 5 )
scripts/validatePools.ts:1058
↓ 1 callersFunctionpopulateStrategyData
( chain: AddressBookChainId, pools: VaultConfigWithVaultData[], viemClient: PublicClient, retries = 5
scripts/validatePools.ts:1347
↓ 1 callersFunctionpopulateVaultsData
( chain: AddressBookChainId, pools: VaultConfig[], viemClient: PublicClient, retries = 5 )
scripts/validatePools.ts:1293
↓ 1 callersMethodpostSwap
(request: SwapRequest)
src/features/data/apis/kyber/kyber-types.ts:80
↓ 1 callersFunctionprefetchGasPrice
(chain: ChainEntity)
src/features/data/actions/wallet/cross-chain.ts:69
↓ 1 callersFunctionprepareAction
* Some actions include the state in their payload * As we are delaying those actions from being dispatched we need * to update the state in this
src/features/data/utils/async-utils.ts:118
↓ 1 callersMethodqueryExitPool
(request: QueryExitPoolRequest)
src/features/data/apis/amm/balancer/vault/Vault.ts:123
↓ 1 callersMethodquoteAmountOut
* @see BaseV1Pair.sol#_getAmountOut
src/features/data/apis/amm/solidly/SolidlyPool.ts:442
↓ 1 callersMethodquoteAmountOutStable
( amountIn: BigNumber, reservesIn: BigNumber, reservesOut: BigNumber, decimalsIn: number,
src/features/data/apis/amm/solidly/SolidlyPool.ts:465
↓ 1 callersFunctionquoteHasTransformation
(quote: TransactQuote)
src/features/data/apis/transact/helpers/quotes.ts:35
↓ 1 callersFunctionquoteNeedsSlippage
(quote: TransactQuote)
src/features/data/apis/transact/transact-types.ts:1246
↓ 1 callersMethodquoteRemoveLiquidityOneToken
( liquidityIn: BigNumber, tokenOut: string )
src/features/data/apis/amm/balancer/types.ts:44
↓ 1 callersFunctionrebuildVaultsState
(sliceState: Draft<VaultsState>)
src/features/data/reducers/vaults.ts:188
↓ 1 callersFunctionremoveLocalStoredRpcs
(chainId: ChainId)
src/features/data/actions/chains.ts:49
↓ 1 callersMethodrender
()
src/components/ErrorBoundary/ErrorBoundary.tsx:93
↓ 1 callersFunctionreplaceUrlsForVault
( vault: VaultConfig, addresses: Record<string, string> )
scripts/setVaultUrls.ts:201
↓ 1 callersFunctionrequestRedeem
(vault: VaultEntity, oracleAmount: BigNumber, max: boolean)
src/features/data/actions/wallet/erc4626.ts:125
↓ 1 callersFunctionrequireBoost
( promosById: { [id: string]: PromoEntity | undefined }, boostId: string )
src/features/data/selectors/boosts.ts:13
↓ 1 callersFunctionrequireString
(str: string)
scripts/addCLM.ts:128
↓ 1 callersFunctionreset
(sliceState)
src/features/data/reducers/filtered-vaults.ts:45
↓ 1 callersMethodresolveAddressToDomain
Get the domain for an address
src/features/data/apis/name-services/name-services-api.ts:11
↓ 1 callersMethodresolveDomainToAddress
Get the address for a domain
src/features/data/apis/name-services/name-services-api.ts:48
↓ 1 callersFunctionruleAppliesToZap
( state: BeefyState, ctx: ZapFeeContext, rule: ZapFeeRule, nowSeconds: number )
src/features/data/apis/transact/helpers/fee.ts:76
↓ 1 callersFunctionrun
* Run a command with optional arguments and environment variables * @returns The exit code of the command
scripts/common/process.ts:51
← previousnext →1,501–1,600 of 2,834, ranked by callers