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
↓ 4 callers
Function
cctpV1L1toSvmL2Finalizer
( logger: winston.Logger, _signer: Signer, hubPoolClient: HubPoolClient, l2SpokePoolClient: SpokePoolC
src/finalizer/utils/cctp/l1ToSvmL2.ts:30
↓ 4 callers
Function
chainIsBlast
(chainId: OVM_CHAIN_ID)
src/finalizer/utils/opStack.ts:150
↓ 4 callers
Method
checkUnknownRootBundleCallers
()
src/monitor/Monitor.ts:178
↓ 4 callers
Function
convertTokenListFromWei
(chainId: number, tokenAddresses: Address[], weiVals: string[])
src/dataworker/PoolRebalanceUtils.ts:75
↓ 4 callers
Function
createSlowFillLeaf
* @notice Returns dummy slow fill leaf that you can insert into a BundleSlowFills object. * @dev The leaf returned will not actually be executable
test/DataworkerUtils.ts:95
↓ 4 callers
Method
del
(key: string)
src/cache/Redis.ts:13
↓ 4 callers
Function
deleteIgnoredKeys
* Deletes keys from an object and returns new copy of object without ignored keys * @param ignoredKeys * @param obj * @returns Objects with ignored
src/utils/ObjectUtils.ts:36
↓ 4 callers
Function
depositMessageV3
()
test/DepositAddressHandler.publish.ts:64
↓ 4 callers
Function
disconnectRedisClient
(client: RedisClient, logger?: winston.Logger)
src/utils/Redis.ts:115
↓ 4 callers
Function
encodeFunctionData
(_method: string, args: ReadonlyArray<unknown> = [])
test/MultiCallerClient.ts:68
↓ 4 callers
Method
estimateFillCost
( deposit: Deposit )
src/clients/ProfitClient.ts:352
↓ 4 callers
Function
extractGaslessDepositFields
(depositMessage: AnyGaslessDepositMessage)
src/utils/GaslessUtils.ts:41
↓ 4 callers
Function
findExpectedEdge
( edgeCandidates: GraphEdgeCandidate[], predicate: (candidate: GraphEdgeCandidate) => boolean, descripti
test/JussiGraph.buildGraph.ts:66
↓ 4 callers
Function
fireAndForget
(task: () => Promise<unknown>)
src/utils/Tasks.ts:6
↓ 4 callers
Method
formatDepositForLog
(deposit: Deposit)
src/clients/ProfitClient.ts:1031
↓ 4 callers
Function
formatOtherKnownBalances
( chainId: number, signer: Signer, excludedSymbol: string, accountCoins: Coin[] )
scripts/swapOnBinance.ts:498
↓ 4 callers
Function
generateDeposit
( inputTokenSymbol: "USDC" | "WETH", inputChainId: number, inputAmount = toWei(1) )
test/BundleDataApproxClient.ts:179
↓ 4 callers
Function
generateSlowFillRequestFromDeposit
( deposit: interfaces.DepositWithBlock, fillEventOverride?: Partial<interfaces.FillWithBlock> )
test/Dataworker.loadData.unexecutableSlowFill.ts:116
↓ 4 callers
Function
generateSlowFillRequestFromDeposit
( deposit: interfaces.DepositWithBlock, fillEventOverride?: Partial<interfaces.FillWithBlock>
test/Dataworker.loadData.prefill.ts:234
↓ 4 callers
Function
generateV3FillFromDeposit
( deposit: interfaces.DepositWithBlock, fillEventOverride?: Partial<interfaces.FillWithBlock>, _re
test/Dataworker.loadData.unexecutableSlowFill.ts:81
↓ 4 callers
Function
getAllUnfilledDeposits
( spokePoolClients: SpokePoolClientsByChain, hubPoolClient: HubPoolClient )
src/utils/FillUtils.ts:99
↓ 4 callers
Method
getAtomicDepositor
()
src/adapter/bridges/ZKStackWethBridge.ts:202
↓ 4 callers
Method
getBinanceClient
()
src/adapter/bridges/BinanceCEXBridge.ts:202
↓ 4 callers
Function
getBinanceDeposits
( binanceApi: BinanceApi, startTime: number, maxRetries = 3, delayS = 2 )
src/utils/BinanceUtils.ts:396
↓ 4 callers
Function
getBinanceTransactionTypeKey
(chainId: number, uniqueIdentifier: string)
src/utils/BinanceUtils.ts:293
↓ 4 callers
Function
getCloidForAccount
(account: string)
src/rebalancer/utils/utils.ts:73
↓ 4 callers
Method
getDepositKey
(token: string, originChainId: number, depositId: string)
test/GaslessRelayer.ts:106
↓ 4 callers
Function
getDisabledBlockRanges
()
test/utils/utils.ts:473
↓ 4 callers
Method
getExecuteContract
(address: string, originChainId: number, useDispatcher: boolean)
src/deposit-address/DepositAddressHandler.ts:1404
↓ 4 callers
Function
getFillAmount
(relayData: RelayData, tokenPrice: BigNumber)
test/Relayer.BasicFill.ts:253
↓ 4 callers
Function
getFillCommission
( binanceApi: BinanceTradeReader, spotMarketMeta: FillCommissionMarketMeta, orderId: number )
src/utils/BinanceUtils.ts:449
↓ 4 callers
Function
getGckmsConfig
(keys: string[])
src/utils/GckmsUtils.ts:29
↓ 4 callers
Function
getGcpPubSubPublisher
(logger?: winston.Logger, projectId?: string)
src/messaging/gcp/PubSub.ts:56
↓ 4 callers
Method
getL2PendingWithdrawalAmount
()
test/generic-adapters/SplitBridgeTracking.ts:177
↓ 4 callers
Method
getLatestPrice
( sourceBinanceCoin: string, destinationBinanceCoin: string, sourceTokenDecimals: number, sour
scripts/swapOnBinance.ts:1381
↓ 4 callers
Function
getMainnetUsdgAddress
()
src/utils/PaxosTransitUtils.ts:22
↓ 4 callers
Method
getMulticaller
(chainId: number)
src/relayer/Relayer.ts:1658
↓ 4 callers
Function
getNewBalanceAllocator
()
test/Dataworker.executePoolRebalanceUtils.ts:47
↓ 4 callers
Function
getNewBalanceAllocator
()
test/Dataworker.executeRelayerRefunds.ts:27
↓ 4 callers
Function
getOutstandingTransfersForTrackedBridge
( adapterName: PendingBridgeAdapterName, tokenSymbol: "USDT" | "USDC", initiationEvents: ReturnType<type
test/generic-adapters/SplitBridgeTracking.ts:71
↓ 4 callers
Method
getQuote
( source: ResolvedBinanceAsset, destination: ResolvedBinanceAsset, sourceAmount: BigNumber )
scripts/swapOnBinance.ts:1481
↓ 4 callers
Method
getRemoteTokensForL1Token
* From an L1Token and remote chain ID, resolve all supported corresponding tokens. * This should include at least the relevant repayment token on t
src/clients/InventoryClient.ts:428
↓ 4 callers
Method
getRpcUrlForChain
(chainId: number)
src/cctp-finalizer/services/cctpService.ts:326
↓ 4 callers
Function
getSpokePool
(chainId: number, address?: string)
src/utils/ContractUtils.ts:64
↓ 4 callers
Function
getTarget
(targetAddress: string)
src/utils/TransactionUtils.ts:251
↓ 4 callers
Function
getUnfilledDeposits
( destinationSpokePoolClient: SpokePoolClient, originSpokePoolClients: SpokePoolClientsByChain, hubPoolC
src/utils/FillUtils.ts:38
↓ 4 callers
Method
getUpcomingRefunds
(chainId: number, l1Token: EvmAddress, relayer?: EvmAddress)
src/clients/InventoryClient.ts:489
↓ 4 callers
Method
getWithRetry
(endpoint: string, nRetries = this.nRetries)
src/utils/PaxosTransitUtils.ts:331
↓ 4 callers
Method
getWithdrawalLimits
()
src/clients/BinanceClient.ts:47
↓ 4 callers
Function
getWrappedNativeTokenAddress
(chainId: number)
src/utils/TokenUtils.ts:156
↓ 4 callers
Function
incrementCounterThrowError
(errorIndex: number, returnValue = expectedReturnValue)
test/RetryUtils.ts:14
↓ 4 callers
Method
init
(opts: IndexerOpts)
src/clients/SpokePoolClient.ts:58
↓ 4 callers
Method
initToken
(erc20: Contract)
test/mocks/MockProfitClient.ts:78
↓ 4 callers
Method
initiateWithdrawV3
* v3 refund-withdraw path entry point. Gated behind config.enableV3Withdrawals and only reached * for `mis_route` classifications (see processExecu
src/deposit-address/DepositAddressHandler.ts:1157
↓ 4 callers
Function
isDepositAddressMessageV3
(message: AnyDepositAddressMessage)
src/interfaces/DepositAddress.ts:134
↓ 4 callers
Function
isErc2612PermitNonceConsumed
(params: { spokePoolPeriphery: Contract; owner: string; signedNonce: string; })
src/utils/GaslessUtils.ts:402
↓ 4 callers
Method
isFillProfitable
( deposit: Deposit, lpFeePct: BigNumber, repaymentChainId: number )
src/clients/ProfitClient.ts:720
↓ 4 callers
Function
isJsonAbi
(value: unknown[])
src/common/ContractAddresses.ts:1014
↓ 4 callers
Function
isKeyOf
( input: V, obj: Record<T, unknown> )
src/utils/TypeGuards.ts:50
↓ 4 callers
Method
isSupportedL2Bridge
(l1Token: EvmAddress)
src/adapter/BaseChainAdapter.ts:153
↓ 4 callers
Method
isSupportedToken
* Determine whether this adapter supports an l1 token address * @param l1Token an address * @returns True if l1Token is supported
src/adapter/BaseChainAdapter.ts:147
↓ 4 callers
Method
isSwapSupported
(inputToken: Address, outputToken: Address, inputChainId: number, outputChainId: number)
src/clients/InventoryClient.ts:211
↓ 4 callers
Method
l2TokenHasPoolRebalanceRoute
(l2Token: Address, l2ChainId: number, hubPoolBlock: number)
test/mocks/MockHubPoolClient.ts:81
↓ 4 callers
Function
makeAdapter
()
test/BinanceAdapter.quotes.ts:118
↓ 4 callers
Function
makeDepositMessage
(overrides: Record<string, unknown> = {})
test/GaslessUtils.ts:20
↓ 4 callers
Function
makeErc20Coin
( symbol: string, networks: Array<{ chainId: number; contractAddress?: string; }> )
test/swapOnBinance.ts:648
↓ 4 callers
Function
makeEthersError
(code: string, extra: Record<string, unknown> = {})
test/TransactionClient.ts:156
↓ 4 callers
Function
makeFakeBinanceClient
(opts: { isOperational?: boolean; canWithdraw?: boolean } = {})
test/InventoryClient.RefundChain.ts:66
↓ 4 callers
Function
makeOrderBook
({ asks, bids, }: { asks: Array<{ price: string; quantity: string }>; bids: Array<{ price: string; qua
test/BinanceAdapter.quotes.ts:127
↓ 4 callers
Function
makeOrderBook
({ asks, bids, }: { asks: Array<{ price: string; quantity: string }>; bids: Array<{ price: string; qua
test/swapOnBinance.ts:683
↓ 4 callers
Function
makeSpokePoolPeripheryContract
()
test/GaslessUtils.ts:97
↓ 4 callers
Function
makeSpotMeta
(isBuy: boolean, minimumOrderSize: number)
test/BinanceAdapter.conversions.ts:235
↓ 4 callers
Method
mapToken
(symbol: string, address: string)
test/mocks/MockProfitClient.ts:84
↓ 4 callers
Method
mapTokenInfo
(address: Address, symbol: string, decimals?: number)
test/mocks/MockHubPoolClient.ts:92
↓ 4 callers
Function
normalizeSignatureBytes
(signature: string)
src/utils/GaslessUtils.ts:307
↓ 4 callers
Method
onEvent
( address: string, event: string | AbiEvent, handler: (log: Log) => void, args?: Record<string
src/clients/EventListener.ts:98
↓ 4 callers
Function
parseAddressesOptional
(addressJson?: string)
src/monitor/MonitorConfig.ts:234
↓ 4 callers
Function
parseCoinBalance
(balance: string, decimals: number)
scripts/sweepBinanceBalance.ts:348
↓ 4 callers
Function
prepareGraphTopology
(params: { relayerConfig: RelayerConfig; rebalancerConfig: RebalancerConfig; })
src/jussi/prepareGraphTopology.ts:10
↓ 4 callers
Function
rateToDecimal
(rate: JussiRateDefinition)
src/jussi/economics/rates.ts:332
↓ 4 callers
Method
relayFillStatus
(relayData: interfaces.RelayData, blockTag?: number)
test/mocks/MockSpokePoolClient.ts:42
↓ 4 callers
Function
resolveOptionalTranslatedTokenAddress
( l1Token: EvmAddress, chainId: number, hubPoolChainId = DEFAULT_HUB_POOL_CHAIN_ID )
src/jussi/topology/edges.ts:100
↓ 4 callers
Function
resolveRateLimitBucketId
(family: EdgeFamily)
src/jussi/topology/edges.ts:356
↓ 4 callers
Function
retrieveGckmsKeys
(gckmsConfigs: KeyConfig[])
src/utils/GckmsUtils.ts:52
↓ 4 callers
Function
roundAmountToSend
(amount: BigNumber, tokenDecimals: number, sharedDecimals: number)
src/utils/OFTUtils.ts:121
↓ 4 callers
Method
runFilterDepositsByIntegratorId
(messages: AnyGaslessDepositMessage[])
test/GaslessRelayer.ts:181
↓ 4 callers
Method
runMarkFilledFromInitialObservation
(messages: AnyGaslessDepositMessage[])
test/GaslessRelayer.ts:177
↓ 4 callers
Function
scheduleTask
(task: () => Promise<unknown>, interval: number, signal: AbortSignal)
src/utils/Tasks.ts:38
↓ 4 callers
Method
seedL1TokenPriceUsd
(l1Token: string, priceUsd: BigNumber)
test/mocks/MockInventoryClient.ts:59
↓ 4 callers
Function
sendAndConfirmMintOrThrow
( tx: Parameters<typeof sendAndConfirmSolanaTransactionWithSlot>[0], provider: SVMProvider, cycles?: num
src/cctp-finalizer/utils/svmUtils.ts:193
↓ 4 callers
Method
sendTokenToTargetChain
* @notice Submits on-chain transaction to send tokens to the target chain. * @param address Address to send tokens to. * @param l1Token L1 token
src/adapter/BaseChainAdapter.ts:413
↓ 4 callers
Method
setBridge
(address: string, bridge: Contract)
test/generic-adapters/OpStack.ts:52
↓ 4 callers
Method
setEstimatedCost
(route: RebalanceRoute, cost: BigNumber)
test/RebalancerClient.cumulativeRebalancing.ts:823
↓ 4 callers
Method
setOriginTokenApprovals
()
src/clients/TokenClient.ts:169
↓ 4 callers
Function
storedCallDataEvent
(overrides: Partial<StoredCallDataEvent> = {})
test/Finalizer.HeliosFilterRequiredActions.test.ts:12
↓ 4 callers
Function
submitBinanceWithdrawal
( binanceApi: BinanceApi, options: Parameters<BinanceApi["withdraw"]>[0] )
src/utils/BinanceUtils.ts:279
↓ 4 callers
Method
supportedChains
* @notice Returns list of chains we have adapters for * @returns list of chain IDs we have adapters for
src/clients/bridges/AdapterManager.ts:202
↓ 4 callers
Function
tronOriginIndexerMessage
Indexer API sample: Tron origin, Base destination, USDT correct_transfer.
test/DepositAddressUtils.ts:7
↓ 4 callers
Function
updateAllClients
()
test/TokenClient.Approval.ts:37
↓ 4 callers
Function
updateAndExecuteAction
(l1Event: StoredCallDataEvent)
test/Finalizer.HeliosFilterRequiredActions.test.ts:27
← previous
next →
401–500 of 2,347, ranked by callers