@paraswap/dex-lib 2.42.27 → 2.42.28

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.
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.CamelotV3 = void 0;
7
+ const lodash_1 = __importDefault(require("lodash"));
8
+ const config_1 = require("./config");
9
+ const quickswap_v3_1 = require("./quickswap-v3");
10
+ const config = lodash_1.default.pick(config_1.QuickSwapConfig, ['CamelotV3']).CamelotV3;
11
+ class CamelotV3 extends quickswap_v3_1.QuickSwapV3 {
12
+ // public static dexKeysWithNetwork
13
+ constructor(dexHelper) {
14
+ super(dexHelper, 'camelotv3', config[dexHelper.config.data.network].router);
15
+ }
16
+ }
17
+ exports.CamelotV3 = CamelotV3;
18
+ CamelotV3.dexKeys = ['camelotv3'];
19
+ //# sourceMappingURL=camelot-v3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"camelot-v3.js","sourceRoot":"","sources":["../../../src/dex/quickswap/camelot-v3.ts"],"names":[],"mappings":";;;;;;AACA,oDAAuB;AACvB,qCAA2C;AAC3C,iDAA6C;AAE7C,MAAM,MAAM,GAAG,gBAAC,CAAC,IAAI,CAAC,wBAAe,EAAE,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;AAEhE,MAAa,SAAU,SAAQ,0BAAW;IAGxC,mCAAmC;IACnC,YAAY,SAAqB;QAC/B,KAAK,CAAC,SAAS,EAAE,WAAW,EAAE,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,CAAC,CAAC;IAC9E,CAAC;;AANH,8BAOC;AANQ,iBAAO,GAAG,CAAC,WAAW,CAAC,CAAC"}
@@ -0,0 +1,6 @@
1
+ import { IDexHelper } from '../../dex-helper';
2
+ import { QuickSwapV3 } from './quickswap-v3';
3
+ export declare class ZyberSwapV3 extends QuickSwapV3 {
4
+ static dexKeys: string[];
5
+ constructor(dexHelper: IDexHelper);
6
+ }
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.ZyberSwapV3 = void 0;
7
+ const lodash_1 = __importDefault(require("lodash"));
8
+ const config_1 = require("./config");
9
+ const quickswap_v3_1 = require("./quickswap-v3");
10
+ const config = lodash_1.default.pick(config_1.QuickSwapConfig, ['ZyberSwapV3']).ZyberSwapV3;
11
+ class ZyberSwapV3 extends quickswap_v3_1.QuickSwapV3 {
12
+ // public static dexKeysWithNetwork
13
+ constructor(dexHelper) {
14
+ super(dexHelper, 'zyberswapv3', config[dexHelper.config.data.network].router);
15
+ }
16
+ }
17
+ exports.ZyberSwapV3 = ZyberSwapV3;
18
+ ZyberSwapV3.dexKeys = ['zyberswapv3'];
19
+ //# sourceMappingURL=zyberswap-v3.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"zyberswap-v3.js","sourceRoot":"","sources":["../../../src/dex/quickswap/zyberswap-v3.ts"],"names":[],"mappings":";;;;;;AACA,oDAAuB;AACvB,qCAA2C;AAC3C,iDAA6C;AAE7C,MAAM,MAAM,GAAG,gBAAC,CAAC,IAAI,CAAC,wBAAe,EAAE,CAAC,aAAa,CAAC,CAAC,CAAC,WAAW,CAAC;AAEpE,MAAa,WAAY,SAAQ,0BAAW;IAG1C,mCAAmC;IACnC,YAAY,SAAqB;QAC/B,KAAK,CACH,SAAS,EACT,aAAa,EACb,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC,MAAM,CAC7C,CAAC;IACJ,CAAC;;AAVH,kCAWC;AAVQ,mBAAO,GAAG,CAAC,aAAa,CAAC,CAAC"}
@@ -0,0 +1,7 @@
1
+ [
2
+ {
3
+ "symbol": "AMPL",
4
+ "chainId": 43114,
5
+ "address": "0x027dbca046ca156de9622cd1e2d907d375e53aa7"
6
+ }
7
+ ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paraswap/dex-lib",
3
- "version": "2.42.27",
3
+ "version": "2.42.28",
4
4
  "main": "build/index.js",
5
5
  "types": "build/index.d.ts",
6
6
  "repository": "https://github.com/paraswap/paraswap-dex-lib",
package/src/dex/index.ts CHANGED
@@ -38,7 +38,7 @@ import { Excalibur } from './uniswap-v2/excalibur';
38
38
  import { MakerPsm } from './maker-psm/maker-psm';
39
39
  import { KyberDmm } from './kyberdmm/kyberdmm';
40
40
  import { Platypus } from './platypus/platypus';
41
- import { Wombat } from './wombat/wombat';
41
+ //import { Wombat } from './wombat/wombat';
42
42
  import { GMX } from './gmx/gmx';
43
43
  import { WooFiV2 } from './woo-fi-v2/woo-fi-v2';
44
44
  import { ParaSwapLimitOrders } from './paraswap-limit-orders/paraswap-limit-orders';
@@ -160,7 +160,7 @@ const Dexes = [
160
160
  QuickPerps,
161
161
  NomiswapV2,
162
162
  Smardex,
163
- Wombat,
163
+ //Wombat,
164
164
  ];
165
165
 
166
166
  export type LegacyDexConstructor = new (dexHelper: IDexHelper) => IDexTxBuilder<