Skip to content

Commit fc24a60

Browse files
committed
feat(statics): add negative network fee feature
WIN-7591 TICKET: WIN-7591
1 parent 235587a commit fc24a60

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

modules/statics/src/base.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,10 @@ export enum CoinFeature {
508508
* This coin requires a deposit acceptance transaction
509509
*/
510510
REQUIRES_DEPOSIT_ACCEPTANCE_TRANSACTION = 'requires-deposit-acceptance-transaction',
511+
/**
512+
* This coin allows negative fees in transactions
513+
*/
514+
ALLOWS_NEGATIVE_FEE = 'allows-negative-fee',
511515
}
512516

513517
/**

modules/statics/src/coinFeatures.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,12 +399,14 @@ export const SUI_FEATURES = [
399399
CoinFeature.CUSTODY_BITGO_FRANKFURT,
400400
CoinFeature.CUSTODY_BITGO_GERMANY,
401401
CoinFeature.CUSTODY_BULK_TRANSACTION,
402+
CoinFeature.ALLOWS_NEGATIVE_FEE,
402403
];
403404
export const SUI_TOKEN_FEATURES = [
404405
...ACCOUNT_COIN_DEFAULT_FEATURES,
405406
CoinFeature.TSS,
406407
CoinFeature.TSS_COLD,
407408
CoinFeature.BULK_TRANSACTION,
409+
CoinFeature.ALLOWS_NEGATIVE_FEE,
408410
];
409411
export const SUI_TOKEN_FEATURES_EXCLUDE_SINGAPORE = SUI_TOKEN_FEATURES.filter(
410412
(feature) => feature !== CoinFeature.CUSTODY_BITGO_SINGAPORE

0 commit comments

Comments
 (0)