@0xsquid/squid-types 0.1.36 → 0.1.38
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/path/index.d.ts
CHANGED
|
@@ -34,10 +34,9 @@ export interface ActionBaseData {
|
|
|
34
34
|
path: string[];
|
|
35
35
|
custom: Record<string, any>;
|
|
36
36
|
type: WrapperType | BridgeType;
|
|
37
|
-
|
|
38
|
-
pools: string[];
|
|
37
|
+
poolFee: number;
|
|
39
38
|
poolId: string;
|
|
40
|
-
isStable: boolean
|
|
39
|
+
isStable: boolean;
|
|
41
40
|
exchangeId?: string;
|
|
42
41
|
exchangeProvider?: string;
|
|
43
42
|
address: string;
|
package/dist/routes/index.d.ts
CHANGED
|
@@ -79,6 +79,7 @@ export interface RouteActionResponse extends Omit<RouteAction, "fromChain" | "to
|
|
|
79
79
|
export interface RouteAction extends QuoteAction {
|
|
80
80
|
provider?: string;
|
|
81
81
|
description?: string;
|
|
82
|
+
hookUri?: string;
|
|
82
83
|
data: SwapDetails | WrapDetails | BridgeDetails | CustomCallDetails;
|
|
83
84
|
}
|
|
84
85
|
export declare enum ActionType {
|
|
@@ -107,9 +108,10 @@ export interface SwapDetails {
|
|
|
107
108
|
path: string[];
|
|
108
109
|
dex: Dex;
|
|
109
110
|
calls: ChainCall[];
|
|
110
|
-
|
|
111
|
-
|
|
111
|
+
poolId: string;
|
|
112
|
+
poolFee: string;
|
|
112
113
|
coinAddresses: string[];
|
|
114
|
+
isStable?: boolean;
|
|
113
115
|
exchangeId?: string;
|
|
114
116
|
exchangeProvider?: string;
|
|
115
117
|
custom?: Record<string, any>;
|
|
@@ -130,6 +132,8 @@ export interface Hook {
|
|
|
130
132
|
fundAmount: string;
|
|
131
133
|
fundToken: string;
|
|
132
134
|
calls: ChainCall[];
|
|
135
|
+
description: string;
|
|
136
|
+
hookUri?: string;
|
|
133
137
|
}
|
|
134
138
|
export declare enum ActionStage {
|
|
135
139
|
EVM_SOURCE = 0,
|
package/dist/routes/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/routes/index.ts"],"names":[],"mappings":";;;AA4FA,IAAY,UAMX;AAND,WAAY,UAAU;IACpB,2BAAa,CAAA;IACb,2BAAa,CAAA;IACb,+BAAiB,CAAA;IACjB,2CAA6B,CAAA;IAC7B,+BAAiB,CAAA;AACnB,CAAC,EANW,UAAU,GAAV,kBAAU,KAAV,kBAAU,QAMrB;AAsDD,IAAY,WASX;AATD,WAAY,WAAW;IACrB,yDAAU,CAAA;IACV,mEAAe,CAAA;IACf,+DAAa,CAAA;IACb,qDAAQ,CAAA;IACR,+DAAa,CAAA;IACb,yEAAkB,CAAA;IAClB,qEAAgB,CAAA;IAChB,2DAAW,CAAA;AACb,CAAC,EATW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAStB"}
|