@lifi/types 1.1.0 → 1.1.1

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,13 @@
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.1](https://github.com/lifinance/types/compare/v1.1.0...v1.1.1) (2022-07-21)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * remove .DS_Store files ([ccd0112](https://github.com/lifinance/types/commit/ccd01122f15f099e17eb3253a87c008f65c991ba))
11
+
5
12
  ## [1.1.0](https://github.com/lifinance/types/compare/v1.0.1...v1.1.0) (2022-07-14)
6
13
 
7
14
 
@@ -724,7 +724,7 @@ exports.supportedEVMChains = [
724
724
  {
725
725
  key: base_1.ChainKey.AUR,
726
726
  chainType: Chain_1.ChainType.EVM,
727
- name: 'Aurora Mainnet',
727
+ name: 'Aurora',
728
728
  coin: base_1.CoinKey.ETH,
729
729
  id: 1313161554,
730
730
  mainnet: true,
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, _3;
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, _4;
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");
@@ -497,6 +497,10 @@ var basicCoins = [
497
497
  address: '0x7FF4a56B32ee13D7D4D405887E0eA37d61Ed919e',
498
498
  decimals: 6,
499
499
  },
500
+ _m[base_1.ChainId.AUR] = {
501
+ address: '0x4988a896b1227218e4A686fdE5EabdcAbd91571f',
502
+ decimals: 6,
503
+ },
500
504
  // Testnets
501
505
  _m[base_1.ChainId.ROP] = {
502
506
  address: '0x110a13fc3efe6a245b50102d2d79b3e76125ae83',
@@ -593,6 +597,10 @@ var basicCoins = [
593
597
  address: '0x51e44FfaD5C2B122C8b635671FCC8139dc636E82',
594
598
  decimals: 6,
595
599
  },
600
+ _o[base_1.ChainId.AUR] = {
601
+ address: '0xB12BFcA5A55806AaF64E99521918A4bf0fC40802',
602
+ decimals: 6,
603
+ },
596
604
  // Testnets
597
605
  _o[base_1.ChainId.ROP] = {
598
606
  address: '0x07865c6e87b9f70255377e024ace6630c1eaa37f',
@@ -720,6 +728,10 @@ var basicCoins = [
720
728
  address: '0xF80699Dc594e00aE7bA200c7533a07C1604A106D',
721
729
  decimals: 8,
722
730
  },
731
+ _q[base_1.ChainId.AUR] = {
732
+ address: '0xF4eB217Ba2454613b15dBdea6e5f22276410e89e',
733
+ decimals: 8,
734
+ },
723
735
  _q),
724
736
  },
725
737
  // > WETH
@@ -799,6 +811,10 @@ var basicCoins = [
799
811
  address: '0x5842C5532b61aCF3227679a8b1BD0242a41752f2',
800
812
  decimals: 18,
801
813
  },
814
+ _r[base_1.ChainId.AUR] = {
815
+ address: '0xC9BdeEd33CD01541e1eeD10f90519d2C06Fe3feB',
816
+ decimals: 18,
817
+ },
802
818
  // Testnets
803
819
  _r[base_1.ChainId.ROP] = {
804
820
  address: '0xc778417e063141139fce010982780140aa0cd5ab',
@@ -1045,6 +1061,19 @@ var basicCoins = [
1045
1061
  },
1046
1062
  _2),
1047
1063
  },
1064
+ // > AURORA
1065
+ {
1066
+ key: base_1.CoinKey.ETH,
1067
+ name: 'AETH',
1068
+ logoURI: 'https://static.debank.com/image/aurora_token/logo_url/aurora/d61441782d4a08a7479d54aea211679e.png',
1069
+ verified: true,
1070
+ chains: (_3 = {},
1071
+ _3[base_1.ChainId.AUR] = {
1072
+ address: '0x0000000000000000000000000000000000000000',
1073
+ decimals: 18,
1074
+ },
1075
+ _3),
1076
+ },
1048
1077
  ];
1049
1078
  exports.defaultCoins = basicCoins.map(function (coin) {
1050
1079
  var _a, _b;
@@ -1070,8 +1099,8 @@ exports.defaultCoins = basicCoins.map(function (coin) {
1070
1099
  return defaultCoin;
1071
1100
  });
1072
1101
  // Wrapped version of gas on chain
1073
- exports.wrappedTokens = (_3 = {},
1074
- _3[base_1.ChainId.ETH] = {
1102
+ exports.wrappedTokens = (_4 = {},
1103
+ _4[base_1.ChainId.ETH] = {
1075
1104
  // https://ww7.etherscan.io/token/0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2
1076
1105
  address: '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2',
1077
1106
  symbol: 'WETH',
@@ -1081,7 +1110,7 @@ exports.wrappedTokens = (_3 = {},
1081
1110
  name: 'WETH',
1082
1111
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1083
1112
  },
1084
- _3[base_1.ChainId.BSC] = {
1113
+ _4[base_1.ChainId.BSC] = {
1085
1114
  // https://bscscan.com/token/0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c
1086
1115
  address: '0xbb4cdb9cbd36b01bd1cbaebf2de08d9173bc095c',
1087
1116
  symbol: 'WBNB',
@@ -1091,7 +1120,7 @@ exports.wrappedTokens = (_3 = {},
1091
1120
  name: 'WBNB',
1092
1121
  logoURI: 'https://zapper.fi/images/networks/binance-smart-chain/0x0000000000000000000000000000000000000000.png',
1093
1122
  },
1094
- _3[base_1.ChainId.POL] = {
1123
+ _4[base_1.ChainId.POL] = {
1095
1124
  // https://polygonscan.com/token/0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270
1096
1125
  address: '0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270',
1097
1126
  symbol: 'WMATIC',
@@ -1101,7 +1130,7 @@ exports.wrappedTokens = (_3 = {},
1101
1130
  name: 'WMATIC',
1102
1131
  logoURI: 'https://zapper.fi/images/networks/polygon/0x0000000000000000000000000000000000000000.png',
1103
1132
  },
1104
- _3[base_1.ChainId.DAI] = {
1133
+ _4[base_1.ChainId.DAI] = {
1105
1134
  // https://blockscout.com/xdai/mainnet/address/0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d
1106
1135
  address: '0xe91d153e0b41518a2ce8dd3d7944fa863463a97d',
1107
1136
  symbol: 'WXDAI',
@@ -1111,7 +1140,7 @@ exports.wrappedTokens = (_3 = {},
1111
1140
  name: 'WXDAI',
1112
1141
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x6b175474e89094c44da98b954eedeac495271d0f.png',
1113
1142
  },
1114
- _3[base_1.ChainId.OPT] = {
1143
+ _4[base_1.ChainId.OPT] = {
1115
1144
  // https://optimistic.etherscan.io/token/0x4200000000000000000000000000000000000006
1116
1145
  address: '0x4200000000000000000000000000000000000006',
1117
1146
  symbol: 'WETH',
@@ -1121,7 +1150,7 @@ exports.wrappedTokens = (_3 = {},
1121
1150
  name: 'Wrapped ETH',
1122
1151
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1123
1152
  },
1124
- _3[base_1.ChainId.FTM] = {
1153
+ _4[base_1.ChainId.FTM] = {
1125
1154
  //
1126
1155
  address: '0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83',
1127
1156
  symbol: 'wFTM',
@@ -1131,7 +1160,7 @@ exports.wrappedTokens = (_3 = {},
1131
1160
  name: 'wFTM',
1132
1161
  logoURI: 'https://assets.spookyswap.finance/coins/0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83.png',
1133
1162
  },
1134
- _3[base_1.ChainId.ONE] = {
1163
+ _4[base_1.ChainId.ONE] = {
1135
1164
  address: '0xcf664087a5bb0237a0bad6742852ec6c8d69a27a',
1136
1165
  symbol: 'WONE',
1137
1166
  decimals: 18,
@@ -1140,7 +1169,7 @@ exports.wrappedTokens = (_3 = {},
1140
1169
  name: 'WRAPPED ONE',
1141
1170
  logoURI: 'https://d1xrz6ki9z98vb.cloudfront.net/venomswap/tokens/WONE.png',
1142
1171
  },
1143
- _3[base_1.ChainId.AVA] = {
1172
+ _4[base_1.ChainId.AVA] = {
1144
1173
  address: '0xb31f66aa3c1e785363f0875a1b74e27b85fd66c7',
1145
1174
  symbol: 'WAVAX',
1146
1175
  decimals: 18,
@@ -1149,7 +1178,7 @@ exports.wrappedTokens = (_3 = {},
1149
1178
  name: 'Wrapped AVAX',
1150
1179
  logoURI: '',
1151
1180
  },
1152
- _3[base_1.ChainId.ARB] = {
1181
+ _4[base_1.ChainId.ARB] = {
1153
1182
  address: '0x82af49447d8a07e3bd95bd0d56f35241523fbab1',
1154
1183
  symbol: 'WETH',
1155
1184
  decimals: 18,
@@ -1158,7 +1187,7 @@ exports.wrappedTokens = (_3 = {},
1158
1187
  name: 'WETH',
1159
1188
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1160
1189
  },
1161
- _3[base_1.ChainId.MOR] = {
1190
+ _4[base_1.ChainId.MOR] = {
1162
1191
  address: '0x98878b06940ae243284ca214f92bb71a2b032b8a',
1163
1192
  symbol: 'WMOVR',
1164
1193
  decimals: 18,
@@ -1167,7 +1196,7 @@ exports.wrappedTokens = (_3 = {},
1167
1196
  name: 'WMOVR',
1168
1197
  logoURI: 'https://assets.coingecko.com/coins/images/17984/small/9285.png',
1169
1198
  },
1170
- _3[base_1.ChainId.OKT] = {
1199
+ _4[base_1.ChainId.OKT] = {
1171
1200
  address: '0x8f8526dbfd6e38e3d8307702ca8469bae6c56c15',
1172
1201
  symbol: 'wOKT',
1173
1202
  decimals: 18,
@@ -1176,7 +1205,7 @@ exports.wrappedTokens = (_3 = {},
1176
1205
  name: 'wOKT',
1177
1206
  logoURI: 'https://static.debank.com/image/okt_token/logo_url/okt/1228cd92320b3d33769bd08eecfb5391.png',
1178
1207
  },
1179
- _3[base_1.ChainId.HEC] = {
1208
+ _4[base_1.ChainId.HEC] = {
1180
1209
  address: '0x5545153ccfca01fbd7dd11c0b23ba694d9509a6f',
1181
1210
  symbol: 'wHT',
1182
1211
  decimals: 18,
@@ -1185,7 +1214,7 @@ exports.wrappedTokens = (_3 = {},
1185
1214
  name: 'wHT',
1186
1215
  logoURI: 'https://static.debank.com/image/heco_token/logo_url/heco/c399dcddde07e1944c4dd8f922832b53.png',
1187
1216
  },
1188
- _3[base_1.ChainId.CRO] = {
1217
+ _4[base_1.ChainId.CRO] = {
1189
1218
  address: '0x5c7f8a570d578ed84e63fdfa7b1ee72deae1ae23',
1190
1219
  symbol: 'WCRO',
1191
1220
  decimals: 18,
@@ -1194,7 +1223,7 @@ exports.wrappedTokens = (_3 = {},
1194
1223
  name: 'WCRO',
1195
1224
  logoURI: 'https://raw.githubusercontent.com/cronaswap/default-token-list/main/assets/tokens/cronos/0x5C7F8A570d578ED84E63fdFA7b1eE72dEae1AE23/logo.png',
1196
1225
  },
1197
- _3[base_1.ChainId.FUS] = {
1226
+ _4[base_1.ChainId.FUS] = {
1198
1227
  address: '0x0be9e53fd7edac9f859882afdda116645287c629',
1199
1228
  symbol: 'WFUSE',
1200
1229
  decimals: 18,
@@ -1203,7 +1232,7 @@ exports.wrappedTokens = (_3 = {},
1203
1232
  name: 'Wrapped Fuse',
1204
1233
  logoURI: 'https://fuselogo.s3.eu-central-1.amazonaws.com/wfuse.png',
1205
1234
  },
1206
- _3[base_1.ChainId.MOO] = {
1235
+ _4[base_1.ChainId.MOO] = {
1207
1236
  address: '0xacc15dc74880c9944775448304b263d191c6077f',
1208
1237
  symbol: 'WGLMR',
1209
1238
  decimals: 18,
@@ -1212,7 +1241,7 @@ exports.wrappedTokens = (_3 = {},
1212
1241
  name: 'Wrapped GLMR',
1213
1242
  logoURI: 'https://static.debank.com/image/mobm_token/logo_url/0xacc15dc74880c9944775448304b263d191c6077f/a8442077d76b258297181c3e6eb8c9cc.png',
1214
1243
  },
1215
- _3[base_1.ChainId.MAM] = {
1244
+ _4[base_1.ChainId.MAM] = {
1216
1245
  address: '0x75cb093E4D61d2A2e65D8e0BBb01DE8d89b53481',
1217
1246
  symbol: 'WMETIS',
1218
1247
  decimals: 18,
@@ -1221,7 +1250,7 @@ exports.wrappedTokens = (_3 = {},
1221
1250
  name: 'Wrapped Metis',
1222
1251
  logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/9640.png',
1223
1252
  },
1224
- _3[base_1.ChainId.BOB] = {
1253
+ _4[base_1.ChainId.BOB] = {
1225
1254
  address: '0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000',
1226
1255
  symbol: 'WETH',
1227
1256
  decimals: 18,
@@ -1230,7 +1259,7 @@ exports.wrappedTokens = (_3 = {},
1230
1259
  name: 'Wrapped ETH',
1231
1260
  logoURI: 'https://static.debank.com/image/boba_token/logo_url/0xdeaddeaddeaddeaddeaddeaddeaddeaddead0000/b1947b38a90e559eb950453965714be4.png',
1232
1261
  },
1233
- _3[base_1.ChainId.CEL] = {
1262
+ _4[base_1.ChainId.CEL] = {
1234
1263
  address: '0x471ece3750da237f93b8e339c536989b8978a438',
1235
1264
  symbol: 'CELO',
1236
1265
  decimals: 18,
@@ -1239,7 +1268,7 @@ exports.wrappedTokens = (_3 = {},
1239
1268
  name: 'Celo native asset',
1240
1269
  logoURI: 'https://s2.coinmarketcap.com/static/img/coins/64x64/5567.png',
1241
1270
  },
1242
- _3[base_1.ChainId.EVM] = {
1271
+ _4[base_1.ChainId.EVM] = {
1243
1272
  address: '0xd4949664cd82660aae99bedc034a0dea8a0bd517',
1244
1273
  symbol: 'WEVMOS',
1245
1274
  decimals: 18,
@@ -1248,8 +1277,17 @@ exports.wrappedTokens = (_3 = {},
1248
1277
  name: 'Wrapped Evmos',
1249
1278
  logoURI: 'https://raw.githubusercontent.com/cronus-finance/token-list/main/assets/evmos/0xD4949664cD82660AaE99bEdc034a0deA8A0bd517/logo.png',
1250
1279
  },
1280
+ _4[base_1.ChainId.AUR] = {
1281
+ address: '0x0000000000000000000000000000000000000000',
1282
+ symbol: 'AETH',
1283
+ decimals: 18,
1284
+ chainId: base_1.ChainId.AUR,
1285
+ coinKey: 'AETH',
1286
+ name: 'AETH',
1287
+ logoURI: 'https://static.debank.com/image/aurora_token/logo_url/aurora/d61441782d4a08a7479d54aea211679e.png',
1288
+ },
1251
1289
  // Testnets
1252
- _3[base_1.ChainId.ROP] = {
1290
+ _4[base_1.ChainId.ROP] = {
1253
1291
  // https://ropsten.etherscan.io/token/0xc778417e063141139fce010982780140aa0cd5ab
1254
1292
  address: '0xc778417e063141139fce010982780140aa0cd5ab',
1255
1293
  symbol: 'WETH',
@@ -1259,7 +1297,7 @@ exports.wrappedTokens = (_3 = {},
1259
1297
  name: 'WETH',
1260
1298
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1261
1299
  },
1262
- _3[base_1.ChainId.RIN] = {
1300
+ _4[base_1.ChainId.RIN] = {
1263
1301
  // https://rinkeby.etherscan.io/token/0xc778417e063141139fce010982780140aa0cd5ab
1264
1302
  address: '0xc778417e063141139fce010982780140aa0cd5ab',
1265
1303
  symbol: 'WETH',
@@ -1269,7 +1307,7 @@ exports.wrappedTokens = (_3 = {},
1269
1307
  name: 'WETH',
1270
1308
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1271
1309
  },
1272
- _3[base_1.ChainId.GOR] = {
1310
+ _4[base_1.ChainId.GOR] = {
1273
1311
  // https://goerli.etherscan.io/token/0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6
1274
1312
  address: '0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6',
1275
1313
  symbol: 'WETH',
@@ -1279,7 +1317,7 @@ exports.wrappedTokens = (_3 = {},
1279
1317
  name: 'WETH',
1280
1318
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1281
1319
  },
1282
- _3[base_1.ChainId.KOV] = {
1320
+ _4[base_1.ChainId.KOV] = {
1283
1321
  // https://kovan.etherscan.io/address/0xd0a1e359811322d97991e03f863a0c30c2cf029c
1284
1322
  address: '0xd0a1e359811322d97991e03f863a0c30c2cf029c',
1285
1323
  symbol: 'WETH',
@@ -1289,7 +1327,7 @@ exports.wrappedTokens = (_3 = {},
1289
1327
  name: 'WETH',
1290
1328
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1291
1329
  },
1292
- _3[base_1.ChainId.MUM] = {
1330
+ _4[base_1.ChainId.MUM] = {
1293
1331
  // https://mumbai.polygonscan.com/token/0x9c3c9283d3e44854697cd22d3faa240cfb032889
1294
1332
  address: '0x9c3c9283d3e44854697cd22d3faa240cfb032889',
1295
1333
  symbol: 'WMATIC',
@@ -1299,7 +1337,7 @@ exports.wrappedTokens = (_3 = {},
1299
1337
  name: 'WMATIC',
1300
1338
  logoURI: 'https://zapper.fi/images/networks/polygon/0x0000000000000000000000000000000000000000.png',
1301
1339
  },
1302
- _3[base_1.ChainId.ONET] = {
1340
+ _4[base_1.ChainId.ONET] = {
1303
1341
  address: '0x7466d7d0c21fa05f32f5a0fa27e12bdc06348ce2',
1304
1342
  symbol: 'WONE',
1305
1343
  decimals: 18,
@@ -1308,7 +1346,7 @@ exports.wrappedTokens = (_3 = {},
1308
1346
  name: 'WRAPPED ONE',
1309
1347
  logoURI: 'https://d1xrz6ki9z98vb.cloudfront.net/venomswap/tokens/WONE.png',
1310
1348
  },
1311
- _3[base_1.ChainId.ARBT] = {
1349
+ _4[base_1.ChainId.ARBT] = {
1312
1350
  // https://testnet.arbiscan.io/token/0xB47e6A5f8b33b3F17603C83a0535A9dcD7E32681
1313
1351
  address: '0xB47e6A5f8b33b3F17603C83a0535A9dcD7E32681',
1314
1352
  symbol: 'WETH',
@@ -1318,7 +1356,7 @@ exports.wrappedTokens = (_3 = {},
1318
1356
  name: 'WETH',
1319
1357
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1320
1358
  },
1321
- _3[base_1.ChainId.OPTT] = {
1359
+ _4[base_1.ChainId.OPTT] = {
1322
1360
  // https://kovan-optimistic.etherscan.io/token/0x4200000000000000000000000000000000000006
1323
1361
  address: '0x4200000000000000000000000000000000000006',
1324
1362
  symbol: 'WETH',
@@ -1328,7 +1366,7 @@ exports.wrappedTokens = (_3 = {},
1328
1366
  name: 'WETH',
1329
1367
  logoURI: 'https://zapper.fi/images/networks/ethereum/0x0000000000000000000000000000000000000000.png',
1330
1368
  },
1331
- _3[base_1.ChainId.BSCT] = {
1369
+ _4[base_1.ChainId.BSCT] = {
1332
1370
  // https://testnet.bscscan.com/token/0xae13d989dac2f0debff460ac112a837c89baa7cd
1333
1371
  address: '0xae13d989daC2f0dEbFf460aC112a837C89BAa7cd',
1334
1372
  symbol: 'WBNB',
@@ -1338,7 +1376,7 @@ exports.wrappedTokens = (_3 = {},
1338
1376
  name: 'WBNB',
1339
1377
  logoURI: 'https://zapper.fi/images/networks/binance-smart-chain/0x0000000000000000000000000000000000000000.png',
1340
1378
  },
1341
- _3);
1379
+ _4);
1342
1380
  var findDefaultCoin = function (coinKey) {
1343
1381
  var coin = exports.defaultCoins.find(function (coin) { return coin.key === coinKey; });
1344
1382
  if (!coin) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/types",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Types for the LI.FI stack",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",