@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 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",
@@ -47,5 +47,6 @@ export declare type PoolTable = {
47
47
  pool1: ExtendedTokenWithRate;
48
48
  pool2: ExtendedTokenWithRate;
49
49
  path: INode<Pool>[];
50
+ shortestPath: INode<Pool>[];
50
51
  getPathString: () => string;
51
52
  } | undefined;
@@ -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: IS_MAINNET,
238
- allowBridge: IS_TESTNET,
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,