@proton/wrap-constants 0.2.24 → 0.2.26
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 +2 -1
- package/dist/parsers/pool.d.ts +1 -0
- package/dist/wrap-constants.cjs.development.js +13 -3
- 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 +13 -3
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/coins.ts +15 -4
- package/src/parsers/pool.ts +1 -0
package/dist/coins.d.ts
CHANGED
|
@@ -28,7 +28,8 @@ export declare enum Chains {
|
|
|
28
28
|
RippleMainnet = "Ripple",
|
|
29
29
|
SolanaMainnet = "Solana",
|
|
30
30
|
MetalXTestnet = "Metal X-Chain (Testnet)",
|
|
31
|
-
MetalCTestnet = "Metal C-Chain (Testnet)"
|
|
31
|
+
MetalCTestnet = "Metal C-Chain (Testnet)",
|
|
32
|
+
MetalCMainnet = "Metal C-Chain"
|
|
32
33
|
}
|
|
33
34
|
export declare enum Networks {
|
|
34
35
|
Mainnet = "mainnet",
|
package/dist/parsers/pool.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ var _similarChains, _explorerLinkByChain;
|
|
|
40
40
|
Chains["SolanaMainnet"] = "Solana";
|
|
41
41
|
Chains["MetalXTestnet"] = "Metal X-Chain (Testnet)";
|
|
42
42
|
Chains["MetalCTestnet"] = "Metal C-Chain (Testnet)";
|
|
43
|
+
Chains["MetalCMainnet"] = "Metal C-Chain";
|
|
43
44
|
})(exports.Chains || (exports.Chains = {}));
|
|
44
45
|
|
|
45
46
|
(function (Networks) {
|
|
@@ -234,8 +235,8 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
234
235
|
image: 'https://www.proton.org/images/tokens/xtokensXMT.png',
|
|
235
236
|
coingeckoId: 'metal'
|
|
236
237
|
}, {
|
|
237
|
-
allowSwap:
|
|
238
|
-
allowBridge:
|
|
238
|
+
allowSwap: true,
|
|
239
|
+
allowBridge: true,
|
|
239
240
|
allowLend: false,
|
|
240
241
|
allowBorrow: false,
|
|
241
242
|
name: 'Metal Blockchain',
|
|
@@ -252,9 +253,18 @@ var initializeCoins = function initializeCoins(protonChain) {
|
|
|
252
253
|
contract: '',
|
|
253
254
|
provider: exports.Providers.METAL,
|
|
254
255
|
hasWithdrawMemo: false
|
|
256
|
+
}] : [], IS_MAINNET ? [{
|
|
257
|
+
wallet: 'METAL',
|
|
258
|
+
symbol: 'METAL',
|
|
259
|
+
chain: exports.Chains.EthereumMainnet,
|
|
260
|
+
network: exports.Networks.ERC20,
|
|
261
|
+
precision: 18,
|
|
262
|
+
contract: '',
|
|
263
|
+
provider: exports.Providers.FIREBLOCKS,
|
|
264
|
+
hasWithdrawMemo: false
|
|
255
265
|
}] : []),
|
|
256
266
|
image: 'https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/metal-chain.png',
|
|
257
|
-
coingeckoId: ''
|
|
267
|
+
coingeckoId: 'metal-blockchain'
|
|
258
268
|
}, {
|
|
259
269
|
allowSwap: true,
|
|
260
270
|
allowBridge: true,
|