MCPcopy Create free account

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

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

↓ 6 callersMethodprocessExecution
* Dispatches an indexer message to the deposit or refund-withdraw path based on its version and * classification: * - v3 correct_transfer: thi
src/deposit-address/DepositAddressHandler.ts:362
↓ 6 callersMethodpublishUpload
()
src/jussi/JussiGraphPublisher.ts:48
↓ 6 callersFunctionresolveExchangeLatencySeconds
(params: { family: Extract<EdgeFamily, "binance" | "hyperliquid">; sourceBridgeLatencySeconds?: number;
src/jussi/topology/latency.ts:59
↓ 6 callersFunctionresolveUsdNotionalInputNative
( logicalAsset: LogicalAsset, sourceDecimals: number, inputUsd: number, pricingContext: RuntimePricing
src/jussi/economics/rates.ts:290
↓ 6 callersMethodsMembers
(key: string)
src/cache/Redis.ts:113
↓ 6 callersFunctionsendAndConfirmSolanaTransactionWithSlot
( unsignedTransaction: SolanaUnsignedTransaction, provider: SVMProvider, cycles = 25, pollingDelay = 6
src/utils/TransactionUtils.ts:143
↓ 6 callersMethodset
(key: string, val: T, expirySeconds = 60)
test/JussiGraph.buildGraph.ts:225
↓ 6 callersMethodsetGasCost
(chainId: number, gas?: TransactionCostEstimate)
test/mocks/MockProfitClient.ts:105
↓ 6 callersMethodsetObservedDeposits
(deposits: { [chainId: number]: Set<string> })
test/GaslessRelayer.ts:85
↓ 6 callersMethodsetObservedFills
(fills: { [chainId: number]: Set<string> })
test/GaslessRelayer.ts:88
↓ 6 callersMethodsetRemoteTokens
(tokens: Contract[], remoteTokenContracts?: { [chainId: number]: Contract[] })
test/mocks/MockTokenClient.ts:49
↓ 6 callersMethodsubmit
(chainId: number, txns: AugmentedTransaction[])
src/clients/TransactionClient.ts:186
↓ 6 callersMethodsubscribe
()
src/utils/InstanceCoordinator.ts:37
↓ 6 callersFunctionupdateAllClients
()
test/TokenClient.BalanceAllowance.ts:28
↓ 6 callersFunctionupdateClients
(clients: Clients, config: CommonConfig, logger: winston.Logger)
src/common/ClientHelper.ts:416
↓ 6 callersFunctionwithdrawMessageV3
v3 mis_route message carrying a withdraw leaf, ready for the refund-withdraw path.
test/DepositAddressHandler.ts:92
↓ 5 callersMethod_getEventSearchConfig
(chainId: number)
src/gasless/GaslessRelayer.ts:1208
↓ 5 callersMethod_getLatestPrice
( sourceToken: string, destinationToken: string, sourceChain: number, amountToTransfer: BigNum
src/rebalancer/adapters/binance.ts:1242
↓ 5 callersMethod_getMatchingFillForCloid
( cloid: string, account: EvmAddress )
src/rebalancer/adapters/binance.ts:1454
↓ 5 callersMethod_getOrderBook
(symbol: string)
src/rebalancer/adapters/binance.ts:1281
↓ 5 callersFunction_getRefundLeaves
( refunds: Refund, amountToReturn: BigNumber, repaymentChainId: number, l2TokenAddress: Address, max
src/dataworker/DataworkerUtils.ts:374
↓ 5 callersMethod_getSpotMarketMetaForRoute
(sourceToken: string, destinationToken: string)
src/rebalancer/adapters/hyperliquid.ts:963
↓ 5 callersMethod_updateExchangeRatesBeforeExecutingHubChainLeaves
( balanceAllocator: BalanceAllocator, poolRebalanceLeaf: Pick<PoolRebalanceLeaf, "netSendAmounts" | "l
src/dataworker/Dataworker.ts:2070
↓ 5 callersMethod_updateOldExchangeRates
(l1Tokens: EvmAddress[])
src/dataworker/Dataworker.ts:2284
↓ 5 callersMethodaddUsed
(chainId: number, token: Address, holder: Address, amount: BigNumber)
src/clients/BalanceAllocator.ts:160
↓ 5 callersFunctionbuildDepositExecutedPayload
( receipt: TransactionReceipt, depositMessage: DepositAddressMessageV3 )
src/deposit-address/withdrawPayload.ts:128
↓ 5 callersFunctionbuildJussiTopologyArtifact
(prepared: PreparedGraphTopology)
src/jussi/topology/artifact.ts:7
↓ 5 callersFunctionbuildSignableTx
()
test/TransactionUtils.svm.ts:21
↓ 5 callersMethodbuildSlowRelayRoot
( blockRangesForChains: number[][], spokePoolClients: { [chainId: number]: SpokePoolClient } )
src/dataworker/Dataworker.ts:217
↓ 5 callersMethodcomputeOriginChainCommitment
* For a given origin chain block range, sum the USD value of any fills made by this relayer. * @param chainId Origin chain ID to inspect. * @par
src/relayer/Relayer.ts:541
↓ 5 callersFunctionconstructRelayerClients
( logger: winston.Logger, config: RelayerConfig, baseSigner: Signer )
src/relayer/RelayerClientHelper.ts:108
↓ 5 callersFunctionconstructSpokePoolClientsWithStartBlocks
( logger: winston.Logger, hubPoolClient: HubPoolClient, config: CommonConfig, baseSigner: Signer, st
src/common/ClientHelper.ts:202
↓ 5 callersFunctiondepositMessage
()
test/DepositAddressHandler.publish.ts:25
↓ 5 callersFunctionexecuteResponse
(overrides: Partial<DepositAddressExecuteResponse> = {})
test/DepositAddressHandler.ts:450
↓ 5 callersMethodexecuteSlowRelayLeaves
( spokePoolClients: { [chainId: number]: SpokePoolClient }, balanceAllocator: BalanceAllocator = new B
src/dataworker/Dataworker.ts:1153
↓ 5 callersFunctionexpectRejected
(promise: Promise<T>, message: string)
test/swapOnBinance.ts:586
↓ 5 callersFunctionfail
(allOk: { v: boolean }, msg: string)
scripts/recoveries/2026-06-accounting/verify.ts:48
↓ 5 callersFunctiongetAccountCoins
(binanceApi: BinanceApi)
src/utils/BinanceUtils.ts:472
↓ 5 callersMethodgetBalanceSubUsed
(chainId: number, token: Address, holder: Address)
src/clients/BalanceAllocator.ts:116
↓ 5 callersFunctiongetBinanceApiClient
(url = "https://api.binance.com")
src/utils/BinanceUtils.ts:194
↓ 5 callersFunctiongetBinanceWithdrawals
( binanceApi: BinanceApi, coin: string, startTime: number, maxRetries = 3, delayS = 2 )
src/utils/BinanceUtils.ts:420
↓ 5 callersMethodgetEventKey
(event: Log)
src/utils/EventUtils.ts:186
↓ 5 callersMethodgetFillAmountInUsd
( deposit: Pick<Deposit, "destinationChainId" | "outputToken" | "outputAmount"> )
src/clients/ProfitClient.ts:566
↓ 5 callersFunctiongetGaslessPermitNonce
(depositMessage: AnyGaslessDepositMessage)
src/utils/GaslessUtils.ts:379
↓ 5 callersMethodgetL1TokenAddress
* Returns the L1 token address for a given L2 token address on a given chain. Returns undefined * if the l2 token and chain ID do not have a corre
src/clients/InventoryClient.ts:562
↓ 5 callersFunctiongetPositivePendingRebalanceAmountsByBinanceCoin
(pendingRebalances: { [chainId: number]: { [token: string]: BigNumber }; })
src/finalizer/utils/binance.ts:342
↓ 5 callersFunctiongetSolanaTokenBalance
( provider: SVMProvider, tokenMint: SvmAddress, walletAddress: SvmAddress )
src/utils/TokenUtils.ts:189
↓ 5 callersFunctiongetSpokePoolAddress
(chainId: number)
src/utils/ContractUtils.ts:83
↓ 5 callersFunctiongetSvmProvider
(rpcUrl: string)
src/cctp-finalizer/utils/svmUtils.ts:176
↓ 5 callersMethodgetTokenInfoForL1Token
(l1Token: EvmAddress)
test/mocks/MockHubPoolClient.ts:111
↓ 5 callersMethodgetTokenShortfall
()
src/clients/TokenClient.ts:133
↓ 5 callersMethodgetTokenSymbol
(token: Address, chainId: number)
src/clients/ProfitClient.ts:578
↓ 5 callersFunctiongetUniqueLogIndex
(events: { txnRef: string }[])
src/utils/EventUtils.ts:66
↓ 5 callersFunctioninternals
()
test/DepositAddressHandler.ts:513
↓ 5 callersMethodloadCachedValue
(cache: Map<K, Promise<T>>, key: K, loader: () => Promise<T>)
src/jussi/economics/PricingContext.ts:324
↓ 5 callersFunctionmakeConfirmationTxn
(chainId: number)
test/TransactionClient.ts:160
↓ 5 callersFunctionmakeEvent
(blockNumber: number, blockHash = makeHash())
test/RelayerSpokePoolListenerTVM.ts:9
↓ 5 callersFunctionmakeFakeProvider
(statusValueByPollCall: Array<unknown>, contextSlotByPollCall: Array<bigint> = [])
test/TransactionUtils.svm.ts:29
↓ 5 callersFunctionmakeHubPoolClient
(opts: { proposals: { challengePeriodEndTimestamp: number; blockNumber: number }[]; executedLeafChainIds:
test/Finalizer.HeliosFilterRequiredActions.test.ts:31
↓ 5 callersFunctionmakeInitializedAdapter
( route: RebalanceRoute, { cctpAdapter = {}, oftAdapter = {}, }: { cctpAdapter?: Intermediat
test/BinanceAdapter.conversions.ts:199
↓ 5 callersFunctionmakeStablecoinMarketSymbol
()
test/swapOnBinance.ts:671
↓ 5 callersFunctionmakeStablecoinRoute
(overrides: Partial<RebalanceRoute> = {})
test/BinanceAdapter.conversions.ts:224
↓ 5 callersFunctionmineRandomBlocks
(amount?: number)
test/utils/BlockchainUtils.ts:8
↓ 5 callersFunctionnormalizeDepositAddressMessage
(message: DepositAddressMessage)
src/utils/DepositAddressUtils.ts:10
↓ 5 callersFunctionpostBlock
(blockNumber: number, currentTime: number)
src/libexec/util/ipc.ts:11
↓ 5 callersFunctionprintSection
(title: string)
scripts/sweepBinanceBalance.ts:371
↓ 5 callersFunctionrandomNumber
(ceil = 1_000_000)
test/EventManager.ts:12
↓ 5 callersFunctionrandomNumber
(ceil = 1_000_000)
test/Relayer.IndexedSpokePoolClient.ts:44
↓ 5 callersFunctionremoveEvent
(event: Log)
test/Relayer.IndexedSpokePoolClient.ts:128
↓ 5 callersMethodrequestBalanceAllocation
( chainId: number, tokens: Address[], holder: Address, amount: BigNumber )
src/clients/BalanceAllocator.ts:107
↓ 5 callersFunctionrequiredStringFlag
(args: ParsedSwapArgs, flag: string)
scripts/swapOnBinance.ts:1014
↓ 5 callersFunctionresolveBridgeLatencySeconds
( family: Extract<EdgeFamily, "cctp" | "oft">, sourceChain: number, logicalAsset: LogicalAsset )
src/jussi/topology/latency.ts:14
↓ 5 callersFunctionresolveEdgeClassId
(candidate: GraphEdgeCandidate)
src/jussi/topology/edges.ts:340
↓ 5 callersMethodresolveTokenAddress
* Convenience function to resolve a token symbol to its underlying address. * @notice In case that an address is supplied, it will simply be return
src/clients/ProfitClient.ts:250
↓ 5 callersFunctionrestructureGaslessDeposits
( depositMessages: APIGaslessDepositResponse[], logger: winston.Logger )
src/utils/GaslessUtils.ts:168
↓ 5 callersMethodsetBundleData
()
src/clients/InventoryClient.ts:485
↓ 5 callersMethodsetMatchingFillEvent
(deposit: DepositWithBlock, fill: FillWithBlock)
test/mocks/MockBundleDataClient.ts:27
↓ 5 callersMethodsetRelayFillStatus
(deposit: Deposit, fillStatus: interfaces.FillStatus)
test/mocks/MockSpokePoolClient.ts:38
↓ 5 callersFunctionsleepMs
(ms: number)
scripts/swapOnBinance.ts:1842
↓ 5 callersFunctionupdateAllClients
()
test/Relayer.TokenShortfall.ts:68
↓ 5 callersFunctionupdateDeposit
( spokePool: Contract, deposit: Deposit, depositor: SignerWithAddress )
test/utils/utils.ts:346
↓ 5 callersFunctionvalidate
(response: DepositAddressExecuteResponse)
test/DepositAddressHandler.ts:461
↓ 5 callersFunctionwithBinanceInternals
(adapter: BinanceStablecoinSwapAdapter)
test/BinanceAdapter.conversions.ts:62
↓ 5 callersFunctionwithFixedTokenPrices
(prices: Record<string, string>)
test/RebalancerClient.cumulativeRebalancing.ts:85
↓ 4 callersMethod_findAuthorizationUsed
( originChainId: number, inputToken: Address, authorizer: string, nonce: string )
src/gasless/GaslessRelayer.ts:1113
↓ 4 callersMethod_getSignedWithdrawV3
* Fetches v3 signed-withdraw calldata from the quote-api. Classifies failures: a terminal 422 * (`GAS_EXCEEDS_REFUND` / `UNPRICEABLE_REFUND_TOKEN`)
src/deposit-address/DepositAddressHandler.ts:1355
↓ 4 callersMethod_getSymbol
(sourceToken: string, destinationToken: string)
src/rebalancer/adapters/binance.ts:1229
↓ 4 callersMethod_getTradeFees
()
src/rebalancer/adapters/binance.ts:1444
↓ 4 callersMethod_validateBlockRanges
( spokePoolClients: SpokePoolClientsByChain, blockRanges: number[][], chainIds: number[], earl
src/dataworker/Dataworker.ts:2984
↓ 4 callersMethod_withdraw
( cloid: string, quantity: number, destinationToken: string, destinationChain: number )
src/rebalancer/adapters/binance.ts:1623
↓ 4 callersFunctionaddBridgeLegToExchangeBreakdown
( state: ExchangeBreakdownState, candidate: GraphEdgeCandidate, amount: BigNumber, params: BridgeBreak
src/jussi/economics/edgeCosts.ts:576
↓ 4 callersFunctionasQuoteAdapter
(adapter: BinanceStablecoinSwapAdapter)
test/BinanceAdapter.quotes.ts:123
↓ 4 callersFunctionbuildBridgeEdgeCandidates
( nodeContexts: ManagedNodeContext[], hubPoolChainId = DEFAULT_HUB_POOL_CHAIN_ID )
src/jussi/topology/edges.ts:27
↓ 4 callersFunctionbuildJussiGraphEnvelope
(graph: BuiltJussiGraph)
src/jussi/serialize.ts:19
↓ 4 callersFunctionbuildOrder
(overrides: Partial<PaxosTransitOrder>)
test/generic-adapters/PaxosTransitBridge.ts:351
↓ 4 callersFunctionbuildRebalancerConfig
(targetBalance = "100")
test/JussiGraph.buildGraph.ts:138
↓ 4 callersFunctionbuildRelayerRefundTree
(relayerRefundLeaves: RelayerRefundLeaf[])
src/utils/MerkleTreeUtils.ts:36
↓ 4 callersFunctionbuildSweepPlan
(params: { destination: ResolvedBinanceAsset; freeBalance: BigNumber })
scripts/sweepBinanceBalance.ts:169
↓ 4 callersMethodcanIgnoreRevertReason
(txn: TransactionSimulationResult)
src/clients/MultiCallerClient.ts:480
↓ 4 callersMethodcanTakeDestinationChainRepayment
* @notice Returns true if the deposit has an output token PoolRebalanceRoute mapping equivalent to the input token's * PoolRebalanceRoute mapping.
src/clients/InventoryClient.ts:619
← previousnext →301–400 of 2,347, ranked by callers