@spicenet-io/spiceflow-ui 4.4.0 → 4.6.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.
|
@@ -20,6 +20,7 @@ export interface SatsumaVenueConfig {
|
|
|
20
20
|
}
|
|
21
21
|
export declare const SATSUMA_CITREA_CONFIG: SatsumaVenueConfig;
|
|
22
22
|
export declare const UNIV3_BASE_CONFIG: SatsumaVenueConfig;
|
|
23
|
+
export declare const UNIV3_ROBINHOOD_CONFIG: SatsumaVenueConfig;
|
|
23
24
|
export declare function createSatsumaVenue(config: SatsumaVenueConfig): LiquidityVenue;
|
|
24
25
|
export declare function createSatsumaExactOutputVenue(config: SatsumaVenueConfig): ExactOutputVenue;
|
|
25
26
|
export interface LiquidityRegistry {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { type Address } from "viem";
|
|
2
|
+
import type { ExactOutputVenue } from "../swapQuotes";
|
|
3
|
+
import { type LiquidityVenue, type SatsumaVenueConfig } from "./liquidityVenues";
|
|
4
|
+
export interface UniV4SwapConfig {
|
|
5
|
+
quoter: Address;
|
|
6
|
+
universalRouter: Address;
|
|
7
|
+
permit2: Address;
|
|
8
|
+
}
|
|
9
|
+
export interface UniV4VenueConfig extends UniV4SwapConfig {
|
|
10
|
+
chainIds: number[];
|
|
11
|
+
hubCurrencies?: Address[];
|
|
12
|
+
v3?: SatsumaVenueConfig;
|
|
13
|
+
}
|
|
14
|
+
export declare const V4_NATIVE_CURRENCY: Address;
|
|
15
|
+
export declare const UNIV4_BASE_CONFIG: UniV4VenueConfig;
|
|
16
|
+
export declare const UNIV4_ROBINHOOD_CONFIG: UniV4VenueConfig;
|
|
17
|
+
export declare function createUniV4Venue(config: UniV4VenueConfig): LiquidityVenue;
|
|
18
|
+
export declare function createUniV4ExactOutputVenue(config: UniV4VenueConfig): ExactOutputVenue;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spicenet-io/spiceflow-ui",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.6.0",
|
|
4
4
|
"description": "Spiceflow UI SDK",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "bun@1.3.13",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"author": "",
|
|
55
55
|
"license": "MIT",
|
|
56
56
|
"dependencies": {
|
|
57
|
-
"@spicenet-io/spiceflow-core": "^0.6.
|
|
57
|
+
"@spicenet-io/spiceflow-core": "^0.6.1",
|
|
58
58
|
"tslib": "2.8.1"
|
|
59
59
|
},
|
|
60
60
|
"peerDependencies": {
|