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
↓ 4 callers
Function
usesBinanceAtomicDepositorTransfer
(token: string, chainId: number)
src/utils/BinanceUtils.ts:647
↓ 4 callers
Function
validate
(_logger: winston.Logger, baseSigner: Signer)
src/scripts/validateRootBundle.ts:39
↓ 4 callers
Function
validateJussiUploadEnv
(env: NodeJS.ProcessEnv)
src/jussi/JussiGraphPublisher.ts:23
↓ 4 callers
Function
waitForBinanceWithdrawalCompletion
(params: { venue: BinanceSwapVenue; destination: ResolvedBinanceAsset; withdrawalId: string; startTime
scripts/swapOnBinance.ts:1761
↓ 4 callers
Function
writeJsonArtifact
(filePath: string | undefined, value: unknown)
scripts/buildJussiGraph.ts:138
↓ 3 callers
Function
SpokeListener
( SpokePoolClient: T )
src/clients/SpokePoolClient.ts:66
↓ 3 callers
Method
_convertDestinationToSource
( destinationToken: string, destinationChain: number, sourceToken: string, sourceChain: number
src/rebalancer/adapters/binance.ts:1409
↓ 3 callers
Method
_executeRelayerRefundLeaves
( leaves: RelayerRefundLeaf[], balanceAllocator: BalanceAllocator, client: SpokePoolClient, re
src/dataworker/Dataworker.ts:2491
↓ 3 callers
Method
_extractDepositFromTransactionReceipt
( transactionReceipt: TransactionReceipt, originChainId: number )
src/gasless/GaslessRelayer.ts:1184
↓ 3 callers
Method
_getAssociatedTokenAddress
()
src/adapter/bridges/SolanaUsdcCCTPBridge.ts:167
↓ 3 callers
Method
_getAvailableBalanceForToken
(token: string)
src/rebalancer/adapters/hyperliquid.ts:832
↓ 3 callers
Method
_getExecuteTx
( depositMessage: DepositAddressMessageV3, retriesRemaining = 3 )
src/deposit-address/DepositAddressHandler.ts:1107
↓ 3 callers
Method
_getFilledRelayKey
(originChainId: number, depositId: string)
src/gasless/GaslessRelayer.ts:1273
↓ 3 callers
Method
_getInitiatedWithdrawalsFromHypercore
( account: string, destinationToken: string, withdrawalInitiatedEarliestTimestampMilliseconds: num
src/rebalancer/adapters/hyperliquid.ts:1316
↓ 3 callers
Method
_getMatchingFillForCloid
( account: EvmAddress, cloid: string // eslint-disable-next-line @typescript-eslint/no-explicit-an
src/rebalancer/adapters/hyperliquid.ts:972
↓ 3 callers
Method
_getUnfinalizedWithdrawalAmountFromHypercore
( account: string, destinationToken: string, withdrawalInitiatedEarliestTimestampMilliseconds: num
src/rebalancer/adapters/hyperliquid.ts:1352
↓ 3 callers
Method
_getWidestPossibleBlockRangeForNextBundle
* Returns widest possible block range for next bundle. * @param spokePoolClients SpokePool clients to query. If one is undefined then the chain ID
src/dataworker/Dataworker.ts:2962
↓ 3 callers
Method
_isContract
(address: string, provider: Provider)
src/adapter/bridges/ZKStackBridge.ts:291
↓ 3 callers
Method
_isRefillProcessed
(redisKey: string)
src/refiller/Refiller.ts:827
↓ 3 callers
Method
_redisGetInitiatedWithdrawalKey
(cloid: string)
src/rebalancer/adapters/binance.ts:1575
↓ 3 callers
Method
_remapTokenSymbolToHlSymbol
(token: string)
src/rebalancer/adapters/hyperliquid.ts:1039
↓ 3 callers
Method
_secondBridgeCalldata
(toAddress: EvmAddress, l1Token: EvmAddress, amount: BigNumber)
src/adapter/bridges/ZKStackBridge.ts:264
↓ 3 callers
Method
_setState
(depositKey: string, state: MessageState)
src/gasless/GaslessRelayer.ts:1253
↓ 3 callers
Method
_skipsDestinationFill
(depositMessage: AnyGaslessDepositMessage)
src/gasless/GaslessRelayer.ts:1222
↓ 3 callers
Method
_txBaseCost
()
src/adapter/bridges/ZKStackBridge.ts:271
↓ 3 callers
Function
addTemplate
(template: ManagedNodeTemplate)
src/jussi/topology/nodes.ts:25
↓ 3 callers
Function
binanceCredentialsConfigured
()
src/utils/BinanceUtils.ts:181
↓ 3 callers
Method
bondToken
()
src/dataworker/Disputer.ts:28
↓ 3 callers
Function
bootstrap
(args: { program: string; abortController: AbortController; chainName: () => string | undefined; run:
src/libexec/util/bootstrap.ts:32
↓ 3 callers
Function
buildJussiGraphId
(now = new Date())
src/jussi/serialize.ts:12
↓ 3 callers
Function
buildJussiGraphJson
(graph: BuiltJussiGraph)
src/jussi/serialize.ts:26
↓ 3 callers
Function
buildSameAssetRoutes
(rebalancerConfig: RebalancerConfig, token: SupportedToken)
src/rebalancer/buildRebalanceRoutes.ts:101
↓ 3 callers
Function
buildSignableTx
()
test/cctpFinalizerSvm.confirm.ts:15
↓ 3 callers
Function
buildTopology
(params: BuildTopologyParams)
src/jussi/topology/buildTopology.ts:15
↓ 3 callers
Method
canSlowFill
(deposit: DepositWithBlock)
src/relayer/Relayer.ts:672
↓ 3 callers
Method
captureTokenShortfall
(chainId: number, token: Address, depositId: BigNumber, unfilledAmount: BigNumber)
src/clients/TokenClient.ts:110
↓ 3 callers
Method
close
()
src/messaging/gcp/PubSub.ts:36
↓ 3 callers
Function
configuredChainsForToken
(rebalancerConfig: RebalancerConfig, token: SupportedToken)
src/rebalancer/buildRebalanceRoutes.ts:54
↓ 3 callers
Method
constructL1ToL2Txn
( toAddress: Address, _l1Token: EvmAddress, l2Token: Address, _amount: BigNumber, _optiona
src/adapter/bridges/BridgeApi.ts:73
↓ 3 callers
Function
constructRebalancerDependencies
( logger: winston.Logger, baseSigner: Signer, rebalanceRoutesOverride?: RebalanceRoute[] )
src/rebalancer/RebalancerClientHelper.ts:15
↓ 3 callers
Function
constructSpokePoolClientsWithLookback
( logger: winston.Logger, hubPoolClient: HubPoolClient, configStoreClient: ConfigStoreClient, config:
src/common/ClientHelper.ts:115
↓ 3 callers
Method
constructWithdrawToL1Txns
( toAddress: EvmAddress, l2Token: EvmAddress, l1Token: EvmAddress, _amount: BigNumber )
src/adapter/l2Bridges/BridgeApi.ts:67
↓ 3 callers
Method
convertSourceToDestination
( source: ResolvedBinanceAsset, destination: ResolvedBinanceAsset, sourceAmount: BigNumber, sk
scripts/swapOnBinance.ts:1421
↓ 3 callers
Function
createDataworker
( _logger: winston.Logger, baseSigner: Signer, config?: DataworkerConfig )
src/dataworker/index.ts:41
↓ 3 callers
Function
decimalToRate
(value: number)
src/jussi/economics/rates.ts:319
↓ 3 callers
Method
decrementLocalBalance
(chainId: number, token: Address, amount: BigNumber)
test/mocks/MockTokenClient.ts:36
↓ 3 callers
Method
decrementLocalBalance
(chainId: number, token: Address, amount: BigNumber)
src/clients/TokenClient.ts:83
↓ 3 callers
Function
estimateQuotedBridgeBreakdown
( candidate: GraphEdgeCandidate, amount: BigNumber, params: Pick<BridgeBreakdownParams, "baseSigner" | "
src/jussi/economics/edgeCosts.ts:515
↓ 3 callers
Function
estimateSampledOutputSegments
( candidate: GraphEdgeCandidate, params: Pick<EdgePricingParams, "baseSigner" | "pricingContext" | "rebala
src/jussi/economics/rates.ts:76
↓ 3 callers
Method
executeRelayerRefundLeaves
( spokePoolClients: { [chainId: number]: SpokePoolClient }, balanceAllocator: BalanceAllocator = new B
src/dataworker/Dataworker.ts:2353
↓ 3 callers
Method
executeTxnQueue
(chainId: number, simulate = false, maxRetries = 2)
src/clients/SvmFillerClient.ts:245
↓ 3 callers
Function
exit
(code: number)
src/utils/ExecutionUtils.ts:3
↓ 3 callers
Function
expectErrorScenario
* Helper for testing error scenarios - validates that a message is rejected with ERROR state.
test/GaslessRelayer.ts:530
↓ 3 callers
Function
expectStandardTransitions
* Validation helpers for common transition patterns.
test/GaslessRelayer.ts:492
↓ 3 callers
Method
formatAmount
( chainId: number, tokenAddress: Address )
src/relayer/Relayer.ts:1526
↓ 3 callers
Function
formatRelayerRefundLeafExecutionLog
(args: { rootBundleId: number; relayerRefundRoot: string; leafId: number; chainId: number; symbol: s
src/dataworker/RelayerRefundUtils.ts:36
↓ 3 callers
Function
formatToAddress
(receiver: EvmAddress)
src/utils/OFTUtils.ts:109
↓ 3 callers
Function
getArweaveJWKSigner
({ keyType, cleanEnv }: SignerOptions)
src/utils/SignerUtils.ts:126
↓ 3 callers
Method
getBalance
(chainId: number, token: Address, holder: Address)
src/clients/BalanceAllocator.ts:122
↓ 3 callers
Method
getBinanceClient
()
src/adapter/l2Bridges/BinanceCEXBridge.ts:142
↓ 3 callers
Function
getBinanceDepositType
( depositDetails: Pick<BinanceDeposit, "network" | "txId"> )
src/utils/BinanceUtils.ts:350
↓ 3 callers
Function
getBinanceTransactionTypeKeyFromNetworkName
(networkName: string, uniqueIdentifier: string)
src/utils/BinanceUtils.ts:298
↓ 3 callers
Function
getBinanceWithdrawalType
( withdrawalDetails: Pick<BinanceWithdrawal, "network" | "id"> )
src/utils/BinanceUtils.ts:372
↓ 3 callers
Function
getBlockFinder
(logger: winston.Logger, chainId: number)
src/utils/BlockUtils.ts:25
↓ 3 callers
Function
getBlockRangePretty
(blockRange: number[][] | number[])
src/dataworker/PoolRebalanceUtils.ts:26
↓ 3 callers
Function
getCacheNamespace
(chainId: number)
src/utils/ProviderUtils.ts:102
↓ 3 callers
Function
getChallengeRemaining
( chainId: number, challengeBuffer: number, logger: winston.Logger )
src/dataworker/index.ts:122
↓ 3 callers
Method
getCumulativeBalanceWithApproximateUpcomingRefunds
* Returns cumulative balance along with approximate upcoming refunds. Refund balances are normalized to * the L1 token decimals. * @param l1Toke
src/clients/InventoryClient.ts:243
↓ 3 callers
Function
getEnabledChainsInBlockRange
( configStoreClient: clients.AcrossConfigStoreClient, spokePoolChainsOverride: number[], mainnetStartBlo
src/common/ClientHelper.ts:181
↓ 3 callers
Method
getEnabledL2Chains
()
src/clients/InventoryClient.ts:460
↓ 3 callers
Function
getEvmBinanceRebalanceLookupAccounts
(addresses: string[], signerAddress?: string)
src/finalizer/utils/binance.ts:326
↓ 3 callers
Function
getGasPrice
( provider: ethers.providers.Provider, priorityScaler = 1.2, maxFeePerGasScaler = 3, transactionObject
src/utils/TransactionUtils.ts:160
↓ 3 callers
Method
getGasPrice
(chainId: number)
src/jussi/economics/PricingContext.ts:138
↓ 3 callers
Function
getL1MessageServiceContractFromL1ClaimingService
( l1ClaimingService: L1ClaimingService, l1Provider: ethers.providers.Provider )
src/finalizer/utils/linea/common.ts:154
↓ 3 callers
Method
getL1TokenAddress
(l2Token: Address, chainId: number)
src/adapter/BaseChainAdapter.ts:634
↓ 3 callers
Function
getL2Book
( infoClient: hl.InfoClient, params: hl.L2BookParameters, maxRetries = 3, delayS = 2 )
src/utils/HyperliquidUtils.ts:31
↓ 3 callers
Function
getL2MessageServiceContractFromL1ClaimingService
( l1ClaimingService: L1ClaimingService, l2Provider: ethers.providers.Provider )
src/finalizer/utils/linea/common.ts:146
↓ 3 callers
Method
getLogicalAssetPriceUsd
(logicalAsset: LogicalAsset)
src/jussi/economics/PricingContext.ts:127
↓ 3 callers
Function
getMaxConcurrency
(chainId: number)
src/utils/ProviderUtils.ts:87
↓ 3 callers
Function
getMessengerEvm
(l1TokenAddress: EvmAddress, chainId: number, l2ChainId: number)
src/utils/OFTUtils.ts:87
↓ 3 callers
Method
getNativeTokenPriceUsd
(chainId: number)
src/jussi/economics/PricingContext.ts:266
↓ 3 callers
Function
getPaxosTransitBoringVaultAddress
(chainId: number)
src/utils/PaxosTransitUtils.ts:214
↓ 3 callers
Function
getPaxosTransitDestinationToken
(dstChainId: number, l1Token: Address)
src/utils/PaxosTransitUtils.ts:223
↓ 3 callers
Function
getPctRpcCallsLogged
(chainId: number)
src/utils/ProviderUtils.ts:92
↓ 3 callers
Function
getPendingBridgeOrderKey
(redisPrefix: string, cloid: string, account: string)
src/rebalancer/utils/utils.ts:110
↓ 3 callers
Function
getProviderCache
(redisEnabled: boolean)
src/utils/ProviderUtils.ts:21
↓ 3 callers
Function
getProviderHeaders
(provider: string, chainId: number)
src/utils/ProviderUtils.ts:71
↓ 3 callers
Function
getTestBinanceNetworkName
(chainId: number)
test/swapOnBinance.ts:718
↓ 3 callers
Method
getTimeAt
(block: number)
test/mocks/MockSpokePoolClient.ts:22
↓ 3 callers
Function
getV2DepositForBurnMaxFee
( originUsdcToken: Address, originChainId: number, destinationChainId: number, amount: BigNumber )
src/utils/CCTPUtils.ts:339
↓ 3 callers
Function
hasBinanceRoute
(chainId: number, l1Token: Address)
src/common/Constants.ts:757
↓ 3 callers
Function
hasLogicalAssetNode
(chainId: number, logicalAsset: string)
test/JussiGraph.buildGraph.ts:336
↓ 3 callers
Method
indexerUpdate
(rawMessage: unknown)
test/Relayer.IndexedSpokePoolClient.ts:29
↓ 3 callers
Method
initialize
()
src/hyperliquid/HyperliquidExecutor.ts:140
↓ 3 callers
Method
initiateHandover
()
src/utils/InstanceCoordinator.ts:26
↓ 3 callers
Function
isChainOvercommitted
(limits: { limit: BigNumber }[])
test/Relayer.BasicFill.ts:264
↓ 3 callers
Function
isPaxosTransitOrderOutstanding
(order: PaxosTransitOrder)
src/utils/PaxosTransitUtils.ts:120
↓ 3 callers
Method
isRefundFlowTestDeposit
(outputAmount: RelayData["outputAmount"])
src/gasless/GaslessRelayer.ts:1264
↓ 3 callers
Function
isStablecoin
(token: Address, chainId: number)
src/utils/GaslessUtils.ts:101
↓ 3 callers
Method
isUnmeteredFastRebalance
(repaymentChainId: number, repaymentToken: Address)
src/clients/InventoryClient.ts:1703
← previous
next →
501–600 of 2,347, ranked by callers