@proton/wrap-constants 0.2.15 → 0.2.19
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 +34 -11
- 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 +34 -11
- package/dist/wrap-constants.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/coins.ts +36 -11
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.19",
|
|
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": "926994d4913c68f67e2080b2a7706ea74d1c67e4"
|
|
48
48
|
}
|
package/src/coins.ts
CHANGED
|
@@ -695,6 +695,31 @@ export const initializeCoins = (protonChain: string): {
|
|
|
695
695
|
image: 'https://www.proton.org/images/tokens/xtokensXBCH.png',
|
|
696
696
|
coingeckoId: 'bitcoin-cash'
|
|
697
697
|
},
|
|
698
|
+
{
|
|
699
|
+
allowSwap: true,
|
|
700
|
+
allowBridge: true,
|
|
701
|
+
allowLend: false,
|
|
702
|
+
allowBorrow: false,
|
|
703
|
+
name: 'LunarCrush',
|
|
704
|
+
coin: 'LUNR',
|
|
705
|
+
xtokenSymbol: 'XLUNR',
|
|
706
|
+
xtokenPrecision: 4,
|
|
707
|
+
xtokenContract: 'xtokens',
|
|
708
|
+
wallets: [
|
|
709
|
+
...(IS_MAINNET ? [{
|
|
710
|
+
wallet: 'LUNR',
|
|
711
|
+
symbol: 'LUNR',
|
|
712
|
+
chain: Chains.EthereumMainnet,
|
|
713
|
+
network: Networks.ERC20,
|
|
714
|
+
precision: 4,
|
|
715
|
+
contract: undefined,
|
|
716
|
+
provider: Providers.FIREBLOCKS,
|
|
717
|
+
hasWithdrawMemo: false
|
|
718
|
+
}]: []),
|
|
719
|
+
],
|
|
720
|
+
image: 'https://raw.githubusercontent.com/eoscafe/eos-airdrops/master/logos/xlunr.png',
|
|
721
|
+
coingeckoId: 'lunr-token'
|
|
722
|
+
},
|
|
698
723
|
{
|
|
699
724
|
allowSwap: false,
|
|
700
725
|
allowBridge: IS_TESTNET,
|
|
@@ -908,7 +933,7 @@ export const initializeCoins = (protonChain: string): {
|
|
|
908
933
|
// Adding
|
|
909
934
|
{
|
|
910
935
|
allowSwap: false,
|
|
911
|
-
allowBridge:
|
|
936
|
+
allowBridge: false,
|
|
912
937
|
allowLend: false,
|
|
913
938
|
allowBorrow: false,
|
|
914
939
|
name: 'Terra',
|
|
@@ -917,16 +942,16 @@ export const initializeCoins = (protonChain: string): {
|
|
|
917
942
|
xtokenPrecision: 6,
|
|
918
943
|
xtokenContract: 'xtokens',
|
|
919
944
|
wallets: [
|
|
920
|
-
...(IS_MAINNET ? [{
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
}]: [])
|
|
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
|
+
// }]: [])
|
|
930
955
|
],
|
|
931
956
|
image: 'https://www.proton.org/images/tokens/xtokensXLUNA.png',
|
|
932
957
|
coingeckoId: 'terra-luna'
|