MCPcopy Create free account

hub / github.com/across-protocol/relayer / functions

Functions2,347 in github.com/across-protocol/relayer

↓ 16 callersFunctionresolveBinanceAsset
(params: { accountCoins: Coin[]; tokenSymbol: string; chainId: number; direction: "deposit" | "withdra
scripts/swapOnBinance.ts:1215
↓ 16 callersMethodresolveGasMultiplier
(deposit: Deposit)
src/clients/ProfitClient.ts:196
↓ 16 callersMethodrunEvaluateApiSignatures
()
test/GaslessRelayer.ts:63
↓ 16 callersFunctionstartupLogLevel
(config: { pollingDelay: number })
src/utils/ExecutionUtils.ts:23
↓ 16 callersFunctiontokenAddress
(symbol: string, chainId: number)
test/swapOnBinance.ts:28
↓ 16 callersMethodvalidatePendingRootBundle
( spokePoolClients: { [chainId: number]: SpokePoolClient }, earliestBlocksInSpokePoolClients: { [chain
src/dataworker/Dataworker.ts:605
↓ 15 callersMethodbuildPoolRebalanceRoot
( blockRangesForChains: number[][], spokePoolClients: SpokePoolClientsByChain, latestMainnetBlock?
src/dataworker/Dataworker.ts:259
↓ 15 callersFunctiongenerateSlowFillRequestFromDeposit
( deposit: interfaces.DepositWithBlock, fillEventOverride?: Partial<interfaces.FillWithBlock> )
test/Dataworker.loadData.slowFill.ts:104
↓ 15 callersFunctiongenerateV3Deposit
(eventOverride?: Partial<interfaces.DepositWithBlock>)
test/Dataworker.loadData.slowFill.ts:58
↓ 15 callersFunctiongetContractAddress
(chainId: number, name: string)
src/common/ContractAddresses.ts:1045
↓ 15 callersFunctiongetNativeTokenAddressForChain
(chainId: number)
src/utils/TokenUtils.ts:128
↓ 15 callersMethodgetQueuedTransactions
(chainId: number)
src/clients/MultiCallerClient.ts:92
↓ 15 callersMethodgetTokenInfoForAddress
(address: Address, _chainId: number)
test/mocks/MockHubPoolClient.ts:56
↓ 15 callersFunctionmakeResolvedAsset
({ tokenSymbol, chainId, binanceCoin, contractAddress, withdrawFee = "0.1", }: { tokenSymbol: stri
test/swapOnBinance.ts:595
↓ 15 callersFunctionmaterializeNodeDefinitions
(templates: ManagedNodeTemplate[])
src/jussi/topology/nodes.ts:83
↓ 15 callersFunctionprintLine
(label: string, value: string, indentLevel = 0, emphasized = false)
scripts/sweepBinanceBalance.ts:375
↓ 15 callersMethodrebalanceInventory
()
test/mocks/MockRebalancerClient.ts:16
↓ 15 callersFunctionretrieveSignerFromCLIArgs
()
src/utils/CLIUtils.ts:13
↓ 15 callersFunctionsetupDataworker
( ethers: EthersTestLibrary, maxRefundPerRelayerRefundLeaf: number, maxL1TokensPerPoolRebalanceLeaf: num
test/fixtures/Dataworker.Fixture.ts:61
↓ 15 callersFunctionstringifyThrownValue
(value: unknown)
src/utils/LogUtils.ts:5
↓ 15 callersMethodsubmit
(txn: AugmentedTransaction)
src/dataworker/Disputer.ts:155
↓ 14 callersFunctionassertPromiseError
(promise: Promise<T>, errMessage?: string)
test/utils/utils.ts:75
↓ 14 callersFunctionbuildEntry
(token: string, chainId: number, amount: BigNumber, priorityTier: number)
test/RebalancerClient.utils.ts:8
↓ 14 callersFunctiongetRemoteTokenForL1Token
( _l1Token: EvmAddress, remoteChainId: number, hubChainId: number )
src/utils/TokenUtils.ts:50
↓ 14 callersFunctionmakeDeposit
(network: string, amount: number, insertTime: number)
test/BinanceUtils.ts:31
↓ 14 callersMethodtestFillImmediate
( deposit: Pick<RelayData, "originChainId" | "outputToken" | "outputAmount"> & { destinationChainId:
test/GaslessRelayer.ts:97
↓ 14 callersFunctiontoAddress
(address: string)
test/generic-adapters/Linea.ts:32
↓ 13 callersMethod_routeRequiresSwap
(sourceToken: string, destinationToken: string)
src/rebalancer/adapters/binance.ts:1484
↓ 13 callersFunctionformatAmount
(amount: BigNumber, decimals: number)
scripts/sweepBinanceBalance.ts:367
↓ 13 callersMethodlog
(message: string, data?: AnyObject, level: DefaultLogLevels = "debug", fnName?: string)
src/adapter/BaseChainAdapter.ts:98
↓ 13 callersFunctionmakeReceipt
Minimal transaction receipt that looks successful.
test/GaslessRelayer.ts:410
↓ 12 callersFunctionbuildClient
()
test/ProfitClient.ConsiderProfitability.ts:688
↓ 12 callersMethodfillRelay
( deposit: Deposit, repaymentChainId: number, realizedLpFeePct: BigNumber, totalUserFeePct: Bi
src/relayer/Relayer.ts:1119
↓ 12 callersFunctiongenerateV3FillFromDeposit
( deposit: interfaces.DepositWithBlock, fillEventOverride?: Partial<interfaces.FillWithBlock>,
test/Dataworker.loadData.prefill.ts:199
↓ 12 callersMethodgetEstimatedCost
(rebalanceRoute: RebalanceRoute, amountToTransfer: BigNumber, debugLog: boolean)
src/rebalancer/utils/interfaces.ts:17
↓ 12 callersMethodgetNamespacedKey
(key: string)
src/cache/Redis.ts:40
↓ 12 callersFunctiongetNewBalanceAllocator
()
test/Dataworker.executePoolRebalances.ts:55
↓ 12 callersMethodgetUpcomingRefunds
(chainId: number, l1Token: EvmAddress)
test/mocks/MockInventoryClient.ts:63
↓ 12 callersFunctionmakeEnv
(overrides: Record<string, string | undefined> = {})
test/RebalancerConfig.ts:10
↓ 12 callersFunctionmakeFakeDepositEvent
Fake deposit event data returned by _extractDepositFromTransactionReceipt / _findDeposit.
test/GaslessRelayer.ts:433
↓ 12 callersFunctionnormalizeIntegratorId
(integratorId: string)
src/utils/GaslessUtils.ts:141
↓ 12 callersMethodsetUpcomingRefunds
(l1Token: string, refunds: { [chainId: number]: BigNumber })
test/mocks/MockInventoryClient.ts:67
↓ 12 callersFunctionsupportsBinanceIntermediateBridgeToken
(token: string)
src/utils/BinanceUtils.ts:610
↓ 12 callersFunctiontoAddress
(address: string)
test/generic-adapters/Arbitrum.ts:45
↓ 12 callersFunctiontoMegaWei
(num: string | number | BigNumber)
test/InventoryClient.RefundChain.ts:94
↓ 11 callersMethodbuildMultiSenderBundle
(transactions: AugmentedTransaction[])
src/clients/MultiCallerClient.ts:265
↓ 11 callersFunctionbuildNoopLogger
()
test/JussiGraph.buildGraph.ts:159
↓ 11 callersFunctionclearEnv
()
test/ProfitClient.ConsiderProfitability.ts:675
↓ 11 callersFunctiondepositForcesOriginChainRepayment
( deposit: Pick<DepositWithBlock, "inputToken" | "originChainId" | "fromLiteChain">, hubPoolClient: HubPoo
src/utils/FillUtils.ts:90
↓ 11 callersFunctiongetLastBlockTime
(provider: providers.Provider)
test/utils/utils.ts:266
↓ 11 callersMethodgetOutstandingCrossChainTransferAmount
( address: Address, chainId: number, l1Token: EvmAddress, l2Token?: Address )
src/clients/bridges/CrossChainTransferClient.ts:15
↓ 11 callersFunctiongetSvmProvider
( redisClient: CachingMechanismInterface | undefined = undefined, logger: winston.Logger = Logger, chain
src/utils/ProviderUtils.ts:336
↓ 11 callersFunctionisSignerWallet
(signer: Signer)
src/utils/SignerUtils.ts:175
↓ 11 callersMethodsetMockedOutstandingCrossChainTransfers
( chainId: number, address: Address, l1Token: EvmAddress, amount: BigNumber, l2Token?: Add
test/mocks/MockAdapterManager.ts:59
↓ 11 callersMethodsimulate
(txns: AugmentedTransaction[])
src/clients/TransactionClient.ts:103
↓ 11 callersFunctionupdateAllClients
()
test/Relayer.UnfilledDeposits.ts:86
↓ 10 callersMethod_executePoolLeavesAndSyncL1Tokens
( spokePoolClients: { [chainId: number]: SpokePoolClient }, balanceAllocator: BalanceAllocator, po
src/dataworker/Dataworker.ts:1669
↓ 10 callersMethod_getAccountCoins
(symbol: string, skipCache = false)
src/rebalancer/adapters/binance.ts:1038
↓ 10 callersMethod_getSpotMarketMetaForRoute
(sourceToken: string, destinationToken: string)
src/rebalancer/adapters/binance.ts:1357
↓ 10 callersMethod_getTokenMeta
(token: string)
src/rebalancer/adapters/hyperliquid.ts:1031
↓ 10 callersMethod_updateExchangeRatesBeforeExecutingNonHubChainLeaves
( latestLiquidReserves: Record<string, BigNumber>, balanceAllocator: BalanceAllocator, poolRebalan
src/dataworker/Dataworker.ts:2146
↓ 10 callersMethodconstructL1ToL2Txn
()
test/generic-adapters/SplitBridgeTracking.ts:145
↓ 10 callersFunctiondeployMulticall3
(signer: SignerWithAddress)
test/utils/utils.ts:133
↓ 10 callersFunctiondepositMessage
* EVM-origin correct_transfer message; `materials` overrides the counterfactualMaterials leaves and * `integrator` overrides the optional integrator
test/DepositAddressHandler.ts:37
↓ 10 callersFunctiondepositMessageV3
v3 correct_transfer message mirroring the indexer's DepositAddressTransferItemV3 projection.
test/DepositAddressHandler.ts:102
↓ 10 callersFunctionderiveBinanceSpotMarketMeta
( sourceToken: string, destinationToken: string, symbol: Symbol<OrderType_LT> )
src/utils/BinanceUtils.ts:651
↓ 10 callersFunctiongetCachedProvider
(chainId: number, redisEnabled = true)
src/utils/ProviderUtils.ts:32
↓ 10 callersMethodgetEnabledChains
()
src/clients/InventoryClient.ts:456
↓ 10 callersMethodgetLPFeeKey
* For a given deposit, map its relevant attributes to a string to be used as a lookup into the LP fee structure. * @param relayData An object consi
src/relayer/Relayer.ts:831
↓ 10 callersFunctiongetNodeUrlList
( chainId: number, quorum = 1, transport: sdkProviders.RPCTransport = "https" )
src/utils/ProviderUtils.ts:368
↓ 10 callersFunctiongetOutstandingBinanceDeposits
( deposits: BinanceDeposit[], withdrawals: BinanceWithdrawal[], depositNetwork: string )
src/utils/BinanceUtils.ts:525
↓ 10 callersFunctiongetPendingBridgeStatusSetKey
(redisPrefix: string, status: STATUS, account: string)
src/rebalancer/utils/utils.ts:89
↓ 10 callersMethodgetPendingRebalances
(account: EvmAddress)
src/rebalancer/utils/interfaces.ts:29
↓ 10 callersMethodgetPossibleRepaymentChainIds
(deposit: Deposit)
src/clients/InventoryClient.ts:528
↓ 10 callersMethodisInventoryManagementEnabled
()
src/clients/InventoryClient.ts:1673
↓ 10 callersFunctionspokePoolClientsToProviders
(spokePoolClients: { [chainId: number]: SpokePoolClient })
src/common/ClientHelper.ts:421
↓ 9 callersFunctionV3FillFromDeposit
( deposit: DepositWithBlock, relayer: string, repaymentChainId?: number, fillType = FillType.FastFill
test/utils/SpokePoolUtils.ts:6
↓ 9 callersMethodbuildMultiCallBundles
( txns: AugmentedTransaction[], chunkSize = DEFAULT_MULTICALL_CHUNK_SIZE )
src/clients/MultiCallerClient.ts:371
↓ 9 callersFunctionbuildRebalanceRoutes
(rebalancerConfig: RebalancerConfig)
src/rebalancer/buildRebalanceRoutes.ts:225
↓ 9 callersMethodcalculateFillProfitability
* @param deposit Deposit object. * @param lpFeePct Predetermined LP fee as a multiplier of the deposit inputAmount. * @param minRelayerFeePct Re
src/clients/ProfitClient.ts:479
↓ 9 callersMethodclearTransactionQueue
(chainId: number | null = null)
src/clients/SvmFillerClient.ts:295
↓ 9 callersMethodcomputeOriginChainLimits
* For a given origin chain, map the relayer's deposit confirmation requirements to tiered USD amounts that can be * filled by this relayer. * @p
src/relayer/Relayer.ts:567
↓ 9 callersFunctionconvertBinanceRouteAmount
(params: { amount: BigNumber; sourceTokenDecimals: number; destinationTokenDecimals: number; isBuy: bo
src/utils/BinanceUtils.ts:678
↓ 9 callersFunctiondeployAndConfigureHubPool
( signer: SignerWithAddress, spokePools: { l2ChainId: number; spokePool: Contract }[], finderAddress: st
test/utils/utils.ts:176
↓ 9 callersFunctiondepositIntoPrimitiveTypes
(deposit: Deposit)
test/utils/utils.ts:572
↓ 9 callersFunctionfakeReceipt
(logs: Array<Partial<TransactionReceipt["logs"][number]>>)
test/DepositAddressHandler.publish.ts:96
↓ 9 callersFunctiongetContractAbi
(chainId: number, name: string)
src/common/ContractAddresses.ts:1033
↓ 9 callersFunctiongetDeployedContract
(contractName: string, networkId: number, signer?: Signer)
src/utils/ContractUtils.ts:45
↓ 9 callersFunctiongetDepositKey
(depositMessage: AnyDepositAddressMessage)
src/utils/DepositAddressUtils.ts:81
↓ 9 callersFunctiongetInventoryEquivalentL1TokenAddress
( l2Token: Address, chainId: number, hubChainId = CHAIN_IDs.MAINNET )
src/utils/TokenUtils.ts:71
↓ 9 callersMethodgetValidatedRootBundles
()
test/mocks/MockHubPoolClient.ts:29
↓ 9 callersFunctionhasNode
(chainId: number, symbol: string)
test/JussiGraph.buildGraph.ts:334
↓ 9 callersFunctionisCompletedBinanceWithdrawal
(status?: number)
src/utils/BinanceUtils.ts:388
↓ 9 callersFunctionisSvmLeafAlreadyClaimedError
(err: unknown)
src/utils/LogUtils.ts:104
↓ 9 callersFunctionmakeBridgeEvent
(amount: BigNumber, txnRef: string)
test/generic-adapters/SplitBridgeTracking.ts:119
↓ 9 callersFunctionreconcileWindow
( current: Log[], posted: Map<string, Log>, windowStart: number )
src/libexec/RelayerSpokePoolListenerTVM.ts:44
↓ 9 callersFunctionsetFillImmediateThreshold
* Helper to set fillImmediate threshold dynamically based on a message's outputAmount. * Validates that the output token is a stablecoin before setti
test/GaslessRelayer.ts:548
↓ 9 callersMethodsetMockBalances
(chainId: number, token: Address, holder: Address, balance?: BigNumber)
test/BalanceAllocator.ts:12
↓ 9 callersFunctiontagIntegratorId
(txData: string, integratorId: string)
src/utils/GaslessUtils.ts:154
↓ 8 callersMethod_convertSourceToDestination
( sourceToken: string, sourceChain: number, destinationToken: string, destinationChain: number
src/rebalancer/adapters/binance.ts:1380
← previousnext →101–200 of 2,347, ranked by callers