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
Function
findOriginChainLimitIdx
( limits: { fromBlock: number; limit: BigNumber }[], blockNumber: number )
test/Relayer.BasicFill.ts:256
↓ 2 callers
Function
flushErrors
()
src/utils/Redis.ts:62
↓ 2 callers
Function
formatExampleUsdPrice
(value: number)
scripts/buildJussiGraph.ts:178
↓ 2 callers
Function
formatRelayData
(relayData: SvmSpokeClient.RelayDataArgs)
test/utils/svm/utils.ts:438
↓ 2 callers
Function
formatWithdrawalProgressLine
(params: { attempts: number; elapsedMs: number; withdrawal?: BinanceWithdrawal; })
scripts/swapOnBinance.ts:1085
↓ 2 callers
Function
generateEvent
(event: string, blockNumber: number, transactionHash?: string)
test/Relayer.IndexedSpokePoolClient.ts:50
↓ 2 callers
Function
generateV3FillFromDeposit
( deposit: interfaces.DepositWithBlock, fillEventOverride?: Partial<interfaces.FillWithBlock>, _re
test/Dataworker.loadData.slowFill.ts:72
↓ 2 callers
Function
generateV3FillFromDepositEvent
( depositEvent: interfaces.Log, fillEventOverride?: Partial<interfaces.FillWithBlock>, _rela
test/Dataworker.loadData.fill.ts:237
↓ 2 callers
Function
generateV3FillFromDepositEvent
( depositEvent: interfaces.Log, fillEventOverride?: Partial<interfaces.FillWithBlock>, _rela
test/Dataworker.loadData.deposit.ts:160
↓ 2 callers
Function
generateValidationKey
( proposal: Pick< ProposedRootBundle, "proposer" | "poolRebalanceRoot" | "relayerRefundRoot" | "slow
src/dataworker/DataworkerUtils.ts:410
↓ 2 callers
Function
getAccountMeta
(value: KitAddress, isWritable: boolean)
src/utils/AddressUtils.ts:98
↓ 2 callers
Method
getActiveInstance
()
src/utils/InstanceCoordinator.ts:14
↓ 2 callers
Function
getAddressLookupTableInstructions
( lookupTableAddress: KitAddress, keypair: TransactionSigner, lutAddresses: KitAddress[] )
src/utils/AddressUtils.ts:105
↓ 2 callers
Method
getAllTokenData
()
src/clients/TokenClient.ts:72
↓ 2 callers
Method
getAllTransfersInRange
(toAddress: Address, fromTimestampMs: number)
src/utils/BridgeUtils.ts:97
↓ 2 callers
Function
getAllowanceCacheKey
(l1Token: EvmAddress, targetContract: EvmAddress, userAddress: EvmAddress)
src/clients/bridges/utils.ts:41
↓ 2 callers
Function
getAmountToReturnForRelayerRefundLeaf
( spokePoolTargetBalance: SpokePoolTargetBalance, runningBalanceForLeaf: BigNumber )
src/dataworker/RelayerRefundUtils.ts:4
↓ 2 callers
Method
getApproximateRefundsForToken
( l1Token: EvmAddress, fromBlocks: { [chainId: number]: { [chainId: number]: number } } )
test/mocks/MockBundleDataApproxClient.ts:28
↓ 2 callers
Function
getArbitrumOrbitFinalizationTime
(chainId: number)
src/utils/ArbSdkUtils.ts:34
↓ 2 callers
Method
getAuthorization
(params: { spenderAddress: string; tokenAddress: string; amount: BigNumber; userAddress: strin
src/utils/PaxosTransitUtils.ts:235
↓ 2 callers
Function
getBinanceAllOrders
( binanceApi: BinanceApi, options: Parameters<BinanceApi["allOrders"]>[0] )
src/utils/BinanceUtils.ts:265
↓ 2 callers
Function
getBinanceTradeFees
(binanceApi: BinanceApi)
src/utils/BinanceUtils.ts:254
↓ 2 callers
Function
getBinanceWithdrawalAmount
(expectedAmountToReceive: string, tokenDecimals: number)
scripts/swapOnBinance.ts:1115
↓ 2 callers
Function
getBinanceWithdrawalLimits
(binanceApi: BinanceApi)
src/utils/BinanceUtils.ts:239
↓ 2 callers
Function
getBlockRangeByHoursOffsets
( logger: winston.Logger, chainId: number, fromBlockHoursOffsetToNow: number, toBlockHoursOffsetToNow:
src/finalizer/utils/linea/common.ts:190
↓ 2 callers
Function
getCctpReceiveMessageCallData
( readyToFinalizeDeposit: { destinationChainId: number; attestationData: { attestation: string; mess
src/utils/CCTPUtils.ts:244
↓ 2 callers
Function
getCctpV1Messages
( senderAddresses: Address[], sourceChainId: number, destinationChainId: number, sourceEventSearchConf
src/utils/CCTPUtils.ts:291
↓ 2 callers
Function
getContract
(chainId: number, contractName: string)
scripts/utils.ts:99
↓ 2 callers
Function
getCoreBalance
(address: string)
scripts/hypercoreTransfer.ts:68
↓ 2 callers
Method
getDestinationChainIdFromMessage
(message: string, sourceChainId: number)
src/cctp-finalizer/services/cctpService.ts:211
↓ 2 callers
Function
getDispatcherKeys
()
src/utils/SignerUtils.ts:179
↓ 2 callers
Function
getEligibleKnownTokensForChain
( accountCoins: Coin[], chainId: number, direction: "deposit" | "withdraw" )
scripts/swapOnBinance.ts:1147
↓ 2 callers
Method
getEnabledL2Chains
()
src/clients/bridges/CrossChainTransferClient.ts:57
↓ 2 callers
Function
getEndpointId
(chainId: number)
src/utils/OFTUtils.ts:64
↓ 2 callers
Function
getEvents
(eventNames: string[], fromBlock: number, toBlock: number)
src/libexec/RelayerSpokePoolListenerTVM.ts:96
↓ 2 callers
Function
getEvmProvider
(rpcUrl: string)
src/cctp-finalizer/utils/evmUtils.ts:20
↓ 2 callers
Method
getExecutedDepositsRedisKey
()
src/deposit-address/DepositAddressHandler.ts:204
↓ 2 callers
Function
getGckmsSigner
* Retrieves a signer based on the GCKMS key set in the args. * @returns A signer based on the GCKMS key set in the args. * @throws If the GCKMS key
src/utils/SignerUtils.ts:88
↓ 2 callers
Function
getHubPoolAddress
(chainId: number)
src/utils/ContractUtils.ts:90
↓ 2 callers
Function
getHubPoolStoreContract
(chainId: number, signerOrProvider: Signer | Provider)
src/utils/UniversalUtils.ts:31
↓ 2 callers
Method
getInventoryCacheKey
* Get the cache key for the InventoryClient state. * @returns Cache key for the InventoryClient state
src/clients/InventoryClient.ts:179
↓ 2 callers
Method
getL1TokenAddress
(l2Token: Address, chainId: number)
src/clients/BundleDataApproxClient.ts:266
↓ 2 callers
Method
getL1TokensEnabledInHubPool
()
src/clients/InventoryClient.ts:475
↓ 2 callers
Method
getL1TokensFromInventoryConfig
()
src/clients/InventoryClient.ts:471
↓ 2 callers
Function
getL2AllowanceCacheKey
( l2ChainId: number, l2Token: EvmAddress, userAddress: EvmAddress, contractAddress: EvmAddress )
src/clients/bridges/utils.ts:71
↓ 2 callers
Function
getL2MessagingBlockAnchoredFromMessageSentEvent
( messageSentEvent: Log, l1MessageServiceContract: Contract, l1SearchConfig: EventSearchConfig )
src/finalizer/utils/linea/common.ts:177
↓ 2 callers
Method
getL2PendingWithdrawalAmount
( l2EventConfig: EventSearchConfig, l1EventConfig: EventSearchConfig, fromAddress: EvmAddress,
src/adapter/l2Bridges/BridgeApi.ts:106
↓ 2 callers
Method
getL2Token
()
src/adapter/l2Bridges/BridgeApi.ts:63
↓ 2 callers
Function
getL2TokenAllowanceFromCache
( l2ChainId: number, l2Token: EvmAddress, userAddress: EvmAddress, contractAddress: EvmAddress )
src/clients/bridges/utils.ts:80
↓ 2 callers
Method
getLimitsCacheKey
(l1Tokens: EvmAddress[])
src/clients/AcrossAPIClient.ts:113
↓ 2 callers
Function
getLzTransactionDetails
(txHash: string)
src/utils/OFTUtils.ts:155
↓ 2 callers
Function
getMessageSentEventForMessageHash
( messageHash: string, l2MessageServiceContract: Contract, l2SearchConfig: EventSearchConfig )
src/finalizer/utils/linea/common.ts:162
↓ 2 callers
Function
getMessageTransmitterAccounts
(nonceSeed: Uint8Array)
src/cctp-finalizer/utils/svmUtils.ts:62
↓ 2 callers
Function
getMultisender
(chainId: number, baseSigner: Signer)
src/utils/TransactionUtils.ts:42
↓ 2 callers
Method
getNextHubChainBundleStartBlock
(chainIdList = this.chainIdListForBundleEvaluationBlockNumbers)
src/dataworker/Dataworker.ts:416
↓ 2 callers
Method
getObservedDepositsSet
(chainId: number)
test/GaslessRelayer.ts:82
↓ 2 callers
Function
getOftPreDepositOrderTtlOverride
( rebalanceRoute: Pick<RebalanceRoute, "sourceToken" | "sourceChain"> )
src/rebalancer/adapters/oftAdapter.ts:48
↓ 2 callers
Function
getOpenOrders
( infoClient: hl.InfoClient, params: hl.OpenOrdersParameters, maxRetries = 3, delayS = 2 )
src/utils/HyperliquidUtils.ts:67
↓ 2 callers
Function
getOptimismFinalizableMessages
( chainId: OVM_CHAIN_ID, logger: winston.Logger, tokensBridged: TokensBridged[], crossChainMessenger:
src/finalizer/utils/opStack.ts:648
↓ 2 callers
Method
getOrderQuote
(params: { userAddress: string; offerAmount: BigNumber; offerAsset: string; wantAsset: string;
src/utils/PaxosTransitUtils.ts:252
↓ 2 callers
Function
getOriginFromURL
(url: string)
src/utils/NetworkUtils.ts:43
↓ 2 callers
Method
getOutstandingCrossChainTransferAmount
()
test/mocks/MockCrossChainTransferClient.ts:13
↓ 2 callers
Method
getOutstandingCrossChainTransferTxs
( address: Address, chainId: number, l1Token: EvmAddress, l2Token?: Address )
src/clients/bridges/CrossChainTransferClient.ts:34
↓ 2 callers
Method
getOutstandingOrdersOnPair
(pair: Pair, to = this.dstSearchConfig.to)
src/hyperliquid/HyperliquidExecutor.ts:540
↓ 2 callers
Method
getOutstandingTransfersFromApi
(l1Token: EvmAddress, monitoredAddress: EvmAddress)
src/adapter/bridges/PaxosTransitBridge.ts:103
↓ 2 callers
Function
getParamType
(contractName: string, functionName: string, paramName: string)
src/utils/ContractUtils.ts:96
↓ 2 callers
Function
getPaxosTransitOfferAssetsForWantAsset
(dstChainId: number, wantAsset: string)
src/utils/PaxosTransitUtils.ts:131
↓ 2 callers
Function
getPaxosTransitOrderOutstandingWantAmount
(order: PaxosTransitOrder)
src/utils/PaxosTransitUtils.ts:112
↓ 2 callers
Method
getPendingBridgeTxnRefsForRoute
( adapter: PendingBridgeAdapterName, sourceChain: number, destinationChain: number, account: E
src/rebalancer/clients/CctpOftReadOnlyClient.ts:75
↓ 2 callers
Method
getPeripheryContract
(originChainId: number)
src/gasless/GaslessRelayer.ts:866
↓ 2 callers
Function
getProposal
* Query the details of a proposal at a given block/tag. * @param provider Ethers provider instance. * @param chainId HubPool chain ID. * @param blo
src/dataworker/index.ts:95
↓ 2 callers
Method
getQuantityForOrder
( source: ResolvedBinanceAsset, destination: ResolvedBinanceAsset, sourceAmount: BigNumber )
scripts/swapOnBinance.ts:1534
↓ 2 callers
Method
getRedis
()
src/clients/TokenClient.ts:526
↓ 2 callers
Function
getRedisCacheForRebalancerStatusTracking
( logger?: winston.Logger )
src/rebalancer/utils/utils.ts:21
↓ 2 callers
Method
getRepaymentChainOverride
* Gets the repayment chain override for a given origin chain. * Priority: repaymentChainOverridePerChain[originChainId] > repaymentChainOverride
src/clients/InventoryClient.ts:522
↓ 2 callers
Method
getResolvedGasPrice
(chainId: number)
src/jussi/economics/PricingContext.ts:142
↓ 2 callers
Function
getRetryParams
(chainId: number)
src/utils/ProviderUtils.ts:107
↓ 2 callers
Method
getSearchConfig
(chainId: number)
src/adapter/BaseChainAdapter.ts:103
↓ 2 callers
Method
getSkippedWithdrawKeysRedisKey
()
src/deposit-address/DepositAddressHandler.ts:212
↓ 2 callers
Function
getSpokePoolClientEventSearchConfigsForFastDataworker
( config: Omit<DataworkerConfig, "validate" | "update">, clients: DataworkerClients, dataworker: Datawor
src/dataworker/DataworkerClientHelper.ts:112
↓ 2 callers
Function
getSpotClearinghouseState
( infoClient: hl.InfoClient, params: hl.SpotClearinghouseStateParameters, maxRetries = 3, delayS = 2 )
src/utils/HyperliquidUtils.ts:47
↓ 2 callers
Method
getSpotFreeBalance
(binanceCoin: string)
scripts/swapOnBinance.ts:1322
↓ 2 callers
Function
getSvmSignerFromPrivateKey
(privateKey: string)
src/utils/SvmSignerUtils.ts:14
↓ 2 callers
Function
getSweepableOrphanBinanceBalance
( coinBalance: number, creditedDepositAmount: number, swapDepositAmount: number, pendingRebalanceDeduc
src/finalizer/utils/binance.ts:293
↓ 2 callers
Method
getSymbol
(sourceBinanceCoin: string, destinationBinanceCoin: string)
scripts/swapOnBinance.ts:1342
↓ 2 callers
Function
getTimestampsForBundleStartBlocks
( spokePoolClients: SpokePoolClientsByChain, blockRanges: number[][], chainIdListForBundleEvaluationBloc
src/utils/BlockUtils.ts:57
↓ 2 callers
Function
getTokenAllowanceFromCache
( l1Token: EvmAddress, userAddress: EvmAddress, contractAddress: EvmAddress )
src/clients/bridges/utils.ts:45
↓ 2 callers
Method
getTokenDistributionPerL1Token
* 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:378
↓ 2 callers
Method
getTokenInfo
(l2Token: Address, chainId: number)
src/dataworker/Dataworker.ts:2483
↓ 2 callers
Function
getTokenSymbol
(token: Address, chainId: number)
src/utils/TokenUtils.ts:251
↓ 2 callers
Method
getTotalPendingWithdrawalAmount
* @notice Call this function to get the total pending withdrawal amount for a given L1 token and from address. * @dev This function will lookback l
src/clients/bridges/AdapterManager.ts:283
↓ 2 callers
Function
getTypechainAbi
(contractName: string)
src/utils/ContractUtils.ts:21
↓ 2 callers
Method
getUnexecutedBundleStartBlocks
( l1Token: Address, requireExecution: boolean )
test/mocks/MockBundleDataApproxClient.ts:36
↓ 2 callers
Method
getUnexecutedBundleStartBlocks
( l1Token: Address, requireExecution: boolean )
src/clients/BundleDataApproxClient.ts:132
↓ 2 callers
Method
getUnprofitableFills
()
src/clients/ProfitClient.ts:423
↓ 2 callers
Method
getUpdatedSearchConfigs
()
src/adapter/BaseChainAdapter.ts:120
↓ 2 callers
Function
getUserFees
( infoClient: hl.InfoClient, params: hl.UserFeesParameters, maxRetries = 3, delayS = 2 )
src/utils/HyperliquidUtils.ts:77
↓ 2 callers
Function
getViemChain
(chainId: number)
src/utils/NetworkUtils.ts:33
↓ 2 callers
Method
getWithdrawnKeysRedisKey
()
src/deposit-address/DepositAddressHandler.ts:208
↓ 2 callers
Method
hasBalanceForFill
(deposit: Deposit)
src/clients/TokenClient.ts:104
← previous
next →
801–900 of 2,347, ranked by callers