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
getAcrossIndexerHost
(hubChainId: number)
src/clients/AcrossIndexerApiClient.ts:4
↓ 1 callers
Function
getAllMessageStatuses
( tokensBridged: TokensBridged[], logger: winston.Logger, mainnetSigner: Signer, chainId: number )
src/finalizer/utils/arbStack.ts:278
↓ 1 callers
Method
getAllPrices
()
src/clients/ProfitClient.ts:240
↓ 1 callers
Function
getApprovalDependentBridgeGasLimitFallback
( steps: DepositPlanStep[], stepIndex: number )
scripts/swapOnBinance.ts:744
↓ 1 callers
Method
getApproximateDepositsForToken
* Return sum of deposits for all deposits sent after the fromBlocks. * @param l1Token L1 token to get deposits for all inventory-equivalent L2 toke
src/clients/BundleDataApproxClient.ts:220
↓ 1 callers
Method
getApproximateRefundsForToken
* Return sum of refunds for all fills sent after the fromBlocks. * Makes a simple assumption that all fills that were sent by this relayer after th
src/clients/BundleDataApproxClient.ts:83
↓ 1 callers
Method
getApproximateUpcomingDepositsForToken
( l1Token: Address )
src/clients/BundleDataApproxClient.ts:257
↓ 1 callers
Method
getApproximateUpcomingRefunds
(l1Token: Address)
src/clients/BundleDataApproxClient.ts:207
↓ 1 callers
Method
getAuxiliaryNativeTokenCost
(deposit: Deposit)
src/clients/ProfitClient.ts:326
↓ 1 callers
Function
getAvailableChainsForToken
(accountCoins: Coin[], tokenSymbol: string)
scripts/sweepBinanceBalance.ts:298
↓ 1 callers
Function
getAvailableChainsForToken
( accountCoins: Coin[], tokenSymbol: string, direction: "deposit" | "withdraw" )
scripts/swapOnBinance.ts:1169
↓ 1 callers
Function
getBinanceDepositUnlockErrorMessage
(error: unknown)
src/rebalancer/adapters/binance.ts:1712
↓ 1 callers
Function
getBinanceFillTrades
( binanceApi: BinanceTradeReader, symbol: string, orderId: number, maxRetries = 3, delayS = 2 )
src/utils/BinanceUtils.ts:501
↓ 1 callers
Function
getBinanceSecretKey
* Retrieves a Binance API secret key from GCKMS if the key is stored in GCKMS. * @returns A base64 encoded secret key, or undefined if the key is not
src/utils/BinanceUtils.ts:209
↓ 1 callers
Method
getBinanceSecretKey
()
src/clients/BinanceClient.ts:77
↓ 1 callers
Function
getBlockNumberForTimestamp
(destinationChainId: number, targetTimestamp: number)
scripts/simulateFill.ts:209
↓ 1 callers
Method
getBundleEndBlockForChain
( proposeRootBundleEvent: ProposedRootBundle, chainId: number, chainIdList: number[] )
src/clients/HubPoolClient.ts:74
↓ 1 callers
Method
getByTopic
( tag: string, // eslint-disable-next-line @typescript-eslint/no-unused-vars _validator?: Struct<T
test/mocks/MockArweaveClient.ts:11
↓ 1 callers
Function
getCCTPV1Deposits
( senderAddresses: Address[], sourceChainId: number, destinationChainId: number, sourceEventSearchConf
src/utils/CCTPUtils.ts:270
↓ 1 callers
Function
getCause
(error: unknown)
src/clients/TransactionClient.ts:334
↓ 1 callers
Function
getCctpV2DepositForBurnStatuses
( depositForBurnHashes: string[], sourceChainId: number, senderAndRecipientAddresses: Address[] )
src/utils/CCTPUtils.ts:161
↓ 1 callers
Function
getCctpV2DepositForBurnTxnHashes
( srcProvider: Provider, sourceChainId: number, _senderAddresses: Address[], sourceEventSearchConfig:
src/utils/CCTPUtils.ts:132
↓ 1 callers
Method
getChainDistribution
* Determine the allocation of an l1 token across all configured remote chain IDs. * @param l1Token L1 token to query. * @returns Distribution of
src/clients/InventoryClient.ts:349
↓ 1 callers
Function
getChainIdFromEndpointId
(eid: number)
src/utils/OFTUtils.ts:77
↓ 1 callers
Method
getCloidForBridge
(rebalanceRoute: RebalanceRoute, txnHash: string)
src/rebalancer/adapters/cctpAdapter.ts:208
↓ 1 callers
Function
getContractsVersion
()
test/utils/svm/validator.setup.ts:15
↓ 1 callers
Function
getCounterfactualDepositFactory
(address: string)
src/utils/ContractUtils.ts:59
↓ 1 callers
Method
getCounterfactualDepositQuote
v1 counterfactual deposit-execute quote (GET).
src/clients/AcrossSwapApiClient.ts:239
↓ 1 callers
Function
getCrossChainMessages
( _chainId: OVM_CHAIN_ID, tokensBridged: TokensBridged[], crossChainMessenger: OVM_CROSS_CHAIN_MESSENGER
src/finalizer/utils/opStack.ts:589
↓ 1 callers
Function
getDepositAddressOrThrow
( venue: BinanceSwapVenue, source: ResolvedBinanceAsset )
scripts/swapOnBinance.ts:594
↓ 1 callers
Function
getDepositRouteEvent
(blockNumber: number)
test/Relayer.IndexedSpokePoolClient.ts:89
↓ 1 callers
Function
getDestination
* Determines the destination type and contract info based on chainId and signature presence. * All destination-based finalizer calls will pass signat
src/cctp-finalizer/utils/evmUtils.ts:100
↓ 1 callers
Function
getDisputeForTimestamp
( dvm: Contract, hubPoolClient: HubPoolClient, disputeRequestTimestamp: number, disputeRequestBlock?:
src/utils/UmaUtils.ts:22
↓ 1 callers
Function
getDisputeGameFinalizableAt
( portal: Contract, withdrawalHash: string, signer: Signer )
src/finalizer/utils/opStack.ts:159
↓ 1 callers
Function
getDisputedProposal
( hubPoolClient: HubPoolClient, disputeEvent: SortableEvent )
src/utils/UmaUtils.ts:13
↓ 1 callers
Function
getDstCctpHandler
()
src/utils/ContractUtils.ts:127
↓ 1 callers
Function
getDstOftHandler
()
src/utils/ContractUtils.ts:114
↓ 1 callers
Function
getDstUsdhHandler
()
src/utils/ContractUtils.ts:138
↓ 1 callers
Function
getDvmContract
(provider: ethers.providers.Provider)
src/utils/UmaUtils.ts:7
↓ 1 callers
Function
getEligibleKnownTokensForChain
(accountCoins: Coin[], chainId: number)
scripts/sweepBinanceBalance.ts:284
↓ 1 callers
Method
getEnabledChains
()
src/clients/bridges/CrossChainTransferClient.ts:53
↓ 1 callers
Function
getErrorMessage
(error: unknown)
scripts/fetchInventoryConfig.ts:162
↓ 1 callers
Method
getExchangeInfo
()
scripts/swapOnBinance.ts:1328
↓ 1 callers
Method
getExpectedAmountToReceiveForFilledOrder
( fillOrderId: number, cloid: string, source: ResolvedBinanceAsset, destination: ResolvedBinan
scripts/swapOnBinance.ts:1601
↓ 1 callers
Method
getFillProfitability
(deposit: Deposit, lpFeePct: BigNumber, repaymentChainId: number)
src/clients/ProfitClient.ts:679
↓ 1 callers
Function
getFinalizableMessages
( logger: winston.Logger, tokensBridged: TokensBridged[], l1Signer: Signer, chainId: number )
src/finalizer/utils/arbStack.ts:250
↓ 1 callers
Function
getFinalizableTransactions
( logger: winston.Logger, tokensBridged: TokensBridged[], posClient: POSClient )
src/finalizer/utils/polygon.ts:117
↓ 1 callers
Function
getFinalizationContract
* Returns the L1 contract that finalizes a withdrawal. For USDC withdrawals from chains that use * the custom ZkStack USDC bridge, that is the standa
src/finalizer/utils/zkSync.ts:282
↓ 1 callers
Function
getFinalizationMessagingInfo
( l1ClaimingService: L1ClaimingService, transactionHash: string )
src/finalizer/utils/linea/l2ToL1.ts:98
↓ 1 callers
Method
getHubPool
()
src/adapter/bridges/SnxOptimismBridge.ts:91
↓ 1 callers
Function
getIdTokenHeaders
(audience: string)
scripts/fetchInventoryConfig.ts:49
↓ 1 callers
Function
getInventoryState
(redis: RedisCacheInterface, topic: string)
src/relayer/index.ts:308
↓ 1 callers
Function
getL1ToL2MessageStatusUsingCustomProvider
( messageService: L2MessageServiceContract, messageHash: string, l2Provider: ethers.providers.Provider )
src/finalizer/utils/linea/l1ToL2.ts:37
↓ 1 callers
Function
getL2L1MessageStatusUsingCustomProvider
( messageService: L1ClaimingService, messageHash: string, l1Provider: ethers.providers.Provider, l1Sea
src/finalizer/utils/linea/common.ts:123
↓ 1 callers
Function
getL2MessageHashesInBlockRange
( l2MessageServiceContract: Contract, l2SearchConfig: EventSearchConfig )
src/finalizer/utils/linea/l2ToL1.ts:149
↓ 1 callers
Method
getL2PendingWithdrawalAmountWithLookbackPeriod
(withdrawExcessPeriod: number)
test/mocks/MockAdapterManager.ts:86
↓ 1 callers
Method
getL2PendingWithdrawalAmountWithLookbackPeriod
* @notice Call this function to get the total withdrawal amount for a given lookback period. If you want the * to know the total pending withdrawal
src/clients/bridges/AdapterManager.ts:267
↓ 1 callers
Method
getL2PendingWithdrawalLookbackPeriodSeconds
(l2Token: Address)
src/adapter/BaseChainAdapter.ts:350
↓ 1 callers
Function
getL2RelayedNonces
--- Query L2 Execution Events (RelayedCallData)
src/finalizer/utils/helios.ts:543
↓ 1 callers
Function
getL2TokensToFinalize
(events: TokensBridged[])
src/finalizer/utils/polygon.ts:299
↓ 1 callers
Function
getL2VerifiedSlotsMap
Query L2 Verification Events and return verified slots map
src/finalizer/utils/helios.ts:509
↓ 1 callers
Function
getLatestRunningBalances
( l1Token: EvmAddress, chainsToEvaluate: number[], hubPoolClient: HubPoolClient, bundleDataApproxClien
src/utils/RunningBalanceUtils.ts:24
↓ 1 callers
Method
getLimit
(originChainId: number, l1Token: EvmAddress)
src/clients/AcrossAPIClient.ts:98
↓ 1 callers
Function
getMainnetTokenBridger
(mainnetSigner: Signer)
src/finalizer/utils/polygon.ts:284
↓ 1 callers
Method
getMatchingFillForCloid
( cloid: string, source: ResolvedBinanceAsset, destination: ResolvedBinanceAsset )
scripts/swapOnBinance.ts:1630
↓ 1 callers
Method
getMaxFillDeadlineInRange
(startBlock: number, endBlock: number)
test/mocks/MockSpokePoolClient.ts:14
↓ 1 callers
Function
getMessageOutboxStatusAndProof
( logger: winston.Logger, event: TokensBridged, l1Signer: Signer, logIndex: number, chainId: number
src/finalizer/utils/arbStack.ts:304
↓ 1 callers
Function
getMessageProof
( messageHash: string, l1ClaimingService: L1ClaimingService, l2Provider: ethers.providers.Provider, l1
src/finalizer/utils/linea/l2ToL1.ts:53
↓ 1 callers
Function
getMessageStatuses
( _chainId: OVM_CHAIN_ID, crossChainMessages: CrossChainMessageWithEvent[], crossChainMessenger: OVM_CRO
src/finalizer/utils/opStack.ts:617
↓ 1 callers
Function
getMnemonic
()
hardhat.config.ts:46
↓ 1 callers
Function
getMnemonicSigner
* Retrieves a signer based on the mnemonic set in the env. * @returns A signer based on the mnemonic set in the env. * @throws If a valid mnemonic i
src/utils/SignerUtils.ts:101
↓ 1 callers
Function
getNativeTokens
* @notice Returns WETH and ETH token addresses for chain if defined, or throws an error if they're not * in the hardcoded dictionary. * @param chain
src/dataworker/DataworkerUtils.ts:432
↓ 1 callers
Function
getOPUSDCEvents
( logger: winston.Logger, provider: Provider, fromAddresses: string[], searchConfig: EventSearchConfig
src/finalizer/utils/opStack.ts:355
↓ 1 callers
Function
getOVMStdEvents
( logger: winston.Logger, provider: Provider, fromAddresses: string[], searchConfig: EventSearchConfig
src/finalizer/utils/opStack.ts:298
↓ 1 callers
Function
getOptimismClient
(chainId: OVM_CHAIN_ID, hubSigner: Signer)
src/finalizer/utils/opStack.ts:576
↓ 1 callers
Method
getOptimisticChainBundleStartBlock
(chainIdList = this.chainIdListForBundleEvaluationBlockNumbers)
src/dataworker/Dataworker.ts:425
↓ 1 callers
Function
getOrbitNetwork
(chainId: number)
src/utils/ArbSdkUtils.ts:31
↓ 1 callers
Method
getOrderBook
(symbol: string, skipCache = false)
scripts/swapOnBinance.ts:1358
↓ 1 callers
Method
getOutstandingCrossChainTransfers
(l1Tokens: EvmAddress[])
src/adapter/BaseChainAdapter.ts:547
↓ 1 callers
Method
getOutstandingCrossChainTransfers
(chainId: number, l1Tokens: EvmAddress[])
src/clients/bridges/AdapterManager.ts:206
↓ 1 callers
Function
getOvmSpokePoolContract
(chainId: number, signer?: Signer)
scripts/utils.ts:124
↓ 1 callers
Function
getPaxosTransitOutstandingOrderAmountInL1Decimals
( order: PaxosTransitOrder, wantAssetDecimals: number, offerAssetDecimals: number )
src/utils/PaxosTransitUtils.ts:197
↓ 1 callers
Function
getPendingBinanceRebalanceDeductions
( logger: winston.Logger, hubSigner: Signer, recipientAddresses: string[] )
src/finalizer/utils/binance.ts:302
↓ 1 callers
Method
getPendingOrders
()
src/rebalancer/utils/interfaces.ts:16
↓ 1 callers
Function
getPermit2
(chainId: number, address?: string)
src/utils/ContractUtils.ts:78
↓ 1 callers
Function
getPosClient
(mainnetSigner: Signer)
src/finalizer/utils/polygon.ts:97
↓ 1 callers
Method
getPossibleRebalances
()
src/clients/InventoryClient.ts:837
↓ 1 callers
Method
getPrivateKey
(type: "evm" | "svm")
src/cctp-finalizer/services/cctpService.ts:360
↓ 1 callers
Function
getPrivateKeySigner
* Retrieves a signer based on the mnemonic set in the env. * @returns A signer based on the mnemonic set in the env. * @throws If a valid private ke
src/utils/SignerUtils.ts:76
↓ 1 callers
Method
getQuote
( route: SwapRoute, amountOut: BigNumber, swapper: EvmAddress, recipient: EvmAddress )
src/clients/AcrossSwapApiClient.ts:213
↓ 1 callers
Method
getRebalancerPendingBridgeAdapterName
()
src/adapter/l2Bridges/OFTL2Bridge.ts:231
↓ 1 callers
Method
getRebalancerPendingBridgeAdapterName
()
src/adapter/bridges/OFTBridge.ts:232
↓ 1 callers
Function
getRebalancerStatusTrackingNamespace
()
src/rebalancer/utils/utils.ts:15
↓ 1 callers
Function
getRedisClient
(logger?: winston.Logger, url = REDIS_URL)
src/utils/Redis.ts:136
↓ 1 callers
Function
getRedisPubSub
(logger?: winston.Logger, url?: string)
src/messaging/redis/PubSub.ts:35
↓ 1 callers
Function
getRelayDataFromFill
(fill: FillWithBlock)
src/utils/FillUtils.ts:16
↓ 1 callers
Function
getRelayerQuote
( fromChainId: number, toChainId: number, token: utils.ERC20, amount: BigNumber, recipient: Address,
scripts/spokepool.ts:168
↓ 1 callers
Function
getRelevantL1Events
( _logger: winston.Logger, hubPoolClient: HubPoolClient, l1SpokePoolClient: EVMSpokePoolClient, l2Spok
src/finalizer/utils/helios.ts:416
↓ 1 callers
Method
getRemappedTokenSymbol
(token: string)
test/ProfitClient.PriceRetrieval.ts:29
↓ 1 callers
Method
getRemoteTokenForL1Token
(l1Token: EvmAddress, chainId: number)
src/clients/InventoryClient.ts:414
← previous
next →
1,301–1,400 of 2,347, ranked by callers