Skip to content

Commit d4ae748

Browse files
Merge pull request #6573 from BitGo/COIN-4748
feat: add coin feature for coins who pay fee with token
2 parents 75047bb + 5355259 commit d4ae748

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

modules/statics/src/base.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,11 @@ export enum CoinFeature {
357357
*/
358358
TSS_ENTERPRISE_PAYS_FEES = 'tss-enterprise-pays-fees',
359359

360+
/**
361+
* Indicates that fees for transactions on a wallet for this coin are paid with a token (not the native coin).
362+
*/
363+
FEES_PAID_WITH_TOKEN = 'fees-paid-with-token',
364+
360365
/**
361366
* This coin supports alphanumeric memo id
362367
*/

modules/statics/src/coinFeatures.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -590,6 +590,7 @@ export const VET_FEATURES = [
590590
CoinFeature.SUPPORTS_TOKENS,
591591
CoinFeature.ENTERPRISE_PAYS_FEES,
592592
CoinFeature.TSS_ENTERPRISE_PAYS_FEES,
593+
CoinFeature.FEES_PAID_WITH_TOKEN,
593594
CoinFeature.MPCV2,
594595
];
595596
export const VET_TOKEN_FEATURES = [
@@ -599,4 +600,5 @@ export const VET_TOKEN_FEATURES = [
599600
CoinFeature.ENTERPRISE_PAYS_FEES,
600601
CoinFeature.TSS_ENTERPRISE_PAYS_FEES,
601602
CoinFeature.MPCV2,
603+
CoinFeature.FEES_PAID_WITH_TOKEN,
602604
];

0 commit comments

Comments
 (0)