MCPcopy Create free account

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

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

↓ 1 callersFunctionconstructChainSpecificFakes
()
test/generic-adapters/AdapterManager.SendTokensCrossChain.ts:462
↓ 1 callersMethodconstructConsideringRebalanceDebugLog
(distribution: TokenDistributionPerL1Token)
src/clients/InventoryClient.ts:1479
↓ 1 callersFunctionconstructDataworkerClients
( logger: winston.Logger, config: DataworkerConfig, baseSigner: Signer )
src/dataworker/DataworkerClientHelper.ts:24
↓ 1 callersFunctionconstructFinalizerClients
( _logger: winston.Logger, config: FinalizerConfig, baseSigner: Signer )
src/finalizer/index.ts:380
↓ 1 callersMethodconstructL1ToL2Txn
( _toAddress: Address, l1Token: EvmAddress, l2Token: Address, amount: BigNumber, _optional
src/adapter/bridges/PaxosTransitBridge.ts:66
↓ 1 callersFunctionconstructMonitorClients
( config: MonitorConfig, logger: winston.Logger, baseSigner: Signer )
src/monitor/MonitorClientHelper.ts:24
↓ 1 callersFunctionconstructRefillerClients
( config: RefillerConfig, logger: winston.Logger, baseSigner: Signer )
src/refiller/RefillerClientHelper.ts:8
↓ 1 callersMethodconstructRelayerFeeQuery
( chainId: number, provider: Provider | SVMProvider )
src/clients/ProfitClient.ts:1010
↓ 1 callersMethodconstructWithdrawToL1Txns
()
test/generic-adapters/SplitBridgeTracking.ts:173
↓ 1 callersFunctioncontractAddressMatchesToken
( chainId: number, localTokenAddress: string, networkContractAddress?: string )
scripts/swapOnBinance.ts:1811
↓ 1 callersMethodconvertDestinationToSource
( source: ResolvedBinanceAsset, destination: ResolvedBinanceAsset, destinationAmount: BigNumber,
scripts/swapOnBinance.ts:1449
↓ 1 callersFunctionconvertL1TokenAddressesToSymbols
(l1Tokens: EvmAddress[])
src/dataworker/PoolRebalanceUtils.ts:102
↓ 1 callersMethodcreateL2ToL1AmountConverter
* Returns a converter that maps an amount in L2 token local decimals (LD) * to the L1 token local decimals using ConvertDecimals. Created lazily an
src/adapter/l2Bridges/OFTL2Bridge.ts:217
↓ 1 callersFunctioncreateMockHubPoolClient
()
test/Dataworker.executePoolRebalances.ts:62
↓ 1 callersFunctioncreateMockHubPoolClient
()
test/Dataworker.executePoolRebalanceUtils.ts:54
↓ 1 callersFunctioncreateScriptLogger
()
scripts/buildJussiGraph.ts:73
↓ 1 callersFunctioncreateSpyLogger
()
tasks/integration-tests.ts:12
↓ 1 callersFunctioncreateTenderlySimulation
( chainId: number, fillTxData: string, spokePoolAddress: string, relayerAddress: string, blockNumber
scripts/simulateFill.ts:142
↓ 1 callersFunctiondecodeCctpV2HookData
(messageBytes: string)
src/utils/CCTPUtils.ts:868
↓ 1 callersMethoddecodePolicies
* Decode the `RELAYER_POLICIES` registry from `process.env` into a structured list. Runs once * at construct time; subsequent env mutations are ign
src/clients/ProfitClient.ts:629
↓ 1 callersFunctiondecodeRelayData
(originChainId: number, destinationChainId: number, log: LogDescription)
scripts/simulateFill.ts:67
↓ 1 callersMethoddecrBy
(key: string, amount: number)
src/cache/Redis.ts:12
↓ 1 callersMethoddecrBy
(key: string, amount: number)
src/cache/Redis.ts:129
↓ 1 callersMethoddefaultHeaders
()
src/utils/PaxosTransitUtils.ts:325
↓ 1 callersFunctiondefaultPricesByAssetArtifactPath
(graphJsonPath: string | undefined)
scripts/buildJussiGraph.ts:165
↓ 1 callersFunctiondefaultRateLimitBucketsArtifactPath
(graphJsonPath: string | undefined)
scripts/buildJussiGraph.ts:152
↓ 1 callersFunctiondeposit
(args: Record<string, number | string>, signer: Signer)
scripts/spokepool.ts:267
↓ 1 callersFunctiondepositFromArgs
(depositArgs: { [key: string]: any })
test/utils/utils.ts:548
↓ 1 callersFunctiondepositNonceForSwap
Deposit key for swap-and-bridge messages (matches `evaluateApiSignatures` / `messageFilter`).
test/GaslessRelayer.ts:404
↓ 1 callersMethodderiveAverageGasPrice
(provider: Provider)
src/jussi/economics/PricingContext.ts:170
↓ 1 callersMethodderiveWindowAverageGasPrice
(provider: Provider, blockNumber: number)
src/jussi/economics/PricingContext.ts:226
↓ 1 callersFunctiondescribeBinanceWithdrawalStatus
(status?: number)
scripts/swapOnBinance.ts:985
↓ 1 callersMethoddescribeGasPrices
(chainIds: number[])
src/jussi/economics/PricingContext.ts:82
↓ 1 callersFunctiondescribeWithdrawalStatus
(withdrawal: BinanceWithdrawal)
scripts/sweepBinanceBalance.ts:380
↓ 1 callersFunctiondetermineMessageType
( event: MessageSentEvent.Log, hubPoolClient: HubPoolClient )
src/finalizer/utils/linea/common.ts:215
↓ 1 callersMethoddetermineRefundChainId
* @notice Return eligible repayment chains for a deposit. * @dev This function implements a four-stage pipeline for determining eligible repayment
src/clients/InventoryClient.ts:649
↓ 1 callersMethoddisconnect
()
src/cache/Redis.ts:143
↓ 1 callersMethoddisconnect
Releases the Pub/Sub client. Idempotent. Safe to call when the publisher is not configured.
src/deposit-address/DepositAddressHandler.ts:739
↓ 1 callersMethoddispatch
( txn: Omit<AugmentedTransaction, "contract">, target: Contract, provider: Provider )
src/clients/TransactionClient.ts:107
↓ 1 callersFunctiondispatchTransaction
( transaction: AugmentedTransaction, dispatcher: TransactionClient )
src/utils/TransactionUtils.ts:291
↓ 1 callersFunctiondispute
(args: Record<string, number | string>, signer: Signer)
scripts/hubpool.ts:18
↓ 1 callersFunctiondumpConfig
(args: Record<string, number | string>, _signer: Signer)
scripts/spokepool.ts:530
↓ 1 callersMethodenqueueFill
( spokePool: SvmAddress, relayData: ProtoFill, repaymentChainId: number, repaymentAddress: SDK
src/clients/SvmFillerClient.ts:136
↓ 1 callersMethodenqueueRootBundleProposal
( hubPoolChainId: number, bundleBlockRange: number[][], poolRebalanceLeaves: PoolRebalanceLeaf[],
src/dataworker/Dataworker.ts:2676
↓ 1 callersMethodenqueueSlowFill
(spokePool: SvmAddress, relayData: ProtoFill, message: string, mrkdwn: string)
src/clients/SvmFillerClient.ts:148
↓ 1 callersFunctionenrichHeliosActions
( logger: winston.Logger, actions: HeliosAction[], l2SpokePoolClient: EVMSpokePoolClient, l1SpokePoolC
src/finalizer/utils/helios.ts:274
↓ 1 callersFunctionensureBinaries
* Download and save the SVM spoke test binaries if not already present.
test/utils/svm/validator.setup.ts:34
↓ 1 callersFunctionensureGraphLogicalAssetsAreIncludedInRelayerTokens
()
scripts/buildJussiGraph.ts:114
↓ 1 callersFunctionestimateBinanceCexBridgeBreakdown
( candidate: GraphEdgeCandidate, params: Pick<BridgeBreakdownParams, "pricingContext" | "rebalancerAdapter
src/jussi/economics/edgeCosts.ts:476
↓ 1 callersFunctionestimateBinanceSwapBreakdown
( candidate: GraphEdgeCandidate, amount: BigNumber, params: ExchangeBreakdownParams )
src/jussi/economics/edgeCosts.ts:387
↓ 1 callersFunctionestimateBridgeApiBreakdown
( candidate: GraphEdgeCandidate, params: Pick<BridgeBreakdownParams, "pricingContext"> )
src/jussi/economics/edgeCosts.ts:503
↓ 1 callersFunctionestimateBridgeRouteBreakdown
( token: LogicalAsset, sourceChain: number, destinationChain: number, amount: BigNumber, params: Bri
src/jussi/economics/edgeCosts.ts:370
↓ 1 callersFunctionestimateDepositGas
( depositPlan: DepositExecutionPlan, gasPricing: { priorityFeeScaler: number; maxFeePerGasScaler: number }
scripts/swapOnBinance.ts:683
↓ 1 callersFunctionestimateHyperliquidSwapBreakdown
( candidate: GraphEdgeCandidate, amount: BigNumber, params: ExchangeBreakdownParams )
src/jussi/economics/edgeCosts.ts:445
↓ 1 callersMethodestimateLookbackStartBlockNumber
( provider: Provider, latestBlockNumber: number, latestBlockTimestamp: number )
src/jussi/economics/PricingContext.ts:190
↓ 1 callersMethodevaluateDepositAddresses
()
src/deposit-address/DepositAddressHandler.ts:323
↓ 1 callersMethodevaluateFill
( deposit: DepositWithBlock, fillStatus: number, lpFees: RepaymentFee[], maxBlockNumber: numbe
src/relayer/Relayer.ts:693
↓ 1 callersMethodevaluateFills
* For a given destination chain, evaluate and optionally fill each unfilled deposit. Note that each fill should be * evaluated sequentially in orde
src/relayer/Relayer.ts:844
↓ 1 callersFunctionexecuteBundle
(hubPool: Contract)
test/Monitor.ts:52
↓ 1 callersMethodexecuteDepositAddress
v3 upgradeable-counterfactual deposit-execute quote (POST).
src/clients/AcrossSwapApiClient.ts:259
↓ 1 callersMethodexecuteFillImmediately
* Builds and submits fillRelay transaction(s) immediately (each tx is sent as soon as it is ready).
src/clients/SvmFillerClient.ts:160
↓ 1 callersMethodexecuteFills
(chainId: number, simulate = false)
src/relayer/Relayer.ts:890
↓ 1 callersMethodexecuteTxnQueue
(chainId: number, simulate = false)
src/clients/MultiCallerClient.ts:177
↓ 1 callersFunctionexpectErrorTransition
(transitions: Array<{ from: MessageState; to: MessageState }>)
test/GaslessRelayer.ts:508
↓ 1 callersMethodexport
* Export current InventoryClient state. * @returns InventoryClient state. This can be subsequently ingested by InventoryClient.import().
src/clients/InventoryClient.ts:146
↓ 1 callersFunctionextractMintRecipientAddress
(message: string)
src/cctp-finalizer/utils/commonUtils.ts:50
↓ 1 callersFunctionfamilyForRebalanceRoute
(route: RebalanceRoute)
src/jussi/topology/edges.ts:279
↓ 1 callersFunctionfetchConfigWithRetry
( url: string, headers: Record<string, string>, retries = 3, delayMs = 1000 )
scripts/fetchInventoryConfig.ts:20
↓ 1 callersFunctionfetchDepositFromTxn
( originChainId: number, txnHash: string // eslint-disable-next-line @typescript-eslint/no-explicit-any
scripts/simulateFill.ts:93
↓ 1 callersMethodfetchOrderBook
(symbol: string, nRetries = 0, maxRetries = 3)
scripts/swapOnBinance.ts:1369
↓ 1 callersMethodfetchSolanaTokenData
( chainId: number, hubPoolTokens: L1Token[] )
src/clients/TokenClient.ts:409
↓ 1 callersMethodfetchTokenData
( chainId: number, hubPoolTokens: L1Token[] )
src/clients/TokenClient.ts:338
↓ 1 callersFunctionfetchTxn
(args: Record<string, number | string>, _signer: Signer)
scripts/spokepool.ts:642
↓ 1 callersFunctionfillDeposit
(args: Record<string, number | string | boolean>, signer: Signer)
scripts/spokepool.ts:421
↓ 1 callersFunctionfillFromArgs
(fillArgs: { [key: string]: any })
test/utils/utils.ts:479
↓ 1 callersMethodfilterDeposit
* @description For a given deposit, apply relayer-specific filtering to determine whether it should be filled. * @param deposit Deposit object.
src/relayer/Relayer.ts:194
↓ 1 callersFunctionfilterMessageLogs
* @param wallet zkSync wallet instance. * @param l2Provider L2 provider instance. * @param tokensBridged Array of TokensBridged events to evaluate f
src/finalizer/utils/zkSync.ts:145
↓ 1 callersMethodfilterSupportedTokens
(l1Tokens: EvmAddress[])
src/adapter/BaseChainAdapter.ts:157
↓ 1 callersFunctionfinalize
( logger: winston.Logger, hubSigner: Signer, hubPoolClient: HubPoolClient, spokePoolClients: SpokePool
src/finalizer/index.ts:132
↓ 1 callersFunctionfinalizeArbitrum
(message: ChildToParentMessageWriter, chainId: number)
src/finalizer/utils/arbStack.ts:223
↓ 1 callersMethodfinalizeLimitOrders
( baseToken: EvmAddress, finalToken: EvmAddress, quoteNonces: string[], limitOrderOutputs: Big
src/hyperliquid/HyperliquidExecutor.ts:564
↓ 1 callersFunctionfinalizeOptimismMessage
( logger: winston.Logger, _chainId: OVM_CHAIN_ID, crossChainMessenger: OVM_CROSS_CHAIN_MESSENGER, mess
src/finalizer/utils/opStack.ts:669
↓ 1 callersFunctionfinalizePolygon
(posClient: POSClient, event: PolygonTokensBridged)
src/finalizer/utils/polygon.ts:198
↓ 1 callersMethodfinalizeSwapFlows
(toBlock?: number)
src/hyperliquid/HyperliquidExecutor.ts:229
↓ 1 callersFunctionfindMessageFromTokenBridge
( bridgeContract: Contract, messageServiceContract: L1MessageServiceContract | L2MessageServiceContract,
src/finalizer/utils/linea/common.ts:290
↓ 1 callersMethodfindOriginChainLimitIdx
* For a given origin chain, find the relevant fill limit based on a deposit block number. * @param originChainId Chain ID of origin chain. * @pa
src/relayer/Relayer.ts:499
↓ 1 callersFunctionfindTokenBridgeEvents
( bridgeContract: Contract, senderAddresses: string[], searchConfig: EventSearchConfig )
src/finalizer/utils/linea/common.ts:282
↓ 1 callersFunctionformatBinanceDepositPollStatus
(deposit?: BinanceDeposit)
scripts/swapOnBinance.ts:1865
↓ 1 callersFunctionformatChainList
(chainIds: number[])
scripts/sweepBinanceBalance.ts:313
↓ 1 callersFunctionformatChainList
(chainIds: number[])
scripts/swapOnBinance.ts:1190
↓ 1 callersFunctionformatInputUsdTier
(value: number)
src/jussi/economics/rates.ts:340
↓ 1 callersFunctionformatUnitsForToken
(symbol: string, amount: BigNumberish)
src/utils/TokenUtils.ts:177
↓ 1 callersFunctiongatherPreflightBalances
( source: ResolvedBinanceAsset, signer: Signer, amount: BigNumber, estimatedGasCost: BigNumber, acco
scripts/swapOnBinance.ts:428
↓ 1 callersFunctiongatherRecipientBalances
( destination: ResolvedBinanceAsset, recipient: string )
scripts/swapOnBinance.ts:549
↓ 1 callersFunctiongenerateChainConfig
* Autopopulate the majority of the chainFinalizers object above. * @returns void
src/finalizer/index.ts:97
↓ 1 callersFunctiongenerateSwapRoutes
()
src/common/Constants.ts:1098
↓ 1 callersFunctiongenerateTxnsForHeliosActions
--- Generate Multicall Data ---
src/finalizer/utils/helios.ts:610
↓ 1 callersFunctiongenerateV3FillFromDeposit
( deposit: interfaces.DepositWithBlock, fillEventOverride?: Partial<interfaces.FillWithBlock>,
test/Dataworker.loadData.deposit.ts:130
↓ 1 callersFunctiongenerateWithdrawalData
* Generates a list of valid withdrawals for a given list of CCTP messages. * @param messages The CCTP messages to generate withdrawals for. * @param
src/finalizer/utils/cctp/Svml2ToL1.ts:135
↓ 1 callersFunctiongetAcrossApiHost
(hubChainId: number)
scripts/buildJussiGraph.ts:182
← previousnext →1,201–1,300 of 2,347, ranked by callers