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
Method
_loadExecutedDepositsFromRedis
Loads executed deposit tx hashes from Redis (e.g. after handover).
src/deposit-address/DepositAddressHandler.ts:217
↓ 1 callers
Method
_loadPendingBridgeSnapshot
( adapter: PendingBridgeAdapterName, account: EvmAddress )
src/rebalancer/clients/CctpOftReadOnlyClient.ts:109
↓ 1 callers
Method
_loadSkippedWithdrawKeysFromRedis
Loads terminally-skipped (422) refund-withdraw depositKeys from Redis (e.g. after handover).
src/deposit-address/DepositAddressHandler.ts:275
↓ 1 callers
Method
_loadWithdrawnKeysFromRedis
Loads executed refund-withdraw depositKeys from Redis (e.g. after handover).
src/deposit-address/DepositAddressHandler.ts:246
↓ 1 callers
Method
_persistSkippedWithdrawKeysRedis
Same pattern as `_persistWithdrawnKeysRedis` but for terminally-skipped (422) withdraw keys.
src/deposit-address/DepositAddressHandler.ts:625
↓ 1 callers
Method
_placeLimitOrder
( orderDetails: OrderDetails, cloid: string, px: string )
src/rebalancer/adapters/hyperliquid.ts:1079
↓ 1 callers
Method
_placeMarketOrder
(cloid: string, orderDetails: OrderDetails)
src/rebalancer/adapters/binance.ts:1488
↓ 1 callers
Method
_placeMarketOrder
( orderDetails: OrderDetails, cloid: string )
src/rebalancer/adapters/hyperliquid.ts:945
↓ 1 callers
Method
_publishDepositExecuted
* Best-effort publish of a `deposit_executed` lifecycle event to GCP Pub/Sub after a successful * v3 deposit (correct-transfer) execution. Mirrors
src/deposit-address/DepositAddressHandler.ts:696
↓ 1 callers
Method
_queryBalance
(chainId: number, token: Address, holder: Address)
src/clients/BalanceAllocator.ts:174
↓ 1 callers
Method
_redisDeleteInitiatedWithdrawalId
(cloid: string)
src/rebalancer/adapters/binance.ts:1584
↓ 1 callers
Function
_scaleGasPrice
* Apply local scaling to a gas price. The gas price can be scaled up in case it falls beneath an env-defined * price floor, or in case of a retry (i.
src/clients/TransactionClient.ts:516
↓ 1 callers
Method
_sendCctpBridge
( originChain: number, destinationChain: number, amountToBridge: BigNumber )
src/rebalancer/adapters/cctpAdapter.ts:237
↓ 1 callers
Method
_sendOftBridge
( originChain: number, destinationChain: number, amountToBridge: BigNumber )
src/rebalancer/adapters/oftAdapter.ts:260
↓ 1 callers
Method
_shouldCloseFillPDA
(fillStatus: FillStatus, fillDeadline: number, currentTime: number)
src/monitor/Monitor.ts:1246
↓ 1 callers
Method
_simulate
(txn: AugmentedTransaction)
src/clients/TransactionClient.ts:97
↓ 1 callers
Method
_startWorker
()
src/clients/SpokePoolClient.ts:60
↓ 1 callers
Method
_submit
( txn: AugmentedTransaction, opts: { nonce: number | null; maxTries?: number } )
src/clients/TransactionClient.ts:129
↓ 1 callers
Method
_submitDisputeWithMrkdwn
(hubPoolChainId: number, mrkdwn: string)
src/dataworker/Dataworker.ts:2718
↓ 1 callers
Method
_swapToRefill
( swapRoute: SwapRoute, amount: BigNumber, recipient: EvmAddress )
src/refiller/Refiller.ts:685
↓ 1 callers
Method
_unwrapWeth
(chainId: number, _l2Weth: string, amount: BigNumber)
src/clients/InventoryClient.ts:1560
↓ 1 callers
Method
_unwrapWethToRefill
(chainId: number, amount: BigNumber)
src/refiller/Refiller.ts:448
↓ 1 callers
Method
_updateDisabledChains
(chainIds: number[], blockNumber = 0)
test/mocks/MockConfigStoreClient.ts:47
↓ 1 callers
Method
_updateLiteChains
(chainIds: number[], blockNumber = 0, blockTimestamp = 0)
test/mocks/MockConfigStoreClient.ts:33
↓ 1 callers
Method
_updateObservedEvmFills
* Populates {@link observedFills} for an EVM destination by scanning {@link FilledRelay} events.
src/gasless/GaslessRelayer.ts:343
↓ 1 callers
Method
_updateObservedSvmFills
* Marks already-filled Solana destination relays in {@link observedFills} by querying fill status per API message.
src/gasless/GaslessRelayer.ts:364
↓ 1 callers
Method
_wrapEth
(chainId: number, amount: BigNumber)
src/rebalancer/adapters/binance.ts:1683
↓ 1 callers
Function
addExecuteOnlyTxn
( logger: winston.Logger, l1ChainId: number, l2ChainId: number, transactions: AugmentedTransaction[],
src/finalizer/utils/helios.ts:667
↓ 1 callers
Function
addLiquidity
( signer: SignerWithAddress, hubPool: Contract, l1Token: Contract, amount: utils.BigNumber )
test/utils/utils.ts:418
↓ 1 callers
Function
addUpdateAndExecuteTxns
( l1ChainId: number, l2ChainId: number, transactions: AugmentedTransaction[], crossChainMessages: Cros
src/finalizer/utils/helios.ts:710
↓ 1 callers
Function
addUpdateOnlyTxn
( l1ChainId: number, l2ChainId: number, transactions: AugmentedTransaction[], crossChainMessages: Cros
src/finalizer/utils/helios.ts:781
↓ 1 callers
Method
anyCapturedShortFallFills
()
src/clients/TokenClient.ts:157
↓ 1 callers
Function
applyPendingCumulativeRebalanceAdjustments
( baseSigner: Signer, rebalancerConfig: RebalancerConfig, adaptersToUpdate: Set<RebalancerAdapter>, lo
src/rebalancer/index.ts:147
↓ 1 callers
Function
approveToken
(token: Contract)
test/utils/utils.ts:98
↓ 1 callers
Function
askQuestion
(query: string)
scripts/utils.ts:20
↓ 1 callers
Function
assertExplicitWalletFlag
(normalizedArgv: string[])
scripts/swapOnBinance.ts:1030
↓ 1 callers
Function
assertOpStackTargetChain
( chain: viem.Chain, hubChainId: TId )
src/finalizer/utils/opStack.ts:102
↓ 1 callers
Function
assertPositiveFiniteUsdPrice
(price: number, description: string)
src/jussi/economics/PricingContext.ts:46
↓ 1 callers
Function
assertViemChainId
(chainId: number)
src/utils/NetworkUtils.ts:19
↓ 1 callers
Function
attestedCCTPMessageToSvmAttestedCCTPMessage
( message: AttestedCCTPMessage )
src/finalizer/utils/cctp/svmUtils/l1Tol2.ts:84
↓ 1 callers
Function
augmentSendersListForSolana
* When finalizing CCTP token transfers from Solana to Ethereum, especially transfers from the SpokePool, it's not enough * to have SpokePool address
src/finalizer/utils/cctp/Svml2ToL1.ts:154
↓ 1 callers
Method
balance
()
src/dataworker/Disputer.ts:86
↓ 1 callers
Function
bnMax
(a: BigNumber, b: BigNumber)
scripts/hubpool.ts:13
↓ 1 callers
Function
bridgeTokensToHubPool
( solanaClient: SVMSpokePoolClient, signer: KeyPairSigner, logger: winston.Logger, hubChainId = CHAIN_
src/finalizer/utils/cctp/svmUtils/l2Tol1.ts:35
↓ 1 callers
Function
buildBridgeAdapterRoutes
(params: { nodeContexts: ManagedNodeContext[]; hubPoolChainId?: number; })
src/jussi/topology/edges.ts:80
↓ 1 callers
Function
buildCctpV2ReceiveMessageTx
(params: { provider: SVMProvider; signer: KeyPairSigner; attestation: string; message: string; desti
src/cctp-finalizer/utils/svmUtils.ts:218
↓ 1 callers
Function
buildDeployTx
( factoryContract: Contract, chainId: number, counterfactualDepositImplementation: string, paramsHash:
src/utils/DepositAddressUtils.ts:97
↓ 1 callers
Function
buildDepositExecutionPlan
( source: ResolvedBinanceAsset, signer: Signer, depositAddress: DepositAddress, amount: BigNumber )
scripts/swapOnBinance.ts:610
↓ 1 callers
Function
buildDestinationResolutionError
( tokenSymbol: string, chainId: number, accountCoins: Coin[], reason: string )
scripts/sweepBinanceBalance.ts:261
↓ 1 callers
Function
buildDifferentAssetRoutes
(rebalancerConfig: RebalancerConfig)
src/rebalancer/buildRebalanceRoutes.ts:206
↓ 1 callers
Method
buildGasPriceSampleBlocks
(oldestBlockNumber: number, latestBlockNumber: number)
src/jussi/economics/PricingContext.ts:212
↓ 1 callers
Function
buildGaslessFillRelayTx
( deposit: RelayData & { destinationChainId: number }, spokePool: Contract, repaymentChainId: number,
src/utils/GaslessUtils.ts:587
↓ 1 callers
Function
buildHandleReceiveRemainingAccounts
(accounts: TokenMessengerAccounts)
src/cctp-finalizer/utils/svmUtils.ts:157
↓ 1 callers
Function
buildJussiGraphDefinition
(params: BuildGraphParams)
src/jussi/economics/enrichEconomics.ts:25
↓ 1 callers
Function
buildJussiGraphUploadBundle
(params: BuildGraphParams)
src/jussi/buildGraph.ts:16
↓ 1 callers
Function
buildManagedNodeDefinition
(template: ManagedNodeTemplate, ratios?: ManagedNodeRatios)
src/jussi/topology/nodes.ts:169
↓ 1 callers
Function
buildMulticallHandlerMessage
(params: { actions: Array<{ target: string; callData: string; value: string; }>; fallbackRec
scripts/hypercoreTransfer.ts:224
↓ 1 callers
Function
buildNeutralNodeDefinition
(template: ManagedNodeTemplate)
src/jussi/topology/nodes.ts:193
↓ 1 callers
Method
buildOutstandingTransfersFromApiOrders
( l1Token: EvmAddress, userAddress: EvmAddress )
src/adapter/bridges/PaxosTransitBridge.ts:156
↓ 1 callers
Function
buildPermit2GaslessDepositTx
( depositMessage: GaslessDepositMessage, spokePoolPeripheryContract: Contract )
src/utils/GaslessUtils.ts:315
↓ 1 callers
Function
buildPricesByAsset
(graphJson: JussiGraphJson, logger: winston.Logger)
scripts/buildJussiGraph.ts:199
↓ 1 callers
Function
buildRebalanceEdgeCandidates
( rebalanceRoutes: RebalanceRoute[], nodesByKey: Map<string, ManagedNodeContext> )
src/jussi/topology/edges.ts:254
↓ 1 callers
Function
buildReceiveWithAuthorizationGaslessDepositTx
( depositMessage: GaslessDepositMessage, spokePoolPeripheryContract: Contract )
src/utils/GaslessUtils.ts:414
↓ 1 callers
Method
buildSlowFillTxPromise
(spokePool: SvmAddress, relayData: ProtoFill)
src/clients/SvmFillerClient.ts:123
↓ 1 callers
Function
buildSlowRelayTree
(relays: SlowFillLeaf[])
src/utils/MerkleTreeUtils.ts:13
↓ 1 callers
Function
buildSwapAndBridgeDepositTx
( depositMessage: SwapAndBridgeGaslessDepositMessage, spokePoolPeripheryContract: Contract )
src/utils/GaslessUtils.ts:509
↓ 1 callers
Function
buildSyntheticBridgeCandidate
( logicalAsset: LogicalAsset, sourceChain: number, destinationChain: number )
src/jussi/economics/edgeCosts.ts:532
↓ 1 callers
Function
buildSyntheticRebalancerConfigWithTron
()
test/RebalancerClient.buildRebalanceRoutes.ts:97
↓ 1 callers
Function
buildV3SlowFillLeaf
(deposit: interfaces.Deposit, lpFeePct: BigNumber)
src/dataworker/DataworkerUtils.ts:212
↓ 1 callers
Function
calculateProofId
(request: ApiProofRequest)
src/utils/ZkApiUtils.ts:8
↓ 1 callers
Method
callLimits
(l1Tokens: EvmAddress[], timeout = this.timeout)
src/clients/AcrossAPIClient.ts:117
↓ 1 callers
Method
canFastRebalanceFill
( deposit: Pick<Deposit, "originChainId" | "inputToken" | "inputAmount">, l1Token: EvmAddress )
src/clients/InventoryClient.ts:1732
↓ 1 callers
Function
canUseSameAssetBridgeRoute
( token: SupportedToken, sourceChain: number, destinationChain: number )
src/rebalancer/buildRebalanceRoutes.ts:87
↓ 1 callers
Method
canWithdraw
(amountUsd: BigNumber, chainId: number, l1Token: Address)
src/clients/BinanceClient.ts:68
↓ 1 callers
Method
cancelLimitOrderByCloid
(baseToken: EvmAddress, finalToken: EvmAddress, oid: BigNumber)
src/hyperliquid/HyperliquidExecutor.ts:518
↓ 1 callers
Function
capitalize
(value: string)
scripts/swapOnBinance.ts:1132
↓ 1 callers
Method
captureTokenShortfallForFill
(deposit: Deposit)
src/clients/TokenClient.ts:120
↓ 1 callers
Function
checkAndApproveCctpTokenMessenger
* Checks and sets USDC approval for CCTP TokenMessenger if needed. * @param sourceChainId Chain ID where the approval is needed * @param sourceSigne
src/utils/CCTPUtils.ts:944
↓ 1 callers
Method
checkBalances
()
src/monitor/Monitor.ts:606
↓ 1 callers
Method
checkBinanceWithdrawalLimits
()
src/monitor/Monitor.ts:682
↓ 1 callers
Method
checkIfAlreadyProcessed
(chainId: number, message: string)
src/cctp-finalizer/services/cctpService.ts:229
↓ 1 callers
Function
checkIfAlreadyProcessedEvm
( chainId: number, message: string, provider: ethers.providers.JsonRpcProvider )
src/cctp-finalizer/utils/evmUtils.ts:27
↓ 1 callers
Function
checkIfAlreadyProcessedSvm
( message: string, svmPrivateKey: Uint8Array, svmProvider: SVMProvider, logger: winston.Logger )
src/cctp-finalizer/utils/svmUtils.ts:295
↓ 1 callers
Method
checkL1TokenApprovals
(l1Tokens: EvmAddress[])
src/adapter/BaseChainAdapter.ts:231
↓ 1 callers
Method
checkL2TokenApprovals
(l1Tokens: EvmAddress[])
src/adapter/BaseChainAdapter.ts:165
↓ 1 callers
Method
checkTokenApprovals
(l1Tokens: EvmAddress[])
src/adapter/BaseChainAdapter.ts:161
↓ 1 callers
Method
checkUtilization
()
src/monitor/Monitor.ts:152
↓ 1 callers
Method
clearCache
()
src/dataworker/Dataworker.ts:212
↓ 1 callers
Function
clearFillImmediateThreshold
* Helper to clear the fillImmediate threshold for a given chain.
test/GaslessRelayer.ts:567
↓ 1 callers
Method
clearTransactionQueue
(chainId: number | null = null)
src/clients/MultiCallerClient.ts:119
↓ 1 callers
Method
closeALTs
()
src/monitor/Monitor.ts:956
↓ 1 callers
Method
closePDAs
()
src/monitor/Monitor.ts:869
↓ 1 callers
Function
compareTopologyArtifact
(prepared: PreparedGraphTopology)
scripts/buildJussiGraph.ts:332
↓ 1 callers
Method
computeHubPoolBlocks
()
src/monitor/Monitor.ts:1104
↓ 1 callers
Method
computeRequiredDepositConfirmations
(deposits: Deposit[], destinationChainId: number)
src/relayer/Relayer.ts:636
↓ 1 callers
Method
computeSpokePoolsBlocks
()
src/monitor/Monitor.ts:1114
↓ 1 callers
Function
configuredDirectBinanceChainsForToken
(rebalancerConfig: RebalancerConfig, token: SupportedToken)
src/rebalancer/buildRebalanceRoutes.ts:58
↓ 1 callers
Function
constructAdapter
( logger: winston.Logger, baseSigner: Signer, adapterName: AdapterName )
src/rebalancer/RebalancerClientHelper.ts:119
↓ 1 callers
Method
constructBaseFillMarkdown
( deposit: Deposit, _realizedLpFeePct: BigNumber, _totalUserFeePct: BigNumber, _gasPriceGwei:
src/relayer/Relayer.ts:1626
↓ 1 callers
Function
constructCctpDepositForBurnTxn
( sourceChainId: number, destinationChainId: number, sourceSigner: Signer, toAddress: EvmAddress, so
src/utils/CCTPUtils.ts:1023
← previous
next →
1,101–1,200 of 2,347, ranked by callers