MCPcopy Create free account

hub / github.com/across-protocol/relayer / functions

Functions2,347 in github.com/across-protocol/relayer

↓ 2 callersMethodinit
* @description Perform one-time relayer init. Handle (for example) token approvals.
src/relayer/Relayer.ts:104
↓ 2 callersFunctioninitLineaSdk
(l1ChainId: number, l2ChainId: number, signer: Signer)
src/finalizer/utils/linea/common.ts:43
↓ 2 callersFunctioninitializeExchangeBreakdown
( candidate: GraphEdgeCandidate, pricingContext: RuntimePricingContext )
src/jussi/economics/edgeCosts.ts:563
↓ 2 callersMethodinitiateDepositV3
* v3 (upgradeable-counterfactual) deposit-execute path. The bot is a thin submitter: it relays * funding context to the quote-api execute endpoint,
src/deposit-address/DepositAddressHandler.ts:915
↓ 2 callersMethodinitiateFill
( deposit: RelayData & { destinationChainId: number }, originChainSpokePool: string )
src/gasless/GaslessRelayer.ts:938
↓ 2 callersFunctionisAllowedGaslessPair
( inputToken: Address | string, outputToken: Address | string, originChainId: number, destinationChain
src/utils/GaslessUtils.ts:115
↓ 2 callersFunctionisCCTPError
(error: unknown)
src/cctp-finalizer/errors.ts:99
↓ 2 callersFunctionisExclusivityRelative
(exclusivityParameter: number)
src/utils/GaslessUtils.ts:92
↓ 2 callersMethodisHubChainContract
(address: EvmAddress)
src/adapter/bridges/OpStackWethBridge.ts:178
↓ 2 callersMethodisL1OrL2Contract
(address: EvmAddress)
src/adapter/bridges/BinanceCEXBridge.ts:180
↓ 2 callersMethodisL2ChainContract
(address: EvmAddress)
src/adapter/bridges/OpStackWethBridge.ts:181
↓ 2 callersFunctionisNetworkEnabledForDirection
(network: BinanceAssetNetwork, direction: "deposit" | "withdraw")
scripts/swapOnBinance.ts:1831
↓ 2 callersFunctionisPermit2NonceUsed
(permit2: Contract, owner: string, permitNonce: string)
src/utils/GaslessUtils.ts:388
↓ 2 callersFunctionisUnmeteredFastRebalance
(chainId: number, token: Address, hubChainId: number)
src/utils/FillUtils.ts:78
↓ 2 callersFunctionisWeekday
(now: Date = new Date())
src/utils/TimeUtils.ts:11
↓ 2 callersFunctionkey
(event: Log)
src/libexec/RelayerSpokePoolListenerTVM.ts:49
↓ 2 callersMethodl2TokenExistForL1Token
(l1Token: EvmAddress, l2ChainId: number)
src/clients/bridges/AdapterManager.ts:384
↓ 2 callersMethodl2TokenForL1Token
(l1Token: EvmAddress, chainId: number)
src/clients/bridges/AdapterManager.ts:349
↓ 2 callersFunctionlistPaxosTransitOrders
( client: PaxosTransitClient, userAddress: string, filter?: string )
src/utils/PaxosTransitUtils.ts:158
↓ 2 callersFunctionloadCumulativeModeBalances
( rebalancerConfig: RebalancerConfig, inventoryClient: InventoryClient )
src/rebalancer/index.ts:118
↓ 2 callersFunctionlogProviderError
(providerName: string, err: unknown, backoffS: number)
src/libexec/RelayerSpokePoolListenerSVM.ts:134
↓ 2 callersFunctionmakeDeposit
({ txId, status, network, coin }: { txId: string; status: number; network: string; coin: string })
test/swapOnBinance.ts:693
↓ 2 callersFunctionmakeDepositMessage
* Build a GaslessDepositMessage with real USDC addresses. * Defaults: inputAmount == outputAmount == "1000000" (1 USDC).
test/GaslessRelayer.ts:190
↓ 2 callersFunctionmakeHash
()
test/EventManager.ts:13
↓ 2 callersFunctionmakeHash
()
test/RelayerSpokePoolListenerTVM.ts:7
↓ 2 callersFunctionmakeHash
(seed?: number)
test/Relayer.IndexedSpokePoolClient.ts:45
↓ 2 callersFunctionmakeSpokePoolClient
(chainId: number)
test/generic-adapters/SplitBridgeTracking.ts:111
↓ 2 callersFunctionmakeStablecoinSymbol
()
test/BinanceUtils.ts:408
↓ 2 callersFunctionmakeTestCctpMessage
(overrides?: Partial<GaslessDepositMessage["baseDepositData"]>)
test/GaslessRelayer.ts:587
↓ 2 callersFunctionmakeWethUsdcSymbol
()
test/BinanceUtils.ts:420
↓ 2 callersFunctionmakeWethUsdcSymbol
()
test/BinanceAdapter.helpers.ts:488
↓ 2 callersFunctionmatchTokenSymbol
(tokenAddress: string, chainId: number)
src/utils/AddressUtils.ts:45
↓ 2 callersMethodmatchingPolicy
* Per-(token-pair) override: returns the first policy in the cached `RELAYER_POLICIES` registry * whose `DESTINATIONS_<srcSymbol>_<dstSymbol>` rout
src/clients/ProfitClient.ts:595
↓ 2 callersMethodmintBond
(amount: BigNumber)
src/dataworker/Disputer.ts:114
↓ 2 callersMethodmultiCallTransactionCount
()
test/MultiCallerClient.ts:55
↓ 2 callersFunctionnetworkMatchesChain
(networkName: string, chainId: number)
scripts/swapOnBinance.ts:1805
↓ 2 callersFunctionnetworkRequiresMemo
(network: BinanceAssetNetwork)
scripts/swapOnBinance.ts:1838
↓ 2 callersFunctionnormalizeBaseDepositData
* Normalizes BaseDepositData fields to match on-chain encoding. * This ensures consistent data representation between deposit submission and fill pat
src/utils/GaslessUtils.ts:263
↓ 2 callersFunctionnormalizeNetworkName
(networkName: string)
scripts/swapOnBinance.ts:1801
↓ 2 callersFunctionnormalizeSignature
(signature: string)
src/utils/GaslessUtils.ts:299
↓ 2 callersMethodnotifyIfUnknownCaller
(caller: string, action: BundleAction, txnRef: string)
src/monitor/Monitor.ts:1065
↓ 2 callersMethodonBlock
(handler: (blockNumber: number, currentTime: number) => void)
src/clients/SpokePoolClient.ts:59
↓ 2 callersMethodonEvents
( address: string, events: (string | AbiEvent)[], handler: (log: Log) => void, args?: Record<s
src/clients/EventListener.ts:107
↓ 2 callersFunctionoptionalNumberFlag
(args: ParsedSwapArgs, flag: string, defaultValue: number)
scripts/swapOnBinance.ts:1057
↓ 2 callersFunctionpaxosTransitOrderMatchesRoute
( order: PaxosTransitOrder, params: { wantAsset: string; sourceChainId: number; destinationCha
src/utils/PaxosTransitUtils.ts:141
↓ 2 callersFunctionpersistArweaveTopicToCache
( topicCache: interfaces.CachingMechanismInterface | undefined, tag: string, data: Record<string, unknow
src/dataworker/DataworkerUtils.ts:572
↓ 2 callersFunctionprettyRelayerRefundLeaf
(leaves: RelayerRefundLeaf[])
scripts/constructEmergencyRoot.ts:16
↓ 2 callersFunctionprocessEndPollingLoop
( logger: winston.Logger, fileName: string, pollingDelay: number )
src/utils/ExecutionUtils.ts:8
↓ 2 callersMethodpublishJson
* Publishes a JSON-encoded message to `topicName`. Returns the GCP-assigned message id. * Throws if the client library exhausts its internal retrie
src/messaging/gcp/PubSub.ts:30
↓ 2 callersFunctionpushDirectedDifferentAssetRoutes
( routes: RebalanceRoute[], rule: DifferentAssetPairRule, sourceToken: SupportedToken, sourceChains: r
src/rebalancer/buildRebalanceRoutes.ts:181
↓ 2 callersMethodputGraphBundle
(graphId: string, bundle: JussiPutGraphBundleRequest)
src/jussi/JussiApiClient.ts:35
↓ 2 callersFunctionputJsonWithTimeout
( url: string, body: unknown, headers: Record<string, string> = {}, timeoutMs = DEFAULT_JUSSI_API_TIME
src/jussi/JussiApiClient.ts:5
↓ 2 callersFunctionquoteLiveOftRouteTransfer
( candidate: GraphEdgeCandidate, amount: BigNumber, baseSigner: Signer, hubPoolChainId = DEFAULT_HUB_P
src/jussi/economics/quotes.ts:83
↓ 2 callersFunctionrandomNumber
(ceil = 1_000_000)
test/Relayer.BasicFill.ts:267
↓ 2 callersFunctionreadFile
(fileName: string)
src/utils/fsUtils.ts:15
↓ 2 callersFunctionreadFileSync
(fileName: string)
src/utils/fsUtils.ts:5
↓ 2 callersFunctionreadableBinanceWithdrawalStatus
(status?: number)
src/utils/BinanceUtils.ts:136
↓ 2 callersFunctionredisGetOrderDetailsForAdapter
( redisCache: RedisCache, adapterRedisPrefix: string, cloid: string, account: EvmAddress )
src/rebalancer/utils/utils.ts:114
↓ 2 callersMethodrefillBalances
()
src/refiller/Refiller.ts:122
↓ 2 callersFunctionremoveEvent
(event: Log)
src/libexec/util/ipc.ts:52
↓ 2 callersMethodrenewPublishLockOrThrow
(token: string, lockTtlMs: number)
src/jussi/JussiGraphPublisher.ts:132
↓ 2 callersMethodreportUnfilledDeposits
()
src/monitor/Monitor.ts:257
↓ 2 callersFunctionrequireEnvironmentVariable
(name: string)
scripts/buildJussiGraph.ts:103
↓ 2 callersFunctionrequiredChainFlag
(args: ParsedSwapArgs, flag: string)
scripts/swapOnBinance.ts:1022
↓ 2 callersMethodrequiredTokenApprovals
()
src/adapter/l2Bridges/OFTL2Bridge.ts:222
↓ 2 callersFunctionresolveBinanceCoinSymbol
(token: string)
src/jussi/topology/edges.ts:296
↓ 2 callersFunctionresolveCctpMaxSendAmountNative
(decimals: number)
src/jussi/economics/edgeCosts.ts:278
↓ 2 callersFunctionresolveChainIds
(chainIds: number[], fallback: number[] = [])
src/relayer/RelayerClientHelper.ts:157
↓ 2 callersFunctionresolveCrossChainTransferStructure
( finalizableMessage: PolygonTokensBridged, type: "misc" | "withdrawal", hubPoolClient: HubPoolClient )
src/finalizer/utils/polygon.ts:264
↓ 2 callersFunctionresolveHubChainId
(spokeChainId: number)
scripts/utils.ts:84
↓ 2 callersMethodresolveL2TokenAddress
(_l1Token: EvmAddress)
src/adapter/bridges/SolanaUsdcCCTPBridge.ts:78
↓ 2 callersFunctionresolveNativePriceChainIdsForPrices
( graphJson: Pick<JussiGraphJson, "logical_assets" | "nodes"> )
scripts/buildJussiGraph.ts:186
↓ 2 callersMethodresolveNativeToken
(chainId: number)
src/clients/ProfitClient.ts:226
↓ 2 callersFunctionresolveOftQuoteExtraOptions
(destinationChain: number)
src/jussi/economics/quotes.ts:33
↓ 2 callersFunctionresolveOftQuoteSendFeeAsset
(chainId: number)
src/jussi/economics/quotes.ts:23
↓ 2 callersFunctionresolvePositiveBinanceAmountNative
(value: string | undefined, decimals: number)
src/jussi/economics/edgeCosts.ts:267
↓ 2 callersMethodresolveRemoteTokens
(chainId: number, hubPoolTokens: L1Token[])
src/clients/TokenClient.ts:240
↓ 2 callersFunctionresolveRequiredNativePriceChains
( logicalAssets: Record<string, JussiLogicalAssetDefinition>, nodeContexts: ManagedNodeContext[] )
src/jussi/topology/logicalAssets.ts:48
↓ 2 callersFunctionresolveSplitterBridgeMatch
( node: ManagedNodeContext, context: BridgeLookupContext, splitterBridges: { name: string }[] | undefine
src/jussi/topology/edges.ts:147
↓ 2 callersFunctionresolveSpokePoolActivationBlock
( chainId: number, hubPoolClient: HubPoolClient, blockNumber?: number )
src/common/ClientHelper.ts:65
↓ 2 callersFunctionresolveStepPrecision
(stepSize: string)
src/utils/BinanceUtils.ts:701
↓ 2 callersMethodroundAmountToSend
* Rounds send amount so that dust doesn't get subtracted from it in the OFT contract. * @param amount amount to round * @returns amount rounded
src/adapter/bridges/OFTBridge.ts:96
↓ 2 callersMethodrouteEnabled
* @description Validate whether the origin and destination chain combination is permitted by relayer config. * @param originChainId chain ID for th
src/relayer/Relayer.ts:479
↓ 2 callersFunctionrunPreparedFullBuild
( prepared: PreparedGraphTopology, logger: winston.Logger, graphId?: string )
scripts/buildJussiGraph.ts:278
↓ 2 callersMethodrunUpdateObservedCctpDeposits
(apiMessages: AnyGaslessDepositMessage[])
test/GaslessRelayer.ts:79
↓ 2 callersMethodsAdd
(key: string, value: string)
src/cache/Redis.ts:109
↓ 2 callersMethodsRem
(key: string, value: string)
src/cache/Redis.ts:117
↓ 2 callersFunctionschedule
()
src/utils/Tasks.ts:75
↓ 2 callersFunctionseedMocks
(seedBalances: { [chainId: string]: { [token: string]: BigNumber } })
test/InventoryClient.RefundChain.ts:139
↓ 2 callersFunctionserializeEdgeClassDefinition
( candidate: GraphEdgeCandidate, params: Pick<EdgePricingParams, "baseSigner" | "pricingContext" | "rebala
src/jussi/economics/rates.ts:31
↓ 2 callersMethodsetApprovals
()
src/rebalancer/utils/interfaces.ts:8
↓ 2 callersFunctionsetBinanceDepositType
( depositChain: number, transactionHash: string, type: BinanceTransactionType, ttl?: number )
src/utils/BinanceUtils.ts:310
↓ 2 callersFunctionsetBinanceWithdrawalType
( withdrawalChain: number, withdrawalId: string, type: BinanceTransactionType )
src/utils/BinanceUtils.ts:331
↓ 2 callersMethodsetBondTokenAllowance
()
src/clients/TokenClient.ts:212
↓ 2 callersMethodsetFillStatus
(deposit: Deposit, status: number)
src/relayer/Relayer.ts:1033
↓ 2 callersMethodsetGasCosts
(gasCosts: { [chainId: number]: TransactionCostEstimate })
test/mocks/MockProfitClient.ts:113
↓ 2 callersMethodsetGasMultiplier
(gasMultiplier: BigNumber)
test/mocks/MockProfitClient.ts:121
↓ 2 callersMethodsetHubPool
(address: string, hubPool: Contract)
test/generic-adapters/zkSync.ts:55
↓ 2 callersMethodsetL1Bridge
(address: string, bridge: Contract)
test/generic-adapters/Polygon.ts:33
↓ 2 callersMethodsetL1Bridge
(address: string, bridge: Contract)
test/generic-adapters/zkSync.ts:31
← previousnext →901–1,000 of 2,347, ranked by callers