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
↓ 2 callers
Method
setL2Bridge
(address: string, bridge: Contract)
test/generic-adapters/Polygon.ts:37
↓ 2 callers
Method
setL2Bridge
(address: string, bridge: Contract)
test/generic-adapters/zkSync.ts:35
↓ 2 callers
Function
setL2TokenAllowanceInCache
( l2ChainId: number, l2Token: EvmAddress, userAddress: EvmAddress, contractAddress: EvmAddress, allo
src/clients/bridges/utils.ts:95
↓ 2 callers
Method
setMaxFillDeadlineOverride
(maxFillDeadlineOverride?: number)
test/mocks/MockSpokePoolClient.ts:10
↓ 2 callers
Method
setPermit2Contracts
(contracts: { [chainId: number]: Contract })
test/GaslessRelayer.ts:76
↓ 2 callers
Method
setProvidersByChain
(providers: { [chainId: number]: Provider })
test/GaslessRelayer.ts:67
↓ 2 callers
Method
setRootBundleRelays
(rootBundleRelays: RootBundleRelayWithBlock[])
test/mocks/MockSpokePoolClient.ts:26
↓ 2 callers
Method
setSharedBridge
(address: string, bridge: Contract)
test/generic-adapters/zkSync.ts:59
↓ 2 callers
Method
setSignerAddress
(address: EvmAddress)
test/GaslessRelayer.ts:91
↓ 2 callers
Method
setSpokePoolPeripheries
(peripheries: { [chainId: number]: Contract })
test/GaslessRelayer.ts:70
↓ 2 callers
Method
setSpokePools
(pools: { [chainId: number]: Contract })
test/GaslessRelayer.ts:73
↓ 2 callers
Function
setTokenAllowanceInCache
( l1Token: EvmAddress, userAddress: EvmAddress, contractAddress: EvmAddress, allowance: BigNumber )
src/clients/bridges/utils.ts:59
↓ 2 callers
Method
setTokenPrices
(tokenPrices: { [token: string]: BigNumber })
test/mocks/MockProfitClient.ts:97
↓ 2 callers
Method
setValidatedRootBundles
(validatedRootBundles: ProposedRootBundle[])
test/mocks/MockHubPoolClient.ts:25
↓ 2 callers
Function
setupScenario
( relayer: TestableGaslessRelayer, amounts: { inputAmount: string; outputAmount: string }, messageFactor
test/GaslessRelayer.ts:470
↓ 2 callers
Function
setupUmaEcosystem
(owner: SignerWithAddress)
test/fixtures/UmaEcosystemFixture.ts:5
↓ 2 callers
Function
sighup
()
src/relayer/index.ts:31
↓ 2 callers
Function
signAndSendTransaction
( provider: SVMProvider, _unsignedTxn: SolanaUnsignedTransaction, opts: SolanaSendOptions = {} )
src/utils/TransactionUtils.ts:61
↓ 2 callers
Function
simulateSolanaTransaction
(unsignedTransaction: SolanaUnsignedTransaction, provider: SVMProvider)
src/utils/TransactionUtils.ts:153
↓ 2 callers
Method
simulationFailureCount
()
test/TryMulticallClient.ts:31
↓ 2 callers
Method
simulationFailureCount
()
test/MultiCallerClient.ts:38
↓ 2 callers
Function
sortDeficitFunction
( deficitA: ExcessOrDeficit, deficitB: ExcessOrDeficit, tokenPricesUsd?: Map<string, BigNumber> )
src/rebalancer/utils/utils.ts:60
↓ 2 callers
Function
sortExcessFunction
( excessA: ExcessOrDeficit, excessB: ExcessOrDeficit, tokenPricesUsd?: Map<string, BigNumber> )
src/rebalancer/utils/utils.ts:47
↓ 2 callers
Function
submitBinanceOrder
( binanceApi: BinanceApi, options: Parameters<BinanceApi["order"]>[0] )
src/utils/BinanceUtils.ts:272
↓ 2 callers
Function
testProfitability
( inputAmountUsd: BigNumber, outputAmountUsd: BigNumber, gasCostUsd: BigNumber, lpFeeUsd: BigN
test/ProfitClient.ConsiderProfitability.ts:122
↓ 2 callers
Method
toBridgeEvent
(amount: BigNumber, receipt: ethers.providers.TransactionReceipt)
src/adapter/bridges/BinanceCEXBridge.ts:190
↓ 2 callers
Function
toContractDepositData
* Maps API BridgeWitness.data to the shape and types expected by the contract ABI. * - Field names must match the contract (DepositData / BaseDeposit
src/utils/GaslessUtils.ts:276
↓ 2 callers
Function
toSvmRelayerRefundLeaf
(relayerRefundLeaf: RelayerRefundLeaf)
src/utils/TypeUtils.ts:35
↓ 2 callers
Function
toSvmSlowFillLeaf
(slowFillLeaf: SlowFillLeaf)
src/utils/TypeUtils.ts:10
↓ 2 callers
Method
txnCount
(txnQueue: { [chainId: number]: AugmentedTransaction[] })
test/TryMulticallClient.ts:40
↓ 2 callers
Method
txnCount
(txnQueue: { [chainId: number]: AugmentedTransaction[] })
test/MultiCallerClient.ts:47
↓ 2 callers
Method
txnFailure
(txn: AugmentedTransaction)
test/mocks/MockTransactionClient.ts:26
↓ 2 callers
Function
uniformFromBlocks
( chains: number[], value: number )
test/BundleDataApproxClient.ts:210
↓ 2 callers
Method
unsub
(channel: string, listener: (message: string, channel: string) => void)
src/messaging/redis/PubSub.ts:26
↓ 2 callers
Method
updateObservedCctpDeposits
(apiMessages: AnyGaslessDepositMessage[])
src/gasless/GaslessRelayer.ts:478
↓ 2 callers
Method
updateOrderAmount
(pair: Pair)
src/hyperliquid/HyperliquidExecutor.ts:410
↓ 2 callers
Method
updateTasks
(task: Promise<TaskResult>)
src/hyperliquid/HyperliquidExecutor.ts:651
↓ 2 callers
Function
usage
(badInput?: string)
scripts/hubpool.ts:210
↓ 2 callers
Function
usage
(badInput?: string)
scripts/spokepool.ts:691
↓ 2 callers
Method
validateOutputToken
* Returns true if the depositor-specified output token is supported by this inventory client. * @param deposit Deposit to consider * @returns bo
src/clients/InventoryClient.ts:585
↓ 2 callers
Function
waitForBinanceDepositToBeAvailable
(params: { venue: BinanceSwapVenue; source: ResolvedBinanceAsset; depositTxHash: string; minFreeBalanc
scripts/swapOnBinance.ts:1662
↓ 2 callers
Function
waitForBinanceOrderFillAndBalance
(params: { venue: BinanceSwapVenue; cloid: string; source: ResolvedBinanceAsset; destination: Resolved
scripts/swapOnBinance.ts:1713
↓ 2 callers
Method
waitForDisconnect
()
src/hyperliquid/HyperliquidExecutor.ts:398
↓ 2 callers
Function
waitForPubSub
( redisClient: RedisPubSub, channel: string, message: string, maxWaitMs = 60000 )
src/messaging/redis/PubSub.ts:48
↓ 2 callers
Function
willSucceed
(transaction: AugmentedTransaction)
src/utils/TransactionUtils.ts:202
↓ 2 callers
Function
withFreshBlockhash
(provider: SVMProvider, tx: T)
src/utils/TransactionUtils.ts:48
↓ 2 callers
Function
withTimeout
(promise: Promise<T>, timeoutMs: number, operationName: string)
scripts/fetchInventoryConfig.ts:11
↓ 2 callers
Method
wrapNativeTokenIfAboveThreshold
( threshold: BigNumber, target: BigNumber, simMode: boolean )
src/adapter/BaseChainAdapter.ts:487
↓ 1 callers
Method
#childExit
* The worker process has exited. Future: Optionally restart it based on the exit code. * See also: https://nodejs.org/api/child_process.html#even
src/clients/SpokePoolClient.ts:168
↓ 1 callers
Method
#removeEvent
* Given an event to be removed, ensure that it is removed from the set of ingested events. * @param event An Ethers event instance. * @retur
src/clients/SpokePoolClient.ts:241
↓ 1 callers
Function
_MockSpokeListener
(SpokeListener: T)
test/Relayer.IndexedSpokePoolClient.ts:26
↓ 1 callers
Method
_addEvent
* 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:124
↓ 1 callers
Function
_constructSpokePoolClientsWithLookback
( spokePools: Contract[], spokePoolChains: number[], spyLogger: winston.Logger, signer: SignerWithAddr
test/fixtures/Dataworker.Fixture.ts:37
↓ 1 callers
Function
_createDepositForBurnMessageEvent
( messageSentLog: ethers.providers.Log, depositForBurnLog: ethers.providers.Log, tokenMessengerInterface
src/utils/CCTPUtils.ts:564
↓ 1 callers
Function
_createMessageSentEvent
( log: ethers.providers.Log, messageTransmitterInterface: ethers.utils.Interface )
src/utils/CCTPUtils.ts:546
↓ 1 callers
Function
_createSpokePoolClients
* @notice Create SpokePool clients that are configured to query events from their deployment blocks. * @dev Clients are only created for chains not
src/scripts/validateRunningBalances.ts:681
↓ 1 callers
Method
_depositNativeEthToBinanceViaAtomicDepositor
( sourceChain: number, depositAddress: string, amountToDeposit: BigNumber )
src/rebalancer/adapters/binance.ts:1177
↓ 1 callers
Method
_executeRelayerRefundLeafSvm
( spokePoolClient: SVMSpokePoolClient, leaf: RelayerRefundLeaf, rootBundleId: number, relayerR
src/dataworker/Dataworker.ts:3002
↓ 1 callers
Method
_executeSlowFillLeafSvm
( spokePoolClient: SVMSpokePoolClient, leaf: SlowFillLeaf, rootBundleId: number, slowFillHexPr
src/dataworker/Dataworker.ts:3544
↓ 1 callers
Method
_executeTxnQueue
( chainId: number, txns: AugmentedTransaction[] = [], nonMulticallTxns: AugmentedTransaction[] = [
src/clients/MultiCallerClient.ts:187
↓ 1 callers
Function
_fetchCCTPSvmAttestationProof
(transactionHash: string)
src/utils/CCTPUtils.ts:930
↓ 1 callers
Function
_fetchDeposit
(spokePool: Contract, _depositId: number | string)
scripts/spokepool.ts:574
↓ 1 callers
Function
_fetchTxn
(spokePool: Contract, txnHash: string)
scripts/spokepool.ts:622
↓ 1 callers
Method
_findDepositByAuthorization
( originChainId: number, inputToken: Address, authorizer: string, nonce: string )
src/gasless/GaslessRelayer.ts:1097
↓ 1 callers
Method
_findDepositByDepositId
( originChainId: number, depositId: string )
src/gasless/GaslessRelayer.ts:1163
↓ 1 callers
Method
_getAllowance
(spokePoolClient: SpokePoolClient, token: Contract)
src/clients/TokenClient.ts:439
↓ 1 callers
Method
_getAllowanceCacheKey
(spokePoolClient: SpokePoolClient, originToken: string)
src/clients/TokenClient.ts:431
↓ 1 callers
Method
_getAssociatedTokenAddress
(address: Address)
src/adapter/l2Bridges/SolanaUsdcCCTPBridge.ts:192
↓ 1 callers
Method
_getBalances
(balanceRequests: BalanceRequest[])
src/refiller/Refiller.ts:766
↓ 1 callers
Method
_getBondToken
()
src/clients/TokenClient.ts:465
↓ 1 callers
Function
_getCCTPV1DepositAndMessageTxnHashes
* Gets all tx hashes that may be relevant for CCTPV1 finalization. * This includes: * - All tx hashes where `DepositForBurn` events happened (for
src/utils/CCTPUtils.ts:420
↓ 1 callers
Function
_getCCTPV1DepositEventsSvm
( senderAddresses: Address[], sourceChainId: number, destinationChainId: number, sourceEventSearchConf
src/utils/CCTPUtils.ts:738
↓ 1 callers
Function
_getCCTPV1EventsFromReceipt
* @notice Returns CCTP events organized as either Message or DepositForBurn events. * @returns list of Message and DepositForBurn events
src/utils/CCTPUtils.ts:600
↓ 1 callers
Function
_getCCTPV1MessageEvents
( _senderAddresses: Address[], sourceChainId: number, destinationChainId: number, sourceEventSearchCon
src/utils/CCTPUtils.ts:468
↓ 1 callers
Function
_getCCTPV1MessagesWithStatus
( senderAddresses: Address[], sourceChainId: number, destinationChainId: number, sourceEventSearchConf
src/utils/CCTPUtils.ts:682
↓ 1 callers
Method
_getCctpV2DepositForBurnMaxFee
(amount: BigNumber)
src/adapter/l2Bridges/UsdcCCTPBridge.ts:163
↓ 1 callers
Method
_getCctpV2DepositForBurnMaxFee
(amount: BigNumber)
src/adapter/bridges/UsdcCCTPBridge.ts:147
↓ 1 callers
Method
_getDecimals
(decimalrequests: { chainId: number; token: Address }[])
src/monitor/Monitor.ts:1218
↓ 1 callers
Method
_getDecimals
(decimalrequests: { chainId: number; token: Address }[])
src/refiller/Refiller.ts:799
↓ 1 callers
Method
_getExchangeInfo
()
src/rebalancer/adapters/binance.ts:1219
↓ 1 callers
Function
_getExecutedRefunds
( spokePoolClient: SpokePoolClient, relayerRefundRoot: string )
src/scripts/validateRunningBalances.ts:636
↓ 1 callers
Method
_getL1Tokens
()
src/clients/ProfitClient.ts:977
↓ 1 callers
Method
_getMsgValueForRelayerRefundLeaf
* Compute the msg.value to attach when executing a relayer refund leaf on L2. * - If amountToReturn == 0 or non-EVM chain: undefined * - If OFT
src/dataworker/Dataworker.ts:2861
↓ 1 callers
Method
_getNextProposalBlockRanges
* Returns the next bundle block ranges if a new proposal is possible, otherwise * returns undefined. * @param spokePoolClients * @param earli
src/dataworker/Dataworker.ts:356
↓ 1 callers
Method
_getOftMsgValueForRelayerRefundLeaf
( client: EVMSpokePoolClient, leaf: RelayerRefundLeaf )
src/dataworker/Dataworker.ts:2887
↓ 1 callers
Method
_getPendingBridgeSnapshot
( adapter: PendingBridgeAdapterName, account: EvmAddress )
src/rebalancer/clients/CctpOftReadOnlyClient.ts:85
↓ 1 callers
Method
_getPossibleInventoryRebalances
( cumulativeL1TokenBalance: BigNumber, l1Token: EvmAddress, chainId: number, l2Token: Address
src/clients/InventoryClient.ts:869
↓ 1 callers
Method
_getPossibleShortfallRebalances
(l1Token: EvmAddress, chainId: number, l2Token: Address)
src/clients/InventoryClient.ts:905
↓ 1 callers
Method
_getQuantityForOrder
( sourceToken: string, sourceChain: number, destinationToken: string, destinationChain: number
src/rebalancer/adapters/binance.ts:1326
↓ 1 callers
Method
_getRequiredEthForLineaRelayLeafExecution
* Retrieves the amount of ETH required to execute a Linea relay leaf by querying the latest * relay fee from the L2Linea Messenger contract. * @
src/dataworker/Dataworker.ts:2840
↓ 1 callers
Method
_getRequiredEthForOrbitPoolRebalanceLeaf
(leaf: PoolRebalanceLeaf)
src/dataworker/Dataworker.ts:2800
↓ 1 callers
Method
_getSignedWithdraw
( depositMessage: DepositAddressMessage, retriesRemaining = 3 )
src/deposit-address/DepositAddressHandler.ts:559
↓ 1 callers
Method
_getSolanaTokenBalance
( provider: SVMProvider, walletAddress: SvmAddress, tokenMint: SvmAddress )
src/clients/TokenClient.ts:518
↓ 1 callers
Method
_getSzForOrder
( sourceToken: string, sourceChain: number, destinationToken: string, destinationChain: number
src/rebalancer/adapters/hyperliquid.ts:1048
↓ 1 callers
Method
_getTokenClientTokens
()
src/clients/TokenClient.ts:493
↓ 1 callers
Method
_getTransactionPromise
(txn: AugmentedTransaction, nonce: number | null)
src/clients/TransactionClient.ts:123
↓ 1 callers
Method
_getUnfilledDeposits
* @description Retrieve the complete array of unfilled deposits and filter out deposits we can't or choose * not to support. * @returns An array
src/relayer/Relayer.ts:445
↓ 1 callers
Method
_hasMainnetUsdgSweepConfigured
()
src/refiller/Refiller.ts:115
↓ 1 callers
Method
_hasTokenPairData
(chainId: number, token: Address)
src/clients/TokenClient.ts:482
↓ 1 callers
Method
_isRouteSupported
(route: SwapRoute)
src/clients/AcrossSwapApiClient.ts:263
← previous
next →
1,001–1,100 of 2,347, ranked by callers