Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/across-protocol/relayer
/ functions
Functions
2,347 in github.com/across-protocol/relayer
⨍
Functions
2,347
◇
Types & classes
456
↓ 1 callers
Function
constructChainSpecificFakes
()
test/generic-adapters/AdapterManager.SendTokensCrossChain.ts:462
↓ 1 callers
Method
constructConsideringRebalanceDebugLog
(distribution: TokenDistributionPerL1Token)
src/clients/InventoryClient.ts:1479
↓ 1 callers
Function
constructDataworkerClients
( logger: winston.Logger, config: DataworkerConfig, baseSigner: Signer )
src/dataworker/DataworkerClientHelper.ts:24
↓ 1 callers
Function
constructFinalizerClients
( _logger: winston.Logger, config: FinalizerConfig, baseSigner: Signer )
src/finalizer/index.ts:380
↓ 1 callers
Method
constructL1ToL2Txn
( _toAddress: Address, l1Token: EvmAddress, l2Token: Address, amount: BigNumber, _optional
src/adapter/bridges/PaxosTransitBridge.ts:66
↓ 1 callers
Function
constructMonitorClients
( config: MonitorConfig, logger: winston.Logger, baseSigner: Signer )
src/monitor/MonitorClientHelper.ts:24
↓ 1 callers
Function
constructRefillerClients
( config: RefillerConfig, logger: winston.Logger, baseSigner: Signer )
src/refiller/RefillerClientHelper.ts:8
↓ 1 callers
Method
constructRelayerFeeQuery
( chainId: number, provider: Provider | SVMProvider )
src/clients/ProfitClient.ts:1010
↓ 1 callers
Method
constructWithdrawToL1Txns
()
test/generic-adapters/SplitBridgeTracking.ts:173
↓ 1 callers
Function
contractAddressMatchesToken
( chainId: number, localTokenAddress: string, networkContractAddress?: string )
scripts/swapOnBinance.ts:1811
↓ 1 callers
Method
convertDestinationToSource
( source: ResolvedBinanceAsset, destination: ResolvedBinanceAsset, destinationAmount: BigNumber,
scripts/swapOnBinance.ts:1449
↓ 1 callers
Function
convertL1TokenAddressesToSymbols
(l1Tokens: EvmAddress[])
src/dataworker/PoolRebalanceUtils.ts:102
↓ 1 callers
Method
createL2ToL1AmountConverter
* 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 callers
Function
createMockHubPoolClient
()
test/Dataworker.executePoolRebalances.ts:62
↓ 1 callers
Function
createMockHubPoolClient
()
test/Dataworker.executePoolRebalanceUtils.ts:54
↓ 1 callers
Function
createScriptLogger
()
scripts/buildJussiGraph.ts:73
↓ 1 callers
Function
createSpyLogger
()
tasks/integration-tests.ts:12
↓ 1 callers
Function
createTenderlySimulation
( chainId: number, fillTxData: string, spokePoolAddress: string, relayerAddress: string, blockNumber
scripts/simulateFill.ts:142
↓ 1 callers
Function
decodeCctpV2HookData
(messageBytes: string)
src/utils/CCTPUtils.ts:868
↓ 1 callers
Method
decodePolicies
* 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 callers
Function
decodeRelayData
(originChainId: number, destinationChainId: number, log: LogDescription)
scripts/simulateFill.ts:67
↓ 1 callers
Method
decrBy
(key: string, amount: number)
src/cache/Redis.ts:12
↓ 1 callers
Method
decrBy
(key: string, amount: number)
src/cache/Redis.ts:129
↓ 1 callers
Method
defaultHeaders
()
src/utils/PaxosTransitUtils.ts:325
↓ 1 callers
Function
defaultPricesByAssetArtifactPath
(graphJsonPath: string | undefined)
scripts/buildJussiGraph.ts:165
↓ 1 callers
Function
defaultRateLimitBucketsArtifactPath
(graphJsonPath: string | undefined)
scripts/buildJussiGraph.ts:152
↓ 1 callers
Function
deposit
(args: Record<string, number | string>, signer: Signer)
scripts/spokepool.ts:267
↓ 1 callers
Function
depositFromArgs
(depositArgs: { [key: string]: any })
test/utils/utils.ts:548
↓ 1 callers
Function
depositNonceForSwap
Deposit key for swap-and-bridge messages (matches `evaluateApiSignatures` / `messageFilter`).
test/GaslessRelayer.ts:404
↓ 1 callers
Method
deriveAverageGasPrice
(provider: Provider)
src/jussi/economics/PricingContext.ts:170
↓ 1 callers
Method
deriveWindowAverageGasPrice
(provider: Provider, blockNumber: number)
src/jussi/economics/PricingContext.ts:226
↓ 1 callers
Function
describeBinanceWithdrawalStatus
(status?: number)
scripts/swapOnBinance.ts:985
↓ 1 callers
Method
describeGasPrices
(chainIds: number[])
src/jussi/economics/PricingContext.ts:82
↓ 1 callers
Function
describeWithdrawalStatus
(withdrawal: BinanceWithdrawal)
scripts/sweepBinanceBalance.ts:380
↓ 1 callers
Function
determineMessageType
( event: MessageSentEvent.Log, hubPoolClient: HubPoolClient )
src/finalizer/utils/linea/common.ts:215
↓ 1 callers
Method
determineRefundChainId
* @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 callers
Method
disconnect
()
src/cache/Redis.ts:143
↓ 1 callers
Method
disconnect
Releases the Pub/Sub client. Idempotent. Safe to call when the publisher is not configured.
src/deposit-address/DepositAddressHandler.ts:739
↓ 1 callers
Method
dispatch
( txn: Omit<AugmentedTransaction, "contract">, target: Contract, provider: Provider )
src/clients/TransactionClient.ts:107
↓ 1 callers
Function
dispatchTransaction
( transaction: AugmentedTransaction, dispatcher: TransactionClient )
src/utils/TransactionUtils.ts:291
↓ 1 callers
Function
dispute
(args: Record<string, number | string>, signer: Signer)
scripts/hubpool.ts:18
↓ 1 callers
Function
dumpConfig
(args: Record<string, number | string>, _signer: Signer)
scripts/spokepool.ts:530
↓ 1 callers
Method
enqueueFill
( spokePool: SvmAddress, relayData: ProtoFill, repaymentChainId: number, repaymentAddress: SDK
src/clients/SvmFillerClient.ts:136
↓ 1 callers
Method
enqueueRootBundleProposal
( hubPoolChainId: number, bundleBlockRange: number[][], poolRebalanceLeaves: PoolRebalanceLeaf[],
src/dataworker/Dataworker.ts:2676
↓ 1 callers
Method
enqueueSlowFill
(spokePool: SvmAddress, relayData: ProtoFill, message: string, mrkdwn: string)
src/clients/SvmFillerClient.ts:148
↓ 1 callers
Function
enrichHeliosActions
( logger: winston.Logger, actions: HeliosAction[], l2SpokePoolClient: EVMSpokePoolClient, l1SpokePoolC
src/finalizer/utils/helios.ts:274
↓ 1 callers
Function
ensureBinaries
* Download and save the SVM spoke test binaries if not already present.
test/utils/svm/validator.setup.ts:34
↓ 1 callers
Function
ensureGraphLogicalAssetsAreIncludedInRelayerTokens
()
scripts/buildJussiGraph.ts:114
↓ 1 callers
Function
estimateBinanceCexBridgeBreakdown
( candidate: GraphEdgeCandidate, params: Pick<BridgeBreakdownParams, "pricingContext" | "rebalancerAdapter
src/jussi/economics/edgeCosts.ts:476
↓ 1 callers
Function
estimateBinanceSwapBreakdown
( candidate: GraphEdgeCandidate, amount: BigNumber, params: ExchangeBreakdownParams )
src/jussi/economics/edgeCosts.ts:387
↓ 1 callers
Function
estimateBridgeApiBreakdown
( candidate: GraphEdgeCandidate, params: Pick<BridgeBreakdownParams, "pricingContext"> )
src/jussi/economics/edgeCosts.ts:503
↓ 1 callers
Function
estimateBridgeRouteBreakdown
( token: LogicalAsset, sourceChain: number, destinationChain: number, amount: BigNumber, params: Bri
src/jussi/economics/edgeCosts.ts:370
↓ 1 callers
Function
estimateDepositGas
( depositPlan: DepositExecutionPlan, gasPricing: { priorityFeeScaler: number; maxFeePerGasScaler: number }
scripts/swapOnBinance.ts:683
↓ 1 callers
Function
estimateHyperliquidSwapBreakdown
( candidate: GraphEdgeCandidate, amount: BigNumber, params: ExchangeBreakdownParams )
src/jussi/economics/edgeCosts.ts:445
↓ 1 callers
Method
estimateLookbackStartBlockNumber
( provider: Provider, latestBlockNumber: number, latestBlockTimestamp: number )
src/jussi/economics/PricingContext.ts:190
↓ 1 callers
Method
evaluateDepositAddresses
()
src/deposit-address/DepositAddressHandler.ts:323
↓ 1 callers
Method
evaluateFill
( deposit: DepositWithBlock, fillStatus: number, lpFees: RepaymentFee[], maxBlockNumber: numbe
src/relayer/Relayer.ts:693
↓ 1 callers
Method
evaluateFills
* 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 callers
Function
executeBundle
(hubPool: Contract)
test/Monitor.ts:52
↓ 1 callers
Method
executeDepositAddress
v3 upgradeable-counterfactual deposit-execute quote (POST).
src/clients/AcrossSwapApiClient.ts:259
↓ 1 callers
Method
executeFillImmediately
* Builds and submits fillRelay transaction(s) immediately (each tx is sent as soon as it is ready).
src/clients/SvmFillerClient.ts:160
↓ 1 callers
Method
executeFills
(chainId: number, simulate = false)
src/relayer/Relayer.ts:890
↓ 1 callers
Method
executeTxnQueue
(chainId: number, simulate = false)
src/clients/MultiCallerClient.ts:177
↓ 1 callers
Function
expectErrorTransition
(transitions: Array<{ from: MessageState; to: MessageState }>)
test/GaslessRelayer.ts:508
↓ 1 callers
Method
export
* Export current InventoryClient state. * @returns InventoryClient state. This can be subsequently ingested by InventoryClient.import().
src/clients/InventoryClient.ts:146
↓ 1 callers
Function
extractMintRecipientAddress
(message: string)
src/cctp-finalizer/utils/commonUtils.ts:50
↓ 1 callers
Function
familyForRebalanceRoute
(route: RebalanceRoute)
src/jussi/topology/edges.ts:279
↓ 1 callers
Function
fetchConfigWithRetry
( url: string, headers: Record<string, string>, retries = 3, delayMs = 1000 )
scripts/fetchInventoryConfig.ts:20
↓ 1 callers
Function
fetchDepositFromTxn
( originChainId: number, txnHash: string // eslint-disable-next-line @typescript-eslint/no-explicit-any
scripts/simulateFill.ts:93
↓ 1 callers
Method
fetchOrderBook
(symbol: string, nRetries = 0, maxRetries = 3)
scripts/swapOnBinance.ts:1369
↓ 1 callers
Method
fetchSolanaTokenData
( chainId: number, hubPoolTokens: L1Token[] )
src/clients/TokenClient.ts:409
↓ 1 callers
Method
fetchTokenData
( chainId: number, hubPoolTokens: L1Token[] )
src/clients/TokenClient.ts:338
↓ 1 callers
Function
fetchTxn
(args: Record<string, number | string>, _signer: Signer)
scripts/spokepool.ts:642
↓ 1 callers
Function
fillDeposit
(args: Record<string, number | string | boolean>, signer: Signer)
scripts/spokepool.ts:421
↓ 1 callers
Function
fillFromArgs
(fillArgs: { [key: string]: any })
test/utils/utils.ts:479
↓ 1 callers
Method
filterDeposit
* @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 callers
Function
filterMessageLogs
* @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 callers
Method
filterSupportedTokens
(l1Tokens: EvmAddress[])
src/adapter/BaseChainAdapter.ts:157
↓ 1 callers
Function
finalize
( logger: winston.Logger, hubSigner: Signer, hubPoolClient: HubPoolClient, spokePoolClients: SpokePool
src/finalizer/index.ts:132
↓ 1 callers
Function
finalizeArbitrum
(message: ChildToParentMessageWriter, chainId: number)
src/finalizer/utils/arbStack.ts:223
↓ 1 callers
Method
finalizeLimitOrders
( baseToken: EvmAddress, finalToken: EvmAddress, quoteNonces: string[], limitOrderOutputs: Big
src/hyperliquid/HyperliquidExecutor.ts:564
↓ 1 callers
Function
finalizeOptimismMessage
( logger: winston.Logger, _chainId: OVM_CHAIN_ID, crossChainMessenger: OVM_CROSS_CHAIN_MESSENGER, mess
src/finalizer/utils/opStack.ts:669
↓ 1 callers
Function
finalizePolygon
(posClient: POSClient, event: PolygonTokensBridged)
src/finalizer/utils/polygon.ts:198
↓ 1 callers
Method
finalizeSwapFlows
(toBlock?: number)
src/hyperliquid/HyperliquidExecutor.ts:229
↓ 1 callers
Function
findMessageFromTokenBridge
( bridgeContract: Contract, messageServiceContract: L1MessageServiceContract | L2MessageServiceContract,
src/finalizer/utils/linea/common.ts:290
↓ 1 callers
Method
findOriginChainLimitIdx
* 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 callers
Function
findTokenBridgeEvents
( bridgeContract: Contract, senderAddresses: string[], searchConfig: EventSearchConfig )
src/finalizer/utils/linea/common.ts:282
↓ 1 callers
Function
formatBinanceDepositPollStatus
(deposit?: BinanceDeposit)
scripts/swapOnBinance.ts:1865
↓ 1 callers
Function
formatChainList
(chainIds: number[])
scripts/sweepBinanceBalance.ts:313
↓ 1 callers
Function
formatChainList
(chainIds: number[])
scripts/swapOnBinance.ts:1190
↓ 1 callers
Function
formatInputUsdTier
(value: number)
src/jussi/economics/rates.ts:340
↓ 1 callers
Function
formatUnitsForToken
(symbol: string, amount: BigNumberish)
src/utils/TokenUtils.ts:177
↓ 1 callers
Function
gatherPreflightBalances
( source: ResolvedBinanceAsset, signer: Signer, amount: BigNumber, estimatedGasCost: BigNumber, acco
scripts/swapOnBinance.ts:428
↓ 1 callers
Function
gatherRecipientBalances
( destination: ResolvedBinanceAsset, recipient: string )
scripts/swapOnBinance.ts:549
↓ 1 callers
Function
generateChainConfig
* Autopopulate the majority of the chainFinalizers object above. * @returns void
src/finalizer/index.ts:97
↓ 1 callers
Function
generateSwapRoutes
()
src/common/Constants.ts:1098
↓ 1 callers
Function
generateTxnsForHeliosActions
--- Generate Multicall Data ---
src/finalizer/utils/helios.ts:610
↓ 1 callers
Function
generateV3FillFromDeposit
( deposit: interfaces.DepositWithBlock, fillEventOverride?: Partial<interfaces.FillWithBlock>,
test/Dataworker.loadData.deposit.ts:130
↓ 1 callers
Function
generateWithdrawalData
* 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 callers
Function
getAcrossApiHost
(hubChainId: number)
scripts/buildJussiGraph.ts:182
← previous
next →
1,201–1,300 of 2,347, ranked by callers