@paraswap/dex-lib 2.47.8-remove-univ3-poolconfigs.2 → 2.48.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/build/dex/algebra/algebra-factory.d.ts +0 -1
- package/build/dex/algebra/algebra-factory.js +1 -4
- package/build/dex/algebra/algebra-factory.js.map +1 -1
- package/build/dex/pancakeswap-v3/pancakeswap-v3-factory.d.ts +0 -1
- package/build/dex/pancakeswap-v3/pancakeswap-v3-factory.js +1 -4
- package/build/dex/pancakeswap-v3/pancakeswap-v3-factory.js.map +1 -1
- package/build/dex/solidly-v3/solidly-v3-factory.d.ts +0 -1
- package/build/dex/solidly-v3/solidly-v3-factory.js +1 -4
- package/build/dex/solidly-v3/solidly-v3-factory.js.map +1 -1
- package/build/dex/uniswap-v3/uniswap-v3-factory.d.ts +0 -1
- package/build/dex/uniswap-v3/uniswap-v3-factory.js +1 -4
- package/build/dex/uniswap-v3/uniswap-v3-factory.js.map +1 -1
- package/package.json +1 -1
- package/src/dex/algebra/algebra-factory.ts +8 -5
- package/src/dex/pancakeswap-v3/pancakeswap-v3-factory.ts +8 -5
- package/src/dex/solidly-v3/solidly-v3-factory.ts +8 -5
- package/src/dex/uniswap-v3/uniswap-v3-factory.ts +8 -5
|
@@ -19,7 +19,6 @@ export declare class AlgebraFactory extends StatefulEventSubscriber<FactoryState
|
|
|
19
19
|
logDecoder: (log: Log) => any;
|
|
20
20
|
readonly factoryIface: Interface;
|
|
21
21
|
constructor(dexHelper: IDexHelper, parentName: string, factoryAddress: Address, logger: Logger, onPoolCreated: OnPoolCreatedCallback, mapKey?: string);
|
|
22
|
-
protected getPoolIdentifierData(): {};
|
|
23
22
|
generateState(): FactoryState;
|
|
24
23
|
protected processLog(_: DeepReadonly<FactoryState>, log: Readonly<Log>): Promise<FactoryState>;
|
|
25
24
|
handleNewPool(event: LogDescription): Promise<void>;
|
|
@@ -13,7 +13,7 @@ const stateful_event_subscriber_1 = require("../../stateful-event-subscriber");
|
|
|
13
13
|
*/
|
|
14
14
|
class AlgebraFactory extends stateful_event_subscriber_1.StatefulEventSubscriber {
|
|
15
15
|
constructor(dexHelper, parentName, factoryAddress, logger, onPoolCreated, mapKey = '') {
|
|
16
|
-
super(parentName, `${parentName} Factory`, dexHelper, logger,
|
|
16
|
+
super(parentName, `${parentName} Factory`, dexHelper, logger, false, mapKey);
|
|
17
17
|
this.dexHelper = dexHelper;
|
|
18
18
|
this.factoryAddress = factoryAddress;
|
|
19
19
|
this.onPoolCreated = onPoolCreated;
|
|
@@ -23,9 +23,6 @@ class AlgebraFactory extends stateful_event_subscriber_1.StatefulEventSubscriber
|
|
|
23
23
|
this.logDecoder = (log) => this.factoryIface.parseLog(log);
|
|
24
24
|
this.handlers['Pool'] = this.handleNewPool.bind(this);
|
|
25
25
|
}
|
|
26
|
-
getPoolIdentifierData() {
|
|
27
|
-
return {};
|
|
28
|
-
}
|
|
29
26
|
generateState() {
|
|
30
27
|
return {};
|
|
31
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"algebra-factory.js","sourceRoot":"","sources":["../../../src/dex/algebra/algebra-factory.ts"],"names":[],"mappings":";;;;;;AAAA,4CAA+C;AAE/C,kHAAwE;AAExE,+EAA0E;AAa1E;;;GAGG;AACH,MAAa,cAAe,SAAQ,mDAAqC;IASvE,YACW,SAAqB,EAC9B,UAAkB,EACC,cAAuB,EAC1C,MAAc,EACK,aAAoC,EACvD,SAAiB,EAAE;QAEnB,KAAK,
|
|
1
|
+
{"version":3,"file":"algebra-factory.js","sourceRoot":"","sources":["../../../src/dex/algebra/algebra-factory.ts"],"names":[],"mappings":";;;;;;AAAA,4CAA+C;AAE/C,kHAAwE;AAExE,+EAA0E;AAa1E;;;GAGG;AACH,MAAa,cAAe,SAAQ,mDAAqC;IASvE,YACW,SAAqB,EAC9B,UAAkB,EACC,cAAuB,EAC1C,MAAc,EACK,aAAoC,EACvD,SAAiB,EAAE;QAEnB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"}
|
|
@@ -21,7 +21,6 @@ export declare class PancakeswapV3Factory extends StatefulEventSubscriber<Factor
|
|
|
21
21
|
readonly factoryIface: Interface;
|
|
22
22
|
constructor(dexHelper: IDexHelper, parentName: string, factoryAddress: Address, logger: Logger, onPoolCreated: OnPoolCreatedCallback, mapKey?: string);
|
|
23
23
|
generateState(): FactoryState;
|
|
24
|
-
protected getPoolIdentifierData(): {};
|
|
25
24
|
protected processLog(_: DeepReadonly<FactoryState>, log: Readonly<Log>): Promise<FactoryState>;
|
|
26
25
|
handleNewPool(event: LogDescription): Promise<void>;
|
|
27
26
|
}
|
|
@@ -13,7 +13,7 @@ const stateful_event_subscriber_1 = require("../../stateful-event-subscriber");
|
|
|
13
13
|
*/
|
|
14
14
|
class PancakeswapV3Factory extends stateful_event_subscriber_1.StatefulEventSubscriber {
|
|
15
15
|
constructor(dexHelper, parentName, factoryAddress, logger, onPoolCreated, mapKey = '') {
|
|
16
|
-
super(parentName, `${parentName} Factory`, dexHelper, logger,
|
|
16
|
+
super(parentName, `${parentName} Factory`, dexHelper, logger, false, mapKey);
|
|
17
17
|
this.dexHelper = dexHelper;
|
|
18
18
|
this.factoryAddress = factoryAddress;
|
|
19
19
|
this.onPoolCreated = onPoolCreated;
|
|
@@ -26,9 +26,6 @@ class PancakeswapV3Factory extends stateful_event_subscriber_1.StatefulEventSubs
|
|
|
26
26
|
generateState() {
|
|
27
27
|
return {};
|
|
28
28
|
}
|
|
29
|
-
getPoolIdentifierData() {
|
|
30
|
-
return {};
|
|
31
|
-
}
|
|
32
29
|
async processLog(_, log) {
|
|
33
30
|
const event = this.logDecoder(log);
|
|
34
31
|
if (event.name in this.handlers) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pancakeswap-v3-factory.js","sourceRoot":"","sources":["../../../src/dex/pancakeswap-v3/pancakeswap-v3-factory.ts"],"names":[],"mappings":";;;;;;AAAA,4CAA+C;AAE/C,2HAAgF;AAEhF,+EAA0E;AAe1E;;;G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AAI,CAAC,QAAQ,EAAE;YAC/B,MAAM,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC;SACxC;QAED,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,KAAK,CAAC,aAAa,CAAC,KAAqB;QACvC,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;QAC/C,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;QAC/C,MAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;QAE3B,MAAM,IAAI,CAAC,aAAa,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC;IACpD,CAAC;CACF;AAxDD,oDAwDC"}
|
|
@@ -20,7 +20,6 @@ export declare class SolidlyV3Factory extends StatefulEventSubscriber<FactorySta
|
|
|
20
20
|
logDecoder: (log: Log) => any;
|
|
21
21
|
readonly factoryIface: Interface;
|
|
22
22
|
constructor(dexHelper: IDexHelper, parentName: string, factoryAddress: Address, logger: Logger, onPoolCreated: OnPoolCreatedCallback, mapKey?: string);
|
|
23
|
-
protected getPoolIdentifierData(): {};
|
|
24
23
|
generateState(): FactoryState;
|
|
25
24
|
protected processLog(_: DeepReadonly<FactoryState>, log: Readonly<Log>): Promise<FactoryState>;
|
|
26
25
|
handleNewPool(event: LogDescription): Promise<void>;
|
|
@@ -13,7 +13,7 @@ const stateful_event_subscriber_1 = require("../../stateful-event-subscriber");
|
|
|
13
13
|
*/
|
|
14
14
|
class SolidlyV3Factory extends stateful_event_subscriber_1.StatefulEventSubscriber {
|
|
15
15
|
constructor(dexHelper, parentName, factoryAddress, logger, onPoolCreated, mapKey = '') {
|
|
16
|
-
super(parentName, `${parentName} Factory`, dexHelper, logger,
|
|
16
|
+
super(parentName, `${parentName} Factory`, dexHelper, logger, false, mapKey);
|
|
17
17
|
this.dexHelper = dexHelper;
|
|
18
18
|
this.factoryAddress = factoryAddress;
|
|
19
19
|
this.onPoolCreated = onPoolCreated;
|
|
@@ -23,9 +23,6 @@ class SolidlyV3Factory extends stateful_event_subscriber_1.StatefulEventSubscrib
|
|
|
23
23
|
this.logDecoder = (log) => this.factoryIface.parseLog(log);
|
|
24
24
|
this.handlers['PoolCreated'] = this.handleNewPool.bind(this);
|
|
25
25
|
}
|
|
26
|
-
getPoolIdentifierData() {
|
|
27
|
-
return {};
|
|
28
|
-
}
|
|
29
26
|
generateState() {
|
|
30
27
|
return {};
|
|
31
28
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solidly-v3-factory.js","sourceRoot":"","sources":["../../../src/dex/solidly-v3/solidly-v3-factory.ts"],"names":[],"mappings":";;;;;;AAAA,4CAA+C;AAE/C,+GAAwE;AAExE,+EAA0E;AAe1E;;;GAGG;AACH,MAAa,gBAAiB,SAAQ,mDAAqC;IASzE,YACW,SAAqB,EAC9B,UAAkB,EACC,cAAuB,EAC1C,MAAc,EACK,aAAoC,EACvD,SAAiB,EAAE;QAEnB,KAAK,
|
|
1
|
+
{"version":3,"file":"solidly-v3-factory.js","sourceRoot":"","sources":["../../../src/dex/solidly-v3/solidly-v3-factory.ts"],"names":[],"mappings":";;;;;;AAAA,4CAA+C;AAE/C,+GAAwE;AAExE,+EAA0E;AAe1E;;;GAGG;AACH,MAAa,gBAAiB,SAAQ,mDAAqC;IASzE,YACW,SAAqB,EAC9B,UAAkB,EACC,cAAuB,EAC1C,MAAc,EACK,aAAoC,EACvD,SAAiB,EAAE;QAEnB,KAAK,CACH,UAAU,EACV,GAAG,UAAU,UAAU,EACvB,SAAS,EACT,MAAM,EACN,KAAK,EACL,MAAM,CACP,CAAC;QAdO,cAAS,GAAT,SAAS,CAAY;QAEX,mBAAc,GAAd,cAAc,CAAS;QAEvB,kBAAa,GAAb,aAAa,CAAuB;QAbzD,aAAQ,GAEJ,EAAE,CAAC;QAIS,iBAAY,GAAG,IAAI,eAAS,CAAC,mCAAU,CAAC,CAAC;QAmBvD,IAAI,CAAC,mBAAmB,GAAG,CAAC,cAAc,CAAC,CAAC;QAE5C,IAAI,CAAC,UAAU,GAAG,CAAC,GAAQ,EAAE,EAAE,CAAC,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;QAEhE,IAAI,CAAC,QAAQ,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/D,CAAC;IAED,aAAa;QACX,OAAO,EAAE,CAAC;IACZ,CAAC;IAES,KAAK,CAAC,UAAU,CACxB,CAA6B,EAC7B,GAAkB;QAElB,MAAM,KAAK,GAAG,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC;QACnC,IAAI,KAAK,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,EAAE;YAC/B,MAAM,IAAI,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC;SACxC;QAED,OAAO,EAAE,CAAC;IACZ,CAAC;IAED,KAAK,CAAC,aAAa,CAAC,KAAqB;QACvC,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;QAC/C,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;QAC/C,MAAM,WAAW,GAAG,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAEnD,MAAM,IAAI,CAAC,aAAa,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC;IAC5D,CAAC;CACF;AAxDD,4CAwDC"}
|
|
@@ -21,7 +21,6 @@ export declare class UniswapV3Factory extends StatefulEventSubscriber<FactorySta
|
|
|
21
21
|
readonly factoryIface: Interface;
|
|
22
22
|
constructor(dexHelper: IDexHelper, parentName: string, factoryAddress: Address, logger: Logger, onPoolCreated: OnPoolCreatedCallback, mapKey?: string);
|
|
23
23
|
generateState(): FactoryState;
|
|
24
|
-
protected getPoolIdentifierData(): {};
|
|
25
24
|
protected processLog(_: DeepReadonly<FactoryState>, log: Readonly<Log>): Promise<FactoryState>;
|
|
26
25
|
handleNewPool(event: LogDescription): Promise<void>;
|
|
27
26
|
}
|
|
@@ -13,7 +13,7 @@ const stateful_event_subscriber_1 = require("../../stateful-event-subscriber");
|
|
|
13
13
|
*/
|
|
14
14
|
class UniswapV3Factory extends stateful_event_subscriber_1.StatefulEventSubscriber {
|
|
15
15
|
constructor(dexHelper, parentName, factoryAddress, logger, onPoolCreated, mapKey = '') {
|
|
16
|
-
super(parentName, `${parentName} Factory`, dexHelper, logger,
|
|
16
|
+
super(parentName, `${parentName} Factory`, dexHelper, logger, false, mapKey);
|
|
17
17
|
this.dexHelper = dexHelper;
|
|
18
18
|
this.factoryAddress = factoryAddress;
|
|
19
19
|
this.onPoolCreated = onPoolCreated;
|
|
@@ -26,9 +26,6 @@ class UniswapV3Factory extends stateful_event_subscriber_1.StatefulEventSubscrib
|
|
|
26
26
|
generateState() {
|
|
27
27
|
return {};
|
|
28
28
|
}
|
|
29
|
-
getPoolIdentifierData() {
|
|
30
|
-
return {};
|
|
31
|
-
}
|
|
32
29
|
async processLog(_, log) {
|
|
33
30
|
const event = this.logDecoder(log);
|
|
34
31
|
if (event.name in this.handlers) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"uniswap-v3-factory.js","sourceRoot":"","sources":["../../../src/dex/uniswap-v3/uniswap-v3-factory.ts"],"names":[],"mappings":";;;;;;AAAA,4CAA+C;AAE/C,+GAAwE;AAExE,+EAA0E;AAe1E;;;GAGG;AACH,MAAa,gBAAiB,SAAQ,mDAAqC;IASzE,YACW,SAAqB,EAC9B,UAAkB,EACC,cAAuB,EAC1C,MAAc,EACK,aAAoC,EACvD,SAAiB,EAAE;QAEnB,KAAK,
|
|
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AK,CAAC,aAAa,CAAC,KAAqB;QACvC,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;QAC/C,MAAM,MAAM,GAAG,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,WAAW,EAAE,CAAC;QAC/C,MAAM,GAAG,GAAG,KAAK,CAAC,IAAI,CAAC,GAAG,CAAC;QAE3B,MAAM,IAAI,CAAC,aAAa,CAAC,EAAE,MAAM,EAAE,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC;IACpD,CAAC;CACF;AAxDD,4CAwDC"}
|
package/package.json
CHANGED
|
@@ -36,7 +36,14 @@ export class AlgebraFactory extends StatefulEventSubscriber<FactoryState> {
|
|
|
36
36
|
protected readonly onPoolCreated: OnPoolCreatedCallback,
|
|
37
37
|
mapKey: string = '',
|
|
38
38
|
) {
|
|
39
|
-
super(
|
|
39
|
+
super(
|
|
40
|
+
parentName,
|
|
41
|
+
`${parentName} Factory`,
|
|
42
|
+
dexHelper,
|
|
43
|
+
logger,
|
|
44
|
+
false,
|
|
45
|
+
mapKey,
|
|
46
|
+
);
|
|
40
47
|
|
|
41
48
|
this.addressesSubscribed = [factoryAddress];
|
|
42
49
|
|
|
@@ -45,10 +52,6 @@ export class AlgebraFactory extends StatefulEventSubscriber<FactoryState> {
|
|
|
45
52
|
this.handlers['Pool'] = this.handleNewPool.bind(this);
|
|
46
53
|
}
|
|
47
54
|
|
|
48
|
-
protected getPoolIdentifierData() {
|
|
49
|
-
return {};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
55
|
generateState(): FactoryState {
|
|
53
56
|
return {};
|
|
54
57
|
}
|
|
@@ -38,7 +38,14 @@ export class PancakeswapV3Factory extends StatefulEventSubscriber<FactoryState>
|
|
|
38
38
|
protected readonly onPoolCreated: OnPoolCreatedCallback,
|
|
39
39
|
mapKey: string = '',
|
|
40
40
|
) {
|
|
41
|
-
super(
|
|
41
|
+
super(
|
|
42
|
+
parentName,
|
|
43
|
+
`${parentName} Factory`,
|
|
44
|
+
dexHelper,
|
|
45
|
+
logger,
|
|
46
|
+
false,
|
|
47
|
+
mapKey,
|
|
48
|
+
);
|
|
42
49
|
|
|
43
50
|
this.addressesSubscribed = [factoryAddress];
|
|
44
51
|
|
|
@@ -51,10 +58,6 @@ export class PancakeswapV3Factory extends StatefulEventSubscriber<FactoryState>
|
|
|
51
58
|
return {};
|
|
52
59
|
}
|
|
53
60
|
|
|
54
|
-
protected getPoolIdentifierData() {
|
|
55
|
-
return {};
|
|
56
|
-
}
|
|
57
|
-
|
|
58
61
|
protected async processLog(
|
|
59
62
|
_: DeepReadonly<FactoryState>,
|
|
60
63
|
log: Readonly<Log>,
|
|
@@ -38,7 +38,14 @@ export class SolidlyV3Factory extends StatefulEventSubscriber<FactoryState> {
|
|
|
38
38
|
protected readonly onPoolCreated: OnPoolCreatedCallback,
|
|
39
39
|
mapKey: string = '',
|
|
40
40
|
) {
|
|
41
|
-
super(
|
|
41
|
+
super(
|
|
42
|
+
parentName,
|
|
43
|
+
`${parentName} Factory`,
|
|
44
|
+
dexHelper,
|
|
45
|
+
logger,
|
|
46
|
+
false,
|
|
47
|
+
mapKey,
|
|
48
|
+
);
|
|
42
49
|
|
|
43
50
|
this.addressesSubscribed = [factoryAddress];
|
|
44
51
|
|
|
@@ -47,10 +54,6 @@ export class SolidlyV3Factory extends StatefulEventSubscriber<FactoryState> {
|
|
|
47
54
|
this.handlers['PoolCreated'] = this.handleNewPool.bind(this);
|
|
48
55
|
}
|
|
49
56
|
|
|
50
|
-
protected getPoolIdentifierData() {
|
|
51
|
-
return {};
|
|
52
|
-
}
|
|
53
|
-
|
|
54
57
|
generateState(): FactoryState {
|
|
55
58
|
return {};
|
|
56
59
|
}
|
|
@@ -38,7 +38,14 @@ export class UniswapV3Factory extends StatefulEventSubscriber<FactoryState> {
|
|
|
38
38
|
protected readonly onPoolCreated: OnPoolCreatedCallback,
|
|
39
39
|
mapKey: string = '',
|
|
40
40
|
) {
|
|
41
|
-
super(
|
|
41
|
+
super(
|
|
42
|
+
parentName,
|
|
43
|
+
`${parentName} Factory`,
|
|
44
|
+
dexHelper,
|
|
45
|
+
logger,
|
|
46
|
+
false,
|
|
47
|
+
mapKey,
|
|
48
|
+
);
|
|
42
49
|
|
|
43
50
|
this.addressesSubscribed = [factoryAddress];
|
|
44
51
|
|
|
@@ -51,10 +58,6 @@ export class UniswapV3Factory extends StatefulEventSubscriber<FactoryState> {
|
|
|
51
58
|
return {};
|
|
52
59
|
}
|
|
53
60
|
|
|
54
|
-
protected getPoolIdentifierData() {
|
|
55
|
-
return {};
|
|
56
|
-
}
|
|
57
|
-
|
|
58
61
|
protected async processLog(
|
|
59
62
|
_: DeepReadonly<FactoryState>,
|
|
60
63
|
log: Readonly<Log>,
|