Skip to content

Commit fc9470f

Browse files
committed
feat: prividiumEth onboarding
ticket: cecho-699
1 parent 8abadec commit fc9470f

6 files changed

Lines changed: 24 additions & 24 deletions

File tree

modules/sdk-core/src/bitgo/environments.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ const mainnetBase: EnvironmentTemplate = {
308308
hemieth: {
309309
baseUrl: 'https://explorer.hemi.xyz/api',
310310
},
311-
prividium: {
311+
prividiumeth: {
312312
baseUrl: 'https://explorer.prividium.zksync.dev/api', // TODO: update with mainnet URL when available
313313
},
314314
fluenteth: {
@@ -525,7 +525,7 @@ const testnetBase: EnvironmentTemplate = {
525525
hemieth: {
526526
baseUrl: 'https://testnet.explorer.hemi.xyz/api',
527527
},
528-
prividium: {
528+
prividiumeth: {
529529
baseUrl: 'https://explorer.testnet-prividium.zksync.dev/api',
530530
},
531531
fluenteth: {

modules/statics/src/allCoinsAndTokens.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2453,11 +2453,11 @@ export const allCoinsAndTokens = [
24532453

24542454
account(
24552455
'1cc2170d-c24d-4179-b0eb-155de0f46617',
2456-
'prividium',
2456+
'prividiumeth',
24572457
'Prividium',
2458-
Networks.main.prividium,
2458+
Networks.main.prividiumeth,
24592459
18,
2460-
UnderlyingAsset.PRIVIDIUM,
2460+
UnderlyingAsset.PRIVIDIUMETH,
24612461
BaseUnit.ETH,
24622462
[
24632463
...EVM_FEATURES,
@@ -2471,11 +2471,11 @@ export const allCoinsAndTokens = [
24712471
),
24722472
account(
24732473
'b0067fb1-d00d-4959-981c-6f6009862418',
2474-
'tprividium',
2474+
'tprividiumeth',
24752475
'Testnet Prividium',
2476-
Networks.test.prividium,
2476+
Networks.test.prividiumeth,
24772477
18,
2478-
UnderlyingAsset.PRIVIDIUM,
2478+
UnderlyingAsset.PRIVIDIUMETH,
24792479
BaseUnit.ETH,
24802480
[
24812481
...EVM_FEATURES,

modules/statics/src/base.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ export enum CoinFamily {
9191
POLYGON = 'polygon',
9292
POLYX = 'polyx',
9393
PHRS = 'phrs',
94-
PRIVIDIUM = 'prividium', // Prividium L2
94+
PRIVIDIUMETH = 'prividiumeth', // Prividium L2
9595
CTC = 'ctc',
9696
HYPEEVM = 'hypeevm',
9797
HYPERLIQUID = 'hyperliquid', // HyperCore L1
@@ -648,7 +648,7 @@ export enum UnderlyingAsset {
648648
POLYGON = 'polygon',
649649
PHRS = 'phrs',
650650
PLUME = 'plume',
651-
PRIVIDIUM = 'prividium', // Prividium L2
651+
PRIVIDIUMETH = 'prividiumeth', // Prividium L2
652652
CTC = 'ctc',
653653
HYPEEVM = 'hypeevm',
654654
HYPERLIQUID = 'hyperliquid', // HyperCore L1

modules/statics/src/coins/ofcCoins.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -356,10 +356,10 @@ export const ofcCoins = [
356356
),
357357
ofc(
358358
'7a3c5dee-ea51-4b1a-8871-b7283d1dc516',
359-
'ofcprividium',
359+
'ofcprividiumeth',
360360
'Prividium',
361361
18,
362-
UnderlyingAsset.PRIVIDIUM,
362+
UnderlyingAsset.PRIVIDIUMETH,
363363
CoinKind.CRYPTO
364364
),
365365
tofc(
@@ -372,10 +372,10 @@ export const ofcCoins = [
372372
),
373373
tofc(
374374
'7d18cdc5-a7da-4c76-8ce0-f80c391f80b3',
375-
'ofctprividium',
375+
'ofctprividiumeth',
376376
'Prividium Testnet',
377377
18,
378-
UnderlyingAsset.PRIVIDIUM,
378+
UnderlyingAsset.PRIVIDIUMETH,
379379
CoinKind.CRYPTO
380380
),
381381
ofc(

modules/statics/src/networks.ts

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2494,18 +2494,18 @@ class HemiEthTestnet extends Testnet implements EthereumNetwork {
24942494
nativeCoinOperationHashPrefix = '743111';
24952495
}
24962496

2497-
class Prividium extends Mainnet implements EthereumNetwork {
2498-
name = 'Prividium';
2499-
family = CoinFamily.PRIVIDIUM;
2497+
class PrividiumETH extends Mainnet implements EthereumNetwork {
2498+
name = 'Prividium Ethereum Mainnet';
2499+
family = CoinFamily.PRIVIDIUMETH;
25002500
explorerUrl = 'https://explorer.prividium.zksync.dev/tx/'; // TODO: update with mainnet URL when available
25012501
accountExplorerUrl = 'https://explorer.prividium.zksync.dev/address/'; // TODO: update with mainnet URL when available
25022502
chainId = 9999999; // TODO: update with mainnet chain ID when available
25032503
nativeCoinOperationHashPrefix = '9999999';
25042504
}
25052505

2506-
class PrividiumTestnet extends Testnet implements EthereumNetwork {
2507-
name = 'Prividium Testnet';
2508-
family = CoinFamily.PRIVIDIUM;
2506+
class PrividiumETHTestnet extends Testnet implements EthereumNetwork {
2507+
name = 'Prividium Ethereum Testnet';
2508+
family = CoinFamily.PRIVIDIUMETH;
25092509
explorerUrl = 'https://explorer.testnet-prividium.zksync.dev/tx/';
25102510
accountExplorerUrl = 'https://explorer.testnet-prividium.zksync.dev/address/';
25112511
chainId = 8022834;
@@ -2752,7 +2752,7 @@ export const Networks = {
27522752
hederaEVM: Object.freeze(new HederaEVM()),
27532753
hemieth: Object.freeze(new HemiEth()),
27542754
hppeth: Object.freeze(new Hppeth()),
2755-
prividium: Object.freeze(new Prividium()),
2755+
prividiumeth: Object.freeze(new PrividiumETH()),
27562756
icp: Object.freeze(new Icp()),
27572757
ip: Object.freeze(new IP()),
27582758
initia: Object.freeze(new Initia()),
@@ -2877,7 +2877,7 @@ export const Networks = {
28772877
hedera: Object.freeze(new HederaTestnet()),
28782878
hoodeth: Object.freeze(new HoodethTestnet()),
28792879
hppeth: Object.freeze(new HppethTestnet()),
2880-
prividium: Object.freeze(new PrividiumTestnet()),
2880+
prividiumeth: Object.freeze(new PrividiumETHTestnet()),
28812881
hederaEVM: Object.freeze(new HederaEVMTestnet()),
28822882
hemieth: Object.freeze(new HemiEthTestnet()),
28832883
icp: Object.freeze(new IcpTestnet()),

modules/statics/test/unit/fixtures/expectedColdFeatures.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ export const expectedColdFeatures = {
125125
'okbxlayer',
126126
'osmo',
127127
'plume',
128-
'prividium',
128+
'prividiumeth',
129129
'polyx',
130130
'sgb',
131131
'sei',
@@ -190,7 +190,7 @@ export const expectedColdFeatures = {
190190
'tworld',
191191
'tphrs',
192192
'tplume',
193-
'tprividium',
193+
'tprividiumeth',
194194
'tctc',
195195
'thypeevm',
196196
'tlineaeth',

0 commit comments

Comments
 (0)