Skip to content

Commit 466eb14

Browse files
feat(statics): add bulk withdrawal feature for ada
Ticket: WIN-3962
1 parent 986e2f1 commit 466eb14

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

modules/statics/src/coins.ts

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ import {
4343
xrpToken,
4444
zkethErc20,
4545
} from './account';
46-
import { ada } from './ada';
46+
import { Ada, ada } from './ada';
4747
import { avaxp } from './avaxp';
4848
import { BaseUnit, CoinFeature, CoinKind, KeyCurve, UnderlyingAsset } from './base';
4949
import { CoinMap } from './map';
@@ -154,6 +154,7 @@ const ALGO_FEATURES = [
154154
CoinFeature.MULTISIG_COLD,
155155
CoinFeature.BULK_TRANSACTION,
156156
];
157+
const ADA_FEATURES = [...Ada.DEFAULT_FEATURES, CoinFeature.BULK_TRANSACTION];
157158
const DOT_FEATURES = [
158159
...AccountCoin.DEFAULT_FEATURES,
159160
CoinFeature.TSS,
@@ -422,7 +423,14 @@ export const coins = CoinMap.fromCoins([
422423
UnderlyingAsset.AVAXP
423424
),
424425
ada('fd4d125e-f14f-414b-bd17-6cb1393265f0', 'ada', 'Cardano ADA', Networks.main.ada, UnderlyingAsset.ADA),
425-
ada('1cbfb5aa-94ba-415b-b5c2-c51e801e21b3', 'tada', 'Testnet Cardano ADA', Networks.test.ada, UnderlyingAsset.ADA),
426+
ada(
427+
'1cbfb5aa-94ba-415b-b5c2-c51e801e21b3',
428+
'tada',
429+
'Testnet Cardano ADA',
430+
Networks.test.ada,
431+
UnderlyingAsset.ADA,
432+
ADA_FEATURES
433+
),
426434
account(
427435
'ec41e62a-cc57-4aa0-9b9e-217da1226817',
428436
'algo',

0 commit comments

Comments
 (0)