@proton/wrap-constants 0.2.68 → 0.2.69
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/wrap-constants.cjs.development.js +23 -1
- 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 +23 -1
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/coins.ts +26 -1
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
7
7
|
},
|
|
8
|
-
"version": "0.2.
|
|
8
|
+
"version": "0.2.69",
|
|
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": "
|
|
47
|
+
"gitHead": "eec73f7bde2923e14cc61299a3022c1b7fea30e9"
|
|
48
48
|
}
|
package/src/coins.ts
CHANGED
|
@@ -466,6 +466,31 @@ export const initializeCoins = (protonChain: string): {
|
|
|
466
466
|
image: 'https://www.proton.org/images/tokens/xtokensXTUSD.png',
|
|
467
467
|
coingeckoId: 'true-usd'
|
|
468
468
|
},
|
|
469
|
+
{
|
|
470
|
+
allowSwap: false,
|
|
471
|
+
allowBridge: IS_MAINNET,
|
|
472
|
+
allowLend: false,
|
|
473
|
+
allowBorrow: false,
|
|
474
|
+
name: 'Euro Coin',
|
|
475
|
+
coin: 'EUROC',
|
|
476
|
+
xtokenSymbol: 'XEUROC',
|
|
477
|
+
xtokenPrecision: 6,
|
|
478
|
+
xtokenContract: 'xtokens',
|
|
479
|
+
wallets: [
|
|
480
|
+
...(IS_MAINNET ? [{
|
|
481
|
+
wallet: 'EUROC',
|
|
482
|
+
symbol: 'EUROC-ERC20',
|
|
483
|
+
chain: Chains.EthereumMainnet,
|
|
484
|
+
network: Networks.ERC20,
|
|
485
|
+
precision: 6,
|
|
486
|
+
contract: '0x1aBaEA1f7C830bD89Acc67eC4af516284b1bC33c',
|
|
487
|
+
provider: Providers.FIREBLOCKS,
|
|
488
|
+
hasWithdrawMemo: false
|
|
489
|
+
}]: [])
|
|
490
|
+
],
|
|
491
|
+
image: 'https://assets.coingecko.com/coins/images/26045/small/euro-coin.png?1655394420',
|
|
492
|
+
coingeckoId: 'euro-coin'
|
|
493
|
+
},
|
|
469
494
|
{
|
|
470
495
|
allowSwap: false,
|
|
471
496
|
allowBridge: IS_MAINNET,
|
|
@@ -689,7 +714,7 @@ export const initializeCoins = (protonChain: string): {
|
|
|
689
714
|
coingeckoId: 'litecoin'
|
|
690
715
|
},
|
|
691
716
|
{
|
|
692
|
-
allowSwap:
|
|
717
|
+
allowSwap: false,
|
|
693
718
|
allowBridge: true,
|
|
694
719
|
allowLend: false,
|
|
695
720
|
allowBorrow: false,
|