@paraswap/dex-lib 3.8.7-balancer-v2-rehype-pools.1 → 3.8.7
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const MIN_USD_LIQUIDITY_TO_FETCH = 100n;
|
|
2
|
-
export declare const MIN_SHARES_TO_FETCH_FOR_GYRO_POOLS =
|
|
2
|
+
export declare const MIN_SHARES_TO_FETCH_FOR_GYRO_POOLS = 1n;
|
|
3
3
|
export declare const STABLE_GAS_COST = 84000;
|
|
4
4
|
export declare const VARIABLE_GAS_COST_PER_CYCLE = 63000;
|
|
5
5
|
export declare enum DirectMethods {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DirectMethodsV6 = exports.DirectMethods = exports.VARIABLE_GAS_COST_PER_CYCLE = exports.STABLE_GAS_COST = exports.MIN_SHARES_TO_FETCH_FOR_GYRO_POOLS = exports.MIN_USD_LIQUIDITY_TO_FETCH = void 0;
|
|
4
4
|
exports.MIN_USD_LIQUIDITY_TO_FETCH = 100n;
|
|
5
|
-
exports.MIN_SHARES_TO_FETCH_FOR_GYRO_POOLS =
|
|
5
|
+
exports.MIN_SHARES_TO_FETCH_FOR_GYRO_POOLS = 1n;
|
|
6
6
|
// Let's take this trade as an example:
|
|
7
7
|
// https://dashboard.tenderly.co/paraswap/paraswap/fork/e4c81946-fd6e-4299-b35c-c47b775e3c05/simulation/8839462c-6239-4ae1-9ed0-8013f89b41de/gas-usage
|
|
8
8
|
// 271719 - 57856 - 79098 - 51041 = 83724 ~ 84k
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/dex/balancer-v2/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAElC,QAAA,kCAAkC,GAAG,
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../src/dex/balancer-v2/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAElC,QAAA,kCAAkC,GAAG,EAAE,CAAC;AAErD,uCAAuC;AACvC,sJAAsJ;AAEtJ,+CAA+C;AAClC,QAAA,eAAe,GAAG,KAAM,CAAC;AAEtC,6EAA6E;AAChE,QAAA,2BAA2B,GAAG,KAAM,CAAC;AAElD,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,2DAA0C,CAAA;IAC1C,2DAA0C,CAAA;AAC5C,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB;AAED,IAAY,eAGX;AAHD,WAAY,eAAe;IACzB,+DAA4C,CAAA;IAC5C,+DAA4C,CAAA;AAC9C,CAAC,EAHW,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAG1B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export const MIN_USD_LIQUIDITY_TO_FETCH = 100n;
|
|
2
2
|
|
|
3
|
-
export const MIN_SHARES_TO_FETCH_FOR_GYRO_POOLS =
|
|
3
|
+
export const MIN_SHARES_TO_FETCH_FOR_GYRO_POOLS = 1n;
|
|
4
4
|
|
|
5
5
|
// Let's take this trade as an example:
|
|
6
6
|
// https://dashboard.tenderly.co/paraswap/paraswap/fork/e4c81946-fd6e-4299-b35c-c47b775e3c05/simulation/8839462c-6239-4ae1-9ed0-8013f89b41de/gas-usage
|