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
↓ 8 callers
Method
_executePoolRebalanceLeaves
( spokePoolClients: { [chainId: number]: SpokePoolClient; }, allLeaves: PoolRebalanceLeaf[],
src/dataworker/Dataworker.ts:1867
↓ 8 callers
Method
_getDepositKey
(token: string, originChainId: number, depositId: string)
src/gasless/GaslessRelayer.ts:1241
↓ 8 callers
Method
_getRemappedTokenSymbol
(token: string)
src/clients/ProfitClient.ts:1002
↓ 8 callers
Function
aboveAllowanceThreshold
(allowance: BigNumber)
src/adapter/utils.ts:37
↓ 8 callers
Method
buildMultiCallBundle
(transactions: AugmentedTransaction[])
src/clients/MultiCallerClient.ts:316
↓ 8 callers
Method
buildRelayerRefundRoot
( blockRangesForChains: number[][], spokePoolClients: { [chainId: number]: SpokePoolClient }, pool
src/dataworker/Dataworker.ts:225
↓ 8 callers
Function
canonicalNodeKey
(chainId: number, tokenAddress: string)
src/jussi/topology/nodes.ts:15
↓ 8 callers
Function
encodePauseDepositsMessageBody
(pause = true)
test/utils/svm/utils.ts:430
↓ 8 callers
Function
generateV3Deposit
(eventOverride?: Partial<interfaces.DepositWithBlock>)
test/Dataworker.loadData.unexecutableSlowFill.ts:68
↓ 8 callers
Function
getAcrossHost
(hubChainId: number)
src/clients/AcrossAPIClient.ts:24
↓ 8 callers
Function
getAttestedMessage
( messageBody: Buffer, nonce: number, sourceDomain = 0, destinationDomain = 5 )
test/finalizeCCTPV1Messages.test.ts:28
↓ 8 callers
Method
getCurrentAllocationPct
( l1Token: EvmAddress, chainId: number, l2Token: Address, ignoreL1ToL2PendingAmount = false,
src/clients/InventoryClient.ts:387
↓ 8 callers
Method
getShortfallTotalRequirement
(chainId: number, token: Address)
src/clients/TokenClient.ts:88
↓ 8 callers
Function
getSigner
({ keyType, gckmsKeys, cleanEnv, roAddress }: SignerOptions)
src/utils/SignerUtils.ts:41
↓ 8 callers
Method
getSpotMarketMeta
(sourceBinanceCoin: string, destinationBinanceCoin: string)
scripts/swapOnBinance.ts:1353
↓ 8 callers
Function
logBuild
(message: string, extra: Record<string, unknown> = {})
src/jussi/economics/enrichEconomics.ts:52
↓ 8 callers
Function
makeFake
(contractName: string, address: string)
test/generic-adapters/AdapterManager.SendTokensCrossChain.ts:490
↓ 8 callers
Method
rawApi
()
scripts/swapOnBinance.ts:1318
↓ 8 callers
Method
requestBalanceAllocations
( requests: { chainId: number; tokens: Address[]; holder: Address; amount: BigNumber }[] )
src/clients/BalanceAllocator.ts:34
↓ 8 callers
Method
requestSlowFill
(deposit: DepositWithBlock)
src/relayer/Relayer.ts:1038
↓ 8 callers
Method
resolveGasToken
(chainId: number)
src/clients/ProfitClient.ts:235
↓ 8 callers
Function
sendAndConfirmTransaction
( tx: AugmentedTransaction, transactionClient: TransactionClient, useDispatcher = false )
src/utils/TransactionUtils.ts:312
↓ 8 callers
Method
setTokenPrice
(token: string, price: BigNumber | undefined)
test/mocks/MockProfitClient.ts:88
↓ 8 callers
Function
updateSpokePoolClients
( spokePoolClients: { [chainId: number]: SpokePoolClient }, eventsToQuery?: string[] )
src/common/ClientHelper.ts:342
↓ 7 callers
Method
_getExecutablePoolRebalanceLeaves
( poolLeaves: PoolRebalanceLeaf[], balanceAllocator: BalanceAllocator )
src/dataworker/Dataworker.ts:1808
↓ 7 callers
Method
_l1TokenEnabledForChain
(l1Token: EvmAddress, chainId: number)
src/clients/InventoryClient.ts:1685
↓ 7 callers
Function
buildJussiGraphBundleJson
(graph: BuiltJussiGraph)
src/jussi/serialize.ts:30
↓ 7 callers
Function
buildMinimalGraph
(graphId: string)
test/JussiGraph.buildGraph.ts:163
↓ 7 callers
Function
buildMockPricingContext
()
test/JussiGraph.buildGraph.ts:183
↓ 7 callers
Function
computeOutputAmount
(deposit: Deposit)
test/InventoryClient.RefundChain.ts:173
↓ 7 callers
Method
computeRealizedLpFeePct
(deposit: LpFeeRequest)
src/clients/HubPoolClient.ts:63
↓ 7 callers
Function
constructClients
( logger: winston.Logger, config: CommonConfig, baseSigner: Signer, hubPoolLookback?: number )
src/common/ClientHelper.ts:356
↓ 7 callers
Method
convertEventListToBridgeEvents
(events: Log[])
src/adapter/bridges/OpStackWethBridge.ts:80
↓ 7 callers
Function
createDefaultSolanaClient
()
test/utils/svm/utils.ts:47
↓ 7 callers
Function
describeSolanaError
(err: unknown)
src/utils/LogUtils.ts:67
↓ 7 callers
Function
estimateEdgeEconomics
( candidate: GraphEdgeCandidate, params: EdgePricingParams )
src/jussi/economics/edgeCosts.ts:72
↓ 7 callers
Function
generateFill
( inputTokenSymbol: "USDC" | "WETH", originChainId: number, repaymentChainId: number, relayer
test/BundleDataApproxClient.ts:131
↓ 7 callers
Function
getAtomicDepositorContracts
(chainId: number)
src/utils/BinanceUtils.ts:614
↓ 7 callers
Method
getBalanceOnChain
* 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 callers
Function
getChainQuorum
(chainId: number)
src/utils/ProviderUtils.ts:62
↓ 7 callers
Function
getDeploymentBlockNumber
(contractName: string, networkId: number)
src/utils/ContractUtils.ts:105
↓ 7 callers
Method
getEventQuorum
* 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 callers
Function
getInventoryBalanceContributorTokens
( l1Token: EvmAddress, chainId: number, hubChainId = CHAIN_IDs.MAINNET )
src/utils/TokenUtils.ts:88
↓ 7 callers
Function
getKitKeypairFromEvmSigner
(evmSigner: Signer)
src/utils/SvmSignerUtils.ts:19
↓ 7 callers
Function
getPaxosTransitStationAddress
(chainId: number)
src/utils/PaxosTransitUtils.ts:205
↓ 7 callers
Method
getRootBundleRelays
()
test/mocks/MockSpokePoolClient.ts:34
↓ 7 callers
Function
getSvmSignerFromEvmSigner
(evmSigner: Signer)
src/utils/SvmSignerUtils.ts:6
↓ 7 callers
Method
getTokenConfig
* 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 callers
Function
getTranslatedTokenAddress
( l1Token: EvmAddress, hubChainId: number, l2ChainId: number, isNativeUsdc = false )
src/utils/AddressUtils.ts:61
↓ 7 callers
Method
getUpcomingDeposits
* 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 callers
Method
initializeRebalance
(rebalanceRoute: RebalanceRoute, amountToTransfer: BigNumber)
src/rebalancer/utils/interfaces.ts:9
↓ 7 callers
Function
isAliasConfig
(config: ChainTokenConfig | ChainTokenInventory)
src/interfaces/InventoryManagement.ts:90
↓ 7 callers
Function
isSameBinanceCoin
(sourceToken: string, destinationToken: string)
src/utils/BinanceUtils.ts:606
↓ 7 callers
Function
makeBridgeResponse
(params: { state: string; toAddress: string; finalAmount?: string; sourceTxHash?: string; })
test/generic-adapters/BridgeApi.ts:296
↓ 7 callers
Function
minBigNumber
(a: BigNumber, b: BigNumber)
src/jussi/economics/edgeCosts.ts:559
↓ 7 callers
Function
persistDataToArweave
( client: caching.ArweaveClient, data: Record<string, unknown>, logger: winston.Logger, tag: string,
src/dataworker/DataworkerUtils.ts:474
↓ 7 callers
Function
postEvents
(events: Log[])
src/libexec/util/ipc.ts:31
↓ 7 callers
Function
printSection
(title: string)
scripts/swapOnBinance.ts:1081
↓ 7 callers
Function
resolveGraphBridgeLatencySeconds
( candidate: Pick<GraphEdgeCandidate, "family" | "adapterOrBridgeName" | "from" | "to">, hubPoolChainId =
src/jussi/topology/latency.ts:25
↓ 7 callers
Function
restoreEnvKey
(key: string, value: string | undefined)
test/ProfitClient.ConsiderProfitability.ts:536
↓ 7 callers
Function
sendAndConfirmSolanaTransaction
( unsignedTransaction: SolanaUnsignedTransaction, provider: SVMProvider, cycles = 25, pollingDelay = 6
src/utils/TransactionUtils.ts:125
↓ 7 callers
Method
setBinanceClient
(binanceClient: BinanceClient | undefined)
test/mocks/MockInventoryClient.ts:55
↓ 7 callers
Method
setTokenSymbol
(address: string, symbol: string)
test/mocks/MockProfitClient.ts:125
↓ 7 callers
Function
signAndSendTransaction
( rpcClient: arch.svm.RpcClient, transactionMessage: Parameters<typeof signTransactionMessageWithSigners>[
test/utils/svm/utils.ts:70
↓ 7 callers
Method
simulateTransactionQueue
(transactions: AugmentedTransaction[])
src/clients/MultiCallerClient.ts:456
↓ 7 callers
Function
stableJsonStringify
(value: unknown)
src/jussi/serialize.ts:61
↓ 6 callers
Method
_buildMultiCallBundle
(transactions: AugmentedTransaction[])
src/clients/MultiCallerClient.ts:324
↓ 6 callers
Function
_buildSlowRelayRoot
(bundleSlowFillsV3: BundleSlowFills)
src/dataworker/DataworkerUtils.ts:176
↓ 6 callers
Method
_getTokenPriceUsd
(token: string)
src/rebalancer/clients/CumulativeBalanceRebalancerClient.ts:382
↓ 6 callers
Method
_isCctpDeposit
(originChainId: number, spokePool: string)
src/gasless/GaslessRelayer.ts:1230
↓ 6 callers
Method
_proposeRootBundle
( blockRangesForProposal: number[][], spokePoolClients: SpokePoolClientsByChain, latestMainnetBund
src/dataworker/Dataworker.ts:527
↓ 6 callers
Function
abortableDelay
(seconds: number, signal: AbortSignal)
src/utils/Tasks.ts:15
↓ 6 callers
Function
buildBinanceSwapCandidate
(source: ManagedNodeContext, destination: ManagedNodeContext)
test/JussiGraph.buildGraph.ts:194
↓ 6 callers
Function
buildGaslessDepositTx
( depositMessage: AnyGaslessDepositMessage, spokePoolPeripheryContract: Contract )
src/utils/GaslessUtils.ts:457
↓ 6 callers
Function
buildWithdrawExecutedPayload
( receipt: TransactionReceipt, depositMessage: AnyDepositAddressMessage )
src/deposit-address/withdrawPayload.ts:82
↓ 6 callers
Function
bundleHash
(bundle: JussiPutGraphBundleRequest)
src/jussi/serialize.ts:69
↓ 6 callers
Function
capturedParams
(message: DepositAddressMessage)
test/DepositAddressHandler.ts:162
↓ 6 callers
Function
configuredChains
(token: SupportedToken)
src/rebalancer/buildRebalanceRoutes.ts:64
↓ 6 callers
Function
deposit
(to: string, amount: BigNumber)
test/generic-adapters/zkSync.ts:783
↓ 6 callers
Method
deriveGasCostUsd
(family: EdgeFamily, chainId: number)
src/jussi/economics/PricingContext.ts:73
↓ 6 callers
Method
dstHandler
(tokenSymbol: string)
src/hyperliquid/HyperliquidExecutor.ts:626
↓ 6 callers
Function
enableRoutesOnHubPool
( hubPool: Contract, rebalanceRouteTokens: { destinationChainId: number; l1Token: Contract; destinationTok
test/utils/utils.ts:256
↓ 6 callers
Function
expectImmediateTransitions
(transitions: Array<{ from: MessageState; to: MessageState }>)
test/GaslessRelayer.ts:500
↓ 6 callers
Function
filterRequiredActions
( hubPoolClient: HubPoolClient, l2SpokePoolClient: SpokePoolClient, l2ChainId: number, actions: Helios
src/finalizer/utils/helios.ts:464
↓ 6 callers
Function
finalizeCCTPV1MessagesSVM
( solanaClient: SVMSpokePoolClient, attestedMessages: AttestedCCTPMessage[], signer: KeyPairSigner, lo
src/finalizer/utils/cctp/svmUtils/l1Tol2.ts:18
↓ 6 callers
Method
get
(key: string)
test/JussiGraph.buildGraph.ts:213
↓ 6 callers
Function
getBinanceDepositAddress
( binanceApi: BinanceApi, options: Parameters<BinanceApi["depositAddress"]>[0] )
src/utils/BinanceUtils.ts:258
↓ 6 callers
Function
getDepositEvent
(blockNumber: number, transactionHash?: string)
test/Relayer.IndexedSpokePoolClient.ts:68
↓ 6 callers
Function
getGaslessAuthorizerAddress
(depositMessage: AnyGaslessDepositMessage)
src/utils/GaslessUtils.ts:367
↓ 6 callers
Function
getNodeUrl
(chainId: number)
hardhat.config.ts:31
↓ 6 callers
Method
getRelayerAddrOn
(repaymentChainId: number)
src/relayer/Relayer.ts:1227
↓ 6 callers
Method
getSigner
(chainId: number)
src/adapter/BaseChainAdapter.ts:112
↓ 6 callers
Method
getTokenInfo
(token: Address, chainId: number)
src/monitor/Monitor.ts:136
↓ 6 callers
Method
getTotalGasCost
(deposit: Deposit)
src/clients/ProfitClient.ts:330
↓ 6 callers
Function
hasBridge
( sourceChain: number, sourceToken: string, destinationChain: number, destinationToken
test/JussiGraph.buildGraph.ts:709
↓ 6 callers
Function
makeAdapter
()
test/BinanceAdapter.helpers.ts:465
↓ 6 callers
Function
makeWithdrawal
(amount: number, timestamp: number, transactionFee = 0)
test/BinanceUtils.ts:35
↓ 6 callers
Function
parseBuildJussiGraphFlags
(args: string[])
scripts/buildJussiGraph.ts:49
↓ 6 callers
Function
postBlock
(blockNumber: number, currentTime: number)
test/Relayer.IndexedSpokePoolClient.ts:119
↓ 6 callers
Function
postEvents
(events: Log[])
test/Relayer.IndexedSpokePoolClient.ts:110
← previous
next →
201–300 of 2,347, ranked by callers