Skip to content

Commit

Permalink
Merge pull request #5278 from BitGo/ungate-cardano-ada
Browse files Browse the repository at this point in the history
feat(statics): ungate ada for Frankfurt Trust - Bitstamp
  • Loading branch information
akarath authored Dec 16, 2024
2 parents 174e727 + 4571a8c commit 47a710b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
12 changes: 10 additions & 2 deletions modules/statics/src/coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ const ALGO_FEATURES = [
CoinFeature.BULK_TRANSACTION,
];
const ADA_FEATURES = [...Ada.DEFAULT_FEATURES, CoinFeature.BULK_TRANSACTION];
const ADA_FEATURES_WITH_FRANKFURT = [...ADA_FEATURES, CoinFeature.CUSTODY_BITGO_FRANKFURT];
const DOT_FEATURES = [
...AccountCoin.DEFAULT_FEATURES,
CoinFeature.TSS,
Expand Down Expand Up @@ -435,14 +436,21 @@ export const coins = CoinMap.fromCoins([
Networks.test.avalancheP,
UnderlyingAsset.AVAXP
),
ada('fd4d125e-f14f-414b-bd17-6cb1393265f0', 'ada', 'Cardano ADA', Networks.main.ada, UnderlyingAsset.ADA),
ada(
'fd4d125e-f14f-414b-bd17-6cb1393265f0',
'ada',
'Cardano ADA',
Networks.main.ada,
UnderlyingAsset.ADA,
ADA_FEATURES_WITH_FRANKFURT
),
ada(
'1cbfb5aa-94ba-415b-b5c2-c51e801e21b3',
'tada',
'Testnet Cardano ADA',
Networks.test.ada,
UnderlyingAsset.ADA,
ADA_FEATURES
ADA_FEATURES_WITH_FRANKFURT
),
account(
'ec41e62a-cc57-4aa0-9b9e-217da1226817',
Expand Down
2 changes: 2 additions & 0 deletions modules/statics/test/unit/coins.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
},
celo: { features: [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_FRANKFURT] },
coreum: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
ada: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
doge: {
features: [
CoinFeature.CUSTODY_BITGO_GERMANY,
Expand Down Expand Up @@ -360,6 +361,7 @@ const custodyFeatures: Record<string, { features: CoinFeature[] }> = {
},
tcelo: { features: [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_FRANKFURT] },
tcoreum: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
tada: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
tdoge: { features: [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_FRANKFURT] },
tdot: { features: [CoinFeature.CUSTODY_BITGO_FRANKFURT] },
teos: { features: [CoinFeature.CUSTODY_BITGO_GERMANY, CoinFeature.CUSTODY_BITGO_FRANKFURT] },
Expand Down

0 comments on commit 47a710b

Please sign in to comment.