@lifi/types 1.6.0 → 1.8.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,22 @@
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.8.0](https://github.com/lifinance/types/compare/v1.7.0...v1.8.0) (2022-09-30)
6
+
7
+
8
+ ### Features
9
+
10
+ * add Swapr on Gnosis and OKCSwap on OKT ([#97](https://github.com/lifinance/types/issues/97)) ([9abab9b](https://github.com/lifinance/types/commit/9abab9bbe500355de07b61bf8cdb7100e868cf76))
11
+ * add Wagyu Dex on Velas ([#98](https://github.com/lifinance/types/issues/98)) ([d3201a2](https://github.com/lifinance/types/commit/d3201a2c8eaf4a385d79333c3b0ce4923ac58ead))
12
+
13
+ ## [1.7.0](https://github.com/lifinance/types/compare/v1.6.0...v1.7.0) (2022-09-13)
14
+
15
+
16
+ ### Features
17
+
18
+ * **api:** add bridgeExplorerLink ([#96](https://github.com/lifinance/types/issues/96)) ([9f37087](https://github.com/lifinance/types/commit/9f37087fe5815512104b3a78d00526188de2c341))
19
+ * **exchanges:** add soulswap on FTM ([#95](https://github.com/lifinance/types/issues/95)) ([3fdf438](https://github.com/lifinance/types/commit/3fdf438066af9f09ff89942613dde0876d638a7f))
20
+
5
21
  ## [1.6.0](https://github.com/lifinance/types/compare/v1.5.1...v1.6.0) (2022-09-02)
6
22
 
7
23
 
package/dist/api.d.ts CHANGED
@@ -178,6 +178,7 @@ export interface StatusResponse extends StatusInformation {
178
178
  sending: TransactionInfo;
179
179
  receiving?: TransactionInfo;
180
180
  tool?: string;
181
+ bridgeExplorerLink?: string;
181
182
  }
182
183
  export interface ChainsResponse {
183
184
  chains: Chain[];
@@ -682,6 +682,7 @@ export const supportedEVMChains = [
682
682
  id: 106,
683
683
  mainnet: true,
684
684
  multicallAddress: multicallAddresses[ChainId.VEL],
685
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/velas.png',
685
686
  metamask: {
686
687
  chainId: prefixChainId(106),
687
688
  blockExplorerUrls: ['https://evmexplorer.velas.com/'],
package/dist/cjs/api.d.ts CHANGED
@@ -178,6 +178,7 @@ export interface StatusResponse extends StatusInformation {
178
178
  sending: TransactionInfo;
179
179
  receiving?: TransactionInfo;
180
180
  tool?: string;
181
+ bridgeExplorerLink?: string;
181
182
  }
182
183
  export interface ChainsResponse {
183
184
  chains: Chain[];
@@ -685,6 +685,7 @@ exports.supportedEVMChains = [
685
685
  id: 106,
686
686
  mainnet: true,
687
687
  multicallAddress: multicall_1.multicallAddresses[base_1.ChainId.VEL],
688
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/chains/velas.png',
688
689
  metamask: {
689
690
  chainId: (0, EVMChain_1.prefixChainId)(106),
690
691
  blockExplorerUrls: ['https://evmexplorer.velas.com/'],
package/dist/cjs/coins.js CHANGED
@@ -79,6 +79,11 @@ const basicCoins = [
79
79
  symbol: 'AETH',
80
80
  name: 'AETH',
81
81
  },
82
+ // https://evmexplorer.velas.com/token/0x85219708c49aa701871Ad330A94EA0f41dFf24Ca
83
+ [base_1.ChainId.VEL]: {
84
+ address: '0x85219708c49aa701871ad330a94ea0f41dff24ca',
85
+ decimals: 18,
86
+ },
82
87
  // Testnets
83
88
  [base_1.ChainId.ROP]: {
84
89
  address: '0x0000000000000000000000000000000000000000',
@@ -144,6 +149,11 @@ const basicCoins = [
144
149
  decimals: 18,
145
150
  name: 'Matic Token on xDai',
146
151
  },
152
+ // https://evmexplorer.velas.com/token/0x6ab0B8C1a35F9F4Ce107cCBd05049CB1Dbd99Ec5/
153
+ [base_1.ChainId.VEL]: {
154
+ address: '0x6ab0b8c1a35f9f4ce107ccbd05049cb1dbd99ec5',
155
+ decimals: 18,
156
+ },
147
157
  // Testnet
148
158
  [base_1.ChainId.MUM]: {
149
159
  address: '0x0000000000000000000000000000000000000000',
@@ -185,6 +195,11 @@ const basicCoins = [
185
195
  address: '0xc9baa8cfdde8e328787e29b4b078abf2dadc2055',
186
196
  decimals: 18,
187
197
  },
198
+ // https://evmexplorer.velas.com/token/0x2B8e9cD44C9e09D936149549a8d207c918ecB5C4
199
+ [base_1.ChainId.VEL]: {
200
+ address: '0x2b8e9cd44c9e09d936149549a8d207c918ecb5c4',
201
+ decimals: 18,
202
+ },
188
203
  // Testnet
189
204
  [base_1.ChainId.BSCT]: {
190
205
  address: '0x0000000000000000000000000000000000000000',
@@ -290,6 +305,12 @@ const basicCoins = [
290
305
  symbol: 'DAI',
291
306
  name: 'Dai Stablecoin',
292
307
  },
308
+ // https://evmexplorer.velas.com/token/0xE3F5a90F9cb311505cd691a46596599aA1A0AD7D
309
+ [base_1.ChainId.VEL]: {
310
+ address: '0xe3f5a90f9cb311505cd691a46596599aa1a0ad7d',
311
+ decimals: 18,
312
+ name: 'Dai Stablecoin',
313
+ },
293
314
  // Testnets
294
315
  [base_1.ChainId.ROP]: {
295
316
  address: '0x31f42841c2db5173425b5223809cf3a38fede360',
@@ -505,6 +526,12 @@ const basicCoins = [
505
526
  address: '0x4988a896b1227218e4A686fdE5EabdcAbd91571f',
506
527
  decimals: 6,
507
528
  },
529
+ // https://evmexplorer.velas.com/token/0x01445C31581c354b7338AC35693AB2001B50b9aE
530
+ [base_1.ChainId.VEL]: {
531
+ address: '0x01445c31581c354b7338ac35693ab2001b50b9ae',
532
+ decimals: 6,
533
+ name: 'Multichain USDT',
534
+ },
508
535
  // Testnets
509
536
  [base_1.ChainId.ROP]: {
510
537
  address: '0x110a13fc3efe6a245b50102d2d79b3e76125ae83',
@@ -605,6 +632,12 @@ const basicCoins = [
605
632
  address: '0xB12BFcA5A55806AaF64E99521918A4bf0fC40802',
606
633
  decimals: 6,
607
634
  },
635
+ // https://evmexplorer.velas.com/token/0xe2C120f188eBd5389F71Cf4d9C16d05b62A58993
636
+ [base_1.ChainId.VEL]: {
637
+ address: '0xe2c120f188ebd5389f71cf4d9c16d05b62a58993',
638
+ decimals: 6,
639
+ name: 'Multichain USDC',
640
+ },
608
641
  // Testnets
609
642
  [base_1.ChainId.ROP]: {
610
643
  address: '0x07865c6e87b9f70255377e024ace6630c1eaa37f',
@@ -1070,6 +1103,19 @@ const basicCoins = [
1070
1103
  },
1071
1104
  },
1072
1105
  },
1106
+ // > VEL
1107
+ {
1108
+ key: base_1.CoinKey.VLX,
1109
+ name: 'Velas',
1110
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/tokens/vlx.png',
1111
+ verified: true,
1112
+ chains: {
1113
+ [base_1.ChainId.VEL]: {
1114
+ address: '0x0000000000000000000000000000000000000000',
1115
+ decimals: 18,
1116
+ },
1117
+ },
1118
+ },
1073
1119
  ];
1074
1120
  exports.defaultCoins = basicCoins.map((coin) => {
1075
1121
  var _a, _b;
@@ -1281,6 +1327,15 @@ exports.wrappedTokens = {
1281
1327
  name: 'AETH',
1282
1328
  logoURI: 'https://static.debank.com/image/aurora_token/logo_url/aurora/d61441782d4a08a7479d54aea211679e.png',
1283
1329
  },
1330
+ [base_1.ChainId.VEL]: {
1331
+ address: '0xc579d1f3cf86749e05cd06f7ade17856c2ce3126',
1332
+ symbol: 'WVLX',
1333
+ decimals: 18,
1334
+ chainId: base_1.ChainId.VEL,
1335
+ coinKey: 'WVLX',
1336
+ name: 'Wrapped VLX',
1337
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/tokens/vlx.png',
1338
+ },
1284
1339
  // Testnets
1285
1340
  [base_1.ChainId.ROP]: {
1286
1341
  // https://ropsten.etherscan.io/token/0xc778417e063141139fce010982780140aa0cd5ab
@@ -281,6 +281,26 @@ exports.supportedExchanges = [
281
281
  (0, _1.findDefaultToken)(_1.CoinKey.SUSHI, _1.ChainId.DAI),
282
282
  ],
283
283
  },
284
+ {
285
+ key: 'swapr-dai',
286
+ name: 'Swapr',
287
+ chainId: _1.ChainId.DAI,
288
+ webUrl: 'https://swapr.eth.limo/',
289
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/swapr.png',
290
+ tokenlistUrl: 'https://gist.githubusercontent.com/mathiasmoeller/03525afe098af3d45b9aff1f8a04acd9/raw/76d9b818659fe1fe90c8f0f0edc36f23160d4dc1/swapr-token-list.json',
291
+ routerAddress: '0xE43e60736b1cb4a75ad25240E2f9a62Bff65c0C0',
292
+ factoryAddress: '0x5D48C95AdfFD4B40c1AAADc4e08fc44117E02179',
293
+ initCodeHash: '0xd306a548755b9295ee49cc729e13ca4a45e00199bbd890fa146da43a50571776',
294
+ baseTokens: [
295
+ (0, _1.findWrappedGasOnChain)(_1.ChainId.DAI),
296
+ {
297
+ address: '0x532801ed6f82fffd2dab70a19fc2d7b2772c4f4b',
298
+ symbol: 'SWPR',
299
+ decimals: 18,
300
+ chainId: _1.ChainId.DAI,
301
+ },
302
+ ],
303
+ },
284
304
  // 250 - Fantom
285
305
  {
286
306
  key: 'spookyswap-ftm',
@@ -337,6 +357,26 @@ exports.supportedExchanges = [
337
357
  (0, _1.findDefaultToken)(_1.CoinKey.DAI, _1.ChainId.FTM),
338
358
  ],
339
359
  },
360
+ {
361
+ key: 'soulswap-ftm',
362
+ name: 'SoulSwap',
363
+ chainId: _1.ChainId.FTM,
364
+ webUrl: 'https://app.soulswap.finance/',
365
+ logoURI: 'https://raw.githubusercontent.com/soulswapfinance/assets/prod/blockchains/fantom/assets/0xe2fb177009FF39F52C0134E8007FA0e4BaAcBd07/logo.png',
366
+ tokenlistUrl: 'https://raw.githubusercontent.com/soulswapfinance/default-token-list/master/soulswap.tokenlist.json',
367
+ routerAddress: '0x6b3d631B87FE27aF29efeC61d2ab8CE4d621cCBF',
368
+ factoryAddress: '0x1120e150dA9def6Fe930f4fEDeD18ef57c0CA7eF',
369
+ initCodeHash: '0xf3dcc3c6c6e34d3981dd429ac942301b9ebdd05de1be17f646b55476c44dc951',
370
+ baseTokens: [
371
+ (0, _1.findWrappedGasOnChain)(_1.ChainId.FTM),
372
+ {
373
+ address: '0xe2fb177009FF39F52C0134E8007FA0e4BaAcBd07',
374
+ symbol: 'SOUL',
375
+ decimals: 18,
376
+ chainId: _1.ChainId.FTM,
377
+ },
378
+ ],
379
+ },
340
380
  // 1666600000 - Harmony Mainnet Shard 0
341
381
  {
342
382
  key: 'viperswap-one',
@@ -621,6 +661,31 @@ exports.supportedExchanges = [
621
661
  },
622
662
  ],
623
663
  },
664
+ {
665
+ key: 'okcswap-okt',
666
+ name: 'OKCSwap',
667
+ chainId: _1.ChainId.OKT,
668
+ webUrl: 'https://www.okx.com/okc/swap',
669
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/okx.png',
670
+ tokenlistUrl: 'https://www.okx.com/okc/openapi/swap/tokens',
671
+ routerAddress: '0xc97b81B8a38b9146010Df85f1Ac714aFE1554343',
672
+ factoryAddress: '0x7b9F0a56cA7D20A44f603C03C6f45Db95b31e539',
673
+ initCodeHash: '0x00c49b7a1b728b8f0185f09df0b8487b8f4fd0fc3b133cb58039e67a16acb657',
674
+ baseTokens: [
675
+ {
676
+ address: '0x8f8526dbfd6e38e3d8307702ca8469bae6c56c15',
677
+ symbol: 'WOKT',
678
+ decimals: 18,
679
+ chainId: _1.ChainId.OKT,
680
+ },
681
+ {
682
+ address: '0x382bB369d343125BfB2117af9c149795C6C65C50',
683
+ symbol: _1.CoinKey.USDT,
684
+ decimals: 18,
685
+ chainId: _1.ChainId.OKT,
686
+ },
687
+ ],
688
+ },
624
689
  // 25 - Cronos Mainnet Beta
625
690
  {
626
691
  key: 'cronaswap-cro',
@@ -1032,6 +1097,38 @@ exports.supportedExchanges = [
1032
1097
  initCodeHash: '0xe18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303',
1033
1098
  baseTokens: [(0, _1.findWrappedGasOnChain)(_1.ChainId.ONET)],
1034
1099
  },
1100
+ // 106 Velas
1101
+ {
1102
+ key: 'wagyuswap-vel',
1103
+ name: 'Wagyuswap',
1104
+ chainId: _1.ChainId.VEL,
1105
+ webUrl: 'https://exchange.wagyuswap.app',
1106
+ tokenlistUrl: 'https://github.com/wagyuswapapp/wagyu-frontend/blob/wagyu/src/config/constants/tokenLists/pancake-default.tokenlist.json',
1107
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/wagyu.png',
1108
+ routerAddress: '0x3D1c58B6d4501E34DF37Cf0f664A58059a188F00',
1109
+ factoryAddress: '0x69f3212344A38b35844cCe4864C2af9c717F35e3',
1110
+ initCodeHash: '0x3f7eace9f1c10ecce400030e19a86fd03c98c3770ce239a9cdef3b33fb40e933',
1111
+ baseTokens: [
1112
+ {
1113
+ address: '0xabf26902fd7b624e0db40d31171ea9dddf078351',
1114
+ symbol: 'WAG',
1115
+ decimals: 18,
1116
+ chainId: _1.ChainId.VEL,
1117
+ },
1118
+ {
1119
+ symbol: 'WVLX',
1120
+ address: '0xc579d1f3cf86749e05cd06f7ade17856c2ce3126',
1121
+ decimals: 18,
1122
+ chainId: _1.ChainId.VEL,
1123
+ },
1124
+ {
1125
+ symbol: 'ASTRO',
1126
+ address: '0x72eb7ca07399ec402c5b7aa6a65752b6a1dc0c27',
1127
+ decimals: 18,
1128
+ chainId: _1.ChainId.VEL,
1129
+ },
1130
+ ],
1131
+ },
1035
1132
  ];
1036
1133
  /**
1037
1134
  * @deprecated
package/dist/coins.js CHANGED
@@ -76,6 +76,11 @@ const basicCoins = [
76
76
  symbol: 'AETH',
77
77
  name: 'AETH',
78
78
  },
79
+ // https://evmexplorer.velas.com/token/0x85219708c49aa701871Ad330A94EA0f41dFf24Ca
80
+ [ChainId.VEL]: {
81
+ address: '0x85219708c49aa701871ad330a94ea0f41dff24ca',
82
+ decimals: 18,
83
+ },
79
84
  // Testnets
80
85
  [ChainId.ROP]: {
81
86
  address: '0x0000000000000000000000000000000000000000',
@@ -141,6 +146,11 @@ const basicCoins = [
141
146
  decimals: 18,
142
147
  name: 'Matic Token on xDai',
143
148
  },
149
+ // https://evmexplorer.velas.com/token/0x6ab0B8C1a35F9F4Ce107cCBd05049CB1Dbd99Ec5/
150
+ [ChainId.VEL]: {
151
+ address: '0x6ab0b8c1a35f9f4ce107ccbd05049cb1dbd99ec5',
152
+ decimals: 18,
153
+ },
144
154
  // Testnet
145
155
  [ChainId.MUM]: {
146
156
  address: '0x0000000000000000000000000000000000000000',
@@ -182,6 +192,11 @@ const basicCoins = [
182
192
  address: '0xc9baa8cfdde8e328787e29b4b078abf2dadc2055',
183
193
  decimals: 18,
184
194
  },
195
+ // https://evmexplorer.velas.com/token/0x2B8e9cD44C9e09D936149549a8d207c918ecB5C4
196
+ [ChainId.VEL]: {
197
+ address: '0x2b8e9cd44c9e09d936149549a8d207c918ecb5c4',
198
+ decimals: 18,
199
+ },
185
200
  // Testnet
186
201
  [ChainId.BSCT]: {
187
202
  address: '0x0000000000000000000000000000000000000000',
@@ -287,6 +302,12 @@ const basicCoins = [
287
302
  symbol: 'DAI',
288
303
  name: 'Dai Stablecoin',
289
304
  },
305
+ // https://evmexplorer.velas.com/token/0xE3F5a90F9cb311505cd691a46596599aA1A0AD7D
306
+ [ChainId.VEL]: {
307
+ address: '0xe3f5a90f9cb311505cd691a46596599aa1a0ad7d',
308
+ decimals: 18,
309
+ name: 'Dai Stablecoin',
310
+ },
290
311
  // Testnets
291
312
  [ChainId.ROP]: {
292
313
  address: '0x31f42841c2db5173425b5223809cf3a38fede360',
@@ -502,6 +523,12 @@ const basicCoins = [
502
523
  address: '0x4988a896b1227218e4A686fdE5EabdcAbd91571f',
503
524
  decimals: 6,
504
525
  },
526
+ // https://evmexplorer.velas.com/token/0x01445C31581c354b7338AC35693AB2001B50b9aE
527
+ [ChainId.VEL]: {
528
+ address: '0x01445c31581c354b7338ac35693ab2001b50b9ae',
529
+ decimals: 6,
530
+ name: 'Multichain USDT',
531
+ },
505
532
  // Testnets
506
533
  [ChainId.ROP]: {
507
534
  address: '0x110a13fc3efe6a245b50102d2d79b3e76125ae83',
@@ -602,6 +629,12 @@ const basicCoins = [
602
629
  address: '0xB12BFcA5A55806AaF64E99521918A4bf0fC40802',
603
630
  decimals: 6,
604
631
  },
632
+ // https://evmexplorer.velas.com/token/0xe2C120f188eBd5389F71Cf4d9C16d05b62A58993
633
+ [ChainId.VEL]: {
634
+ address: '0xe2c120f188ebd5389f71cf4d9c16d05b62a58993',
635
+ decimals: 6,
636
+ name: 'Multichain USDC',
637
+ },
605
638
  // Testnets
606
639
  [ChainId.ROP]: {
607
640
  address: '0x07865c6e87b9f70255377e024ace6630c1eaa37f',
@@ -1067,6 +1100,19 @@ const basicCoins = [
1067
1100
  },
1068
1101
  },
1069
1102
  },
1103
+ // > VEL
1104
+ {
1105
+ key: CoinKey.VLX,
1106
+ name: 'Velas',
1107
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/tokens/vlx.png',
1108
+ verified: true,
1109
+ chains: {
1110
+ [ChainId.VEL]: {
1111
+ address: '0x0000000000000000000000000000000000000000',
1112
+ decimals: 18,
1113
+ },
1114
+ },
1115
+ },
1070
1116
  ];
1071
1117
  export const defaultCoins = basicCoins.map((coin) => {
1072
1118
  var _a, _b;
@@ -1278,6 +1324,15 @@ export const wrappedTokens = {
1278
1324
  name: 'AETH',
1279
1325
  logoURI: 'https://static.debank.com/image/aurora_token/logo_url/aurora/d61441782d4a08a7479d54aea211679e.png',
1280
1326
  },
1327
+ [ChainId.VEL]: {
1328
+ address: '0xc579d1f3cf86749e05cd06f7ade17856c2ce3126',
1329
+ symbol: 'WVLX',
1330
+ decimals: 18,
1331
+ chainId: ChainId.VEL,
1332
+ coinKey: 'WVLX',
1333
+ name: 'Wrapped VLX',
1334
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/tokens/vlx.png',
1335
+ },
1281
1336
  // Testnets
1282
1337
  [ChainId.ROP]: {
1283
1338
  // https://ropsten.etherscan.io/token/0xc778417e063141139fce010982780140aa0cd5ab
package/dist/exchanges.js CHANGED
@@ -278,6 +278,26 @@ export const supportedExchanges = [
278
278
  findDefaultToken(CoinKey.SUSHI, ChainId.DAI),
279
279
  ],
280
280
  },
281
+ {
282
+ key: 'swapr-dai',
283
+ name: 'Swapr',
284
+ chainId: ChainId.DAI,
285
+ webUrl: 'https://swapr.eth.limo/',
286
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/swapr.png',
287
+ tokenlistUrl: 'https://gist.githubusercontent.com/mathiasmoeller/03525afe098af3d45b9aff1f8a04acd9/raw/76d9b818659fe1fe90c8f0f0edc36f23160d4dc1/swapr-token-list.json',
288
+ routerAddress: '0xE43e60736b1cb4a75ad25240E2f9a62Bff65c0C0',
289
+ factoryAddress: '0x5D48C95AdfFD4B40c1AAADc4e08fc44117E02179',
290
+ initCodeHash: '0xd306a548755b9295ee49cc729e13ca4a45e00199bbd890fa146da43a50571776',
291
+ baseTokens: [
292
+ findWrappedGasOnChain(ChainId.DAI),
293
+ {
294
+ address: '0x532801ed6f82fffd2dab70a19fc2d7b2772c4f4b',
295
+ symbol: 'SWPR',
296
+ decimals: 18,
297
+ chainId: ChainId.DAI,
298
+ },
299
+ ],
300
+ },
281
301
  // 250 - Fantom
282
302
  {
283
303
  key: 'spookyswap-ftm',
@@ -334,6 +354,26 @@ export const supportedExchanges = [
334
354
  findDefaultToken(CoinKey.DAI, ChainId.FTM),
335
355
  ],
336
356
  },
357
+ {
358
+ key: 'soulswap-ftm',
359
+ name: 'SoulSwap',
360
+ chainId: ChainId.FTM,
361
+ webUrl: 'https://app.soulswap.finance/',
362
+ logoURI: 'https://raw.githubusercontent.com/soulswapfinance/assets/prod/blockchains/fantom/assets/0xe2fb177009FF39F52C0134E8007FA0e4BaAcBd07/logo.png',
363
+ tokenlistUrl: 'https://raw.githubusercontent.com/soulswapfinance/default-token-list/master/soulswap.tokenlist.json',
364
+ routerAddress: '0x6b3d631B87FE27aF29efeC61d2ab8CE4d621cCBF',
365
+ factoryAddress: '0x1120e150dA9def6Fe930f4fEDeD18ef57c0CA7eF',
366
+ initCodeHash: '0xf3dcc3c6c6e34d3981dd429ac942301b9ebdd05de1be17f646b55476c44dc951',
367
+ baseTokens: [
368
+ findWrappedGasOnChain(ChainId.FTM),
369
+ {
370
+ address: '0xe2fb177009FF39F52C0134E8007FA0e4BaAcBd07',
371
+ symbol: 'SOUL',
372
+ decimals: 18,
373
+ chainId: ChainId.FTM,
374
+ },
375
+ ],
376
+ },
337
377
  // 1666600000 - Harmony Mainnet Shard 0
338
378
  {
339
379
  key: 'viperswap-one',
@@ -618,6 +658,31 @@ export const supportedExchanges = [
618
658
  },
619
659
  ],
620
660
  },
661
+ {
662
+ key: 'okcswap-okt',
663
+ name: 'OKCSwap',
664
+ chainId: ChainId.OKT,
665
+ webUrl: 'https://www.okx.com/okc/swap',
666
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/okx.png',
667
+ tokenlistUrl: 'https://www.okx.com/okc/openapi/swap/tokens',
668
+ routerAddress: '0xc97b81B8a38b9146010Df85f1Ac714aFE1554343',
669
+ factoryAddress: '0x7b9F0a56cA7D20A44f603C03C6f45Db95b31e539',
670
+ initCodeHash: '0x00c49b7a1b728b8f0185f09df0b8487b8f4fd0fc3b133cb58039e67a16acb657',
671
+ baseTokens: [
672
+ {
673
+ address: '0x8f8526dbfd6e38e3d8307702ca8469bae6c56c15',
674
+ symbol: 'WOKT',
675
+ decimals: 18,
676
+ chainId: ChainId.OKT,
677
+ },
678
+ {
679
+ address: '0x382bB369d343125BfB2117af9c149795C6C65C50',
680
+ symbol: CoinKey.USDT,
681
+ decimals: 18,
682
+ chainId: ChainId.OKT,
683
+ },
684
+ ],
685
+ },
621
686
  // 25 - Cronos Mainnet Beta
622
687
  {
623
688
  key: 'cronaswap-cro',
@@ -1029,6 +1094,38 @@ export const supportedExchanges = [
1029
1094
  initCodeHash: '0xe18a34eb0e04b04f7a0ac29a6e80748dca96319b42c54d679cb821dca90c6303',
1030
1095
  baseTokens: [findWrappedGasOnChain(ChainId.ONET)],
1031
1096
  },
1097
+ // 106 Velas
1098
+ {
1099
+ key: 'wagyuswap-vel',
1100
+ name: 'Wagyuswap',
1101
+ chainId: ChainId.VEL,
1102
+ webUrl: 'https://exchange.wagyuswap.app',
1103
+ tokenlistUrl: 'https://github.com/wagyuswapapp/wagyu-frontend/blob/wagyu/src/config/constants/tokenLists/pancake-default.tokenlist.json',
1104
+ logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/wagyu.png',
1105
+ routerAddress: '0x3D1c58B6d4501E34DF37Cf0f664A58059a188F00',
1106
+ factoryAddress: '0x69f3212344A38b35844cCe4864C2af9c717F35e3',
1107
+ initCodeHash: '0x3f7eace9f1c10ecce400030e19a86fd03c98c3770ce239a9cdef3b33fb40e933',
1108
+ baseTokens: [
1109
+ {
1110
+ address: '0xabf26902fd7b624e0db40d31171ea9dddf078351',
1111
+ symbol: 'WAG',
1112
+ decimals: 18,
1113
+ chainId: ChainId.VEL,
1114
+ },
1115
+ {
1116
+ symbol: 'WVLX',
1117
+ address: '0xc579d1f3cf86749e05cd06f7ade17856c2ce3126',
1118
+ decimals: 18,
1119
+ chainId: ChainId.VEL,
1120
+ },
1121
+ {
1122
+ symbol: 'ASTRO',
1123
+ address: '0x72eb7ca07399ec402c5b7aa6a65752b6a1dc0c27',
1124
+ decimals: 18,
1125
+ chainId: ChainId.VEL,
1126
+ },
1127
+ ],
1128
+ },
1032
1129
  ];
1033
1130
  /**
1034
1131
  * @deprecated
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/types",
3
- "version": "1.6.0",
3
+ "version": "1.8.0",
4
4
  "description": "Types for the LI.FI stack",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/index.js",