Skip to content

Commit cdfe7c3

Browse files
feat(statics): add coin feature TSS_SUPPORT_GATED and gate arb and op
2 parents c1212ac + bb217aa commit cdfe7c3

File tree

5 files changed

+7
-18
lines changed

5 files changed

+7
-18
lines changed

modules/sdk-coin-arbeth/src/arbeth.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,4 @@ export class Arbeth extends AbstractEthLikeNewCoins {
7070
getDefaultMultisigType(): MultisigType {
7171
return multisigTypes.tss;
7272
}
73-
74-
/** inherited doc */
75-
isTssSupportGated(): boolean {
76-
return true;
77-
}
7873
}

modules/sdk-coin-opeth/src/opeth.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,4 @@ export class Opeth extends AbstractEthLikeNewCoins {
7070
getDefaultMultisigType(): MultisigType {
7171
return multisigTypes.tss;
7272
}
73-
74-
/** inherited doc */
75-
isTssSupportGated(): boolean {
76-
return true;
77-
}
7873
}

modules/sdk-core/src/bitgo/baseCoin/baseCoin.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -619,12 +619,4 @@ export abstract class BaseCoin implements IBaseCoin {
619619
setCoinSpecificFieldsInIntent(intent: PopulatedIntent, params: PrebuildTransactionWithIntentOptions): void {
620620
return;
621621
}
622-
623-
/**
624-
* Flag indicating if TSS support is gated for this coin.
625-
* @returns {boolean}
626-
*/
627-
isTssSupportGated(): boolean {
628-
return false;
629-
}
630622
}

modules/statics/src/base.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,6 +346,11 @@ export enum CoinFeature {
346346
* This coin supports WalletConnect
347347
*/
348348
WALLET_CONNECT_DEFI = 'wallet-connect-defi',
349+
350+
/**
351+
* This coin is gated for TSS Support
352+
*/
353+
TSS_SUPPORT_GATED = 'tss-support-gated',
349354
}
350355

351356
/**

modules/statics/src/coinFeatures.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -343,6 +343,7 @@ export const ARBETH_FEATURES = [
343343
CoinFeature.CUSTODY_BITGO_FRANKFURT,
344344
CoinFeature.EIP1559,
345345
CoinFeature.WALLET_CONNECT_DEFI,
346+
CoinFeature.TSS_SUPPORT_GATED,
346347
];
347348
export const OPETH_FEATURES = [
348349
...ETH_FEATURES,
@@ -358,6 +359,7 @@ export const OPETH_FEATURES = [
358359
CoinFeature.WALLET_CONNECT_DEFI,
359360
CoinFeature.BULK_TRANSACTION,
360361
CoinFeature.ERC20_BULK_TRANSACTION,
362+
CoinFeature.TSS_SUPPORT_GATED,
361363
];
362364
export const ZKETH_FEATURES = [
363365
...ETH_FEATURES,

0 commit comments

Comments
 (0)