Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
danielisaacgeslin committed Sep 19, 2024
2 parents 2dd6bdd + 82967d2 commit 821ddc0
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
2 changes: 1 addition & 1 deletion apps/connect/src/hooks/useConnectConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const defaultConfig: WormholeConnectConfig = {
isRouteSupportedHandler: async (td: any) => {
// Disable manual NTT for Lido wstETHƒ
return !(
td.route === "nttManual" &&
td.route === "ManualNtt" &&
td.fromToken.tokenId !== "native" &&
[
"0x7f39C581F595B53c5cb19bD0b3f8dA6c935E2Ca0",
Expand Down
18 changes: 11 additions & 7 deletions apps/connect/src/providers/telemetry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,20 @@ export const eventHandler = (e: WormholeConnectEvent) => {
amount: e.details.amount,
route:
{
bridge: "Manual Bridge",
relay: "Relayer",
ManualTokenBridge: "Manual Bridge",
AutomaticTokenBridge: "Relayer",
ManualCCTP: "CCTP Manual",
AutomaticCCTP: "CCTP Relayer",
ManualNtt: "NTT Manual",
AutomaticNtt: "NTT Relayer",
MayanSwap: "Mayan Swap",
MayanSwapWH: "Mayan Swap",
MayanSwapMCTP: "Mayan Swap MCTP",
MayanSwapSWIFT: "Mayan Swap Swift",
cosmosGateway: "Cosmos Gateway",
ethBridge: "Eth Bridge",
wstETHBridge: "wstETH Bridge",
cctpManual: "CCTP Manual",
cctpRelay: "CCTP Relayer",
tbtc: "TBTC",
cosmosGateway: "Cosmos Gateway",
nttManual: "NTT Manual",
nttRelay: "NTT Relayer",
usdtBridge: "USDT Bridge",
}[e.details.route] || "Manual Bridge",
...(isTransferError
Expand Down

0 comments on commit 821ddc0

Please sign in to comment.