@proton/wrap-constants 0.2.16 → 0.2.20
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 +15 -14
- 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 +15 -14
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/coins.ts +13 -13
- package/src/constants.ts +1 -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.20",
|
|
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": "c5421bd1e939fb42bcef778a7aae9a07c94bb794"
|
|
48
48
|
}
|
package/src/coins.ts
CHANGED
|
@@ -696,11 +696,11 @@ export const initializeCoins = (protonChain: string): {
|
|
|
696
696
|
coingeckoId: 'bitcoin-cash'
|
|
697
697
|
},
|
|
698
698
|
{
|
|
699
|
-
allowSwap:
|
|
699
|
+
allowSwap: true,
|
|
700
700
|
allowBridge: true,
|
|
701
701
|
allowLend: false,
|
|
702
702
|
allowBorrow: false,
|
|
703
|
-
name: '
|
|
703
|
+
name: 'LunarCrush',
|
|
704
704
|
coin: 'LUNR',
|
|
705
705
|
xtokenSymbol: 'XLUNR',
|
|
706
706
|
xtokenPrecision: 4,
|
|
@@ -933,7 +933,7 @@ export const initializeCoins = (protonChain: string): {
|
|
|
933
933
|
// Adding
|
|
934
934
|
{
|
|
935
935
|
allowSwap: false,
|
|
936
|
-
allowBridge:
|
|
936
|
+
allowBridge: false,
|
|
937
937
|
allowLend: false,
|
|
938
938
|
allowBorrow: false,
|
|
939
939
|
name: 'Terra',
|
|
@@ -942,16 +942,16 @@ export const initializeCoins = (protonChain: string): {
|
|
|
942
942
|
xtokenPrecision: 6,
|
|
943
943
|
xtokenContract: 'xtokens',
|
|
944
944
|
wallets: [
|
|
945
|
-
...(IS_MAINNET ? [{
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
}]: [])
|
|
945
|
+
// ...(IS_MAINNET ? [{
|
|
946
|
+
// wallet: 'LUNA',
|
|
947
|
+
// symbol: 'LUNA',
|
|
948
|
+
// chain: Chains.TerraMainnet,
|
|
949
|
+
// network: Networks.Mainnet,
|
|
950
|
+
// precision: 6,
|
|
951
|
+
// contract: undefined,
|
|
952
|
+
// provider: Providers.FIREBLOCKS,
|
|
953
|
+
// hasWithdrawMemo: true
|
|
954
|
+
// }]: [])
|
|
955
955
|
],
|
|
956
956
|
image: 'https://www.proton.org/images/tokens/xtokensXLUNA.png',
|
|
957
957
|
coingeckoId: 'terra-luna'
|
package/src/constants.ts
CHANGED
|
@@ -11,7 +11,7 @@ export const initializeConstants = (chain: string) => {
|
|
|
11
11
|
SWAP_CONTRACT: 'proton.swaps',
|
|
12
12
|
DEX_CONTRACT: chain === 'proton'
|
|
13
13
|
? 'dex'
|
|
14
|
-
: '
|
|
14
|
+
: 'dextest22',
|
|
15
15
|
FEE_FACTOR,
|
|
16
16
|
GOOGLE_MAPS_KEY: 'AIzaSyDb2_CrK032kSIqBXbkdwmaLKWELl0SxVs',
|
|
17
17
|
SWAP_URL: chain === 'proton'
|