From 466eb14370d6de0a5bad8ded7a8116e522fce0d6 Mon Sep 17 00:00:00 2001 From: Krupananda Reddy Date: Mon, 9 Dec 2024 11:11:53 +0530 Subject: [PATCH] feat(statics): add bulk withdrawal feature for ada Ticket: WIN-3962 --- modules/statics/src/coins.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/modules/statics/src/coins.ts b/modules/statics/src/coins.ts index 164f9f6581..4a963bf762 100644 --- a/modules/statics/src/coins.ts +++ b/modules/statics/src/coins.ts @@ -43,7 +43,7 @@ import { xrpToken, zkethErc20, } from './account'; -import { ada } from './ada'; +import { Ada, ada } from './ada'; import { avaxp } from './avaxp'; import { BaseUnit, CoinFeature, CoinKind, KeyCurve, UnderlyingAsset } from './base'; import { CoinMap } from './map'; @@ -154,6 +154,7 @@ const ALGO_FEATURES = [ CoinFeature.MULTISIG_COLD, CoinFeature.BULK_TRANSACTION, ]; +const ADA_FEATURES = [...Ada.DEFAULT_FEATURES, CoinFeature.BULK_TRANSACTION]; const DOT_FEATURES = [ ...AccountCoin.DEFAULT_FEATURES, CoinFeature.TSS, @@ -422,7 +423,14 @@ export const coins = CoinMap.fromCoins([ UnderlyingAsset.AVAXP ), ada('fd4d125e-f14f-414b-bd17-6cb1393265f0', 'ada', 'Cardano ADA', Networks.main.ada, UnderlyingAsset.ADA), - ada('1cbfb5aa-94ba-415b-b5c2-c51e801e21b3', 'tada', 'Testnet Cardano ADA', Networks.test.ada, UnderlyingAsset.ADA), + ada( + '1cbfb5aa-94ba-415b-b5c2-c51e801e21b3', + 'tada', + 'Testnet Cardano ADA', + Networks.test.ada, + UnderlyingAsset.ADA, + ADA_FEATURES + ), account( 'ec41e62a-cc57-4aa0-9b9e-217da1226817', 'algo',