@proton/wrap-constants 0.2.21 → 0.2.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
- "version": "0.2.21",
8
+ "version": "0.2.22",
9
9
  "license": "MIT",
10
10
  "main": "dist/index.js",
11
11
  "typings": "dist/index.d.ts",
@@ -44,5 +44,5 @@
44
44
  "resolutions": {
45
45
  "typescript": "4.5"
46
46
  },
47
- "gitHead": "e83ff95ca31f59e1d70b8bf831e55fb4ccb36c53"
47
+ "gitHead": "0eb1af9d4a7b0826a4dbe065fad488536801eea0"
48
48
  }
package/src/coins.ts CHANGED
@@ -28,7 +28,8 @@ export enum Chains {
28
28
  TerraMainnet = 'Terra',
29
29
  RippleMainnet = 'Ripple',
30
30
  SolanaMainnet = 'Solana',
31
- MetalXTestnet = 'Metal X-Chain (Testnet)'
31
+ MetalXTestnet = 'Metal X-Chain (Testnet)',
32
+ MetalCTestnet = 'Metal C-Chain (Testnet)'
32
33
  }
33
34
 
34
35
  export enum Networks {
@@ -39,6 +40,7 @@ export enum Networks {
39
40
  BEP20 = 'bep20',
40
41
  XLM = 'xlm',
41
42
  AVM = 'avm',
43
+ EVM = 'evm',
42
44
  }
43
45
 
44
46
  export const similarChains = {
@@ -273,12 +275,12 @@ export const initializeCoins = (protonChain: string): {
273
275
  ...(IS_TESTNET ? [{
274
276
  wallet: 'METAL',
275
277
  symbol: 'METAL',
276
- chain: Chains.MetalXTestnet,
277
- network: Networks.AVM,
278
- precision: 9,
278
+ chain: Chains.MetalCTestnet,
279
+ network: Networks.EVM,
280
+ precision: 18,
279
281
  contract: '',
280
282
  provider: Providers.METAL,
281
- hasWithdrawMemo: true
283
+ hasWithdrawMemo: false
282
284
  }]: [])
283
285
  ],
284
286
  image: 'https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/metal-chain.png',