@lifi/types 1.0.1 → 1.1.0

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/CHANGELOG.md CHANGED
@@ -2,6 +2,18 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ## [1.1.0](https://github.com/lifinance/types/compare/v1.0.1...v1.1.0) (2022-07-14)
6
+
7
+
8
+ ### Features
9
+
10
+ * **evmos:** add wrapped and native gas token on Evmos ([#86](https://github.com/lifinance/types/issues/86)) ([0f7eff8](https://github.com/lifinance/types/commit/0f7eff874e7dce1446bfb0b4dacb18b91cb9475f))
11
+
12
+
13
+ ### Bug Fixes
14
+
15
+ * publishing script ([d5e85eb](https://github.com/lifinance/types/commit/d5e85ebfd4de7695082736049bbc0b76a4ed02a2))
16
+
5
17
  ### [1.0.1](https://github.com/lifinance/types/compare/v1.0.0...v1.0.1) (2022-07-12)
6
18
 
7
19
 
package/dist/coins.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2;
2
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3;
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.findTokenByChainIdAndAddress = exports.findWrappedGasOnChain = exports.findDefaultToken = exports.findDefaultCoin = exports.wrappedTokens = exports.defaultCoins = void 0;
5
5
  var base_1 = require("./base");
@@ -1032,6 +1032,19 @@ var basicCoins = [
1032
1032
  },
1033
1033
  _1),
1034
1034
  },
1035
+ // > EVM
1036
+ {
1037
+ key: base_1.CoinKey.EVM,
1038
+ name: 'Evmos',
1039
+ logoURI: 'https://raw.githubusercontent.com/cronus-finance/token-list/main/assets/evmos/0xD4949664cD82660AaE99bEdc034a0deA8A0bd517/logo.png',
1040
+ verified: true,
1041
+ chains: (_2 = {},
1042
+ _2[base_1.ChainId.EVM] = {
1043
+ address: '0x0000000000000000000000000000000000000000',
1044
+ decimals: 18,
1045
+ },
1046
+ _2),
1047
+ },
1035
1048
  ];
1036
1049
  exports.defaultCoins = basicCoins.map(function (coin) {
1037
1050
  var _a, _b;
@@ -1057,8 +1070,8 @@ exports.defaultCoins = basicCoins.map(function (coin) {
1057
1070
  return defaultCoin;
1058
1071
  });
1059
1072
  // Wrapped version of gas on chain
1060
- exports.wrappedTokens = (_2 = {},
1061
- _2[base_1.ChainId.ETH] = {
1073
+ exports.wrappedTokens = (_3 = {},
1074
+ _3[base_1.ChainId.ETH] = {
1062
1075
  // https://ww7.etherscan.io/token/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
1063
1076
  address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
1064
1077
  symbol: 'WETH',
@@ -1068,7 +1081,7 @@ exports.wrappedTokens = (_2 = {},
1068
1081
  name: 'WETH',
1069
1082
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1070
1083
  },
1071
- _2[base_1.ChainId.BSC] = {
1084
+ _3[base_1.ChainId.BSC] = {
1072
1085
  // https://bscscan.com/token/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
1073
1086
  address: '0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c',
1074
1087
  symbol: 'WBNB',
@@ -1078,7 +1091,7 @@ exports.wrappedTokens = (_2 = {},
1078
1091
  name: 'WBNB',
1079
1092
  logoURI: 'https://zapper.fi/images/networks/binance-smart-chain/0x0000000000000000000000000000000000000000.png',
1080
1093
  },
1081
- _2[base_1.ChainId.POL] = {
1094
+ _3[base_1.ChainId.POL] = {
1082
1095
  // https://polygonscan.com/token/0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270
1083
1096
  address: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
1084
1097
  symbol: 'WMATIC',
@@ -1088,7 +1101,7 @@ exports.wrappedTokens = (_2 = {},
1088
1101
  name: 'WMATIC',
1089
1102
  logoURI: 'https://zapper.fi/images/networks/polygon/0x0000000000000000000000000000000000000000.png',
1090
1103
  },
1091
- _2[base_1.ChainId.DAI] = {
1104
+ _3[base_1.ChainId.DAI] = {
1092
1105
  // https://blockscout.com/xdai/mainnet/address/0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d
1093
1106
  address: '0xe91d153e0b41518a2ce8dd3d7944fa863463a97d',
1094
1107
  symbol: 'WXDAI',
@@ -1098,7 +1111,7 @@ exports.wrappedTokens = (_2 = {},
1098
1111
  name: 'WXDAI',
1099
1112
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x6b175474e89094c44da98b954eedeac495271d0f.png',
1100
1113
  },
1101
- _2[base_1.ChainId.OPT] = {
1114
+ _3[base_1.ChainId.OPT] = {
1102
1115
  // https://optimistic.etherscan.io/token/0x4200000000000000000000000000000000000006
1103
1116
  address: '0x4200000000000000000000000000000000000006',
1104
1117
  symbol: 'WETH',
@@ -1108,7 +1121,7 @@ exports.wrappedTokens = (_2 = {},
1108
1121
  name: 'Wrapped ETH',
1109
1122
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1110
1123
  },
1111
- _2[base_1.ChainId.FTM] = {
1124
+ _3[base_1.ChainId.FTM] = {
1112
1125
  //
1113
1126
  address: '0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83',
1114
1127
  symbol: 'wFTM',
@@ -1118,7 +1131,7 @@ exports.wrappedTokens = (_2 = {},
1118
1131
  name: 'wFTM',
1119
1132
  logoURI: 'https://assets.spookyswap.finance/coins/0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83.png',
1120
1133
  },
1121
- _2[base_1.ChainId.ONE] = {
1134
+ _3[base_1.ChainId.ONE] = {
1122
1135
  address: '0xcf664087a5bb0237a0bad6742852ec6c8d69a27a',
1123
1136
  symbol: 'WONE',
1124
1137
  decimals: 18,
@@ -1127,7 +1140,7 @@ exports.wrappedTokens = (_2 = {},
1127
1140
  name: 'WRAPPED ONE',
1128
1141
  logoURI: 'https://d1xrz6ki9z98vb.cloudfront.net/venomswap/tokens/WONE.png',
1129
1142
  },
1130
- _2[base_1.ChainId.AVA] = {
1143
+ _3[base_1.ChainId.AVA] = {
1131
1144
  address: '0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7',
1132
1145
  symbol: 'WAVAX',
1133
1146
  decimals: 18,
@@ -1136,7 +1149,7 @@ exports.wrappedTokens = (_2 = {},
1136
1149
  name: 'Wrapped AVAX',
1137
1150
  logoURI: '',
1138
1151
  },
1139
- _2[base_1.ChainId.ARB] = {
1152
+ _3[base_1.ChainId.ARB] = {
1140
1153
  address: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1',
1141
1154
  symbol: 'WETH',
1142
1155
  decimals: 18,
@@ -1145,7 +1158,7 @@ exports.wrappedTokens = (_2 = {},
1145
1158
  name: 'WETH',
1146
1159
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1147
1160
  },
1148
- _2[base_1.ChainId.MOR] = {
1161
+ _3[base_1.ChainId.MOR] = {
1149
1162
  address: '0x98878b06940ae243284ca214f92bb71a2b032b8a',
1150
1163
  symbol: 'WMOVR',
1151
1164
  decimals: 18,
@@ -1154,7 +1167,7 @@ exports.wrappedTokens = (_2 = {},
1154
1167
  name: 'WMOVR',
1155
1168
  logoURI: 'https://assets.coingecko.com/coins/images/17984/small/9285.png',
1156
1169
  },
1157
- _2[base_1.ChainId.OKT] = {
1170
+ _3[base_1.ChainId.OKT] = {
1158
1171
  address: '0x8f8526dbfd6e38e3d8307702ca8469bae6c56c15',
1159
1172
  symbol: 'wOKT',
1160
1173
  decimals: 18,
@@ -1163,7 +1176,7 @@ exports.wrappedTokens = (_2 = {},
1163
1176
  name: 'wOKT',
1164
1177
  logoURI: 'https://static.debank.com/image/okt_token/logo_url/okt/1228cd92320b3d33769bd08eecfb5391.png',
1165
1178
  },
1166
- _2[base_1.ChainId.HEC] = {
1179
+ _3[base_1.ChainId.HEC] = {
1167
1180
  address: '0x5545153ccfca01fbd7dd11c0b23ba694d9509a6f',
1168
1181
  symbol: 'wHT',
1169
1182
  decimals: 18,
@@ -1172,7 +1185,7 @@ exports.wrappedTokens = (_2 = {},
1172
1185
  name: 'wHT',
1173
1186
  logoURI: 'https://static.debank.com/image/heco_token/logo_url/heco/c399dcddde07e1944c4dd8f922832b53.png',
1174
1187
  },
1175
- _2[base_1.ChainId.CRO] = {
1188
+ _3[base_1.ChainId.CRO] = {
1176
1189
  address: '0x5c7f8a570d578ed84e63fdfa7b1ee72deae1ae23',
1177
1190
  symbol: 'WCRO',
1178
1191
  decimals: 18,
@@ -1181,7 +1194,7 @@ exports.wrappedTokens = (_2 = {},
1181
1194
  name: 'WCRO',
1182
1195
  logoURI: 'https://raw.githubusercontent.com/cronaswap/default-token-list/main/assets/tokens/cronos/0x5C7F8A570d578ED84E63fdFA7b1eE72dEae1AE23/logo.png',
1183
1196
  },
1184
- _2[base_1.ChainId.FUS] = {
1197
+ _3[base_1.ChainId.FUS] = {
1185
1198
  address: '0x0be9e53fd7edac9f859882afdda116645287c629',
1186
1199
  symbol: 'WFUSE',
1187
1200
  decimals: 18,
@@ -1190,7 +1203,7 @@ exports.wrappedTokens = (_2 = {},
1190
1203
  name: 'Wrapped Fuse',
1191
1204
  logoURI: 'https://fuselogo.s3.eu-central-1.amazonaws.com/wfuse.png',
1192
1205
  },
1193
- _2[base_1.ChainId.MOO] = {
1206
+ _3[base_1.ChainId.MOO] = {
1194
1207
  address: '0xacc15dc74880c9944775448304b263d191c6077f',
1195
1208
  symbol: 'WGLMR',
1196
1209
  decimals: 18,
@@ -1199,7 +1212,7 @@ exports.wrappedTokens = (_2 = {},
1199
1212
  name: 'Wrapped GLMR',
1200
1213
  logoURI: 'https://static.debank.com/image/mobm_token/logo_url/0xacc15dc74880c9944775448304b263d191c6077f/a8442077d76b258297181c3e6eb8c9cc.png',
1201
1214
  },
1202
- _2[base_1.ChainId.MAM] = {
1215
+ _3[base_1.ChainId.MAM] = {
1203
1216
  address: '0x75cb093E4D61d2A2e65D8e0BBb01DE8d89b53481',
1204
1217
  symbol: 'WMETIS',
1205
1218
  decimals: 18,
@@ -1208,7 +1221,7 @@ exports.wrappedTokens = (_2 = {},
1208
1221
  name: 'Wrapped Metis',
1209
1222
  logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/9640.png',
1210
1223
  },
1211
- _2[base_1.ChainId.BOB] = {
1224
+ _3[base_1.ChainId.BOB] = {
1212
1225
  address: '0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000',
1213
1226
  symbol: 'WETH',
1214
1227
  decimals: 18,
@@ -1217,7 +1230,7 @@ exports.wrappedTokens = (_2 = {},
1217
1230
  name: 'Wrapped ETH',
1218
1231
  logoURI: 'https://static.debank.com/image/boba_token/logo_url/0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000/b1947b38a90e559eb950453965714be4.png',
1219
1232
  },
1220
- _2[base_1.ChainId.CEL] = {
1233
+ _3[base_1.ChainId.CEL] = {
1221
1234
  address: '0x471ece3750da237f93b8e339c536989b8978a438',
1222
1235
  symbol: 'CELO',
1223
1236
  decimals: 18,
@@ -1226,8 +1239,17 @@ exports.wrappedTokens = (_2 = {},
1226
1239
  name: 'Celo native asset',
1227
1240
  logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/5567.png',
1228
1241
  },
1242
+ _3[base_1.ChainId.EVM] = {
1243
+ address: '0xd4949664cd82660aae99bedc034a0dea8a0bd517',
1244
+ symbol: 'WEVMOS',
1245
+ decimals: 18,
1246
+ chainId: base_1.ChainId.EVM,
1247
+ coinKey: 'WEVMOS',
1248
+ name: 'Wrapped Evmos',
1249
+ logoURI: 'https://raw.githubusercontent.com/cronus-finance/token-list/main/assets/evmos/0xD4949664cD82660AaE99bEdc034a0deA8A0bd517/logo.png',
1250
+ },
1229
1251
  // Testnets
1230
- _2[base_1.ChainId.ROP] = {
1252
+ _3[base_1.ChainId.ROP] = {
1231
1253
  // https://ropsten.etherscan.io/token/0xc778417e063141139fce010982780140aa0cd5ab
1232
1254
  address: '0xc778417e063141139fce010982780140aa0cd5ab',
1233
1255
  symbol: 'WETH',
@@ -1237,7 +1259,7 @@ exports.wrappedTokens = (_2 = {},
1237
1259
  name: 'WETH',
1238
1260
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1239
1261
  },
1240
- _2[base_1.ChainId.RIN] = {
1262
+ _3[base_1.ChainId.RIN] = {
1241
1263
  // https://rinkeby.etherscan.io/token/0xc778417e063141139fce010982780140aa0cd5ab
1242
1264
  address: '0xc778417e063141139fce010982780140aa0cd5ab',
1243
1265
  symbol: 'WETH',
@@ -1247,7 +1269,7 @@ exports.wrappedTokens = (_2 = {},
1247
1269
  name: 'WETH',
1248
1270
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1249
1271
  },
1250
- _2[base_1.ChainId.GOR] = {
1272
+ _3[base_1.ChainId.GOR] = {
1251
1273
  // https://goerli.etherscan.io/token/0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6
1252
1274
  address: '0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6',
1253
1275
  symbol: 'WETH',
@@ -1257,7 +1279,7 @@ exports.wrappedTokens = (_2 = {},
1257
1279
  name: 'WETH',
1258
1280
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1259
1281
  },
1260
- _2[base_1.ChainId.KOV] = {
1282
+ _3[base_1.ChainId.KOV] = {
1261
1283
  // https://kovan.etherscan.io/address/0xd0a1e359811322d97991e03f863a0c30c2cf029c
1262
1284
  address: '0xd0a1e359811322d97991e03f863a0c30c2cf029c',
1263
1285
  symbol: 'WETH',
@@ -1267,7 +1289,7 @@ exports.wrappedTokens = (_2 = {},
1267
1289
  name: 'WETH',
1268
1290
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1269
1291
  },
1270
- _2[base_1.ChainId.MUM] = {
1292
+ _3[base_1.ChainId.MUM] = {
1271
1293
  // https://mumbai.polygonscan.com/token/0x9c3c9283d3e44854697cd22d3faa240cfb032889
1272
1294
  address: '0x9c3c9283d3e44854697cd22d3faa240cfb032889',
1273
1295
  symbol: 'WMATIC',
@@ -1277,7 +1299,7 @@ exports.wrappedTokens = (_2 = {},
1277
1299
  name: 'WMATIC',
1278
1300
  logoURI: 'https://zapper.fi/images/networks/polygon/0x0000000000000000000000000000000000000000.png',
1279
1301
  },
1280
- _2[base_1.ChainId.ONET] = {
1302
+ _3[base_1.ChainId.ONET] = {
1281
1303
  address: '0x7466d7d0c21fa05f32f5a0fa27e12bdc06348ce2',
1282
1304
  symbol: 'WONE',
1283
1305
  decimals: 18,
@@ -1286,7 +1308,7 @@ exports.wrappedTokens = (_2 = {},
1286
1308
  name: 'WRAPPED ONE',
1287
1309
  logoURI: 'https://d1xrz6ki9z98vb.cloudfront.net/venomswap/tokens/WONE.png',
1288
1310
  },
1289
- _2[base_1.ChainId.ARBT] = {
1311
+ _3[base_1.ChainId.ARBT] = {
1290
1312
  // https://testnet.arbiscan.io/token/0xB47e6A5f8b33b3F17603C83a0535A9dcD7E32681
1291
1313
  address: '0xB47e6A5f8b33b3F17603C83a0535A9dcD7E32681',
1292
1314
  symbol: 'WETH',
@@ -1296,7 +1318,7 @@ exports.wrappedTokens = (_2 = {},
1296
1318
  name: 'WETH',
1297
1319
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1298
1320
  },
1299
- _2[base_1.ChainId.OPTT] = {
1321
+ _3[base_1.ChainId.OPTT] = {
1300
1322
  // https://kovan-optimistic.etherscan.io/token/0x4200000000000000000000000000000000000006
1301
1323
  address: '0x4200000000000000000000000000000000000006',
1302
1324
  symbol: 'WETH',
@@ -1306,7 +1328,7 @@ exports.wrappedTokens = (_2 = {},
1306
1328
  name: 'WETH',
1307
1329
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1308
1330
  },
1309
- _2[base_1.ChainId.BSCT] = {
1331
+ _3[base_1.ChainId.BSCT] = {
1310
1332
  // https://testnet.bscscan.com/token/0xae13d989dac2f0debff460ac112a837c89baa7cd
1311
1333
  address: '0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd',
1312
1334
  symbol: 'WBNB',
@@ -1316,7 +1338,7 @@ exports.wrappedTokens = (_2 = {},
1316
1338
  name: 'WBNB',
1317
1339
  logoURI: 'https://zapper.fi/images/networks/binance-smart-chain/0x0000000000000000000000000000000000000000.png',
1318
1340
  },
1319
- _2);
1341
+ _3);
1320
1342
  var findDefaultCoin = function (coinKey) {
1321
1343
  var coin = exports.defaultCoins.find(function (coin) { return coin.key === coinKey; });
1322
1344
  if (!coin) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/types",
3
- "version": "1.0.1",
3
+ "version": "1.1.0",
4
4
  "description": "Types for the LI.FI stack",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",