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
Method
getRequiredL1TokenAddress
(originToken: Address, originChainId: number)
src/clients/InventoryClient.ts:570
↓ 1 callers
Method
getRouteForL2Token
(l2Token: EvmAddress)
src/adapter/l2Bridges/TokenSplitterBridge.ts:27
↓ 1 callers
Method
getRouteForL2Token
(l2Token: Address)
src/adapter/bridges/TokenSplitterBridge.ts:51
↓ 1 callers
Method
getRouteForL2Token
(l2Token: Address)
src/adapter/bridges/UsdcTokenSplitterBridge.ts:50
↓ 1 callers
Function
getSecretSigner
* Retrieves a signer based on the secret stored in ./.secret. * @returns An ethers Signer object. * @throws If a valid secret could not be read.
src/utils/SignerUtils.ts:113
↓ 1 callers
Function
getSharedBridge
( l1ChainId: number, l2ChainId: number, l2TokenAddress: Address, l1Provider?: Provider )
src/finalizer/utils/zkSync.ts:295
↓ 1 callers
Method
getShortfallDeposits
(chainId: number, token: Address)
src/clients/TokenClient.ts:96
↓ 1 callers
Function
getSp1HeliosContractEVM
( evmSpokePool: ethers.Contract, signerOrProvider: Signer | Provider )
src/utils/HeliosUtils.ts:14
↓ 1 callers
Function
getSp1HeliosHeadData
(sp1HeliosL2: ethers.Contract)
src/finalizer/utils/helios.ts:132
↓ 1 callers
Function
getSpeedProvider
(chainId: number, logger?: winston.Logger)
src/utils/ProviderUtils.ts:257
↓ 1 callers
Function
getSpokePoolClientsForContract
( logger: winston.Logger, hubPoolClient: HubPoolClient, config: CommonConfig, spokePools: { chainId: n
src/common/ClientHelper.ts:282
↓ 1 callers
Function
getSpokePoolPeriphery
(chainId: number, address?: string)
src/utils/ContractUtils.ts:71
↓ 1 callers
Function
getSpokePoolSigners
( baseSigner: Signer, spokePoolChains: number[] )
src/common/ClientHelper.ts:45
↓ 1 callers
Function
getSpotMeta
(infoClient: hl.InfoClient, maxRetries = 3, delayS = 2)
src/utils/HyperliquidUtils.ts:43
↓ 1 callers
Function
getSrcOftMessages
( srcChainId: number, searchConfig: EventSearchConfig, srcProvider: Provider )
src/utils/OFTUtils.ts:169
↓ 1 callers
Function
getSrcOftPeriphery
(chainId: number)
src/utils/ContractUtils.ts:149
↓ 1 callers
Function
getSuggestedFees
(params: RelayerFeeQuery)
scripts/spokepool.ts:149
↓ 1 callers
Method
getTokenDecimals
(chainId: number, tokenAddress: string)
src/jussi/economics/PricingContext.ts:284
↓ 1 callers
Function
getTokenMessengerAccounts
( provider: SVMProvider, destinationChainId: number, originChainId: number, mintRecipientBytes32: Uint
src/cctp-finalizer/utils/svmUtils.ts:82
↓ 1 callers
Method
getTokenPriceUsd
(chainId: number, tokenAddress: string)
src/jussi/economics/PricingContext.ts:301
↓ 1 callers
Method
getTokensNeededToCoverShortfall
(chainId: number, token: Address)
src/clients/TokenClient.ts:92
↓ 1 callers
Method
getTradeFeePct
(symbol: string)
scripts/swapOnBinance.ts:1622
↓ 1 callers
Method
getTradeFees
()
scripts/swapOnBinance.ts:1335
↓ 1 callers
Function
getTronWebFromEvmSigner
(evmSigner: Signer)
src/utils/TvmSignerUtils.ts:5
↓ 1 callers
Method
getTxnQueueLen
()
src/clients/SvmFillerClient.ts:364
↓ 1 callers
Function
getTxnRefFromCloid
(adapter: PendingBridgeAdapterName, cloid: string)
src/rebalancer/clients/CctpOftReadOnlyClient.ts:41
↓ 1 callers
Method
getUnfilledDepositAmounts
(chainId: number, token: Address)
src/clients/TokenClient.ts:100
↓ 1 callers
Function
getUserFillsByTime
( infoClient: hl.InfoClient, params: hl.UserFillsByTimeParameters, maxRetries = 3, delayS = 2 )
src/utils/HyperliquidUtils.ts:97
↓ 1 callers
Function
getUserNonFundingLedgerUpdates
( infoClient: hl.InfoClient, params: hl.UserNonFundingLedgerUpdatesParameters, maxRetries = 3, delayS
src/utils/HyperliquidUtils.ts:57
↓ 1 callers
Function
getV2MaxExpectedTransferFee
(sourceChainId: number)
src/utils/CCTPUtils.ts:376
↓ 1 callers
Function
getValidations
()
src/dataworker/index.ts:461
↓ 1 callers
Function
getWithdrawalParams
* @param wallet zkSync wallet instance. * @param msgLogs Array of txnRef and withdrawal index pairs. * @returns Withdrawal proof data for each withd
src/finalizer/utils/zkSync.ts:196
↓ 1 callers
Method
handleTokenShortfall
()
src/relayer/Relayer.ts:1469
↓ 1 callers
Method
handleUnfillableDeposit
()
src/relayer/Relayer.ts:1534
↓ 1 callers
Function
hasCCTPV2MessageBeenProcessed
(message: string, provider: SVMProvider)
src/cctp-finalizer/utils/svmUtils.ts:211
↓ 1 callers
Function
hasSameAssetBridgeAdapter
(token: SupportedToken)
src/rebalancer/buildRebalanceRoutes.ts:50
↓ 1 callers
Function
hexStringToBytes
(value: string)
src/cctp-finalizer/utils/svmUtils.ts:58
↓ 1 callers
Function
identifyRequiredActions
( logger: winston.Logger, hubPoolClient: HubPoolClient, l1SpokePoolClient: EVMSpokePoolClient, l2Spoke
src/finalizer/utils/helios.ts:146
↓ 1 callers
Method
import
* Import InventoryClient state. * @returns void
src/clients/InventoryClient.ts:166
↓ 1 callers
Method
incr
(key: string)
src/cache/Redis.ts:16
↓ 1 callers
Method
incrBy
(key: string, amount: number)
src/cache/Redis.ts:17
↓ 1 callers
Method
incrBy
(key: string, amount: number)
src/cache/Redis.ts:138
↓ 1 callers
Method
increaseOutstandingTransfer
( address: Address, l1Token: EvmAddress, l2Token: Address, rebalance: BigNumber, chainId:
src/clients/bridges/CrossChainTransferClient.ts:61
↓ 1 callers
Function
indexNodesByLogicalAssetAndChain
( nodeContexts: ManagedNodeContext[] )
src/jussi/topology/edges.ts:360
↓ 1 callers
Function
indexedSpokePoolClient
( baseSigner: Signer, hubPoolClient: HubPoolClient, chainId: number, opts: IndexerOpts & { lookback: n
src/relayer/RelayerClientHelper.ts:54
↓ 1 callers
Method
initialize
()
src/deposit-address/DepositAddressHandler.ts:148
↓ 1 callers
Method
initialize
()
src/gasless/GaslessRelayer.ts:181
↓ 1 callers
Method
initialize
* @notice One time initialization of the Refiller for any async operations.
src/refiller/Refiller.ts:103
↓ 1 callers
Function
initializeRebalancerRun
(_logger: winston.Logger, baseSigner: Signer)
src/rebalancer/index.ts:36
↓ 1 callers
Function
initializeSvmSpoke
( signer: KeyPairSigner, solanaClient: arch.svm.RpcClient, crossDomainAdmin: Address, initialNumberOfD
test/utils/svm/utils.ts:166
↓ 1 callers
Method
initiateDeposit
(depositMessage: DepositAddressMessage)
src/deposit-address/DepositAddressHandler.ts:746
↓ 1 callers
Method
initiateDeposit
( depositMessage: AnyGaslessDepositMessage )
src/gasless/GaslessRelayer.ts:873
↓ 1 callers
Method
initiateWithdraw
* @notice Refund-withdraw path entry point. Gated behind config.withdrawEnabled. * Refunds the full transfer amount via the quote-api signed-withdr
src/deposit-address/DepositAddressHandler.ts:405
↓ 1 callers
Method
initiateWithdrawal
(destination: ResolvedBinanceAsset, recipient: string, amount: BigNumber)
scripts/swapOnBinance.ts:1648
↓ 1 callers
Method
isAttestationReady
(status: string)
src/cctp-finalizer/services/cctpService.ts:322
↓ 1 callers
Function
isAugmentedTransaction
(txn: Multicall2Call | AugmentedTransaction)
src/finalizer/types.ts:62
↓ 1 callers
Function
isChainSpecificFinalizer
( finalizer: ChainFinalizer | Finalizer, genericFinalizer: boolean )
src/finalizer/index.ts:222
↓ 1 callers
Function
isCloseEvent
(x: unknown)
src/libexec/RelayerSpokePoolListenerSVM.ts:131
↓ 1 callers
Method
isContractDeployed
* @notice Returns whether a contract exists at the given address on the given chain (eth_getCode).
src/deposit-address/DepositAddressHandler.ts:1412
↓ 1 callers
Method
isFillMessageTooLarge
(relayData: Pick<ProtoFill, "message">)
src/clients/SvmFillerClient.ts:372
↓ 1 callers
Function
isGaslessPermitType
(value: string)
src/utils/GaslessUtils.ts:81
↓ 1 callers
Function
isJsonRpcError
(response: unknown)
src/utils/ProviderUtils.ts:40
↓ 1 callers
Function
isKnownTokenSymbol
(symbol: string)
scripts/swapOnBinance.ts:1875
↓ 1 callers
Method
isL2ChainContract
(address: EvmAddress)
src/adapter/bridges/SnxOptimismBridge.ts:96
↓ 1 callers
Method
isQuicklyRebalanced
* @notice Returns true if after filling this deposit, the repayment can be quickly rebalanced to a different chain. * @dev This function can be use
src/clients/InventoryClient.ts:1712
↓ 1 callers
Function
isSameBinanceCoinSymbol
(sourceToken: string, destinationToken: string)
src/jussi/topology/edges.ts:292
↓ 1 callers
Function
isSpokePoolClientWithListener
(client: SpokePoolClient)
src/clients/SpokePoolClient.ts:27
↓ 1 callers
Function
isStargateBridge
(chainId: number)
src/utils/OFTUtils.ts:101
↓ 1 callers
Function
isTypedDataSigner
(signer: Signer)
src/utils/PaxosTransitUtils.ts:356
↓ 1 callers
Function
isValidKeyType
* Checks if the key type is valid for being passed as input to the CLI * @param keyType The key type to check. * @returns True if the key type is va
src/utils/CLIUtils.ts:48
↓ 1 callers
Function
isValidRecipientForChain
(recipient: string, chainId: number)
scripts/sweepBinanceBalance.ts:356
↓ 1 callers
Function
isValidRecipientForChain
(recipient: string, chainId: number)
scripts/swapOnBinance.ts:1136
↓ 1 callers
Method
l2TokenEnabledForL1Token
(l1Token: EvmAddress, destinationChainId: number)
test/mocks/MockHubPoolClient.ts:74
↓ 1 callers
Method
listOrders
(params: { userAddress: string; filter?: string; pageSize?: number; pageToken?: string; })
src/utils/PaxosTransitUtils.ts:302
↓ 1 callers
Function
listOutstandingPaxosTransitOrders
( client: PaxosTransitClient, userAddress: string )
src/utils/PaxosTransitUtils.ts:190
↓ 1 callers
Function
listen
* Given a SpokePool eventsClient instance and an array of event names, subscribe to all future event emissions. * Periodically transmit received even
src/libexec/RelayerSpokePoolListenerSVM.ts:100
↓ 1 callers
Function
listen
* Index SpokePool events off a single quorum RetryProvider, which imposes node quorum on every * eth_getLogs. Backfill the look-back-only events once
src/libexec/RelayerSpokePoolListenerTVM.ts:86
↓ 1 callers
Method
log
(message: string, data?: AnyObject, level: DefaultLogLevels = "debug")
src/clients/bridges/CrossChainTransferClient.ts:98
↓ 1 callers
Function
logFromEvent
* Transform an EventWithData type to a Log type. * @notice This conversion will be redundant after changes to the SpokePoolListener messaging interfa
src/libexec/RelayerSpokePoolListenerSVM.ts:54
↓ 1 callers
Method
logSimulationFailures
(failures: TransactionSimulationResult[])
src/clients/MultiCallerClient.ts:498
↓ 1 callers
Function
logSummary
(logger: winston.Logger, readyActions: HeliosAction[], l2ChainId: number)
src/finalizer/utils/helios.ts:576
↓ 1 callers
Function
main
()
scripts/buildJussiGraph.ts:383
↓ 1 callers
Function
main
()
scripts/recoveries/2026-06-accounting/verify.ts:53
↓ 1 callers
Function
makeCctpDepositMessage
* Build a CCTP GaslessDepositMessage. * CCTP deposits use a different spokePool address to indicate cross-chain transfer protocol.
test/GaslessRelayer.ts:315
↓ 1 callers
Function
makeGetMessagesWithStatusByTxHash
( l2Provider: ethers.providers.Provider, l1Provider: ethers.providers.Provider, l2MessageService: L2Mess
src/finalizer/utils/linea/common.ts:55
↓ 1 callers
Function
makePermit2DepositMessage
* Build a Permit2 GaslessDepositMessage. * Permit2 uses a different permit structure and is identified by permitType === "permit2".
test/GaslessRelayer.ts:254
↓ 1 callers
Function
makeTestPermit2Message
( overrides?: Partial<GaslessDepositMessage["baseDepositData"]>, metadata?: GaslessDepositMetadata )
test/GaslessRelayer.ts:583
↓ 1 callers
Function
makeTopic
()
test/EventManager.ts:14
↓ 1 callers
Function
makeTopic
(signature?: string)
test/Relayer.IndexedSpokePoolClient.ts:46
↓ 1 callers
Function
mergeMessagesWithTokensBridged
(messages: MessageWithStatus[], allTokensBridgedEvents: TokensBridged[])
src/finalizer/utils/linea/l2ToL1.ts:371
↓ 1 callers
Function
minOptionalBigNumbers
(...values: Array<BigNumber | undefined>)
src/jussi/economics/edgeCosts.ts:282
↓ 1 callers
Function
multicallArbitrumFinalizations
( tokensBridged: TokensBridged[], hubSigner: Signer, hubPoolClient: HubPoolClient, logger: winston.Log
src/finalizer/utils/arbStack.ts:195
↓ 1 callers
Function
multicallOptimismFinalizations
( chainId: OVM_CHAIN_ID, tokensBridgedEvents: TokensBridged[], crossChainMessenger: OVM_CROSS_CHAIN_MESS
src/finalizer/utils/opStack.ts:795
↓ 1 callers
Function
multicallOptimismL1Proofs
( chainId: OVM_CHAIN_ID, tokensBridgedEvents: TokensBridged[], crossChainMessenger: OVM_CROSS_CHAIN_MESS
src/finalizer/utils/opStack.ts:1012
↓ 1 callers
Function
multicallPolygonFinalizations
( tokensBridged: TokensBridged[], posClient: POSClient, hubSigner: Signer, hubPoolClient: HubPoolClien
src/finalizer/utils/polygon.ts:208
↓ 1 callers
Function
newBlock
(blockNumber: number, currentTime: number)
src/relayer/index.ts:96
↓ 1 callers
Function
normalizeBaseUrl
(baseUrl: string)
scripts/fetchInventoryConfig.ts:45
↓ 1 callers
Function
normalizeLongFlags
(argv: string[])
scripts/swapOnBinance.ts:1069
↓ 1 callers
Function
normalizeTokenSymbol
(tokenSymbol: string)
scripts/swapOnBinance.ts:1194
↓ 1 callers
Method
originChainOvercommitted
* For a given origin chain, determine whether a new fill will overcommit the chain. * @param originChainId Chain ID of origin chain. * @param am
src/relayer/Relayer.ts:516
← previous
next →
1,401–1,500 of 2,347, ranked by callers