Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions modules/abstract-eth/src/abstractEthLikeNewCoins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,16 @@ export abstract class AbstractEthLikeNewCoins extends AbstractEthLikeCoin {
return true;
}

/** @inheritDoc */
supportsMessageSigning(): boolean {
return true;
}

/** @inheritDoc */
supportsSigningTypedData(): boolean {
return true;
}

/**
* Default expire time for a contract call (1 week)
* @returns {number} Time in seconds
Expand Down
10 changes: 0 additions & 10 deletions modules/sdk-coin-arbeth/src/arbeth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,6 @@ export class Arbeth extends AbstractEthLikeNewCoins {
return 'ecdsa';
}

/** @inheritDoc */
supportsMessageSigning(): boolean {
return true;
}

/** @inheritDoc */
supportsSigningTypedData(): boolean {
return true;
}

/**
* Make a query to Arbiscan for information such as balance, token balance, solidity calls
* @param {Object} query key-value pairs of parameters to append after /api
Expand Down
10 changes: 0 additions & 10 deletions modules/sdk-coin-bsc/src/bsc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,6 @@ export class Bsc extends AbstractEthLikeNewCoins {
return true;
}

/** @inheritDoc */
supportsMessageSigning(): boolean {
return true;
}

/** @inheritDoc */
supportsSigningTypedData(): boolean {
return true;
}

/** inherited doc */
getDefaultMultisigType(): MultisigType {
return multisigTypes.tss;
Expand Down
10 changes: 0 additions & 10 deletions modules/sdk-coin-eth/src/eth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -549,14 +549,4 @@ export class Eth extends AbstractEthLikeNewCoins {
protected getTransactionBuilder(): TransactionBuilder {
return new TransactionBuilder(coins.get(this.getBaseChain()));
}

/** @inheritDoc */
supportsMessageSigning(): boolean {
return true;
}

/** @inheritDoc */
supportsSigningTypedData(): boolean {
return true;
}
}
10 changes: 0 additions & 10 deletions modules/sdk-coin-evm/src/evmCoin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,6 @@ export class EvmCoin extends AbstractEthLikeNewCoins {
return 'ecdsa';
}

/** @inheritDoc */
supportsMessageSigning(): boolean {
return true;
}

/** @inheritDoc */
supportsSigningTypedData(): boolean {
return true;
}

protected async buildUnsignedSweepTxnTSS(params: RecoverOptions): Promise<OfflineVaultTxInfo | UnsignedSweepTxMPCv2> {
if (this.staticsCoin?.features.includes(CoinFeature.MPCV2)) {
return this.buildUnsignedSweepTxnMPCv2(params);
Expand Down
10 changes: 0 additions & 10 deletions modules/sdk-coin-flr/src/flr.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,6 @@ export class Flr extends AbstractEthLikeNewCoins {
return 'ecdsa';
}

/** @inheritDoc */
supportsMessageSigning(): boolean {
return true;
}

/** @inheritDoc */
supportsSigningTypedData(): boolean {
return true;
}

protected async buildUnsignedSweepTxnTSS(params: RecoverOptions): Promise<OfflineVaultTxInfo | UnsignedSweepTxMPCv2> {
return this.buildUnsignedSweepTxnMPCv2(params);
}
Expand Down
10 changes: 0 additions & 10 deletions modules/sdk-coin-mon/src/mon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,6 @@ export class Mon extends AbstractEthLikeNewCoins {
return 'ecdsa';
}

/** @inheritDoc */
supportsMessageSigning(): boolean {
return true;
}

/** @inheritDoc */
supportsSigningTypedData(): boolean {
return true;
}

protected async buildUnsignedSweepTxnTSS(params: RecoverOptions): Promise<OfflineVaultTxInfo | UnsignedSweepTxMPCv2> {
return this.buildUnsignedSweepTxnMPCv2(params);
}
Expand Down
10 changes: 0 additions & 10 deletions modules/sdk-coin-opeth/src/opeth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,16 +32,6 @@ export class Opeth extends AbstractEthLikeNewCoins {
return 'ecdsa';
}

/** @inheritDoc */
supportsMessageSigning(): boolean {
return true;
}

/** @inheritDoc */
supportsSigningTypedData(): boolean {
return true;
}

/**
* Make a query to Optimism Etherscan for information such as balance, token balance, solidity calls
* @param {Object} query key-value pairs of parameters to append after /api
Expand Down
10 changes: 0 additions & 10 deletions modules/sdk-coin-polygon/src/polygon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,6 @@ export class Polygon extends AbstractEthLikeNewCoins {
return await recoveryBlockchainExplorerQuery(query, explorerUrl as string, apiToken);
}

/** @inheritDoc */
supportsMessageSigning(): boolean {
return true;
}

/** @inheritDoc */
supportsSigningTypedData(): boolean {
return true;
}

/** @inheritDoc */
supportsTss(): boolean {
return true;
Expand Down
14 changes: 0 additions & 14 deletions modules/sdk-coin-tempo/src/tempo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,13 +71,6 @@ export class Tempo extends AbstractEthLikeNewCoins {
return 'ecdsa';
}

/**
* Check if message signing is supported
*/
supportsMessageSigning(): boolean {
return true;
}

/**
* Evaluates whether an address string is valid for Tempo
* Supports addresses with optional memoId query parameter (e.g., 0x...?memoId=123)
Expand Down Expand Up @@ -174,13 +167,6 @@ export class Tempo extends AbstractEthLikeNewCoins {
return true;
}

/**
* Check if typed data signing is supported (EIP-712)
*/
supportsSigningTypedData(): boolean {
return true;
}

/**
* Build unsigned sweep transaction for TSS
* TODO: Implement sweep transaction logic
Expand Down
Loading