From 11a80d7e63d176f9772cbe77c78f66ada0cfb3d4 Mon Sep 17 00:00:00 2001 From: esteblock Date: Wed, 18 Sep 2024 14:39:37 -0300 Subject: [PATCH 1/2] Soroswap Router is known as Soroswap AMM --- src/state/routing/types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state/routing/types.ts b/src/state/routing/types.ts index 9a5e3cee..0823b9fc 100644 --- a/src/state/routing/types.ts +++ b/src/state/routing/types.ts @@ -236,7 +236,7 @@ export enum TradeType { export enum PlatformType { AGGREGATOR = 'Soroswap Aggregator', - ROUTER = 'Soroswap Router', + ROUTER = 'Soroswap AMM', STELLAR_CLASSIC = 'SDEX', } From f1a881f80da52241fe310a572870484b23556596 Mon Sep 17 00:00:00 2001 From: esteblock Date: Tue, 1 Oct 2024 13:48:35 -0300 Subject: [PATCH 2/2] print in console the unknown contract error --- src/functions/extractContractError.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/functions/extractContractError.ts b/src/functions/extractContractError.ts index 5f5e8615..95e6ee9a 100644 --- a/src/functions/extractContractError.ts +++ b/src/functions/extractContractError.ts @@ -9,5 +9,5 @@ export function extractContractError(errorMessage: unknown): Error { return new Error(`Contract Error #${match[1]}`); } - return new Error('Unknown contract error'); + return new Error('Unknown contract error with errorMessage: ' + errorMessage); }