@proton/wrap-constants 0.2.47 → 0.2.49

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.47",
8
+ "version": "0.2.49",
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": "6aab613ec5c74daf1eb4dcd73f45b720f9a164a3"
47
+ "gitHead": "78670168493780d5bd8d44b021474aa9a9530aa5"
48
48
  }
package/src/coins.ts CHANGED
@@ -986,7 +986,7 @@ export const initializeCoins = (protonChain: string): {
986
986
  },
987
987
  {
988
988
  allowSwap: false,
989
- allowBridge: IS_MAINNET,
989
+ allowBridge: false,
990
990
  allowLend: false,
991
991
  allowBorrow: false,
992
992
  name: 'TerraUSD',
@@ -1113,6 +1113,20 @@ export const initializeCoins = (protonChain: string): {
1113
1113
  image: 'https://www.proton.org/images/tokens/xtokensXMATIC.png',
1114
1114
  coingeckoId: 'matic-network'
1115
1115
  },
1116
+ {
1117
+ allowSwap: true,
1118
+ allowBridge: false,
1119
+ allowLend: false,
1120
+ allowBorrow: false,
1121
+ name: 'Metal Dollar',
1122
+ coin: 'XMD',
1123
+ xtokenSymbol: 'XMD',
1124
+ xtokenPrecision: 6,
1125
+ xtokenContract: 'xmd.token',
1126
+ wallets: [],
1127
+ image: 'https://github.com/eoscafe/eos-airdrops/blob/master/logos/xmd.png?raw=true',
1128
+ coingeckoId: ''
1129
+ },
1116
1130
  {
1117
1131
  allowSwap: false,
1118
1132
  allowBridge: IS_TESTNET,
package/src/constants.ts CHANGED
@@ -77,6 +77,9 @@ export const initializeConstants = (chain: string) => {
77
77
  DEX_SLTPPROCESS_SIZE: 10,
78
78
  MAX_PRICE: "9223372036854775806",
79
79
  MIN_PRICE: 1,
80
+ DEFAULT_DEX_SYMBOL: chain === 'proton'
81
+ ? 'XPR_XMD'
82
+ : 'XPR_XUSDC',
80
83
 
81
84
  CHAIN: chain,
82
85