@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/dist/coins.d.ts +4 -2
- package/dist/wrap-constants.cjs.development.js +6 -4
- package/dist/wrap-constants.cjs.development.js.map +1 -1
- package/dist/wrap-constants.cjs.production.min.js +1 -1
- package/dist/wrap-constants.cjs.production.min.js.map +1 -1
- package/dist/wrap-constants.esm.js +6 -4
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/coins.ts +7 -5
package/dist/coins.d.ts
CHANGED
|
@@ -27,7 +27,8 @@ export declare enum Chains {
|
|
|
27
27
|
TerraMainnet = "Terra",
|
|
28
28
|
RippleMainnet = "Ripple",
|
|
29
29
|
SolanaMainnet = "Solana",
|
|
30
|
-
MetalXTestnet = "Metal X-Chain (Testnet)"
|
|
30
|
+
MetalXTestnet = "Metal X-Chain (Testnet)",
|
|
31
|
+
MetalCTestnet = "Metal C-Chain (Testnet)"
|
|
31
32
|
}
|
|
32
33
|
export declare enum Networks {
|
|
33
34
|
Mainnet = "mainnet",
|
|
@@ -36,7 +37,8 @@ export declare enum Networks {
|
|
|
36
37
|
ERC20 = "erc20",
|
|
37
38
|
BEP20 = "bep20",
|
|
38
39
|
XLM = "xlm",
|
|
39
|
-
AVM = "avm"
|
|
40
|
+
AVM = "avm",
|
|
41
|
+
EVM = "evm"
|
|
40
42
|
}
|
|
41
43
|
export declare const similarChains: {
|
|
42
44
|
Ethereum: Chains[];
|
|
@@ -39,6 +39,7 @@ var _similarChains, _explorerLinkByChain;
|
|
|
39
39
|
Chains["RippleMainnet"] = "Ripple";
|
|
40
40
|
Chains["SolanaMainnet"] = "Solana";
|
|
41
41
|
Chains["MetalXTestnet"] = "Metal X-Chain (Testnet)";
|
|
42
|
+
Chains["MetalCTestnet"] = "Metal C-Chain (Testnet)";
|
|
42
43
|
})(exports.Chains || (exports.Chains = {}));
|
|
43
44
|
|
|
44
45
|
(function (Networks) {
|
|
@@ -49,6 +50,7 @@ var _similarChains, _explorerLinkByChain;
|
|
|
49
50
|
Networks["BEP20"] = "bep20";
|
|
50
51
|
Networks["XLM"] = "xlm";
|
|
51
52
|
Networks["AVM"] = "avm";
|
|
53
|
+
Networks["EVM"] = "evm";
|
|
52
54
|
})(exports.Networks || (exports.Networks = {}));
|
|
53
55
|
|
|
54
56
|
var similarChains = (_similarChains = {}, _similarChains[exports.Chains.EthereumMainnet] = [exports.Chains.BinanceBEP20], _similarChains[exports.Chains.BinanceBEP20] = [exports.Chains.EthereumMainnet], _similarChains);
|
|
@@ -244,12 +246,12 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
244
246
|
wallets: [].concat(IS_TESTNET ? [{
|
|
245
247
|
wallet: 'METAL',
|
|
246
248
|
symbol: 'METAL',
|
|
247
|
-
chain: exports.Chains.
|
|
248
|
-
network: exports.Networks.
|
|
249
|
-
precision:
|
|
249
|
+
chain: exports.Chains.MetalCTestnet,
|
|
250
|
+
network: exports.Networks.EVM,
|
|
251
|
+
precision: 18,
|
|
250
252
|
contract: '',
|
|
251
253
|
provider: exports.Providers.METAL,
|
|
252
|
-
hasWithdrawMemo:
|
|
254
|
+
hasWithdrawMemo: false
|
|
253
255
|
}] : []),
|
|
254
256
|
image: 'https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/metal-chain.png',
|
|
255
257
|
coingeckoId: ''
|