Skip to content

Commit 454befb

Browse files
Merge pull request #5224 from BitGo/WIN-3962_ada_enablebulk
feat(statics): add bulk withdrawal feature for ada
2 parents ae6b831 + 466eb14 commit 454befb

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';
@@ -156,6 +156,7 @@ const ALGO_FEATURES = [
156156
CoinFeature.MULTISIG_COLD,
157157
CoinFeature.BULK_TRANSACTION,
158158
];
159+
const ADA_FEATURES = [...Ada.DEFAULT_FEATURES, CoinFeature.BULK_TRANSACTION];
159160
const DOT_FEATURES = [
160161
...AccountCoin.DEFAULT_FEATURES,
161162
CoinFeature.TSS,
@@ -424,7 +425,14 @@ export const coins = CoinMap.fromCoins([
424425
UnderlyingAsset.AVAXP
425426
),
426427
ada('fd4d125e-f14f-414b-bd17-6cb1393265f0', 'ada', 'Cardano ADA', Networks.main.ada, UnderlyingAsset.ADA),
427-
ada('1cbfb5aa-94ba-415b-b5c2-c51e801e21b3', 'tada', 'Testnet Cardano ADA', Networks.test.ada, UnderlyingAsset.ADA),
428+
ada(
429+
'1cbfb5aa-94ba-415b-b5c2-c51e801e21b3',
430+
'tada',
431+
'Testnet Cardano ADA',
432+
Networks.test.ada,
433+
UnderlyingAsset.ADA,
434+
ADA_FEATURES
435+
),
428436
account(
429437
'ec41e62a-cc57-4aa0-9b9e-217da1226817',
430438
'algo',

0 commit comments

Comments
 (0)