MCPcopy Create free account

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

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

↓ 8 callersMethod_executePoolRebalanceLeaves
( spokePoolClients: { [chainId: number]: SpokePoolClient; }, allLeaves: PoolRebalanceLeaf[],
src/dataworker/Dataworker.ts:1867
↓ 8 callersMethod_getDepositKey
(token: string, originChainId: number, depositId: string)
src/gasless/GaslessRelayer.ts:1241
↓ 8 callersMethod_getRemappedTokenSymbol
(token: string)
src/clients/ProfitClient.ts:1002
↓ 8 callersFunctionaboveAllowanceThreshold
(allowance: BigNumber)
src/adapter/utils.ts:37
↓ 8 callersMethodbuildMultiCallBundle
(transactions: AugmentedTransaction[])
src/clients/MultiCallerClient.ts:316
↓ 8 callersMethodbuildRelayerRefundRoot
( blockRangesForChains: number[][], spokePoolClients: { [chainId: number]: SpokePoolClient }, pool
src/dataworker/Dataworker.ts:225
↓ 8 callersFunctioncanonicalNodeKey
(chainId: number, tokenAddress: string)
src/jussi/topology/nodes.ts:15
↓ 8 callersFunctionencodePauseDepositsMessageBody
(pause = true)
test/utils/svm/utils.ts:430
↓ 8 callersFunctiongenerateV3Deposit
(eventOverride?: Partial<interfaces.DepositWithBlock>)
test/Dataworker.loadData.unexecutableSlowFill.ts:68
↓ 8 callersFunctiongetAcrossHost
(hubChainId: number)
src/clients/AcrossAPIClient.ts:24
↓ 8 callersFunctiongetAttestedMessage
( messageBody: Buffer, nonce: number, sourceDomain = 0, destinationDomain = 5 )
test/finalizeCCTPV1Messages.test.ts:28
↓ 8 callersMethodgetCurrentAllocationPct
( l1Token: EvmAddress, chainId: number, l2Token: Address, ignoreL1ToL2PendingAmount = false,
src/clients/InventoryClient.ts:387
↓ 8 callersMethodgetShortfallTotalRequirement
(chainId: number, token: Address)
src/clients/TokenClient.ts:88
↓ 8 callersFunctiongetSigner
({ keyType, gckmsKeys, cleanEnv, roAddress }: SignerOptions)
src/utils/SignerUtils.ts:41
↓ 8 callersMethodgetSpotMarketMeta
(sourceBinanceCoin: string, destinationBinanceCoin: string)
scripts/swapOnBinance.ts:1353
↓ 8 callersFunctionlogBuild
(message: string, extra: Record<string, unknown> = {})
src/jussi/economics/enrichEconomics.ts:52
↓ 8 callersFunctionmakeFake
(contractName: string, address: string)
test/generic-adapters/AdapterManager.SendTokensCrossChain.ts:490
↓ 8 callersMethodrawApi
()
scripts/swapOnBinance.ts:1318
↓ 8 callersMethodrequestBalanceAllocations
( requests: { chainId: number; tokens: Address[]; holder: Address; amount: BigNumber }[] )
src/clients/BalanceAllocator.ts:34
↓ 8 callersMethodrequestSlowFill
(deposit: DepositWithBlock)
src/relayer/Relayer.ts:1038
↓ 8 callersMethodresolveGasToken
(chainId: number)
src/clients/ProfitClient.ts:235
↓ 8 callersFunctionsendAndConfirmTransaction
( tx: AugmentedTransaction, transactionClient: TransactionClient, useDispatcher = false )
src/utils/TransactionUtils.ts:312
↓ 8 callersMethodsetTokenPrice
(token: string, price: BigNumber | undefined)
test/mocks/MockProfitClient.ts:88
↓ 8 callersFunctionupdateSpokePoolClients
( spokePoolClients: { [chainId: number]: SpokePoolClient }, eventsToQuery?: string[] )
src/common/ClientHelper.ts:342
↓ 7 callersMethod_getExecutablePoolRebalanceLeaves
( poolLeaves: PoolRebalanceLeaf[], balanceAllocator: BalanceAllocator )
src/dataworker/Dataworker.ts:1808
↓ 7 callersMethod_l1TokenEnabledForChain
(l1Token: EvmAddress, chainId: number)
src/clients/InventoryClient.ts:1685
↓ 7 callersFunctionbuildJussiGraphBundleJson
(graph: BuiltJussiGraph)
src/jussi/serialize.ts:30
↓ 7 callersFunctionbuildMinimalGraph
(graphId: string)
test/JussiGraph.buildGraph.ts:163
↓ 7 callersFunctionbuildMockPricingContext
()
test/JussiGraph.buildGraph.ts:183
↓ 7 callersFunctioncomputeOutputAmount
(deposit: Deposit)
test/InventoryClient.RefundChain.ts:173
↓ 7 callersMethodcomputeRealizedLpFeePct
(deposit: LpFeeRequest)
src/clients/HubPoolClient.ts:63
↓ 7 callersFunctionconstructClients
( logger: winston.Logger, config: CommonConfig, baseSigner: Signer, hubPoolLookback?: number )
src/common/ClientHelper.ts:356
↓ 7 callersMethodconvertEventListToBridgeEvents
(events: Log[])
src/adapter/bridges/OpStackWethBridge.ts:80
↓ 7 callersFunctioncreateDefaultSolanaClient
()
test/utils/svm/utils.ts:47
↓ 7 callersFunctiondescribeSolanaError
(err: unknown)
src/utils/LogUtils.ts:67
↓ 7 callersFunctionestimateEdgeEconomics
( candidate: GraphEdgeCandidate, params: EdgePricingParams )
src/jussi/economics/edgeCosts.ts:72
↓ 7 callersFunctiongenerateFill
( inputTokenSymbol: "USDC" | "WETH", originChainId: number, repaymentChainId: number, relayer
test/BundleDataApproxClient.ts:131
↓ 7 callersFunctiongetAtomicDepositorContracts
(chainId: number)
src/utils/BinanceUtils.ts:614
↓ 7 callersMethodgetBalanceOnChain
* Determine the effective/virtual balance of an l1 token that has been deployed to another chain. * Includes both the actual balance on the chain a
src/clients/InventoryClient.ts:275
↓ 7 callersFunctiongetChainQuorum
(chainId: number)
src/utils/ProviderUtils.ts:62
↓ 7 callersFunctiongetDeploymentBlockNumber
(contractName: string, networkId: number)
src/utils/ContractUtils.ts:105
↓ 7 callersMethodgetEventQuorum
* For a given Log, identify its quorum based on the number of unique providers that have supplied it. * @param event A Log instance with appended p
src/utils/EventUtils.ts:114
↓ 7 callersFunctiongetInventoryBalanceContributorTokens
( l1Token: EvmAddress, chainId: number, hubChainId = CHAIN_IDs.MAINNET )
src/utils/TokenUtils.ts:88
↓ 7 callersFunctiongetKitKeypairFromEvmSigner
(evmSigner: Signer)
src/utils/SvmSignerUtils.ts:19
↓ 7 callersFunctiongetPaxosTransitStationAddress
(chainId: number)
src/utils/PaxosTransitUtils.ts:205
↓ 7 callersMethodgetRootBundleRelays
()
test/mocks/MockSpokePoolClient.ts:34
↓ 7 callersFunctiongetSvmSignerFromEvmSigner
(evmSigner: Signer)
src/utils/SvmSignerUtils.ts:6
↓ 7 callersMethodgetTokenConfig
* Resolve the token balance configuration for `l1Token` on `chainId`. If `l1Token` maps to multiple tokens on * `chainId` then `l2Token` must be su
src/clients/InventoryClient.ts:193
↓ 7 callersFunctiongetTranslatedTokenAddress
( l1Token: EvmAddress, hubChainId: number, l2ChainId: number, isNativeUsdc = false )
src/utils/AddressUtils.ts:61
↓ 7 callersMethodgetUpcomingDeposits
* Return deposits for a given L1 token on a given chain for all inventory-equivalent L2 tokens on that chain. * Deposits are denominated in L1 toke
src/clients/BundleDataApproxClient.ts:322
↓ 7 callersMethodinitializeRebalance
(rebalanceRoute: RebalanceRoute, amountToTransfer: BigNumber)
src/rebalancer/utils/interfaces.ts:9
↓ 7 callersFunctionisAliasConfig
(config: ChainTokenConfig | ChainTokenInventory)
src/interfaces/InventoryManagement.ts:90
↓ 7 callersFunctionisSameBinanceCoin
(sourceToken: string, destinationToken: string)
src/utils/BinanceUtils.ts:606
↓ 7 callersFunctionmakeBridgeResponse
(params: { state: string; toAddress: string; finalAmount?: string; sourceTxHash?: string; })
test/generic-adapters/BridgeApi.ts:296
↓ 7 callersFunctionminBigNumber
(a: BigNumber, b: BigNumber)
src/jussi/economics/edgeCosts.ts:559
↓ 7 callersFunctionpersistDataToArweave
( client: caching.ArweaveClient, data: Record<string, unknown>, logger: winston.Logger, tag: string,
src/dataworker/DataworkerUtils.ts:474
↓ 7 callersFunctionpostEvents
(events: Log[])
src/libexec/util/ipc.ts:31
↓ 7 callersFunctionprintSection
(title: string)
scripts/swapOnBinance.ts:1081
↓ 7 callersFunctionresolveGraphBridgeLatencySeconds
( candidate: Pick<GraphEdgeCandidate, "family" | "adapterOrBridgeName" | "from" | "to">, hubPoolChainId =
src/jussi/topology/latency.ts:25
↓ 7 callersFunctionrestoreEnvKey
(key: string, value: string | undefined)
test/ProfitClient.ConsiderProfitability.ts:536
↓ 7 callersFunctionsendAndConfirmSolanaTransaction
( unsignedTransaction: SolanaUnsignedTransaction, provider: SVMProvider, cycles = 25, pollingDelay = 6
src/utils/TransactionUtils.ts:125
↓ 7 callersMethodsetBinanceClient
(binanceClient: BinanceClient | undefined)
test/mocks/MockInventoryClient.ts:55
↓ 7 callersMethodsetTokenSymbol
(address: string, symbol: string)
test/mocks/MockProfitClient.ts:125
↓ 7 callersFunctionsignAndSendTransaction
( rpcClient: arch.svm.RpcClient, transactionMessage: Parameters<typeof signTransactionMessageWithSigners>[
test/utils/svm/utils.ts:70
↓ 7 callersMethodsimulateTransactionQueue
(transactions: AugmentedTransaction[])
src/clients/MultiCallerClient.ts:456
↓ 7 callersFunctionstableJsonStringify
(value: unknown)
src/jussi/serialize.ts:61
↓ 6 callersMethod_buildMultiCallBundle
(transactions: AugmentedTransaction[])
src/clients/MultiCallerClient.ts:324
↓ 6 callersFunction_buildSlowRelayRoot
(bundleSlowFillsV3: BundleSlowFills)
src/dataworker/DataworkerUtils.ts:176
↓ 6 callersMethod_getTokenPriceUsd
(token: string)
src/rebalancer/clients/CumulativeBalanceRebalancerClient.ts:382
↓ 6 callersMethod_isCctpDeposit
(originChainId: number, spokePool: string)
src/gasless/GaslessRelayer.ts:1230
↓ 6 callersMethod_proposeRootBundle
( blockRangesForProposal: number[][], spokePoolClients: SpokePoolClientsByChain, latestMainnetBund
src/dataworker/Dataworker.ts:527
↓ 6 callersFunctionabortableDelay
(seconds: number, signal: AbortSignal)
src/utils/Tasks.ts:15
↓ 6 callersFunctionbuildBinanceSwapCandidate
(source: ManagedNodeContext, destination: ManagedNodeContext)
test/JussiGraph.buildGraph.ts:194
↓ 6 callersFunctionbuildGaslessDepositTx
( depositMessage: AnyGaslessDepositMessage, spokePoolPeripheryContract: Contract )
src/utils/GaslessUtils.ts:457
↓ 6 callersFunctionbuildWithdrawExecutedPayload
( receipt: TransactionReceipt, depositMessage: AnyDepositAddressMessage )
src/deposit-address/withdrawPayload.ts:82
↓ 6 callersFunctionbundleHash
(bundle: JussiPutGraphBundleRequest)
src/jussi/serialize.ts:69
↓ 6 callersFunctioncapturedParams
(message: DepositAddressMessage)
test/DepositAddressHandler.ts:162
↓ 6 callersFunctionconfiguredChains
(token: SupportedToken)
src/rebalancer/buildRebalanceRoutes.ts:64
↓ 6 callersFunctiondeposit
(to: string, amount: BigNumber)
test/generic-adapters/zkSync.ts:783
↓ 6 callersMethodderiveGasCostUsd
(family: EdgeFamily, chainId: number)
src/jussi/economics/PricingContext.ts:73
↓ 6 callersMethoddstHandler
(tokenSymbol: string)
src/hyperliquid/HyperliquidExecutor.ts:626
↓ 6 callersFunctionenableRoutesOnHubPool
( hubPool: Contract, rebalanceRouteTokens: { destinationChainId: number; l1Token: Contract; destinationTok
test/utils/utils.ts:256
↓ 6 callersFunctionexpectImmediateTransitions
(transitions: Array<{ from: MessageState; to: MessageState }>)
test/GaslessRelayer.ts:500
↓ 6 callersFunctionfilterRequiredActions
( hubPoolClient: HubPoolClient, l2SpokePoolClient: SpokePoolClient, l2ChainId: number, actions: Helios
src/finalizer/utils/helios.ts:464
↓ 6 callersFunctionfinalizeCCTPV1MessagesSVM
( solanaClient: SVMSpokePoolClient, attestedMessages: AttestedCCTPMessage[], signer: KeyPairSigner, lo
src/finalizer/utils/cctp/svmUtils/l1Tol2.ts:18
↓ 6 callersMethodget
(key: string)
test/JussiGraph.buildGraph.ts:213
↓ 6 callersFunctiongetBinanceDepositAddress
( binanceApi: BinanceApi, options: Parameters<BinanceApi["depositAddress"]>[0] )
src/utils/BinanceUtils.ts:258
↓ 6 callersFunctiongetDepositEvent
(blockNumber: number, transactionHash?: string)
test/Relayer.IndexedSpokePoolClient.ts:68
↓ 6 callersFunctiongetGaslessAuthorizerAddress
(depositMessage: AnyGaslessDepositMessage)
src/utils/GaslessUtils.ts:367
↓ 6 callersFunctiongetNodeUrl
(chainId: number)
hardhat.config.ts:31
↓ 6 callersMethodgetRelayerAddrOn
(repaymentChainId: number)
src/relayer/Relayer.ts:1227
↓ 6 callersMethodgetSigner
(chainId: number)
src/adapter/BaseChainAdapter.ts:112
↓ 6 callersMethodgetTokenInfo
(token: Address, chainId: number)
src/monitor/Monitor.ts:136
↓ 6 callersMethodgetTotalGasCost
(deposit: Deposit)
src/clients/ProfitClient.ts:330
↓ 6 callersFunctionhasBridge
( sourceChain: number, sourceToken: string, destinationChain: number, destinationToken
test/JussiGraph.buildGraph.ts:709
↓ 6 callersFunctionmakeAdapter
()
test/BinanceAdapter.helpers.ts:465
↓ 6 callersFunctionmakeWithdrawal
(amount: number, timestamp: number, transactionFee = 0)
test/BinanceUtils.ts:35
↓ 6 callersFunctionparseBuildJussiGraphFlags
(args: string[])
scripts/buildJussiGraph.ts:49
↓ 6 callersFunctionpostBlock
(blockNumber: number, currentTime: number)
test/Relayer.IndexedSpokePoolClient.ts:119
↓ 6 callersFunctionpostEvents
(events: Log[])
test/Relayer.IndexedSpokePoolClient.ts:110
← previousnext →201–300 of 2,347, ranked by callers