@lifi/types 1.14.0 → 1.15.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 +14 -0
- package/dist/api.d.ts +2 -2
- package/dist/cjs/api.d.ts +2 -2
- package/dist/cjs/exchanges.js +16 -0
- package/dist/exchanges.js +16 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,20 @@
|
|
|
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.15.0](https://github.com/lifinance/types/compare/v1.14.1...v1.15.0) (2022-11-09)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add Pangolin DEX on AVA ([#110](https://github.com/lifinance/types/issues/110)) ([6f85bf1](https://github.com/lifinance/types/commit/6f85bf19f7be34e9866840134d0bb18a11cef1ec))
|
|
11
|
+
|
|
12
|
+
### [1.14.1](https://github.com/lifinance/types/compare/v1.14.0...v1.14.1) (2022-11-09)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* revert changes in /routes ([#109](https://github.com/lifinance/types/issues/109)) ([5fd4234](https://github.com/lifinance/types/commit/5fd4234ccab68ad8558180a3923d6e363eb5ce1d))
|
|
18
|
+
|
|
5
19
|
## [1.14.0](https://github.com/lifinance/types/compare/v1.13.0...v1.14.0) (2022-11-09)
|
|
6
20
|
|
|
7
21
|
|
package/dist/api.d.ts
CHANGED
|
@@ -6,10 +6,10 @@ export declare type Order = typeof Orders[number];
|
|
|
6
6
|
export interface RoutesRequest {
|
|
7
7
|
fromChainId: number;
|
|
8
8
|
fromAmount: string;
|
|
9
|
-
|
|
9
|
+
fromTokenAddress: string;
|
|
10
10
|
fromAddress?: string;
|
|
11
11
|
toChainId: number;
|
|
12
|
-
|
|
12
|
+
toTokenAddress: string;
|
|
13
13
|
toAddress?: string;
|
|
14
14
|
options?: RouteOptions;
|
|
15
15
|
}
|
package/dist/cjs/api.d.ts
CHANGED
|
@@ -6,10 +6,10 @@ export declare type Order = typeof Orders[number];
|
|
|
6
6
|
export interface RoutesRequest {
|
|
7
7
|
fromChainId: number;
|
|
8
8
|
fromAmount: string;
|
|
9
|
-
|
|
9
|
+
fromTokenAddress: string;
|
|
10
10
|
fromAddress?: string;
|
|
11
11
|
toChainId: number;
|
|
12
|
-
|
|
12
|
+
toTokenAddress: string;
|
|
13
13
|
toAddress?: string;
|
|
14
14
|
options?: RouteOptions;
|
|
15
15
|
}
|
package/dist/cjs/exchanges.js
CHANGED
|
@@ -464,6 +464,22 @@ exports.supportedExchanges = [
|
|
|
464
464
|
(0, _1.findDefaultToken)(_1.CoinKey.SUSHI, _1.ChainId.AVA),
|
|
465
465
|
],
|
|
466
466
|
},
|
|
467
|
+
{
|
|
468
|
+
key: 'pangolin-ava',
|
|
469
|
+
name: 'Pangolin',
|
|
470
|
+
chainId: _1.ChainId.AVA,
|
|
471
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/pangolin.png',
|
|
472
|
+
webUrl: 'https://pangolin.exchange/',
|
|
473
|
+
tokenlistUrl: 'https://raw.githubusercontent.com/pangolindex/tokenlists/main/pangolin.tokenlist.json',
|
|
474
|
+
routerAddress: '0xE54Ca86531e17Ef3616d22Ca28b0D458b6C89106',
|
|
475
|
+
factoryAddress: '0xefa94DE7a4656D787667C749f7E1223D71E9FD88',
|
|
476
|
+
initCodeHash: '0x40231f6b438bce0797c9ada29b718a87ea0a5cea3fe9a771abdd76bd41a3e545',
|
|
477
|
+
baseTokens: [
|
|
478
|
+
(0, _1.findWrappedGasOnChain)(_1.ChainId.AVA),
|
|
479
|
+
(0, _1.findDefaultToken)(_1.CoinKey.USDC, _1.ChainId.AVA),
|
|
480
|
+
(0, _1.findDefaultToken)(_1.CoinKey.USDT, _1.ChainId.AVA),
|
|
481
|
+
],
|
|
482
|
+
},
|
|
467
483
|
// 42161 - Arbitrum
|
|
468
484
|
{
|
|
469
485
|
key: 'sushiswap-arb',
|
package/dist/exchanges.js
CHANGED
|
@@ -461,6 +461,22 @@ export const supportedExchanges = [
|
|
|
461
461
|
findDefaultToken(CoinKey.SUSHI, ChainId.AVA),
|
|
462
462
|
],
|
|
463
463
|
},
|
|
464
|
+
{
|
|
465
|
+
key: 'pangolin-ava',
|
|
466
|
+
name: 'Pangolin',
|
|
467
|
+
chainId: ChainId.AVA,
|
|
468
|
+
logoURI: 'https://raw.githubusercontent.com/lifinance/types/main/src/assets/icons/exchanges/pangolin.png',
|
|
469
|
+
webUrl: 'https://pangolin.exchange/',
|
|
470
|
+
tokenlistUrl: 'https://raw.githubusercontent.com/pangolindex/tokenlists/main/pangolin.tokenlist.json',
|
|
471
|
+
routerAddress: '0xE54Ca86531e17Ef3616d22Ca28b0D458b6C89106',
|
|
472
|
+
factoryAddress: '0xefa94DE7a4656D787667C749f7E1223D71E9FD88',
|
|
473
|
+
initCodeHash: '0x40231f6b438bce0797c9ada29b718a87ea0a5cea3fe9a771abdd76bd41a3e545',
|
|
474
|
+
baseTokens: [
|
|
475
|
+
findWrappedGasOnChain(ChainId.AVA),
|
|
476
|
+
findDefaultToken(CoinKey.USDC, ChainId.AVA),
|
|
477
|
+
findDefaultToken(CoinKey.USDT, ChainId.AVA),
|
|
478
|
+
],
|
|
479
|
+
},
|
|
464
480
|
// 42161 - Arbitrum
|
|
465
481
|
{
|
|
466
482
|
key: 'sushiswap-arb',
|