diff --git a/src/hooks/useSwapNetworkFees.ts b/src/hooks/useSwapNetworkFees.ts index 14312a59..8eb428b9 100644 --- a/src/hooks/useSwapNetworkFees.ts +++ b/src/hooks/useSwapNetworkFees.ts @@ -1,5 +1,5 @@ import { calculateSwapFees } from 'functions/getNetworkFees'; -import { InterfaceTrade, TransactionType } from 'state/routing/types'; +import { InterfaceTrade, PlatformType } from 'state/routing/types'; import { SorobanContextType, useSorobanReact } from '@soroban-react/core'; import useSWRImmutable from 'swr/immutable'; import { useRouterSDK } from 'functions/generateRoute'; @@ -76,7 +76,7 @@ const useSwapNetworkFees = (trade: InterfaceTrade | undefined, currencies: Curre }, path: result?.trade.path, tradeType: TradeType.EXACT_INPUT, - transctionType: TransactionType.SOROBAN + platform: PlatformType.SOROBAN }; return trade; diff --git a/src/state/routing/types.ts b/src/state/routing/types.ts index 0cf96fcb..cd7711da 100644 --- a/src/state/routing/types.ts +++ b/src/state/routing/types.ts @@ -233,7 +233,7 @@ export enum TradeType { EXACT_OUTPUT = 'EXACT_OUTPUT', } -export enum TransactionType { +export enum PlatformType { SOROBAN = 'SOROBAN', STELLAR_CLASSIC = 'STELLAR_CLASSIC' } @@ -245,7 +245,7 @@ export type InterfaceTrade = { path: string[] | undefined; priceImpact?: Percent | undefined; [x: string]: any; - transctionType: TransactionType; + platform: PlatformType; }; export enum QuoteState {