Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 811d77c

Browse files
authoredJun 12, 2025
Merge pull request #1729 from gmx-io/release-74
Release 74
2 parents f776ade + 4e50af9 commit 811d77c

File tree

219 files changed

+23067
-32112
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

219 files changed

+23067
-32112
lines changed
 

‎sdk/src/modules/orders/transactions/createSwapOrderTxn.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ async function getParams(sdk: GmxSdk, p: SwapOrderParams) {
7474
callbackContract: zeroAddress,
7575
market: zeroAddress,
7676
swapPath: p.swapPath,
77-
uiFeeReceiver: zeroAddress,
77+
uiFeeReceiver: sdk.config.settings?.uiFeeReceiverAccount || zeroAddress,
7878
},
7979
numbers: {
8080
sizeDeltaUsd: 0n,

‎sdk/src/modules/trades/trades.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import type { Address } from "viem";
44
import { getWrappedToken } from "configs/tokens";
55
import { MarketsInfoData } from "types/markets";
66
import { OrderType } from "types/orders";
7+
import { TradeAction as SubsquidTradeAction } from "types/subsquid";
78
import { TokensData } from "types/tokens";
8-
import { PositionTradeAction, RawTradeAction, TradeAction, TradeActionType } from "types/tradeHistory";
9+
import { PositionTradeAction, TradeAction, TradeActionType } from "types/tradeHistory";
910
import graphqlFetcher from "utils/graphqlFetcher";
1011
import { isIncreaseOrderType, isLimitOrderType, isSwapOrderType, isTriggerDecreaseOrderType } from "utils/orders";
1112
import { GraphQlFilters, buildFiltersBody } from "utils/subgraph";
@@ -286,7 +287,7 @@ export async function fetchTradeActions({
286287
}
287288
}`;
288289

289-
const result = await graphqlFetcher<{ tradeActions: RawTradeAction[] }>(endpoint, query);
290+
const result = await graphqlFetcher<{ tradeActions: SubsquidTradeAction[] }>(endpoint, query);
290291

291292
const rawTradeActions = result?.tradeActions || [];
292293

There was a problem loading the remainder of the diff.

0 commit comments

Comments
 (0)
Failed to load comments.