@luxfi/exchange 1.0.0 → 1.0.3
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 +6 -116
- 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/pool-manager.d.ts +1 -1
- package/dist/contracts/abis/pool-manager.js +1 -1
- package/dist/contracts/addresses.d.ts +31 -13
- package/dist/contracts/addresses.d.ts.map +1 -1
- package/dist/contracts/addresses.js +25 -34
- package/dist/hooks/use-pools.d.ts.map +1 -1
- package/dist/hooks/use-pools.js +8 -6
- package/dist/hooks/use-swap.js +1 -1
- package/dist/hooks/use-token-allowance.d.ts +1 -1
- package/dist/tokens/index.d.ts +6 -3
- package/dist/tokens/index.d.ts.map +1 -1
- package/dist/tokens/index.js +57 -38
- package/package.json +2 -1
- package/dist/contracts/abis/lux-amm-v2-factory.d.ts +0 -148
- package/dist/contracts/abis/lux-amm-v2-factory.d.ts.map +0 -1
- package/dist/contracts/abis/lux-amm-v2-factory.js +0 -52
- package/dist/contracts/abis/lux-amm-v2-pair.d.ts +0 -236
- package/dist/contracts/abis/lux-amm-v2-pair.d.ts.map +0 -1
- package/dist/contracts/abis/lux-amm-v2-pair.js +0 -88
- package/dist/contracts/abis/lux-amm-v2-router.d.ts +0 -496
- package/dist/contracts/abis/lux-amm-v2-router.d.ts.map +0 -1
- package/dist/contracts/abis/lux-amm-v2-router.js +0 -149
- package/dist/contracts/abis/lux-amm-v3-factory.d.ts +0 -152
- package/dist/contracts/abis/lux-amm-v3-factory.d.ts.map +0 -1
- package/dist/contracts/abis/lux-amm-v3-factory.js +0 -48
- package/dist/contracts/abis/lux-amm-v3-pool.d.ts +0 -254
- package/dist/contracts/abis/lux-amm-v3-pool.d.ts.map +0 -1
- package/dist/contracts/abis/lux-amm-v3-pool.js +0 -84
- package/dist/contracts/abis/uniswap-v2-factory.d.ts +0 -75
- package/dist/contracts/abis/uniswap-v2-factory.d.ts.map +0 -1
- package/dist/contracts/abis/uniswap-v2-factory.js +0 -49
- package/dist/contracts/abis/uniswap-v2-pair.d.ts +0 -119
- package/dist/contracts/abis/uniswap-v2-pair.d.ts.map +0 -1
- package/dist/contracts/abis/uniswap-v2-pair.js +0 -85
- package/dist/contracts/abis/uniswap-v2-router.d.ts +0 -249
- package/dist/contracts/abis/uniswap-v2-router.d.ts.map +0 -1
- package/dist/contracts/abis/uniswap-v2-router.js +0 -146
- package/dist/contracts/abis/uniswap-v3-factory.d.ts +0 -77
- package/dist/contracts/abis/uniswap-v3-factory.d.ts.map +0 -1
- package/dist/contracts/abis/uniswap-v3-factory.js +0 -45
- package/dist/contracts/abis/uniswap-v3-pool.d.ts +0 -128
- package/dist/contracts/abis/uniswap-v3-pool.d.ts.map +0 -1
- package/dist/contracts/abis/uniswap-v3-pool.js +0 -81
package/dist/chains/lux.d.ts
CHANGED
|
@@ -8,7 +8,6 @@ export declare const luxMainnet: {
|
|
|
8
8
|
readonly url: "https://explore.lux.network";
|
|
9
9
|
};
|
|
10
10
|
};
|
|
11
|
-
blockTime?: number | undefined | undefined;
|
|
12
11
|
contracts: {
|
|
13
12
|
readonly multicall3: {
|
|
14
13
|
readonly address: "0xd25F88CBdAe3c2CCA3Bb75FC4E723b44C0Ea362F";
|
|
@@ -22,7 +21,6 @@ export declare const luxMainnet: {
|
|
|
22
21
|
readonly symbol: "LUX";
|
|
23
22
|
readonly decimals: 18;
|
|
24
23
|
};
|
|
25
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
26
24
|
rpcUrls: {
|
|
27
25
|
readonly default: {
|
|
28
26
|
readonly http: readonly ["https://api.lux.network/rpc"];
|
|
@@ -34,18 +32,9 @@ export declare const luxMainnet: {
|
|
|
34
32
|
sourceId?: number | undefined | undefined;
|
|
35
33
|
testnet?: boolean | undefined | undefined;
|
|
36
34
|
custom?: Record<string, unknown> | undefined;
|
|
37
|
-
extendSchema?: Record<string, unknown> | undefined;
|
|
38
35
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
39
36
|
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;
|
|
47
37
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
48
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
49
38
|
};
|
|
50
39
|
/**
|
|
51
40
|
* Lux Testnet Chain Definition
|
|
@@ -57,7 +46,6 @@ export declare const luxTestnet: {
|
|
|
57
46
|
readonly url: "https://explore.lux-test.network";
|
|
58
47
|
};
|
|
59
48
|
};
|
|
60
|
-
blockTime?: number | undefined | undefined;
|
|
61
49
|
contracts: {
|
|
62
50
|
readonly multicall3: {
|
|
63
51
|
readonly address: "0xd25F88CBdAe3c2CCA3Bb75FC4E723b44C0Ea362F";
|
|
@@ -71,7 +59,6 @@ export declare const luxTestnet: {
|
|
|
71
59
|
readonly symbol: "LUX";
|
|
72
60
|
readonly decimals: 18;
|
|
73
61
|
};
|
|
74
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
75
62
|
rpcUrls: {
|
|
76
63
|
readonly default: {
|
|
77
64
|
readonly http: readonly ["https://api.lux-test.network/rpc"];
|
|
@@ -83,18 +70,9 @@ export declare const luxTestnet: {
|
|
|
83
70
|
sourceId?: number | undefined | undefined;
|
|
84
71
|
testnet: true;
|
|
85
72
|
custom?: Record<string, unknown> | undefined;
|
|
86
|
-
extendSchema?: Record<string, unknown> | undefined;
|
|
87
73
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
88
74
|
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;
|
|
96
75
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
97
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
98
76
|
};
|
|
99
77
|
/**
|
|
100
78
|
* Zoo Mainnet Chain Definition
|
|
@@ -106,7 +84,6 @@ export declare const zooMainnet: {
|
|
|
106
84
|
readonly url: "https://explore.zoo.network";
|
|
107
85
|
};
|
|
108
86
|
};
|
|
109
|
-
blockTime?: number | undefined | undefined;
|
|
110
87
|
contracts?: {
|
|
111
88
|
[x: string]: import("viem").ChainContract | {
|
|
112
89
|
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
@@ -114,7 +91,7 @@ export declare const zooMainnet: {
|
|
|
114
91
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
115
92
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
116
93
|
multicall3?: import("viem").ChainContract | undefined;
|
|
117
|
-
|
|
94
|
+
universalSignatureVerifier?: import("viem").ChainContract | undefined;
|
|
118
95
|
} | undefined;
|
|
119
96
|
ensTlds?: readonly string[] | undefined;
|
|
120
97
|
id: 200200;
|
|
@@ -124,7 +101,6 @@ export declare const zooMainnet: {
|
|
|
124
101
|
readonly symbol: "ZOO";
|
|
125
102
|
readonly decimals: 18;
|
|
126
103
|
};
|
|
127
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
128
104
|
rpcUrls: {
|
|
129
105
|
readonly default: {
|
|
130
106
|
readonly http: readonly ["https://api.zoo.network/rpc"];
|
|
@@ -136,18 +112,9 @@ export declare const zooMainnet: {
|
|
|
136
112
|
sourceId?: number | undefined | undefined;
|
|
137
113
|
testnet?: boolean | undefined | undefined;
|
|
138
114
|
custom?: Record<string, unknown> | undefined;
|
|
139
|
-
extendSchema?: Record<string, unknown> | undefined;
|
|
140
115
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
141
116
|
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;
|
|
149
117
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
150
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
151
118
|
};
|
|
152
119
|
/**
|
|
153
120
|
* Zoo Testnet Chain Definition
|
|
@@ -159,7 +126,6 @@ export declare const zooTestnet: {
|
|
|
159
126
|
readonly url: "https://explore.zoo-test.network";
|
|
160
127
|
};
|
|
161
128
|
};
|
|
162
|
-
blockTime?: number | undefined | undefined;
|
|
163
129
|
contracts?: {
|
|
164
130
|
[x: string]: import("viem").ChainContract | {
|
|
165
131
|
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
@@ -167,7 +133,7 @@ export declare const zooTestnet: {
|
|
|
167
133
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
168
134
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
169
135
|
multicall3?: import("viem").ChainContract | undefined;
|
|
170
|
-
|
|
136
|
+
universalSignatureVerifier?: import("viem").ChainContract | undefined;
|
|
171
137
|
} | undefined;
|
|
172
138
|
ensTlds?: readonly string[] | undefined;
|
|
173
139
|
id: 200201;
|
|
@@ -177,7 +143,6 @@ export declare const zooTestnet: {
|
|
|
177
143
|
readonly symbol: "ZOO";
|
|
178
144
|
readonly decimals: 18;
|
|
179
145
|
};
|
|
180
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
181
146
|
rpcUrls: {
|
|
182
147
|
readonly default: {
|
|
183
148
|
readonly http: readonly ["https://api.zoo-test.network/rpc"];
|
|
@@ -189,18 +154,9 @@ export declare const zooTestnet: {
|
|
|
189
154
|
sourceId?: number | undefined | undefined;
|
|
190
155
|
testnet: true;
|
|
191
156
|
custom?: Record<string, unknown> | undefined;
|
|
192
|
-
extendSchema?: Record<string, unknown> | undefined;
|
|
193
157
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
194
158
|
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;
|
|
202
159
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
203
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
204
160
|
};
|
|
205
161
|
/**
|
|
206
162
|
* Dev Chain Definition (for running local node with --dev)
|
|
@@ -212,7 +168,6 @@ export declare const luxDev: {
|
|
|
212
168
|
readonly url: "http://localhost:8545";
|
|
213
169
|
};
|
|
214
170
|
};
|
|
215
|
-
blockTime?: number | undefined | undefined;
|
|
216
171
|
contracts?: {
|
|
217
172
|
[x: string]: import("viem").ChainContract | {
|
|
218
173
|
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
@@ -220,7 +175,7 @@ export declare const luxDev: {
|
|
|
220
175
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
221
176
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
222
177
|
multicall3?: import("viem").ChainContract | undefined;
|
|
223
|
-
|
|
178
|
+
universalSignatureVerifier?: import("viem").ChainContract | undefined;
|
|
224
179
|
} | undefined;
|
|
225
180
|
ensTlds?: readonly string[] | undefined;
|
|
226
181
|
id: 1337;
|
|
@@ -230,7 +185,6 @@ export declare const luxDev: {
|
|
|
230
185
|
readonly symbol: "LUX";
|
|
231
186
|
readonly decimals: 18;
|
|
232
187
|
};
|
|
233
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
234
188
|
rpcUrls: {
|
|
235
189
|
readonly default: {
|
|
236
190
|
readonly http: readonly ["http://localhost:8545/ext/bc/C/rpc"];
|
|
@@ -242,18 +196,9 @@ export declare const luxDev: {
|
|
|
242
196
|
sourceId?: number | undefined | undefined;
|
|
243
197
|
testnet: false;
|
|
244
198
|
custom?: Record<string, unknown> | undefined;
|
|
245
|
-
extendSchema?: Record<string, unknown> | undefined;
|
|
246
199
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
247
200
|
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;
|
|
255
201
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
256
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
257
202
|
};
|
|
258
203
|
/**
|
|
259
204
|
* Chain IDs
|
|
@@ -273,7 +218,6 @@ export declare const supportedChains: readonly [{
|
|
|
273
218
|
readonly url: "https://explore.lux.network";
|
|
274
219
|
};
|
|
275
220
|
};
|
|
276
|
-
blockTime?: number | undefined | undefined;
|
|
277
221
|
contracts: {
|
|
278
222
|
readonly multicall3: {
|
|
279
223
|
readonly address: "0xd25F88CBdAe3c2CCA3Bb75FC4E723b44C0Ea362F";
|
|
@@ -287,7 +231,6 @@ export declare const supportedChains: readonly [{
|
|
|
287
231
|
readonly symbol: "LUX";
|
|
288
232
|
readonly decimals: 18;
|
|
289
233
|
};
|
|
290
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
291
234
|
rpcUrls: {
|
|
292
235
|
readonly default: {
|
|
293
236
|
readonly http: readonly ["https://api.lux.network/rpc"];
|
|
@@ -299,18 +242,9 @@ export declare const supportedChains: readonly [{
|
|
|
299
242
|
sourceId?: number | undefined | undefined;
|
|
300
243
|
testnet?: boolean | undefined | undefined;
|
|
301
244
|
custom?: Record<string, unknown> | undefined;
|
|
302
|
-
extendSchema?: Record<string, unknown> | undefined;
|
|
303
245
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
304
246
|
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;
|
|
312
247
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
313
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
314
248
|
}, {
|
|
315
249
|
blockExplorers: {
|
|
316
250
|
readonly default: {
|
|
@@ -318,7 +252,6 @@ export declare const supportedChains: readonly [{
|
|
|
318
252
|
readonly url: "https://explore.lux-test.network";
|
|
319
253
|
};
|
|
320
254
|
};
|
|
321
|
-
blockTime?: number | undefined | undefined;
|
|
322
255
|
contracts: {
|
|
323
256
|
readonly multicall3: {
|
|
324
257
|
readonly address: "0xd25F88CBdAe3c2CCA3Bb75FC4E723b44C0Ea362F";
|
|
@@ -332,7 +265,6 @@ export declare const supportedChains: readonly [{
|
|
|
332
265
|
readonly symbol: "LUX";
|
|
333
266
|
readonly decimals: 18;
|
|
334
267
|
};
|
|
335
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
336
268
|
rpcUrls: {
|
|
337
269
|
readonly default: {
|
|
338
270
|
readonly http: readonly ["https://api.lux-test.network/rpc"];
|
|
@@ -344,18 +276,9 @@ export declare const supportedChains: readonly [{
|
|
|
344
276
|
sourceId?: number | undefined | undefined;
|
|
345
277
|
testnet: true;
|
|
346
278
|
custom?: Record<string, unknown> | undefined;
|
|
347
|
-
extendSchema?: Record<string, unknown> | undefined;
|
|
348
279
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
349
280
|
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;
|
|
357
281
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
358
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
359
282
|
}, {
|
|
360
283
|
blockExplorers: {
|
|
361
284
|
readonly default: {
|
|
@@ -363,7 +286,6 @@ export declare const supportedChains: readonly [{
|
|
|
363
286
|
readonly url: "https://explore.zoo.network";
|
|
364
287
|
};
|
|
365
288
|
};
|
|
366
|
-
blockTime?: number | undefined | undefined;
|
|
367
289
|
contracts?: {
|
|
368
290
|
[x: string]: import("viem").ChainContract | {
|
|
369
291
|
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
@@ -371,7 +293,7 @@ export declare const supportedChains: readonly [{
|
|
|
371
293
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
372
294
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
373
295
|
multicall3?: import("viem").ChainContract | undefined;
|
|
374
|
-
|
|
296
|
+
universalSignatureVerifier?: import("viem").ChainContract | undefined;
|
|
375
297
|
} | undefined;
|
|
376
298
|
ensTlds?: readonly string[] | undefined;
|
|
377
299
|
id: 200200;
|
|
@@ -381,7 +303,6 @@ export declare const supportedChains: readonly [{
|
|
|
381
303
|
readonly symbol: "ZOO";
|
|
382
304
|
readonly decimals: 18;
|
|
383
305
|
};
|
|
384
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
385
306
|
rpcUrls: {
|
|
386
307
|
readonly default: {
|
|
387
308
|
readonly http: readonly ["https://api.zoo.network/rpc"];
|
|
@@ -393,18 +314,9 @@ export declare const supportedChains: readonly [{
|
|
|
393
314
|
sourceId?: number | undefined | undefined;
|
|
394
315
|
testnet?: boolean | undefined | undefined;
|
|
395
316
|
custom?: Record<string, unknown> | undefined;
|
|
396
|
-
extendSchema?: Record<string, unknown> | undefined;
|
|
397
317
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
398
318
|
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;
|
|
406
319
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
407
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
408
320
|
}, {
|
|
409
321
|
blockExplorers: {
|
|
410
322
|
readonly default: {
|
|
@@ -412,7 +324,6 @@ export declare const supportedChains: readonly [{
|
|
|
412
324
|
readonly url: "https://explore.zoo-test.network";
|
|
413
325
|
};
|
|
414
326
|
};
|
|
415
|
-
blockTime?: number | undefined | undefined;
|
|
416
327
|
contracts?: {
|
|
417
328
|
[x: string]: import("viem").ChainContract | {
|
|
418
329
|
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
@@ -420,7 +331,7 @@ export declare const supportedChains: readonly [{
|
|
|
420
331
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
421
332
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
422
333
|
multicall3?: import("viem").ChainContract | undefined;
|
|
423
|
-
|
|
334
|
+
universalSignatureVerifier?: import("viem").ChainContract | undefined;
|
|
424
335
|
} | undefined;
|
|
425
336
|
ensTlds?: readonly string[] | undefined;
|
|
426
337
|
id: 200201;
|
|
@@ -430,7 +341,6 @@ export declare const supportedChains: readonly [{
|
|
|
430
341
|
readonly symbol: "ZOO";
|
|
431
342
|
readonly decimals: 18;
|
|
432
343
|
};
|
|
433
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
434
344
|
rpcUrls: {
|
|
435
345
|
readonly default: {
|
|
436
346
|
readonly http: readonly ["https://api.zoo-test.network/rpc"];
|
|
@@ -442,18 +352,9 @@ export declare const supportedChains: readonly [{
|
|
|
442
352
|
sourceId?: number | undefined | undefined;
|
|
443
353
|
testnet: true;
|
|
444
354
|
custom?: Record<string, unknown> | undefined;
|
|
445
|
-
extendSchema?: Record<string, unknown> | undefined;
|
|
446
355
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
447
356
|
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;
|
|
455
357
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
456
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
457
358
|
}, {
|
|
458
359
|
blockExplorers: {
|
|
459
360
|
readonly default: {
|
|
@@ -461,7 +362,6 @@ export declare const supportedChains: readonly [{
|
|
|
461
362
|
readonly url: "http://localhost:8545";
|
|
462
363
|
};
|
|
463
364
|
};
|
|
464
|
-
blockTime?: number | undefined | undefined;
|
|
465
365
|
contracts?: {
|
|
466
366
|
[x: string]: import("viem").ChainContract | {
|
|
467
367
|
[sourceId: number]: import("viem").ChainContract | undefined;
|
|
@@ -469,7 +369,7 @@ export declare const supportedChains: readonly [{
|
|
|
469
369
|
ensRegistry?: import("viem").ChainContract | undefined;
|
|
470
370
|
ensUniversalResolver?: import("viem").ChainContract | undefined;
|
|
471
371
|
multicall3?: import("viem").ChainContract | undefined;
|
|
472
|
-
|
|
372
|
+
universalSignatureVerifier?: import("viem").ChainContract | undefined;
|
|
473
373
|
} | undefined;
|
|
474
374
|
ensTlds?: readonly string[] | undefined;
|
|
475
375
|
id: 1337;
|
|
@@ -479,7 +379,6 @@ export declare const supportedChains: readonly [{
|
|
|
479
379
|
readonly symbol: "LUX";
|
|
480
380
|
readonly decimals: 18;
|
|
481
381
|
};
|
|
482
|
-
experimental_preconfirmationTime?: number | undefined | undefined;
|
|
483
382
|
rpcUrls: {
|
|
484
383
|
readonly default: {
|
|
485
384
|
readonly http: readonly ["http://localhost:8545/ext/bc/C/rpc"];
|
|
@@ -491,18 +390,9 @@ export declare const supportedChains: readonly [{
|
|
|
491
390
|
sourceId?: number | undefined | undefined;
|
|
492
391
|
testnet: false;
|
|
493
392
|
custom?: Record<string, unknown> | undefined;
|
|
494
|
-
extendSchema?: Record<string, unknown> | undefined;
|
|
495
393
|
fees?: import("viem").ChainFees<undefined> | undefined;
|
|
496
394
|
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;
|
|
504
395
|
serializers?: import("viem").ChainSerializers<undefined, import("viem").TransactionSerializable> | undefined;
|
|
505
|
-
verifyHash?: ((client: import("viem").Client, parameters: import("viem").VerifyHashActionParameters) => Promise<import("viem").VerifyHashActionReturnType>) | undefined;
|
|
506
396
|
}];
|
|
507
397
|
export type SupportedChainId = typeof supportedChains[number]['id'];
|
|
508
398
|
//# 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 Lux 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 LUX_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,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAqB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AMM V2 Factory ABI
|
|
3
|
-
* Compatible with
|
|
3
|
+
* Compatible with Lux 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 LUX_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 Lux 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 LUX_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,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAkB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AMM V2 Pair ABI
|
|
3
|
-
* Compatible with
|
|
3
|
+
* Compatible with Lux 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 LUX_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 Lux 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 LUX_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,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAoB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AMM V2 Router ABI
|
|
3
|
-
* Compatible with
|
|
3
|
+
* Compatible with Lux 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 LUX_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 Lux 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 LUX_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,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAqB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AMM V3 Factory ABI
|
|
3
|
-
* Compatible with
|
|
3
|
+
* Compatible with Lux 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 LUX_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 Lux 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 LUX_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,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAAkB,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* AMM V3 Pool ABI
|
|
3
|
-
* Compatible with
|
|
3
|
+
* Compatible with Lux 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 LUX_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 (Lux V2/V3 compatible)
|
|
5
|
+
* DEX V4 - Hook-based DEX with singleton pool manager (Lux 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, LUX_V2_ROUTER_ABI } from './amm-v2-router';
|
|
8
|
+
export { AMM_V2_FACTORY_ABI, LUX_V2_FACTORY_ABI } from './amm-v2-factory';
|
|
9
|
+
export { AMM_V2_PAIR_ABI, LUX_V2_PAIR_ABI } from './amm-v2-pair';
|
|
10
|
+
export { AMM_V3_FACTORY_ABI, LUX_V3_FACTORY_ABI } from './amm-v3-factory';
|
|
11
|
+
export { AMM_V3_POOL_ABI, LUX_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,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AACtE,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AACzE,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAGhE,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAA;AACzE,OAAO,EAAE,eAAe,EAAE,eAAe,EAAE,MAAM,eAAe,CAAA;AAGhE,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"}
|