MCPcopy Create free account

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

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

↓ 1 callersFunctiongetAcrossIndexerHost
(hubChainId: number)
src/clients/AcrossIndexerApiClient.ts:4
↓ 1 callersFunctiongetAllMessageStatuses
( tokensBridged: TokensBridged[], logger: winston.Logger, mainnetSigner: Signer, chainId: number )
src/finalizer/utils/arbStack.ts:278
↓ 1 callersMethodgetAllPrices
()
src/clients/ProfitClient.ts:240
↓ 1 callersFunctiongetApprovalDependentBridgeGasLimitFallback
( steps: DepositPlanStep[], stepIndex: number )
scripts/swapOnBinance.ts:744
↓ 1 callersMethodgetApproximateDepositsForToken
* 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 callersMethodgetApproximateRefundsForToken
* 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 callersMethodgetApproximateUpcomingDepositsForToken
( l1Token: Address )
src/clients/BundleDataApproxClient.ts:257
↓ 1 callersMethodgetApproximateUpcomingRefunds
(l1Token: Address)
src/clients/BundleDataApproxClient.ts:207
↓ 1 callersMethodgetAuxiliaryNativeTokenCost
(deposit: Deposit)
src/clients/ProfitClient.ts:326
↓ 1 callersFunctiongetAvailableChainsForToken
(accountCoins: Coin[], tokenSymbol: string)
scripts/sweepBinanceBalance.ts:298
↓ 1 callersFunctiongetAvailableChainsForToken
( accountCoins: Coin[], tokenSymbol: string, direction: "deposit" | "withdraw" )
scripts/swapOnBinance.ts:1169
↓ 1 callersFunctiongetBinanceDepositUnlockErrorMessage
(error: unknown)
src/rebalancer/adapters/binance.ts:1712
↓ 1 callersFunctiongetBinanceFillTrades
( binanceApi: BinanceTradeReader, symbol: string, orderId: number, maxRetries = 3, delayS = 2 )
src/utils/BinanceUtils.ts:501
↓ 1 callersFunctiongetBinanceSecretKey
* 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 callersMethodgetBinanceSecretKey
()
src/clients/BinanceClient.ts:77
↓ 1 callersFunctiongetBlockNumberForTimestamp
(destinationChainId: number, targetTimestamp: number)
scripts/simulateFill.ts:209
↓ 1 callersMethodgetBundleEndBlockForChain
( proposeRootBundleEvent: ProposedRootBundle, chainId: number, chainIdList: number[] )
src/clients/HubPoolClient.ts:74
↓ 1 callersMethodgetByTopic
( tag: string, // eslint-disable-next-line @typescript-eslint/no-unused-vars _validator?: Struct<T
test/mocks/MockArweaveClient.ts:11
↓ 1 callersFunctiongetCCTPV1Deposits
( senderAddresses: Address[], sourceChainId: number, destinationChainId: number, sourceEventSearchConf
src/utils/CCTPUtils.ts:270
↓ 1 callersFunctiongetCause
(error: unknown)
src/clients/TransactionClient.ts:334
↓ 1 callersFunctiongetCctpV2DepositForBurnStatuses
( depositForBurnHashes: string[], sourceChainId: number, senderAndRecipientAddresses: Address[] )
src/utils/CCTPUtils.ts:161
↓ 1 callersFunctiongetCctpV2DepositForBurnTxnHashes
( srcProvider: Provider, sourceChainId: number, _senderAddresses: Address[], sourceEventSearchConfig:
src/utils/CCTPUtils.ts:132
↓ 1 callersMethodgetChainDistribution
* 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 callersFunctiongetChainIdFromEndpointId
(eid: number)
src/utils/OFTUtils.ts:77
↓ 1 callersMethodgetCloidForBridge
(rebalanceRoute: RebalanceRoute, txnHash: string)
src/rebalancer/adapters/cctpAdapter.ts:208
↓ 1 callersFunctiongetContractsVersion
()
test/utils/svm/validator.setup.ts:15
↓ 1 callersFunctiongetCounterfactualDepositFactory
(address: string)
src/utils/ContractUtils.ts:59
↓ 1 callersMethodgetCounterfactualDepositQuote
v1 counterfactual deposit-execute quote (GET).
src/clients/AcrossSwapApiClient.ts:239
↓ 1 callersFunctiongetCrossChainMessages
( _chainId: OVM_CHAIN_ID, tokensBridged: TokensBridged[], crossChainMessenger: OVM_CROSS_CHAIN_MESSENGER
src/finalizer/utils/opStack.ts:589
↓ 1 callersFunctiongetDepositAddressOrThrow
( venue: BinanceSwapVenue, source: ResolvedBinanceAsset )
scripts/swapOnBinance.ts:594
↓ 1 callersFunctiongetDepositRouteEvent
(blockNumber: number)
test/Relayer.IndexedSpokePoolClient.ts:89
↓ 1 callersFunctiongetDestination
* 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 callersFunctiongetDisputeForTimestamp
( dvm: Contract, hubPoolClient: HubPoolClient, disputeRequestTimestamp: number, disputeRequestBlock?:
src/utils/UmaUtils.ts:22
↓ 1 callersFunctiongetDisputeGameFinalizableAt
( portal: Contract, withdrawalHash: string, signer: Signer )
src/finalizer/utils/opStack.ts:159
↓ 1 callersFunctiongetDisputedProposal
( hubPoolClient: HubPoolClient, disputeEvent: SortableEvent )
src/utils/UmaUtils.ts:13
↓ 1 callersFunctiongetDstCctpHandler
()
src/utils/ContractUtils.ts:127
↓ 1 callersFunctiongetDstOftHandler
()
src/utils/ContractUtils.ts:114
↓ 1 callersFunctiongetDstUsdhHandler
()
src/utils/ContractUtils.ts:138
↓ 1 callersFunctiongetDvmContract
(provider: ethers.providers.Provider)
src/utils/UmaUtils.ts:7
↓ 1 callersFunctiongetEligibleKnownTokensForChain
(accountCoins: Coin[], chainId: number)
scripts/sweepBinanceBalance.ts:284
↓ 1 callersMethodgetEnabledChains
()
src/clients/bridges/CrossChainTransferClient.ts:53
↓ 1 callersFunctiongetErrorMessage
(error: unknown)
scripts/fetchInventoryConfig.ts:162
↓ 1 callersMethodgetExchangeInfo
()
scripts/swapOnBinance.ts:1328
↓ 1 callersMethodgetExpectedAmountToReceiveForFilledOrder
( fillOrderId: number, cloid: string, source: ResolvedBinanceAsset, destination: ResolvedBinan
scripts/swapOnBinance.ts:1601
↓ 1 callersMethodgetFillProfitability
(deposit: Deposit, lpFeePct: BigNumber, repaymentChainId: number)
src/clients/ProfitClient.ts:679
↓ 1 callersFunctiongetFinalizableMessages
( logger: winston.Logger, tokensBridged: TokensBridged[], l1Signer: Signer, chainId: number )
src/finalizer/utils/arbStack.ts:250
↓ 1 callersFunctiongetFinalizableTransactions
( logger: winston.Logger, tokensBridged: TokensBridged[], posClient: POSClient )
src/finalizer/utils/polygon.ts:117
↓ 1 callersFunctiongetFinalizationContract
* 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 callersFunctiongetFinalizationMessagingInfo
( l1ClaimingService: L1ClaimingService, transactionHash: string )
src/finalizer/utils/linea/l2ToL1.ts:98
↓ 1 callersMethodgetHubPool
()
src/adapter/bridges/SnxOptimismBridge.ts:91
↓ 1 callersFunctiongetIdTokenHeaders
(audience: string)
scripts/fetchInventoryConfig.ts:49
↓ 1 callersFunctiongetInventoryState
(redis: RedisCacheInterface, topic: string)
src/relayer/index.ts:308
↓ 1 callersFunctiongetL1ToL2MessageStatusUsingCustomProvider
( messageService: L2MessageServiceContract, messageHash: string, l2Provider: ethers.providers.Provider )
src/finalizer/utils/linea/l1ToL2.ts:37
↓ 1 callersFunctiongetL2L1MessageStatusUsingCustomProvider
( messageService: L1ClaimingService, messageHash: string, l1Provider: ethers.providers.Provider, l1Sea
src/finalizer/utils/linea/common.ts:123
↓ 1 callersFunctiongetL2MessageHashesInBlockRange
( l2MessageServiceContract: Contract, l2SearchConfig: EventSearchConfig )
src/finalizer/utils/linea/l2ToL1.ts:149
↓ 1 callersMethodgetL2PendingWithdrawalAmountWithLookbackPeriod
(withdrawExcessPeriod: number)
test/mocks/MockAdapterManager.ts:86
↓ 1 callersMethodgetL2PendingWithdrawalAmountWithLookbackPeriod
* @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 callersMethodgetL2PendingWithdrawalLookbackPeriodSeconds
(l2Token: Address)
src/adapter/BaseChainAdapter.ts:350
↓ 1 callersFunctiongetL2RelayedNonces
--- Query L2 Execution Events (RelayedCallData)
src/finalizer/utils/helios.ts:543
↓ 1 callersFunctiongetL2TokensToFinalize
(events: TokensBridged[])
src/finalizer/utils/polygon.ts:299
↓ 1 callersFunctiongetL2VerifiedSlotsMap
Query L2 Verification Events and return verified slots map
src/finalizer/utils/helios.ts:509
↓ 1 callersFunctiongetLatestRunningBalances
( l1Token: EvmAddress, chainsToEvaluate: number[], hubPoolClient: HubPoolClient, bundleDataApproxClien
src/utils/RunningBalanceUtils.ts:24
↓ 1 callersMethodgetLimit
(originChainId: number, l1Token: EvmAddress)
src/clients/AcrossAPIClient.ts:98
↓ 1 callersFunctiongetMainnetTokenBridger
(mainnetSigner: Signer)
src/finalizer/utils/polygon.ts:284
↓ 1 callersMethodgetMatchingFillForCloid
( cloid: string, source: ResolvedBinanceAsset, destination: ResolvedBinanceAsset )
scripts/swapOnBinance.ts:1630
↓ 1 callersMethodgetMaxFillDeadlineInRange
(startBlock: number, endBlock: number)
test/mocks/MockSpokePoolClient.ts:14
↓ 1 callersFunctiongetMessageOutboxStatusAndProof
( logger: winston.Logger, event: TokensBridged, l1Signer: Signer, logIndex: number, chainId: number
src/finalizer/utils/arbStack.ts:304
↓ 1 callersFunctiongetMessageProof
( messageHash: string, l1ClaimingService: L1ClaimingService, l2Provider: ethers.providers.Provider, l1
src/finalizer/utils/linea/l2ToL1.ts:53
↓ 1 callersFunctiongetMessageStatuses
( _chainId: OVM_CHAIN_ID, crossChainMessages: CrossChainMessageWithEvent[], crossChainMessenger: OVM_CRO
src/finalizer/utils/opStack.ts:617
↓ 1 callersFunctiongetMnemonic
()
hardhat.config.ts:46
↓ 1 callersFunctiongetMnemonicSigner
* 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 callersFunctiongetNativeTokens
* @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 callersFunctiongetOPUSDCEvents
( logger: winston.Logger, provider: Provider, fromAddresses: string[], searchConfig: EventSearchConfig
src/finalizer/utils/opStack.ts:355
↓ 1 callersFunctiongetOVMStdEvents
( logger: winston.Logger, provider: Provider, fromAddresses: string[], searchConfig: EventSearchConfig
src/finalizer/utils/opStack.ts:298
↓ 1 callersFunctiongetOptimismClient
(chainId: OVM_CHAIN_ID, hubSigner: Signer)
src/finalizer/utils/opStack.ts:576
↓ 1 callersMethodgetOptimisticChainBundleStartBlock
(chainIdList = this.chainIdListForBundleEvaluationBlockNumbers)
src/dataworker/Dataworker.ts:425
↓ 1 callersFunctiongetOrbitNetwork
(chainId: number)
src/utils/ArbSdkUtils.ts:31
↓ 1 callersMethodgetOrderBook
(symbol: string, skipCache = false)
scripts/swapOnBinance.ts:1358
↓ 1 callersMethodgetOutstandingCrossChainTransfers
(l1Tokens: EvmAddress[])
src/adapter/BaseChainAdapter.ts:547
↓ 1 callersMethodgetOutstandingCrossChainTransfers
(chainId: number, l1Tokens: EvmAddress[])
src/clients/bridges/AdapterManager.ts:206
↓ 1 callersFunctiongetOvmSpokePoolContract
(chainId: number, signer?: Signer)
scripts/utils.ts:124
↓ 1 callersFunctiongetPaxosTransitOutstandingOrderAmountInL1Decimals
( order: PaxosTransitOrder, wantAssetDecimals: number, offerAssetDecimals: number )
src/utils/PaxosTransitUtils.ts:197
↓ 1 callersFunctiongetPendingBinanceRebalanceDeductions
( logger: winston.Logger, hubSigner: Signer, recipientAddresses: string[] )
src/finalizer/utils/binance.ts:302
↓ 1 callersMethodgetPendingOrders
()
src/rebalancer/utils/interfaces.ts:16
↓ 1 callersFunctiongetPermit2
(chainId: number, address?: string)
src/utils/ContractUtils.ts:78
↓ 1 callersFunctiongetPosClient
(mainnetSigner: Signer)
src/finalizer/utils/polygon.ts:97
↓ 1 callersMethodgetPossibleRebalances
()
src/clients/InventoryClient.ts:837
↓ 1 callersMethodgetPrivateKey
(type: "evm" | "svm")
src/cctp-finalizer/services/cctpService.ts:360
↓ 1 callersFunctiongetPrivateKeySigner
* 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 callersMethodgetQuote
( route: SwapRoute, amountOut: BigNumber, swapper: EvmAddress, recipient: EvmAddress )
src/clients/AcrossSwapApiClient.ts:213
↓ 1 callersMethodgetRebalancerPendingBridgeAdapterName
()
src/adapter/l2Bridges/OFTL2Bridge.ts:231
↓ 1 callersMethodgetRebalancerPendingBridgeAdapterName
()
src/adapter/bridges/OFTBridge.ts:232
↓ 1 callersFunctiongetRebalancerStatusTrackingNamespace
()
src/rebalancer/utils/utils.ts:15
↓ 1 callersFunctiongetRedisClient
(logger?: winston.Logger, url = REDIS_URL)
src/utils/Redis.ts:136
↓ 1 callersFunctiongetRedisPubSub
(logger?: winston.Logger, url?: string)
src/messaging/redis/PubSub.ts:35
↓ 1 callersFunctiongetRelayDataFromFill
(fill: FillWithBlock)
src/utils/FillUtils.ts:16
↓ 1 callersFunctiongetRelayerQuote
( fromChainId: number, toChainId: number, token: utils.ERC20, amount: BigNumber, recipient: Address,
scripts/spokepool.ts:168
↓ 1 callersFunctiongetRelevantL1Events
( _logger: winston.Logger, hubPoolClient: HubPoolClient, l1SpokePoolClient: EVMSpokePoolClient, l2Spok
src/finalizer/utils/helios.ts:416
↓ 1 callersMethodgetRemappedTokenSymbol
(token: string)
test/ProfitClient.PriceRetrieval.ts:29
↓ 1 callersMethodgetRemoteTokenForL1Token
(l1Token: EvmAddress, chainId: number)
src/clients/InventoryClient.ts:414
← previousnext →1,301–1,400 of 2,347, ranked by callers