Skip to content

Commit 7b53ccf

Browse files
authored
fix(Swaps): add executedFee and executedFeeToken (#210)
* fix(Swaps): add `executedFee` and `executedFeeToken` * Mark `executedSurplusFee` as deprecated
1 parent 7906ce2 commit 7b53ccf

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

src/types/transactions.ts

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -286,8 +286,15 @@ export type BaseOrder = {
286286
buyToken: OrderToken
287287
/** @description The URL to the explorer page of the order */
288288
explorerUrl: string
289-
/** @description The amount of fees paid for this order. */
290-
executedSurplusFee?: string | null
289+
/**
290+
* @deprecated Use `executedFee` instead
291+
* @description The amount of fees paid for this order.
292+
*/
293+
executedSurplusFee: string | null
294+
/** @description The amount of fees paid for this order */
295+
executedFee: string | null
296+
/** @description The token in which the fee was paid, expressed by SURPLUS tokens (BUY tokens for SELL orders and SELL tokens for BUY orders). */
297+
executedFeeToken: OrderToken
291298
/** @description The (optional) address to receive the proceeds of the trade */
292299
receiver?: string | null
293300
owner: string

0 commit comments

Comments
 (0)