@gearbox-protocol/sdk 3.0.0-vfour.89 → 3.0.0-vfour.90
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/dist/cjs/sdk/index.cjs
CHANGED
|
@@ -23218,7 +23218,10 @@ var RouterV3Contract = class extends BaseContract {
|
|
|
23218
23218
|
gas: GAS_PER_BLOCK
|
|
23219
23219
|
}
|
|
23220
23220
|
);
|
|
23221
|
-
results.push(
|
|
23221
|
+
results.push({
|
|
23222
|
+
...result2,
|
|
23223
|
+
calls: [...result2.calls]
|
|
23224
|
+
});
|
|
23222
23225
|
}
|
|
23223
23226
|
const bestResult = results.reduce(compareRouterResults, {
|
|
23224
23227
|
amount: 0n,
|
package/dist/cjs/sdk/index.d.ts
CHANGED
|
@@ -24903,7 +24903,7 @@ interface SwapTask {
|
|
|
24903
24903
|
interface RouterResult {
|
|
24904
24904
|
amount: bigint;
|
|
24905
24905
|
minAmount: bigint;
|
|
24906
|
-
calls:
|
|
24906
|
+
calls: MultiCall[];
|
|
24907
24907
|
}
|
|
24908
24908
|
interface OpenStrategyResult extends RouterResult {
|
|
24909
24909
|
balances: Record<Address, bigint>;
|
package/dist/esm/sdk/index.d.mts
CHANGED
|
@@ -24903,7 +24903,7 @@ interface SwapTask {
|
|
|
24903
24903
|
interface RouterResult {
|
|
24904
24904
|
amount: bigint;
|
|
24905
24905
|
minAmount: bigint;
|
|
24906
|
-
calls:
|
|
24906
|
+
calls: MultiCall[];
|
|
24907
24907
|
}
|
|
24908
24908
|
interface OpenStrategyResult extends RouterResult {
|
|
24909
24909
|
balances: Record<Address, bigint>;
|
package/dist/esm/sdk/index.mjs
CHANGED
|
@@ -23216,7 +23216,10 @@ var RouterV3Contract = class extends BaseContract {
|
|
|
23216
23216
|
gas: GAS_PER_BLOCK
|
|
23217
23217
|
}
|
|
23218
23218
|
);
|
|
23219
|
-
results.push(
|
|
23219
|
+
results.push({
|
|
23220
|
+
...result2,
|
|
23221
|
+
calls: [...result2.calls]
|
|
23222
|
+
});
|
|
23220
23223
|
}
|
|
23221
23224
|
const bestResult = results.reduce(compareRouterResults, {
|
|
23222
23225
|
amount: 0n,
|