Skip to content

Commit 46e4ba3

Browse files
committed
refactor(sdk-core): added multisig as coinfeature
Ticket: WP-4028
1 parent 8a46f83 commit 46e4ba3

File tree

23 files changed

+36
-102
lines changed

23 files changed

+36
-102
lines changed

modules/abstract-utxo/src/abstractUtxoCoin.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -695,11 +695,6 @@ export abstract class AbstractUtxoCoin extends BaseCoin {
695695
return utxolib.bitgo.outputScripts.isSupportedScriptType(this.network, addressType);
696696
}
697697

698-
/** {@inheritDoc } **/
699-
supportsMultisig(): boolean {
700-
return true;
701-
}
702-
703698
/** inherited doc */
704699
getDefaultMultisigType(): MultisigType {
705700
return multisigTypes.onchain;

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -594,11 +594,6 @@ export class Algo extends BaseCoin {
594594
return false;
595595
}
596596

597-
/** {@inheritDoc } **/
598-
supportsMultisig(): boolean {
599-
return true;
600-
}
601-
602597
/** inherited doc */
603598
getDefaultMultisigType(): MultisigType {
604599
return multisigTypes.onchain;

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,6 @@ export class Arbeth extends AbstractEthLikeNewCoins {
6161
return userGasLimit;
6262
}
6363

64-
/** {@inheritDoc } **/
65-
supportsMultisig(): boolean {
66-
return true;
67-
}
68-
6964
/** inherited doc */
7065
getDefaultMultisigType(): MultisigType {
7166
return multisigTypes.tss;

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -135,11 +135,6 @@ export class AvaxC extends AbstractEthLikeNewCoins {
135135
return false;
136136
}
137137

138-
/** {@inheritDoc } **/
139-
supportsMultisig(): boolean {
140-
return true;
141-
}
142-
143138
/** inherited doc */
144139
getDefaultMultisigType(): MultisigType {
145140
return multisigTypes.onchain;

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,6 @@ export class AvaxP extends BaseCoin {
6060
return Math.pow(10, this._staticsCoin.decimalPlaces);
6161
}
6262

63-
/** {@inheritDoc } **/
64-
supportsMultisig(): boolean {
65-
return true;
66-
}
67-
6863
/** inherited doc */
6964
getDefaultMultisigType(): MultisigType {
7065
return multisigTypes.onchain;

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,6 @@ export class Celo extends AbstractEthLikeCoin {
2525
return valid;
2626
}
2727

28-
/** {@inheritDoc } **/
29-
supportsMultisig(): boolean {
30-
return true;
31-
}
32-
3328
/** inherited doc */
3429
getDefaultMultisigType(): MultisigType {
3530
return multisigTypes.onchain;

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -99,11 +99,6 @@ export class Cspr extends BaseCoin {
9999
return Math.pow(10, this._staticsCoin.decimalPlaces);
100100
}
101101

102-
/** {@inheritDoc } **/
103-
supportsMultisig(): boolean {
104-
return true;
105-
}
106-
107102
/** inherited doc */
108103
getDefaultMultisigType(): MultisigType {
109104
return multisigTypes.onchain;

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,6 @@ export class Eos extends BaseCoin {
232232
return 4;
233233
}
234234

235-
/** {@inheritDoc } **/
236-
supportsMultisig() {
237-
return true;
238-
}
239-
240235
/** inherited doc */
241236
getDefaultMultisigType(): MultisigType {
242237
return multisigTypes.onchain;

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,11 +58,6 @@ export class Etc extends AbstractEthLikeCoin {
5858
return valid;
5959
}
6060

61-
/** {@inheritDoc } **/
62-
supportsMultisig() {
63-
return true;
64-
}
65-
6661
/** inherited doc */
6762
getDefaultMultisigType(): MultisigType {
6863
return multisigTypes.onchain;

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

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -570,11 +570,6 @@ export class Hbar extends BaseCoin {
570570
return false;
571571
}
572572

573-
/** {@inheritDoc } **/
574-
supportsMultisig(): boolean {
575-
return true;
576-
}
577-
578573
/** inherited doc */
579574
getDefaultMultisigType(): MultisigType {
580575
return multisigTypes.onchain;

0 commit comments

Comments
 (0)