@luxfi/exchange 1.0.3 → 1.0.4
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/chains/lux.d.ts +116 -6
- package/dist/chains/lux.d.ts.map +1 -1
- package/dist/contracts/abis/amm-v2-factory.d.ts +2 -2
- package/dist/contracts/abis/amm-v2-factory.d.ts.map +1 -1
- package/dist/contracts/abis/amm-v2-factory.js +2 -2
- package/dist/contracts/abis/amm-v2-pair.d.ts +2 -2
- package/dist/contracts/abis/amm-v2-pair.d.ts.map +1 -1
- package/dist/contracts/abis/amm-v2-pair.js +2 -2
- package/dist/contracts/abis/amm-v2-router.d.ts +2 -2
- package/dist/contracts/abis/amm-v2-router.d.ts.map +1 -1
- package/dist/contracts/abis/amm-v2-router.js +2 -2
- package/dist/contracts/abis/amm-v3-factory.d.ts +2 -2
- package/dist/contracts/abis/amm-v3-factory.d.ts.map +1 -1
- package/dist/contracts/abis/amm-v3-factory.js +2 -2
- package/dist/contracts/abis/amm-v3-pool.d.ts +2 -2
- package/dist/contracts/abis/amm-v3-pool.d.ts.map +1 -1
- package/dist/contracts/abis/amm-v3-pool.js +2 -2
- package/dist/contracts/abis/index.d.ts +7 -7
- package/dist/contracts/abis/index.d.ts.map +1 -1
- package/dist/contracts/abis/index.js +7 -7
- package/dist/contracts/abis/lux-amm-v2-factory.d.ts +148 -0
- package/dist/contracts/abis/lux-amm-v2-factory.d.ts.map +1 -0
- package/dist/contracts/abis/lux-amm-v2-factory.js +52 -0
- package/dist/contracts/abis/lux-amm-v2-pair.d.ts +236 -0
- package/dist/contracts/abis/lux-amm-v2-pair.d.ts.map +1 -0
- package/dist/contracts/abis/lux-amm-v2-pair.js +88 -0
- package/dist/contracts/abis/lux-amm-v2-router.d.ts +496 -0
- package/dist/contracts/abis/lux-amm-v2-router.d.ts.map +1 -0
- package/dist/contracts/abis/lux-amm-v2-router.js +149 -0
- package/dist/contracts/abis/lux-amm-v3-factory.d.ts +152 -0
- package/dist/contracts/abis/lux-amm-v3-factory.d.ts.map +1 -0
- package/dist/contracts/abis/lux-amm-v3-factory.js +48 -0
- package/dist/contracts/abis/lux-amm-v3-pool.d.ts +254 -0
- package/dist/contracts/abis/lux-amm-v3-pool.d.ts.map +1 -0
- package/dist/contracts/abis/lux-amm-v3-pool.js +84 -0
- package/dist/contracts/abis/pool-manager.d.ts +1 -1
- package/dist/contracts/abis/pool-manager.js +1 -1
- package/dist/contracts/abis/uniswap-v2-factory.d.ts +75 -0
- package/dist/contracts/abis/uniswap-v2-factory.d.ts.map +1 -0
- package/dist/contracts/abis/uniswap-v2-factory.js +49 -0
- package/dist/contracts/abis/uniswap-v2-pair.d.ts +119 -0
- package/dist/contracts/abis/uniswap-v2-pair.d.ts.map +1 -0
- package/dist/contracts/abis/uniswap-v2-pair.js +85 -0
- package/dist/contracts/abis/uniswap-v2-router.d.ts +249 -0
- package/dist/contracts/abis/uniswap-v2-router.d.ts.map +1 -0
- package/dist/contracts/abis/uniswap-v2-router.js +146 -0
- package/dist/contracts/abis/uniswap-v3-factory.d.ts +77 -0
- package/dist/contracts/abis/uniswap-v3-factory.d.ts.map +1 -0
- package/dist/contracts/abis/uniswap-v3-factory.js +45 -0
- package/dist/contracts/abis/uniswap-v3-pool.d.ts +128 -0
- package/dist/contracts/abis/uniswap-v3-pool.d.ts.map +1 -0
- package/dist/contracts/abis/uniswap-v3-pool.js +81 -0
- package/dist/contracts/addresses.d.ts +13 -31
- package/dist/contracts/addresses.d.ts.map +1 -1
- package/dist/contracts/addresses.js +34 -25
- package/dist/hooks/use-pools.d.ts.map +1 -1
- package/dist/hooks/use-pools.js +6 -8
- package/dist/hooks/use-swap.js +1 -1
- package/dist/hooks/use-token-allowance.d.ts +1 -1
- package/dist/tokens/index.d.ts +3 -6
- package/dist/tokens/index.d.ts.map +1 -1
- package/dist/tokens/index.js +38 -57
- package/package.json +3 -3
- package/src/chains/index.ts +6 -0
- package/src/chains/lux.ts +68 -0
package/dist/chains/lux.d.ts
CHANGED
|
@@ -8,6 +8,7 @@ export declare const luxMainnet: {
|
|
|
8
8
|
readonly url: "https://explore.lux.network";
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
|
+
blockTime?: number | undefined | undefined;
|
|
11
12
|
contracts: {
|
|
12
13
|
readonly multicall3: {
|
|
13
14
|
readonly address: "0xd25F88CBdAe3c2CCA3Bb75FC4E723b44C0Ea362F";
|
|
@@ -21,6 +22,7 @@ export declare const luxMainnet: {
|
|
|
21
22
|
readonly symbol: "LUX";
|
|
22
23
|
readonly decimals: 18;
|
|
23
24
|
};
|
|
25
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
24
26
|
rpcUrls: {
|
|
25
27
|
readonly default: {
|
|
26
28
|
readonly http: readonly ["https://api.lux.network/rpc"];
|
|
@@ -32,9 +34,18 @@ export declare const luxMainnet: {
|
|
|
32
34
|
sourceId?: number | undefined | undefined;
|
|
33
35
|
testnet?: boolean | undefined | undefined;
|
|
34
36
|
custom?: Record<string, unknown> | undefined;
|
|
37
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
35
38
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
36
39
|
formatters?: undefined;
|
|
40
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
41
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
42
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
43
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
44
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
45
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
46
|
+
}] | undefined;
|
|
37
47
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
48
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
38
49
|
};
|
|
39
50
|
/**
|
|
40
51
|
* Lux Testnet Chain Definition
|
|
@@ -46,6 +57,7 @@ export declare const luxTestnet: {
|
|
|
46
57
|
readonly url: "https://explore.lux-test.network";
|
|
47
58
|
};
|
|
48
59
|
};
|
|
60
|
+
blockTime?: number | undefined | undefined;
|
|
49
61
|
contracts: {
|
|
50
62
|
readonly multicall3: {
|
|
51
63
|
readonly address: "0xd25F88CBdAe3c2CCA3Bb75FC4E723b44C0Ea362F";
|
|
@@ -59,6 +71,7 @@ export declare const luxTestnet: {
|
|
|
59
71
|
readonly symbol: "LUX";
|
|
60
72
|
readonly decimals: 18;
|
|
61
73
|
};
|
|
74
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
62
75
|
rpcUrls: {
|
|
63
76
|
readonly default: {
|
|
64
77
|
readonly http: readonly ["https://api.lux-test.network/rpc"];
|
|
@@ -70,9 +83,18 @@ export declare const luxTestnet: {
|
|
|
70
83
|
sourceId?: number | undefined | undefined;
|
|
71
84
|
testnet: true;
|
|
72
85
|
custom?: Record<string, unknown> | undefined;
|
|
86
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
73
87
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
74
88
|
formatters?: undefined;
|
|
89
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
90
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
91
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
92
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
93
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
94
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
95
|
+
}] | undefined;
|
|
75
96
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
97
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
76
98
|
};
|
|
77
99
|
/**
|
|
78
100
|
* Zoo Mainnet Chain Definition
|
|
@@ -84,6 +106,7 @@ export declare const zooMainnet: {
|
|
|
84
106
|
readonly url: "https://explore.zoo.network";
|
|
85
107
|
};
|
|
86
108
|
};
|
|
109
|
+
blockTime?: number | undefined | undefined;
|
|
87
110
|
contracts?: {
|
|
88
111
|
[x: string]: import("viem").ChainContract | {
|
|
89
112
|
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
@@ -91,7 +114,7 @@ export declare const zooMainnet: {
|
|
|
91
114
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
92
115
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
93
116
|
multicall3?: import("viem").ChainContract | undefined;
|
|
94
|
-
|
|
117
|
+
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
95
118
|
} | undefined;
|
|
96
119
|
ensTlds?: readonly string[] | undefined;
|
|
97
120
|
id: 200200;
|
|
@@ -101,6 +124,7 @@ export declare const zooMainnet: {
|
|
|
101
124
|
readonly symbol: "ZOO";
|
|
102
125
|
readonly decimals: 18;
|
|
103
126
|
};
|
|
127
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
104
128
|
rpcUrls: {
|
|
105
129
|
readonly default: {
|
|
106
130
|
readonly http: readonly ["https://api.zoo.network/rpc"];
|
|
@@ -112,9 +136,18 @@ export declare const zooMainnet: {
|
|
|
112
136
|
sourceId?: number | undefined | undefined;
|
|
113
137
|
testnet?: boolean | undefined | undefined;
|
|
114
138
|
custom?: Record<string, unknown> | undefined;
|
|
139
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
115
140
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
116
141
|
formatters?: undefined;
|
|
142
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
143
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
144
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
145
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
146
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
147
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
148
|
+
}] | undefined;
|
|
117
149
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
150
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
118
151
|
};
|
|
119
152
|
/**
|
|
120
153
|
* Zoo Testnet Chain Definition
|
|
@@ -126,6 +159,7 @@ export declare const zooTestnet: {
|
|
|
126
159
|
readonly url: "https://explore.zoo-test.network";
|
|
127
160
|
};
|
|
128
161
|
};
|
|
162
|
+
blockTime?: number | undefined | undefined;
|
|
129
163
|
contracts?: {
|
|
130
164
|
[x: string]: import("viem").ChainContract | {
|
|
131
165
|
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
@@ -133,7 +167,7 @@ export declare const zooTestnet: {
|
|
|
133
167
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
134
168
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
135
169
|
multicall3?: import("viem").ChainContract | undefined;
|
|
136
|
-
|
|
170
|
+
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
137
171
|
} | undefined;
|
|
138
172
|
ensTlds?: readonly string[] | undefined;
|
|
139
173
|
id: 200201;
|
|
@@ -143,6 +177,7 @@ export declare const zooTestnet: {
|
|
|
143
177
|
readonly symbol: "ZOO";
|
|
144
178
|
readonly decimals: 18;
|
|
145
179
|
};
|
|
180
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
146
181
|
rpcUrls: {
|
|
147
182
|
readonly default: {
|
|
148
183
|
readonly http: readonly ["https://api.zoo-test.network/rpc"];
|
|
@@ -154,9 +189,18 @@ export declare const zooTestnet: {
|
|
|
154
189
|
sourceId?: number | undefined | undefined;
|
|
155
190
|
testnet: true;
|
|
156
191
|
custom?: Record<string, unknown> | undefined;
|
|
192
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
157
193
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
158
194
|
formatters?: undefined;
|
|
195
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
196
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
197
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
198
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
199
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
200
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
201
|
+
}] | undefined;
|
|
159
202
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
203
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
160
204
|
};
|
|
161
205
|
/**
|
|
162
206
|
* Dev Chain Definition (for running local node with --dev)
|
|
@@ -168,6 +212,7 @@ export declare const luxDev: {
|
|
|
168
212
|
readonly url: "http://localhost:8545";
|
|
169
213
|
};
|
|
170
214
|
};
|
|
215
|
+
blockTime?: number | undefined | undefined;
|
|
171
216
|
contracts?: {
|
|
172
217
|
[x: string]: import("viem").ChainContract | {
|
|
173
218
|
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
@@ -175,7 +220,7 @@ export declare const luxDev: {
|
|
|
175
220
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
176
221
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
177
222
|
multicall3?: import("viem").ChainContract | undefined;
|
|
178
|
-
|
|
223
|
+
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
179
224
|
} | undefined;
|
|
180
225
|
ensTlds?: readonly string[] | undefined;
|
|
181
226
|
id: 1337;
|
|
@@ -185,6 +230,7 @@ export declare const luxDev: {
|
|
|
185
230
|
readonly symbol: "LUX";
|
|
186
231
|
readonly decimals: 18;
|
|
187
232
|
};
|
|
233
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
188
234
|
rpcUrls: {
|
|
189
235
|
readonly default: {
|
|
190
236
|
readonly http: readonly ["http://localhost:8545/ext/bc/C/rpc"];
|
|
@@ -196,9 +242,18 @@ export declare const luxDev: {
|
|
|
196
242
|
sourceId?: number | undefined | undefined;
|
|
197
243
|
testnet: false;
|
|
198
244
|
custom?: Record<string, unknown> | undefined;
|
|
245
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
199
246
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
200
247
|
formatters?: undefined;
|
|
248
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
249
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
250
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
251
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
252
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
253
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
254
|
+
}] | undefined;
|
|
201
255
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
256
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
202
257
|
};
|
|
203
258
|
/**
|
|
204
259
|
* Chain IDs
|
|
@@ -218,6 +273,7 @@ export declare const supportedChains: readonly [{
|
|
|
218
273
|
readonly url: "https://explore.lux.network";
|
|
219
274
|
};
|
|
220
275
|
};
|
|
276
|
+
blockTime?: number | undefined | undefined;
|
|
221
277
|
contracts: {
|
|
222
278
|
readonly multicall3: {
|
|
223
279
|
readonly address: "0xd25F88CBdAe3c2CCA3Bb75FC4E723b44C0Ea362F";
|
|
@@ -231,6 +287,7 @@ export declare const supportedChains: readonly [{
|
|
|
231
287
|
readonly symbol: "LUX";
|
|
232
288
|
readonly decimals: 18;
|
|
233
289
|
};
|
|
290
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
234
291
|
rpcUrls: {
|
|
235
292
|
readonly default: {
|
|
236
293
|
readonly http: readonly ["https://api.lux.network/rpc"];
|
|
@@ -242,9 +299,18 @@ export declare const supportedChains: readonly [{
|
|
|
242
299
|
sourceId?: number | undefined | undefined;
|
|
243
300
|
testnet?: boolean | undefined | undefined;
|
|
244
301
|
custom?: Record<string, unknown> | undefined;
|
|
302
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
245
303
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
246
304
|
formatters?: undefined;
|
|
305
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
306
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
307
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
308
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
309
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
310
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
311
|
+
}] | undefined;
|
|
247
312
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
313
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
248
314
|
}, {
|
|
249
315
|
blockExplorers: {
|
|
250
316
|
readonly default: {
|
|
@@ -252,6 +318,7 @@ export declare const supportedChains: readonly [{
|
|
|
252
318
|
readonly url: "https://explore.lux-test.network";
|
|
253
319
|
};
|
|
254
320
|
};
|
|
321
|
+
blockTime?: number | undefined | undefined;
|
|
255
322
|
contracts: {
|
|
256
323
|
readonly multicall3: {
|
|
257
324
|
readonly address: "0xd25F88CBdAe3c2CCA3Bb75FC4E723b44C0Ea362F";
|
|
@@ -265,6 +332,7 @@ export declare const supportedChains: readonly [{
|
|
|
265
332
|
readonly symbol: "LUX";
|
|
266
333
|
readonly decimals: 18;
|
|
267
334
|
};
|
|
335
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
268
336
|
rpcUrls: {
|
|
269
337
|
readonly default: {
|
|
270
338
|
readonly http: readonly ["https://api.lux-test.network/rpc"];
|
|
@@ -276,9 +344,18 @@ export declare const supportedChains: readonly [{
|
|
|
276
344
|
sourceId?: number | undefined | undefined;
|
|
277
345
|
testnet: true;
|
|
278
346
|
custom?: Record<string, unknown> | undefined;
|
|
347
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
279
348
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
280
349
|
formatters?: undefined;
|
|
350
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
351
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
352
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
353
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
354
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
355
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
356
|
+
}] | undefined;
|
|
281
357
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
358
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
282
359
|
}, {
|
|
283
360
|
blockExplorers: {
|
|
284
361
|
readonly default: {
|
|
@@ -286,6 +363,7 @@ export declare const supportedChains: readonly [{
|
|
|
286
363
|
readonly url: "https://explore.zoo.network";
|
|
287
364
|
};
|
|
288
365
|
};
|
|
366
|
+
blockTime?: number | undefined | undefined;
|
|
289
367
|
contracts?: {
|
|
290
368
|
[x: string]: import("viem").ChainContract | {
|
|
291
369
|
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
@@ -293,7 +371,7 @@ export declare const supportedChains: readonly [{
|
|
|
293
371
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
294
372
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
295
373
|
multicall3?: import("viem").ChainContract | undefined;
|
|
296
|
-
|
|
374
|
+
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
297
375
|
} | undefined;
|
|
298
376
|
ensTlds?: readonly string[] | undefined;
|
|
299
377
|
id: 200200;
|
|
@@ -303,6 +381,7 @@ export declare const supportedChains: readonly [{
|
|
|
303
381
|
readonly symbol: "ZOO";
|
|
304
382
|
readonly decimals: 18;
|
|
305
383
|
};
|
|
384
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
306
385
|
rpcUrls: {
|
|
307
386
|
readonly default: {
|
|
308
387
|
readonly http: readonly ["https://api.zoo.network/rpc"];
|
|
@@ -314,9 +393,18 @@ export declare const supportedChains: readonly [{
|
|
|
314
393
|
sourceId?: number | undefined | undefined;
|
|
315
394
|
testnet?: boolean | undefined | undefined;
|
|
316
395
|
custom?: Record<string, unknown> | undefined;
|
|
396
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
317
397
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
318
398
|
formatters?: undefined;
|
|
399
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
400
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
401
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
402
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
403
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
404
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
405
|
+
}] | undefined;
|
|
319
406
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
407
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
320
408
|
}, {
|
|
321
409
|
blockExplorers: {
|
|
322
410
|
readonly default: {
|
|
@@ -324,6 +412,7 @@ export declare const supportedChains: readonly [{
|
|
|
324
412
|
readonly url: "https://explore.zoo-test.network";
|
|
325
413
|
};
|
|
326
414
|
};
|
|
415
|
+
blockTime?: number | undefined | undefined;
|
|
327
416
|
contracts?: {
|
|
328
417
|
[x: string]: import("viem").ChainContract | {
|
|
329
418
|
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
@@ -331,7 +420,7 @@ export declare const supportedChains: readonly [{
|
|
|
331
420
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
332
421
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
333
422
|
multicall3?: import("viem").ChainContract | undefined;
|
|
334
|
-
|
|
423
|
+
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
335
424
|
} | undefined;
|
|
336
425
|
ensTlds?: readonly string[] | undefined;
|
|
337
426
|
id: 200201;
|
|
@@ -341,6 +430,7 @@ export declare const supportedChains: readonly [{
|
|
|
341
430
|
readonly symbol: "ZOO";
|
|
342
431
|
readonly decimals: 18;
|
|
343
432
|
};
|
|
433
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
344
434
|
rpcUrls: {
|
|
345
435
|
readonly default: {
|
|
346
436
|
readonly http: readonly ["https://api.zoo-test.network/rpc"];
|
|
@@ -352,9 +442,18 @@ export declare const supportedChains: readonly [{
|
|
|
352
442
|
sourceId?: number | undefined | undefined;
|
|
353
443
|
testnet: true;
|
|
354
444
|
custom?: Record<string, unknown> | undefined;
|
|
445
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
355
446
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
356
447
|
formatters?: undefined;
|
|
448
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
449
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
450
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
451
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
452
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
453
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
454
|
+
}] | undefined;
|
|
357
455
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
456
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
358
457
|
}, {
|
|
359
458
|
blockExplorers: {
|
|
360
459
|
readonly default: {
|
|
@@ -362,6 +461,7 @@ export declare const supportedChains: readonly [{
|
|
|
362
461
|
readonly url: "http://localhost:8545";
|
|
363
462
|
};
|
|
364
463
|
};
|
|
464
|
+
blockTime?: number | undefined | undefined;
|
|
365
465
|
contracts?: {
|
|
366
466
|
[x: string]: import("viem").ChainContract | {
|
|
367
467
|
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
@@ -369,7 +469,7 @@ export declare const supportedChains: readonly [{
|
|
|
369
469
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
370
470
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
371
471
|
multicall3?: import("viem").ChainContract | undefined;
|
|
372
|
-
|
|
472
|
+
erc6492Verifier?: import("viem").ChainContract | undefined;
|
|
373
473
|
} | undefined;
|
|
374
474
|
ensTlds?: readonly string[] | undefined;
|
|
375
475
|
id: 1337;
|
|
@@ -379,6 +479,7 @@ export declare const supportedChains: readonly [{
|
|
|
379
479
|
readonly symbol: "LUX";
|
|
380
480
|
readonly decimals: 18;
|
|
381
481
|
};
|
|
482
|
+
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
382
483
|
rpcUrls: {
|
|
383
484
|
readonly default: {
|
|
384
485
|
readonly http: readonly ["http://localhost:8545/ext/bc/C/rpc"];
|
|
@@ -390,9 +491,18 @@ export declare const supportedChains: readonly [{
|
|
|
390
491
|
sourceId?: number | undefined | undefined;
|
|
391
492
|
testnet: false;
|
|
392
493
|
custom?: Record<string, unknown> | undefined;
|
|
494
|
+
extendSchema?: Record<string, unknown> | undefined;
|
|
393
495
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
394
496
|
formatters?: undefined;
|
|
497
|
+
prepareTransactionRequest?: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
498
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
499
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | [fn: ((args: import("viem").PrepareTransactionRequestParameters, options: {
|
|
500
|
+
phase: "beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters";
|
|
501
|
+
}) => Promise<import("viem").PrepareTransactionRequestParameters>) | undefined, options: {
|
|
502
|
+
runAt: readonly ("beforeFillTransaction" | "beforeFillParameters" | "afterFillParameters")[];
|
|
503
|
+
}] | undefined;
|
|
395
504
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
505
|
+
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
396
506
|
}];
|
|
397
507
|
export type SupportedChainId = typeof supportedChains[number]['id'];
|
|
398
508
|
//# sourceMappingURL=lux.d.ts.map
|
package/dist/chains/lux.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"lux.d.ts","sourceRoot":"","sources":["../../src/chains/lux.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,eAAO,MAAM,UAAU
|
|
1
|
+
{"version":3,"file":"lux.d.ts","sourceRoot":"","sources":["../../src/chains/lux.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoBrB,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqBrB,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAerB,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBrB,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBjB,CAAA;AAEF;;GAEG;AACH,eAAO,MAAM,cAAc,QAAQ,CAAA;AACnC,eAAO,MAAM,cAAc,QAAQ,CAAA;AACnC,eAAO,MAAM,cAAc,SAAS,CAAA;AACpC,eAAO,MAAM,cAAc,SAAS,CAAA;AACpC,eAAO,MAAM,UAAU,OAAO,CAAA;AAE9B;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAMlB,CAAA;AAEV,MAAM,MAAM,gBAAgB,GAAG,OAAO,eAAe,CAAC,MAAM,CAAC,CAAC,IAAI,CAAC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AMM V2 Factory ABI
|
|
3
|
-
* Compatible with
|
|
3
|
+
* Compatible with Uniswap V2 Factory interface
|
|
4
4
|
*/
|
|
5
5
|
export declare const AMM_V2_FACTORY_ABI: readonly [{
|
|
6
6
|
readonly type: "function";
|
|
@@ -74,7 +74,7 @@ export declare const AMM_V2_FACTORY_ABI: readonly [{
|
|
|
74
74
|
}];
|
|
75
75
|
}];
|
|
76
76
|
/** @deprecated Use AMM_V2_FACTORY_ABI instead */
|
|
77
|
-
export declare const
|
|
77
|
+
export declare const UNISWAP_V2_FACTORY_ABI: readonly [{
|
|
78
78
|
readonly type: "function";
|
|
79
79
|
readonly name: "getPair";
|
|
80
80
|
readonly inputs: readonly [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"amm-v2-factory.d.ts","sourceRoot":"","sources":["../../../src/contracts/abis/amm-v2-factory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6CrB,CAAA;AAEV,iDAAiD;AACjD,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"amm-v2-factory.d.ts","sourceRoot":"","sources":["../../../src/contracts/abis/amm-v2-factory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6CrB,CAAA;AAEV,iDAAiD;AACjD,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAqB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AMM V2 Factory ABI
|
|
3
|
-
* Compatible with
|
|
3
|
+
* Compatible with Uniswap V2 Factory interface
|
|
4
4
|
*/
|
|
5
5
|
export const AMM_V2_FACTORY_ABI = [
|
|
6
6
|
{
|
|
@@ -49,4 +49,4 @@ export const AMM_V2_FACTORY_ABI = [
|
|
|
49
49
|
},
|
|
50
50
|
];
|
|
51
51
|
/** @deprecated Use AMM_V2_FACTORY_ABI instead */
|
|
52
|
-
export const
|
|
52
|
+
export const UNISWAP_V2_FACTORY_ABI = AMM_V2_FACTORY_ABI;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AMM V2 Pair ABI
|
|
3
|
-
* Compatible with
|
|
3
|
+
* Compatible with Uniswap V2 Pair interface
|
|
4
4
|
*/
|
|
5
5
|
export declare const AMM_V2_PAIR_ABI: readonly [{
|
|
6
6
|
readonly type: "function";
|
|
@@ -118,7 +118,7 @@ export declare const AMM_V2_PAIR_ABI: readonly [{
|
|
|
118
118
|
}];
|
|
119
119
|
}];
|
|
120
120
|
/** @deprecated Use AMM_V2_PAIR_ABI instead */
|
|
121
|
-
export declare const
|
|
121
|
+
export declare const UNISWAP_V2_PAIR_ABI: readonly [{
|
|
122
122
|
readonly type: "function";
|
|
123
123
|
readonly name: "token0";
|
|
124
124
|
readonly inputs: readonly [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"amm-v2-pair.d.ts","sourceRoot":"","sources":["../../../src/contracts/abis/amm-v2-pair.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiFlB,CAAA;AAEV,8CAA8C;AAC9C,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"amm-v2-pair.d.ts","sourceRoot":"","sources":["../../../src/contracts/abis/amm-v2-pair.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAiFlB,CAAA;AAEV,8CAA8C;AAC9C,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAkB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AMM V2 Pair ABI
|
|
3
|
-
* Compatible with
|
|
3
|
+
* Compatible with Uniswap V2 Pair interface
|
|
4
4
|
*/
|
|
5
5
|
export const AMM_V2_PAIR_ABI = [
|
|
6
6
|
{
|
|
@@ -85,4 +85,4 @@ export const AMM_V2_PAIR_ABI = [
|
|
|
85
85
|
},
|
|
86
86
|
];
|
|
87
87
|
/** @deprecated Use AMM_V2_PAIR_ABI instead */
|
|
88
|
-
export const
|
|
88
|
+
export const UNISWAP_V2_PAIR_ABI = AMM_V2_PAIR_ABI;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AMM V2 Router ABI
|
|
3
|
-
* Compatible with
|
|
3
|
+
* Compatible with Uniswap V2 Router02 interface
|
|
4
4
|
*/
|
|
5
5
|
export declare const AMM_V2_ROUTER_ABI: readonly [{
|
|
6
6
|
readonly type: "function";
|
|
@@ -248,7 +248,7 @@ export declare const AMM_V2_ROUTER_ABI: readonly [{
|
|
|
248
248
|
readonly stateMutability: "nonpayable";
|
|
249
249
|
}];
|
|
250
250
|
/** @deprecated Use AMM_V2_ROUTER_ABI instead */
|
|
251
|
-
export declare const
|
|
251
|
+
export declare const UNISWAP_V2_ROUTER_ABI: readonly [{
|
|
252
252
|
readonly type: "function";
|
|
253
253
|
readonly name: "factory";
|
|
254
254
|
readonly inputs: readonly [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"amm-v2-router.d.ts","sourceRoot":"","sources":["../../../src/contracts/abis/amm-v2-router.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8IpB,CAAA;AAEV,gDAAgD;AAChD,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"amm-v2-router.d.ts","sourceRoot":"","sources":["../../../src/contracts/abis/amm-v2-router.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8IpB,CAAA;AAEV,gDAAgD;AAChD,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAoB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AMM V2 Router ABI
|
|
3
|
-
* Compatible with
|
|
3
|
+
* Compatible with Uniswap V2 Router02 interface
|
|
4
4
|
*/
|
|
5
5
|
export const AMM_V2_ROUTER_ABI = [
|
|
6
6
|
{
|
|
@@ -146,4 +146,4 @@ export const AMM_V2_ROUTER_ABI = [
|
|
|
146
146
|
},
|
|
147
147
|
];
|
|
148
148
|
/** @deprecated Use AMM_V2_ROUTER_ABI instead */
|
|
149
|
-
export const
|
|
149
|
+
export const UNISWAP_V2_ROUTER_ABI = AMM_V2_ROUTER_ABI;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AMM V3 Factory ABI
|
|
3
|
-
* Compatible with
|
|
3
|
+
* Compatible with Uniswap V3 Factory interface
|
|
4
4
|
*/
|
|
5
5
|
export declare const AMM_V3_FACTORY_ABI: readonly [{
|
|
6
6
|
readonly type: "function";
|
|
@@ -76,7 +76,7 @@ export declare const AMM_V3_FACTORY_ABI: readonly [{
|
|
|
76
76
|
}];
|
|
77
77
|
}];
|
|
78
78
|
/** @deprecated Use AMM_V3_FACTORY_ABI instead */
|
|
79
|
-
export declare const
|
|
79
|
+
export declare const UNISWAP_V3_FACTORY_ABI: readonly [{
|
|
80
80
|
readonly type: "function";
|
|
81
81
|
readonly name: "getPool";
|
|
82
82
|
readonly inputs: readonly [{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"amm-v3-factory.d.ts","sourceRoot":"","sources":["../../../src/contracts/abis/amm-v3-factory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyCrB,CAAA;AAEV,iDAAiD;AACjD,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"amm-v3-factory.d.ts","sourceRoot":"","sources":["../../../src/contracts/abis/amm-v3-factory.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAyCrB,CAAA;AAEV,iDAAiD;AACjD,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAqB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AMM V3 Factory ABI
|
|
3
|
-
* Compatible with
|
|
3
|
+
* Compatible with Uniswap V3 Factory interface
|
|
4
4
|
*/
|
|
5
5
|
export const AMM_V3_FACTORY_ABI = [
|
|
6
6
|
{
|
|
@@ -45,4 +45,4 @@ export const AMM_V3_FACTORY_ABI = [
|
|
|
45
45
|
},
|
|
46
46
|
];
|
|
47
47
|
/** @deprecated Use AMM_V3_FACTORY_ABI instead */
|
|
48
|
-
export const
|
|
48
|
+
export const UNISWAP_V3_FACTORY_ABI = AMM_V3_FACTORY_ABI;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AMM V3 Pool ABI
|
|
3
|
-
* Compatible with
|
|
3
|
+
* Compatible with Uniswap V3 Pool interface
|
|
4
4
|
*/
|
|
5
5
|
export declare const AMM_V3_POOL_ABI: readonly [{
|
|
6
6
|
readonly type: "function";
|
|
@@ -127,7 +127,7 @@ export declare const AMM_V3_POOL_ABI: readonly [{
|
|
|
127
127
|
}];
|
|
128
128
|
}];
|
|
129
129
|
/** @deprecated Use AMM_V3_POOL_ABI instead */
|
|
130
|
-
export declare const
|
|
130
|
+
export declare const UNISWAP_V3_POOL_ABI: readonly [{
|
|
131
131
|
readonly type: "function";
|
|
132
132
|
readonly name: "token0";
|
|
133
133
|
readonly inputs: readonly [];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"amm-v3-pool.d.ts","sourceRoot":"","sources":["../../../src/contracts/abis/amm-v3-pool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6ElB,CAAA;AAEV,8CAA8C;AAC9C,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"amm-v3-pool.d.ts","sourceRoot":"","sources":["../../../src/contracts/abis/amm-v3-pool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6ElB,CAAA;AAEV,8CAA8C;AAC9C,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAkB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AMM V3 Pool ABI
|
|
3
|
-
* Compatible with
|
|
3
|
+
* Compatible with Uniswap V3 Pool interface
|
|
4
4
|
*/
|
|
5
5
|
export const AMM_V3_POOL_ABI = [
|
|
6
6
|
{
|
|
@@ -81,4 +81,4 @@ export const AMM_V3_POOL_ABI = [
|
|
|
81
81
|
},
|
|
82
82
|
];
|
|
83
83
|
/** @deprecated Use AMM_V3_POOL_ABI instead */
|
|
84
|
-
export const
|
|
84
|
+
export const UNISWAP_V3_POOL_ABI = AMM_V3_POOL_ABI;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Contract ABIs for Lux Exchange
|
|
3
3
|
*
|
|
4
|
-
* AMM V2/V3 - Concentrated liquidity AMM (
|
|
5
|
-
* DEX V4 - Hook-based DEX with singleton pool manager (
|
|
4
|
+
* AMM V2/V3 - Concentrated liquidity AMM (Uniswap V2/V3 compatible)
|
|
5
|
+
* DEX V4 - Hook-based DEX with singleton pool manager (Uniswap V4 compatible)
|
|
6
6
|
*/
|
|
7
|
-
export { AMM_V2_ROUTER_ABI,
|
|
8
|
-
export { AMM_V2_FACTORY_ABI,
|
|
9
|
-
export { AMM_V2_PAIR_ABI,
|
|
10
|
-
export { AMM_V3_FACTORY_ABI,
|
|
11
|
-
export { AMM_V3_POOL_ABI,
|
|
7
|
+
export { AMM_V2_ROUTER_ABI, UNISWAP_V2_ROUTER_ABI } from './amm-v2-router';
|
|
8
|
+
export { AMM_V2_FACTORY_ABI, UNISWAP_V2_FACTORY_ABI } from './amm-v2-factory';
|
|
9
|
+
export { AMM_V2_PAIR_ABI, UNISWAP_V2_PAIR_ABI } from './amm-v2-pair';
|
|
10
|
+
export { AMM_V3_FACTORY_ABI, UNISWAP_V3_FACTORY_ABI } from './amm-v3-factory';
|
|
11
|
+
export { AMM_V3_POOL_ABI, UNISWAP_V3_POOL_ABI } from './amm-v3-pool';
|
|
12
12
|
export { SWAP_ROUTER_ABI } from './swap-router';
|
|
13
13
|
export { QUOTER_V2_ABI } from './quoter-v2';
|
|
14
14
|
export { NFT_POSITION_MANAGER_ABI } from './nft-position-manager';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contracts/abis/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,iBAAiB,EAAE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/contracts/abis/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAA;AAC1E,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AAC7E,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAGpE,OAAO,EAAE,kBAAkB,EAAE,sBAAsB,EAAE,MAAM,kBAAkB,CAAA;AAC7E,OAAO,EAAE,eAAe,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAGpE,OAAO,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,aAAa,CAAA;AAC3C,OAAO,EAAE,wBAAwB,EAAE,MAAM,wBAAwB,CAAA;AAGjE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAGnC,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAA"}
|