@proton/wrap-constants 0.2.72 → 0.2.74

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/src/constants.ts CHANGED
@@ -9,7 +9,7 @@ export const initializeConstants = (chain: string) => {
9
9
 
10
10
  const constants = {
11
11
  SWAP_CONTRACT: 'proton.swaps',
12
- DEX_CONTRACT: 'dex',
12
+ DEX_CONTRACT: 'dex',
13
13
  FEE_FACTOR,
14
14
  GOOGLE_MAPS_KEY: 'AIzaSyDb2_CrK032kSIqBXbkdwmaLKWELl0SxVs',
15
15
  SWAP_URL: chain === 'proton'
@@ -92,6 +92,11 @@ export const initializeConstants = (chain: string) => {
92
92
  LOAN_COINS: loanCoins,
93
93
  ALL_COINS: allCoins,
94
94
 
95
+ XMD_CONTRACT: 'xmd.treasury',
96
+ XMD_TOKEN_CONTRACT: 'xmd.token',
97
+ XMD_SYMBOL_CODE: 'XMD',
98
+ XMD_DECIMALS: 6,
99
+
95
100
  findBridgeCoinWalletByXtokenAndChain (xtokenSymbol: string, chain: string): CoinWallet | undefined {
96
101
  const bridgeCoin = constants.BRIDGE_COINS.find((bridgeCoin: Coin) => bridgeCoin.xtokenSymbol === xtokenSymbol)
97
102
  if (!bridgeCoin) return undefined