MCPcopy Create free account

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

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

↓ 2 callersFunctionfindOriginChainLimitIdx
( limits: { fromBlock: number; limit: BigNumber }[], blockNumber: number )
test/Relayer.BasicFill.ts:256
↓ 2 callersFunctionflushErrors
()
src/utils/Redis.ts:62
↓ 2 callersFunctionformatExampleUsdPrice
(value: number)
scripts/buildJussiGraph.ts:178
↓ 2 callersFunctionformatRelayData
(relayData: SvmSpokeClient.RelayDataArgs)
test/utils/svm/utils.ts:438
↓ 2 callersFunctionformatWithdrawalProgressLine
(params: { attempts: number; elapsedMs: number; withdrawal?: BinanceWithdrawal; })
scripts/swapOnBinance.ts:1085
↓ 2 callersFunctiongenerateEvent
(event: string, blockNumber: number, transactionHash?: string)
test/Relayer.IndexedSpokePoolClient.ts:50
↓ 2 callersFunctiongenerateV3FillFromDeposit
( deposit: interfaces.DepositWithBlock, fillEventOverride?: Partial<interfaces.FillWithBlock>, _re
test/Dataworker.loadData.slowFill.ts:72
↓ 2 callersFunctiongenerateV3FillFromDepositEvent
( depositEvent: interfaces.Log, fillEventOverride?: Partial<interfaces.FillWithBlock>, _rela
test/Dataworker.loadData.fill.ts:237
↓ 2 callersFunctiongenerateV3FillFromDepositEvent
( depositEvent: interfaces.Log, fillEventOverride?: Partial<interfaces.FillWithBlock>, _rela
test/Dataworker.loadData.deposit.ts:160
↓ 2 callersFunctiongenerateValidationKey
( proposal: Pick< ProposedRootBundle, "proposer" | "poolRebalanceRoot" | "relayerRefundRoot" | "slow
src/dataworker/DataworkerUtils.ts:410
↓ 2 callersFunctiongetAccountMeta
(value: KitAddress, isWritable: boolean)
src/utils/AddressUtils.ts:98
↓ 2 callersMethodgetActiveInstance
()
src/utils/InstanceCoordinator.ts:14
↓ 2 callersFunctiongetAddressLookupTableInstructions
( lookupTableAddress: KitAddress, keypair: TransactionSigner, lutAddresses: KitAddress[] )
src/utils/AddressUtils.ts:105
↓ 2 callersMethodgetAllTokenData
()
src/clients/TokenClient.ts:72
↓ 2 callersMethodgetAllTransfersInRange
(toAddress: Address, fromTimestampMs: number)
src/utils/BridgeUtils.ts:97
↓ 2 callersFunctiongetAllowanceCacheKey
(l1Token: EvmAddress, targetContract: EvmAddress, userAddress: EvmAddress)
src/clients/bridges/utils.ts:41
↓ 2 callersFunctiongetAmountToReturnForRelayerRefundLeaf
( spokePoolTargetBalance: SpokePoolTargetBalance, runningBalanceForLeaf: BigNumber )
src/dataworker/RelayerRefundUtils.ts:4
↓ 2 callersMethodgetApproximateRefundsForToken
( l1Token: EvmAddress, fromBlocks: { [chainId: number]: { [chainId: number]: number } } )
test/mocks/MockBundleDataApproxClient.ts:28
↓ 2 callersFunctiongetArbitrumOrbitFinalizationTime
(chainId: number)
src/utils/ArbSdkUtils.ts:34
↓ 2 callersMethodgetAuthorization
(params: { spenderAddress: string; tokenAddress: string; amount: BigNumber; userAddress: strin
src/utils/PaxosTransitUtils.ts:235
↓ 2 callersFunctiongetBinanceAllOrders
( binanceApi: BinanceApi, options: Parameters<BinanceApi["allOrders"]>[0] )
src/utils/BinanceUtils.ts:265
↓ 2 callersFunctiongetBinanceTradeFees
(binanceApi: BinanceApi)
src/utils/BinanceUtils.ts:254
↓ 2 callersFunctiongetBinanceWithdrawalAmount
(expectedAmountToReceive: string, tokenDecimals: number)
scripts/swapOnBinance.ts:1115
↓ 2 callersFunctiongetBinanceWithdrawalLimits
(binanceApi: BinanceApi)
src/utils/BinanceUtils.ts:239
↓ 2 callersFunctiongetBlockRangeByHoursOffsets
( logger: winston.Logger, chainId: number, fromBlockHoursOffsetToNow: number, toBlockHoursOffsetToNow:
src/finalizer/utils/linea/common.ts:190
↓ 2 callersFunctiongetCctpReceiveMessageCallData
( readyToFinalizeDeposit: { destinationChainId: number; attestationData: { attestation: string; mess
src/utils/CCTPUtils.ts:244
↓ 2 callersFunctiongetCctpV1Messages
( senderAddresses: Address[], sourceChainId: number, destinationChainId: number, sourceEventSearchConf
src/utils/CCTPUtils.ts:291
↓ 2 callersFunctiongetContract
(chainId: number, contractName: string)
scripts/utils.ts:99
↓ 2 callersFunctiongetCoreBalance
(address: string)
scripts/hypercoreTransfer.ts:68
↓ 2 callersMethodgetDestinationChainIdFromMessage
(message: string, sourceChainId: number)
src/cctp-finalizer/services/cctpService.ts:211
↓ 2 callersFunctiongetDispatcherKeys
()
src/utils/SignerUtils.ts:179
↓ 2 callersFunctiongetEligibleKnownTokensForChain
( accountCoins: Coin[], chainId: number, direction: "deposit" | "withdraw" )
scripts/swapOnBinance.ts:1147
↓ 2 callersMethodgetEnabledL2Chains
()
src/clients/bridges/CrossChainTransferClient.ts:57
↓ 2 callersFunctiongetEndpointId
(chainId: number)
src/utils/OFTUtils.ts:64
↓ 2 callersFunctiongetEvents
(eventNames: string[], fromBlock: number, toBlock: number)
src/libexec/RelayerSpokePoolListenerTVM.ts:96
↓ 2 callersFunctiongetEvmProvider
(rpcUrl: string)
src/cctp-finalizer/utils/evmUtils.ts:20
↓ 2 callersMethodgetExecutedDepositsRedisKey
()
src/deposit-address/DepositAddressHandler.ts:204
↓ 2 callersFunctiongetGckmsSigner
* Retrieves a signer based on the GCKMS key set in the args. * @returns A signer based on the GCKMS key set in the args. * @throws If the GCKMS key
src/utils/SignerUtils.ts:88
↓ 2 callersFunctiongetHubPoolAddress
(chainId: number)
src/utils/ContractUtils.ts:90
↓ 2 callersFunctiongetHubPoolStoreContract
(chainId: number, signerOrProvider: Signer | Provider)
src/utils/UniversalUtils.ts:31
↓ 2 callersMethodgetInventoryCacheKey
* Get the cache key for the InventoryClient state. * @returns Cache key for the InventoryClient state
src/clients/InventoryClient.ts:179
↓ 2 callersMethodgetL1TokenAddress
(l2Token: Address, chainId: number)
src/clients/BundleDataApproxClient.ts:266
↓ 2 callersMethodgetL1TokensEnabledInHubPool
()
src/clients/InventoryClient.ts:475
↓ 2 callersMethodgetL1TokensFromInventoryConfig
()
src/clients/InventoryClient.ts:471
↓ 2 callersFunctiongetL2AllowanceCacheKey
( l2ChainId: number, l2Token: EvmAddress, userAddress: EvmAddress, contractAddress: EvmAddress )
src/clients/bridges/utils.ts:71
↓ 2 callersFunctiongetL2MessagingBlockAnchoredFromMessageSentEvent
( messageSentEvent: Log, l1MessageServiceContract: Contract, l1SearchConfig: EventSearchConfig )
src/finalizer/utils/linea/common.ts:177
↓ 2 callersMethodgetL2PendingWithdrawalAmount
( l2EventConfig: EventSearchConfig, l1EventConfig: EventSearchConfig, fromAddress: EvmAddress,
src/adapter/l2Bridges/BridgeApi.ts:106
↓ 2 callersMethodgetL2Token
()
src/adapter/l2Bridges/BridgeApi.ts:63
↓ 2 callersFunctiongetL2TokenAllowanceFromCache
( l2ChainId: number, l2Token: EvmAddress, userAddress: EvmAddress, contractAddress: EvmAddress )
src/clients/bridges/utils.ts:80
↓ 2 callersMethodgetLimitsCacheKey
(l1Tokens: EvmAddress[])
src/clients/AcrossAPIClient.ts:113
↓ 2 callersFunctiongetLzTransactionDetails
(txHash: string)
src/utils/OFTUtils.ts:155
↓ 2 callersFunctiongetMessageSentEventForMessageHash
( messageHash: string, l2MessageServiceContract: Contract, l2SearchConfig: EventSearchConfig )
src/finalizer/utils/linea/common.ts:162
↓ 2 callersFunctiongetMessageTransmitterAccounts
(nonceSeed: Uint8Array)
src/cctp-finalizer/utils/svmUtils.ts:62
↓ 2 callersFunctiongetMultisender
(chainId: number, baseSigner: Signer)
src/utils/TransactionUtils.ts:42
↓ 2 callersMethodgetNextHubChainBundleStartBlock
(chainIdList = this.chainIdListForBundleEvaluationBlockNumbers)
src/dataworker/Dataworker.ts:416
↓ 2 callersMethodgetObservedDepositsSet
(chainId: number)
test/GaslessRelayer.ts:82
↓ 2 callersFunctiongetOftPreDepositOrderTtlOverride
( rebalanceRoute: Pick<RebalanceRoute, "sourceToken" | "sourceChain"> )
src/rebalancer/adapters/oftAdapter.ts:48
↓ 2 callersFunctiongetOpenOrders
( infoClient: hl.InfoClient, params: hl.OpenOrdersParameters, maxRetries = 3, delayS = 2 )
src/utils/HyperliquidUtils.ts:67
↓ 2 callersFunctiongetOptimismFinalizableMessages
( chainId: OVM_CHAIN_ID, logger: winston.Logger, tokensBridged: TokensBridged[], crossChainMessenger:
src/finalizer/utils/opStack.ts:648
↓ 2 callersMethodgetOrderQuote
(params: { userAddress: string; offerAmount: BigNumber; offerAsset: string; wantAsset: string;
src/utils/PaxosTransitUtils.ts:252
↓ 2 callersFunctiongetOriginFromURL
(url: string)
src/utils/NetworkUtils.ts:43
↓ 2 callersMethodgetOutstandingCrossChainTransferAmount
()
test/mocks/MockCrossChainTransferClient.ts:13
↓ 2 callersMethodgetOutstandingCrossChainTransferTxs
( address: Address, chainId: number, l1Token: EvmAddress, l2Token?: Address )
src/clients/bridges/CrossChainTransferClient.ts:34
↓ 2 callersMethodgetOutstandingOrdersOnPair
(pair: Pair, to = this.dstSearchConfig.to)
src/hyperliquid/HyperliquidExecutor.ts:540
↓ 2 callersMethodgetOutstandingTransfersFromApi
(l1Token: EvmAddress, monitoredAddress: EvmAddress)
src/adapter/bridges/PaxosTransitBridge.ts:103
↓ 2 callersFunctiongetParamType
(contractName: string, functionName: string, paramName: string)
src/utils/ContractUtils.ts:96
↓ 2 callersFunctiongetPaxosTransitOfferAssetsForWantAsset
(dstChainId: number, wantAsset: string)
src/utils/PaxosTransitUtils.ts:131
↓ 2 callersFunctiongetPaxosTransitOrderOutstandingWantAmount
(order: PaxosTransitOrder)
src/utils/PaxosTransitUtils.ts:112
↓ 2 callersMethodgetPendingBridgeTxnRefsForRoute
( adapter: PendingBridgeAdapterName, sourceChain: number, destinationChain: number, account: E
src/rebalancer/clients/CctpOftReadOnlyClient.ts:75
↓ 2 callersMethodgetPeripheryContract
(originChainId: number)
src/gasless/GaslessRelayer.ts:866
↓ 2 callersFunctiongetProposal
* Query the details of a proposal at a given block/tag. * @param provider Ethers provider instance. * @param chainId HubPool chain ID. * @param blo
src/dataworker/index.ts:95
↓ 2 callersMethodgetQuantityForOrder
( source: ResolvedBinanceAsset, destination: ResolvedBinanceAsset, sourceAmount: BigNumber )
scripts/swapOnBinance.ts:1534
↓ 2 callersMethodgetRedis
()
src/clients/TokenClient.ts:526
↓ 2 callersFunctiongetRedisCacheForRebalancerStatusTracking
( logger?: winston.Logger )
src/rebalancer/utils/utils.ts:21
↓ 2 callersMethodgetRepaymentChainOverride
* Gets the repayment chain override for a given origin chain. * Priority: repaymentChainOverridePerChain[originChainId] > repaymentChainOverride
src/clients/InventoryClient.ts:522
↓ 2 callersMethodgetResolvedGasPrice
(chainId: number)
src/jussi/economics/PricingContext.ts:142
↓ 2 callersFunctiongetRetryParams
(chainId: number)
src/utils/ProviderUtils.ts:107
↓ 2 callersMethodgetSearchConfig
(chainId: number)
src/adapter/BaseChainAdapter.ts:103
↓ 2 callersMethodgetSkippedWithdrawKeysRedisKey
()
src/deposit-address/DepositAddressHandler.ts:212
↓ 2 callersFunctiongetSpokePoolClientEventSearchConfigsForFastDataworker
( config: Omit<DataworkerConfig, "validate" | "update">, clients: DataworkerClients, dataworker: Datawor
src/dataworker/DataworkerClientHelper.ts:112
↓ 2 callersFunctiongetSpotClearinghouseState
( infoClient: hl.InfoClient, params: hl.SpotClearinghouseStateParameters, maxRetries = 3, delayS = 2 )
src/utils/HyperliquidUtils.ts:47
↓ 2 callersMethodgetSpotFreeBalance
(binanceCoin: string)
scripts/swapOnBinance.ts:1322
↓ 2 callersFunctiongetSvmSignerFromPrivateKey
(privateKey: string)
src/utils/SvmSignerUtils.ts:14
↓ 2 callersFunctiongetSweepableOrphanBinanceBalance
( coinBalance: number, creditedDepositAmount: number, swapDepositAmount: number, pendingRebalanceDeduc
src/finalizer/utils/binance.ts:293
↓ 2 callersMethodgetSymbol
(sourceBinanceCoin: string, destinationBinanceCoin: string)
scripts/swapOnBinance.ts:1342
↓ 2 callersFunctiongetTimestampsForBundleStartBlocks
( spokePoolClients: SpokePoolClientsByChain, blockRanges: number[][], chainIdListForBundleEvaluationBloc
src/utils/BlockUtils.ts:57
↓ 2 callersFunctiongetTokenAllowanceFromCache
( l1Token: EvmAddress, userAddress: EvmAddress, contractAddress: EvmAddress )
src/clients/bridges/utils.ts:45
↓ 2 callersMethodgetTokenDistributionPerL1Token
* 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:378
↓ 2 callersMethodgetTokenInfo
(l2Token: Address, chainId: number)
src/dataworker/Dataworker.ts:2483
↓ 2 callersFunctiongetTokenSymbol
(token: Address, chainId: number)
src/utils/TokenUtils.ts:251
↓ 2 callersMethodgetTotalPendingWithdrawalAmount
* @notice Call this function to get the total pending withdrawal amount for a given L1 token and from address. * @dev This function will lookback l
src/clients/bridges/AdapterManager.ts:283
↓ 2 callersFunctiongetTypechainAbi
(contractName: string)
src/utils/ContractUtils.ts:21
↓ 2 callersMethodgetUnexecutedBundleStartBlocks
( l1Token: Address, requireExecution: boolean )
test/mocks/MockBundleDataApproxClient.ts:36
↓ 2 callersMethodgetUnexecutedBundleStartBlocks
( l1Token: Address, requireExecution: boolean )
src/clients/BundleDataApproxClient.ts:132
↓ 2 callersMethodgetUnprofitableFills
()
src/clients/ProfitClient.ts:423
↓ 2 callersMethodgetUpdatedSearchConfigs
()
src/adapter/BaseChainAdapter.ts:120
↓ 2 callersFunctiongetUserFees
( infoClient: hl.InfoClient, params: hl.UserFeesParameters, maxRetries = 3, delayS = 2 )
src/utils/HyperliquidUtils.ts:77
↓ 2 callersFunctiongetViemChain
(chainId: number)
src/utils/NetworkUtils.ts:33
↓ 2 callersMethodgetWithdrawnKeysRedisKey
()
src/deposit-address/DepositAddressHandler.ts:208
↓ 2 callersMethodhasBalanceForFill
(deposit: Deposit)
src/clients/TokenClient.ts:104
← previousnext →801–900 of 2,347, ranked by callers