@dodoex/dodo-contract-request 1.15.0-morph-holesky.2 → 1.15.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.
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/types/config/index.d.ts +0 -8
- package/dist/types/index.d.ts +0 -3
- package/package.json +1 -2
- package/scripts/contract-generate.ts +0 -1
- package/src/config/index.ts +1 -5
- package/src/contract/DODOApprove.ts +1 -1
- package/src/contract/ERC20Helper.ts +1 -1
- package/src/contract/MulticallWithValid.ts +1 -1
- package/src/index.ts +0 -3
- package/.cache/contract-info/VE33NonfungiblePositionManager.json +0 -1312
- package/.cache/contract-info/VE33V2Pair.json +0 -1357
- package/.cache/contract-info/VE33V2Router.json +0 -1660
- package/contract-config/morph-holesky.json +0 -69
- package/dist/types/config/morph-holesky.d.ts +0 -8
- package/dist/types/contract/VE33NonfungiblePositionManager.d.ts +0 -460
- package/dist/types/contract/VE33V2Pair.d.ts +0 -667
- package/dist/types/contract/VE33V2Router.d.ts +0 -436
- package/src/config/morph-holesky.ts +0 -4
- package/src/contract/VE33NonfungiblePositionManager.ts +0 -734
- package/src/contract/VE33V2Pair.ts +0 -1061
- package/src/contract/VE33V2Router.ts +0 -647
|
@@ -1,667 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* fetch DOMAIN_SEPARATOR
|
|
3
|
-
* @param {number} chainId - number
|
|
4
|
-
* @param {string} __to - string
|
|
5
|
-
* @returns {string} __output0 - bytes32
|
|
6
|
-
*/
|
|
7
|
-
export declare function fetchVE33V2PairDOMAIN_SEPARATOR(chainId: number, __to: string): Promise<string>;
|
|
8
|
-
export declare function getFetchVE33V2PairDOMAIN_SEPARATORQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
9
|
-
queryKey: (string | number | undefined)[];
|
|
10
|
-
enabled: boolean;
|
|
11
|
-
queryFn: () => Promise<string>;
|
|
12
|
-
};
|
|
13
|
-
/**
|
|
14
|
-
* fetch allowance
|
|
15
|
-
* @param {number} chainId - number
|
|
16
|
-
* @param {string} __to - string
|
|
17
|
-
* @param {string} owner - address
|
|
18
|
-
* @param {string} spender - address
|
|
19
|
-
* @returns {bigint} __output0 - uint256
|
|
20
|
-
*/
|
|
21
|
-
export declare function fetchVE33V2PairAllowance(chainId: number, __to: string, owner: string, spender: string): Promise<bigint>;
|
|
22
|
-
export declare function getFetchVE33V2PairAllowanceQueryOptions(chainId: number | undefined, __to: string | undefined, owner: string | undefined, spender: string | undefined): {
|
|
23
|
-
queryKey: (string | number | undefined)[];
|
|
24
|
-
enabled: boolean;
|
|
25
|
-
queryFn: () => Promise<bigint>;
|
|
26
|
-
};
|
|
27
|
-
/**
|
|
28
|
-
* fetch balanceOf
|
|
29
|
-
* @param {number} chainId - number
|
|
30
|
-
* @param {string} __to - string
|
|
31
|
-
* @param {string} account - address
|
|
32
|
-
* @returns {bigint} __output0 - uint256
|
|
33
|
-
*/
|
|
34
|
-
export declare function fetchVE33V2PairBalanceOf(chainId: number, __to: string, account: string): Promise<bigint>;
|
|
35
|
-
export declare function getFetchVE33V2PairBalanceOfQueryOptions(chainId: number | undefined, __to: string | undefined, account: string | undefined): {
|
|
36
|
-
queryKey: (string | number | undefined)[];
|
|
37
|
-
enabled: boolean;
|
|
38
|
-
queryFn: () => Promise<bigint>;
|
|
39
|
-
};
|
|
40
|
-
/**
|
|
41
|
-
* fetch blockTimestampLast
|
|
42
|
-
* @param {number} chainId - number
|
|
43
|
-
* @param {string} __to - string
|
|
44
|
-
* @returns {bigint} __output0 - uint256
|
|
45
|
-
*/
|
|
46
|
-
export declare function fetchVE33V2PairBlockTimestampLast(chainId: number, __to: string): Promise<bigint>;
|
|
47
|
-
export declare function getFetchVE33V2PairBlockTimestampLastQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
48
|
-
queryKey: (string | number | undefined)[];
|
|
49
|
-
enabled: boolean;
|
|
50
|
-
queryFn: () => Promise<bigint>;
|
|
51
|
-
};
|
|
52
|
-
/**
|
|
53
|
-
* fetch claimable0
|
|
54
|
-
* @param {number} chainId - number
|
|
55
|
-
* @param {string} __to - string
|
|
56
|
-
* @param {string} __input1 - address
|
|
57
|
-
* @returns {bigint} __output0 - uint256
|
|
58
|
-
*/
|
|
59
|
-
export declare function fetchVE33V2PairClaimable0(chainId: number, __to: string, __input1: string): Promise<bigint>;
|
|
60
|
-
export declare function getFetchVE33V2PairClaimable0QueryOptions(chainId: number | undefined, __to: string | undefined, __input1: string | undefined): {
|
|
61
|
-
queryKey: (string | number | undefined)[];
|
|
62
|
-
enabled: boolean;
|
|
63
|
-
queryFn: () => Promise<bigint>;
|
|
64
|
-
};
|
|
65
|
-
/**
|
|
66
|
-
* fetch claimable1
|
|
67
|
-
* @param {number} chainId - number
|
|
68
|
-
* @param {string} __to - string
|
|
69
|
-
* @param {string} __input1 - address
|
|
70
|
-
* @returns {bigint} __output0 - uint256
|
|
71
|
-
*/
|
|
72
|
-
export declare function fetchVE33V2PairClaimable1(chainId: number, __to: string, __input1: string): Promise<bigint>;
|
|
73
|
-
export declare function getFetchVE33V2PairClaimable1QueryOptions(chainId: number | undefined, __to: string | undefined, __input1: string | undefined): {
|
|
74
|
-
queryKey: (string | number | undefined)[];
|
|
75
|
-
enabled: boolean;
|
|
76
|
-
queryFn: () => Promise<bigint>;
|
|
77
|
-
};
|
|
78
|
-
/**
|
|
79
|
-
* fetch currentCumulativePrices
|
|
80
|
-
* @param {number} chainId - number
|
|
81
|
-
* @param {string} __to - string
|
|
82
|
-
* @returns {bigint} reserve0Cumulative - uint256
|
|
83
|
-
* @returns {bigint} reserve1Cumulative - uint256
|
|
84
|
-
* @returns {bigint} blockTimestamp - uint256
|
|
85
|
-
*/
|
|
86
|
-
export declare function fetchVE33V2PairCurrentCumulativePrices(chainId: number, __to: string): Promise<{
|
|
87
|
-
reserve0Cumulative: bigint;
|
|
88
|
-
reserve1Cumulative: bigint;
|
|
89
|
-
blockTimestamp: bigint;
|
|
90
|
-
}>;
|
|
91
|
-
export declare function getFetchVE33V2PairCurrentCumulativePricesQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
92
|
-
queryKey: (string | number | undefined)[];
|
|
93
|
-
enabled: boolean;
|
|
94
|
-
queryFn: () => Promise<{
|
|
95
|
-
reserve0Cumulative: bigint;
|
|
96
|
-
reserve1Cumulative: bigint;
|
|
97
|
-
blockTimestamp: bigint;
|
|
98
|
-
}>;
|
|
99
|
-
};
|
|
100
|
-
/**
|
|
101
|
-
* fetch decimals
|
|
102
|
-
* @param {number} chainId - number
|
|
103
|
-
* @param {string} __to - string
|
|
104
|
-
* @returns {bigint} __output0 - uint8
|
|
105
|
-
*/
|
|
106
|
-
export declare function fetchVE33V2PairDecimals(chainId: number, __to: string): Promise<bigint>;
|
|
107
|
-
export declare function getFetchVE33V2PairDecimalsQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
108
|
-
queryKey: (string | number | undefined)[];
|
|
109
|
-
enabled: boolean;
|
|
110
|
-
queryFn: () => Promise<bigint>;
|
|
111
|
-
};
|
|
112
|
-
/**
|
|
113
|
-
* fetch eip712Domain
|
|
114
|
-
* @param {number} chainId - number
|
|
115
|
-
* @param {string} __to - string
|
|
116
|
-
* @returns {string} fields - bytes1
|
|
117
|
-
* @returns {string} name - string
|
|
118
|
-
* @returns {string} version - string
|
|
119
|
-
* @returns {bigint} chainId - uint256
|
|
120
|
-
* @returns {string} verifyingContract - address
|
|
121
|
-
* @returns {string} salt - bytes32
|
|
122
|
-
* @returns {Array<bigint>} extensions - uint256[]
|
|
123
|
-
*/
|
|
124
|
-
export declare function fetchVE33V2PairEip712Domain(chainId: number, __to: string): Promise<{
|
|
125
|
-
fields: string;
|
|
126
|
-
name: string;
|
|
127
|
-
version: string;
|
|
128
|
-
chainId: bigint;
|
|
129
|
-
verifyingContract: string;
|
|
130
|
-
salt: string;
|
|
131
|
-
extensions: Array<bigint>;
|
|
132
|
-
}>;
|
|
133
|
-
export declare function getFetchVE33V2PairEip712DomainQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
134
|
-
queryKey: (string | number | undefined)[];
|
|
135
|
-
enabled: boolean;
|
|
136
|
-
queryFn: () => Promise<{
|
|
137
|
-
fields: string;
|
|
138
|
-
name: string;
|
|
139
|
-
version: string;
|
|
140
|
-
chainId: bigint;
|
|
141
|
-
verifyingContract: string;
|
|
142
|
-
salt: string;
|
|
143
|
-
extensions: Array<bigint>;
|
|
144
|
-
}>;
|
|
145
|
-
};
|
|
146
|
-
/**
|
|
147
|
-
* fetch factory
|
|
148
|
-
* @param {number} chainId - number
|
|
149
|
-
* @param {string} __to - string
|
|
150
|
-
* @returns {string} __output0 - address
|
|
151
|
-
*/
|
|
152
|
-
export declare function fetchVE33V2PairFactory(chainId: number, __to: string): Promise<string>;
|
|
153
|
-
export declare function getFetchVE33V2PairFactoryQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
154
|
-
queryKey: (string | number | undefined)[];
|
|
155
|
-
enabled: boolean;
|
|
156
|
-
queryFn: () => Promise<string>;
|
|
157
|
-
};
|
|
158
|
-
/**
|
|
159
|
-
* fetch getAmountOut
|
|
160
|
-
* @param {number} chainId - number
|
|
161
|
-
* @param {string} __to - string
|
|
162
|
-
* @param {number} amountIn - uint256
|
|
163
|
-
* @param {string} tokenIn - address
|
|
164
|
-
* @returns {bigint} __output0 - uint256
|
|
165
|
-
*/
|
|
166
|
-
export declare function fetchVE33V2PairGetAmountOut(chainId: number, __to: string, amountIn: number, tokenIn: string): Promise<bigint>;
|
|
167
|
-
export declare function getFetchVE33V2PairGetAmountOutQueryOptions(chainId: number | undefined, __to: string | undefined, amountIn: number | undefined, tokenIn: string | undefined): {
|
|
168
|
-
queryKey: (string | number | undefined)[];
|
|
169
|
-
enabled: boolean;
|
|
170
|
-
queryFn: () => Promise<bigint>;
|
|
171
|
-
};
|
|
172
|
-
/**
|
|
173
|
-
* fetch getReserves
|
|
174
|
-
* @param {number} chainId - number
|
|
175
|
-
* @param {string} __to - string
|
|
176
|
-
* @returns {bigint} _reserve0 - uint256
|
|
177
|
-
* @returns {bigint} _reserve1 - uint256
|
|
178
|
-
* @returns {bigint} _blockTimestampLast - uint256
|
|
179
|
-
*/
|
|
180
|
-
export declare function fetchVE33V2PairGetReserves(chainId: number, __to: string): Promise<{
|
|
181
|
-
_reserve0: bigint;
|
|
182
|
-
_reserve1: bigint;
|
|
183
|
-
_blockTimestampLast: bigint;
|
|
184
|
-
}>;
|
|
185
|
-
export declare function getFetchVE33V2PairGetReservesQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
186
|
-
queryKey: (string | number | undefined)[];
|
|
187
|
-
enabled: boolean;
|
|
188
|
-
queryFn: () => Promise<{
|
|
189
|
-
_reserve0: bigint;
|
|
190
|
-
_reserve1: bigint;
|
|
191
|
-
_blockTimestampLast: bigint;
|
|
192
|
-
}>;
|
|
193
|
-
};
|
|
194
|
-
/**
|
|
195
|
-
* fetch index0
|
|
196
|
-
* @param {number} chainId - number
|
|
197
|
-
* @param {string} __to - string
|
|
198
|
-
* @returns {bigint} __output0 - uint256
|
|
199
|
-
*/
|
|
200
|
-
export declare function fetchVE33V2PairIndex0(chainId: number, __to: string): Promise<bigint>;
|
|
201
|
-
export declare function getFetchVE33V2PairIndex0QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
202
|
-
queryKey: (string | number | undefined)[];
|
|
203
|
-
enabled: boolean;
|
|
204
|
-
queryFn: () => Promise<bigint>;
|
|
205
|
-
};
|
|
206
|
-
/**
|
|
207
|
-
* fetch index1
|
|
208
|
-
* @param {number} chainId - number
|
|
209
|
-
* @param {string} __to - string
|
|
210
|
-
* @returns {bigint} __output0 - uint256
|
|
211
|
-
*/
|
|
212
|
-
export declare function fetchVE33V2PairIndex1(chainId: number, __to: string): Promise<bigint>;
|
|
213
|
-
export declare function getFetchVE33V2PairIndex1QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
214
|
-
queryKey: (string | number | undefined)[];
|
|
215
|
-
enabled: boolean;
|
|
216
|
-
queryFn: () => Promise<bigint>;
|
|
217
|
-
};
|
|
218
|
-
/**
|
|
219
|
-
* fetch lastObservation
|
|
220
|
-
* @param {number} chainId - number
|
|
221
|
-
* @param {string} __to - string
|
|
222
|
-
* @returns {{timestamp: bigint; reserve0Cumulative: bigint; reserve1Cumulative: bigint}} __output0 - tuple
|
|
223
|
-
*/
|
|
224
|
-
export declare function fetchVE33V2PairLastObservation(chainId: number, __to: string): Promise<{
|
|
225
|
-
timestamp: bigint;
|
|
226
|
-
reserve0Cumulative: bigint;
|
|
227
|
-
reserve1Cumulative: bigint;
|
|
228
|
-
}>;
|
|
229
|
-
export declare function getFetchVE33V2PairLastObservationQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
230
|
-
queryKey: (string | number | undefined)[];
|
|
231
|
-
enabled: boolean;
|
|
232
|
-
queryFn: () => Promise<{
|
|
233
|
-
timestamp: bigint;
|
|
234
|
-
reserve0Cumulative: bigint;
|
|
235
|
-
reserve1Cumulative: bigint;
|
|
236
|
-
}>;
|
|
237
|
-
};
|
|
238
|
-
/**
|
|
239
|
-
* fetch metadata
|
|
240
|
-
* @param {number} chainId - number
|
|
241
|
-
* @param {string} __to - string
|
|
242
|
-
* @returns {bigint} dec0 - uint256
|
|
243
|
-
* @returns {bigint} dec1 - uint256
|
|
244
|
-
* @returns {bigint} r0 - uint256
|
|
245
|
-
* @returns {bigint} r1 - uint256
|
|
246
|
-
* @returns {boolean} st - bool
|
|
247
|
-
* @returns {string} t0 - address
|
|
248
|
-
* @returns {string} t1 - address
|
|
249
|
-
*/
|
|
250
|
-
export declare function fetchVE33V2PairMetadata(chainId: number, __to: string): Promise<{
|
|
251
|
-
dec0: bigint;
|
|
252
|
-
dec1: bigint;
|
|
253
|
-
r0: bigint;
|
|
254
|
-
r1: bigint;
|
|
255
|
-
st: boolean;
|
|
256
|
-
t0: string;
|
|
257
|
-
t1: string;
|
|
258
|
-
}>;
|
|
259
|
-
export declare function getFetchVE33V2PairMetadataQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
260
|
-
queryKey: (string | number | undefined)[];
|
|
261
|
-
enabled: boolean;
|
|
262
|
-
queryFn: () => Promise<{
|
|
263
|
-
dec0: bigint;
|
|
264
|
-
dec1: bigint;
|
|
265
|
-
r0: bigint;
|
|
266
|
-
r1: bigint;
|
|
267
|
-
st: boolean;
|
|
268
|
-
t0: string;
|
|
269
|
-
t1: string;
|
|
270
|
-
}>;
|
|
271
|
-
};
|
|
272
|
-
/**
|
|
273
|
-
* fetch name
|
|
274
|
-
* @param {number} chainId - number
|
|
275
|
-
* @param {string} __to - string
|
|
276
|
-
* @returns {string} __output0 - string
|
|
277
|
-
*/
|
|
278
|
-
export declare function fetchVE33V2PairName(chainId: number, __to: string): Promise<string>;
|
|
279
|
-
export declare function getFetchVE33V2PairNameQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
280
|
-
queryKey: (string | number | undefined)[];
|
|
281
|
-
enabled: boolean;
|
|
282
|
-
queryFn: () => Promise<string>;
|
|
283
|
-
};
|
|
284
|
-
/**
|
|
285
|
-
* fetch nonces
|
|
286
|
-
* @param {number} chainId - number
|
|
287
|
-
* @param {string} __to - string
|
|
288
|
-
* @param {string} owner - address
|
|
289
|
-
* @returns {bigint} __output0 - uint256
|
|
290
|
-
*/
|
|
291
|
-
export declare function fetchVE33V2PairNonces(chainId: number, __to: string, owner: string): Promise<bigint>;
|
|
292
|
-
export declare function getFetchVE33V2PairNoncesQueryOptions(chainId: number | undefined, __to: string | undefined, owner: string | undefined): {
|
|
293
|
-
queryKey: (string | number | undefined)[];
|
|
294
|
-
enabled: boolean;
|
|
295
|
-
queryFn: () => Promise<bigint>;
|
|
296
|
-
};
|
|
297
|
-
/**
|
|
298
|
-
* fetch observationLength
|
|
299
|
-
* @param {number} chainId - number
|
|
300
|
-
* @param {string} __to - string
|
|
301
|
-
* @returns {bigint} __output0 - uint256
|
|
302
|
-
*/
|
|
303
|
-
export declare function fetchVE33V2PairObservationLength(chainId: number, __to: string): Promise<bigint>;
|
|
304
|
-
export declare function getFetchVE33V2PairObservationLengthQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
305
|
-
queryKey: (string | number | undefined)[];
|
|
306
|
-
enabled: boolean;
|
|
307
|
-
queryFn: () => Promise<bigint>;
|
|
308
|
-
};
|
|
309
|
-
/**
|
|
310
|
-
* fetch observations
|
|
311
|
-
* @param {number} chainId - number
|
|
312
|
-
* @param {string} __to - string
|
|
313
|
-
* @param {number} __input1 - uint256
|
|
314
|
-
* @returns {bigint} timestamp - uint256
|
|
315
|
-
* @returns {bigint} reserve0Cumulative - uint256
|
|
316
|
-
* @returns {bigint} reserve1Cumulative - uint256
|
|
317
|
-
*/
|
|
318
|
-
export declare function fetchVE33V2PairObservations(chainId: number, __to: string, __input1: number): Promise<{
|
|
319
|
-
timestamp: bigint;
|
|
320
|
-
reserve0Cumulative: bigint;
|
|
321
|
-
reserve1Cumulative: bigint;
|
|
322
|
-
}>;
|
|
323
|
-
export declare function getFetchVE33V2PairObservationsQueryOptions(chainId: number | undefined, __to: string | undefined, __input1: number | undefined): {
|
|
324
|
-
queryKey: (string | number | undefined)[];
|
|
325
|
-
enabled: boolean;
|
|
326
|
-
queryFn: () => Promise<{
|
|
327
|
-
timestamp: bigint;
|
|
328
|
-
reserve0Cumulative: bigint;
|
|
329
|
-
reserve1Cumulative: bigint;
|
|
330
|
-
}>;
|
|
331
|
-
};
|
|
332
|
-
/**
|
|
333
|
-
* fetch periodSize
|
|
334
|
-
* @param {number} chainId - number
|
|
335
|
-
* @param {string} __to - string
|
|
336
|
-
* @returns {bigint} __output0 - uint256
|
|
337
|
-
*/
|
|
338
|
-
export declare function fetchVE33V2PairPeriodSize(chainId: number, __to: string): Promise<bigint>;
|
|
339
|
-
export declare function getFetchVE33V2PairPeriodSizeQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
340
|
-
queryKey: (string | number | undefined)[];
|
|
341
|
-
enabled: boolean;
|
|
342
|
-
queryFn: () => Promise<bigint>;
|
|
343
|
-
};
|
|
344
|
-
/**
|
|
345
|
-
* fetch poolFees
|
|
346
|
-
* @param {number} chainId - number
|
|
347
|
-
* @param {string} __to - string
|
|
348
|
-
* @returns {string} __output0 - address
|
|
349
|
-
*/
|
|
350
|
-
export declare function fetchVE33V2PairPoolFees(chainId: number, __to: string): Promise<string>;
|
|
351
|
-
export declare function getFetchVE33V2PairPoolFeesQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
352
|
-
queryKey: (string | number | undefined)[];
|
|
353
|
-
enabled: boolean;
|
|
354
|
-
queryFn: () => Promise<string>;
|
|
355
|
-
};
|
|
356
|
-
/**
|
|
357
|
-
* fetch prices
|
|
358
|
-
* @param {number} chainId - number
|
|
359
|
-
* @param {string} __to - string
|
|
360
|
-
* @param {string} tokenIn - address
|
|
361
|
-
* @param {number} amountIn - uint256
|
|
362
|
-
* @param {number} points - uint256
|
|
363
|
-
* @returns {Array<bigint>} __output0 - uint256[]
|
|
364
|
-
*/
|
|
365
|
-
export declare function fetchVE33V2PairPrices(chainId: number, __to: string, tokenIn: string, amountIn: number, points: number): Promise<Array<bigint>>;
|
|
366
|
-
export declare function getFetchVE33V2PairPricesQueryOptions(chainId: number | undefined, __to: string | undefined, tokenIn: string | undefined, amountIn: number | undefined, points: number | undefined): {
|
|
367
|
-
queryKey: (string | number | undefined)[];
|
|
368
|
-
enabled: boolean;
|
|
369
|
-
queryFn: () => Promise<bigint[]>;
|
|
370
|
-
};
|
|
371
|
-
/**
|
|
372
|
-
* fetch quote
|
|
373
|
-
* @param {number} chainId - number
|
|
374
|
-
* @param {string} __to - string
|
|
375
|
-
* @param {string} tokenIn - address
|
|
376
|
-
* @param {number} amountIn - uint256
|
|
377
|
-
* @param {number} granularity - uint256
|
|
378
|
-
* @returns {bigint} amountOut - uint256
|
|
379
|
-
*/
|
|
380
|
-
export declare function fetchVE33V2PairQuote(chainId: number, __to: string, tokenIn: string, amountIn: number, granularity: number): Promise<bigint>;
|
|
381
|
-
export declare function getFetchVE33V2PairQuoteQueryOptions(chainId: number | undefined, __to: string | undefined, tokenIn: string | undefined, amountIn: number | undefined, granularity: number | undefined): {
|
|
382
|
-
queryKey: (string | number | undefined)[];
|
|
383
|
-
enabled: boolean;
|
|
384
|
-
queryFn: () => Promise<bigint>;
|
|
385
|
-
};
|
|
386
|
-
/**
|
|
387
|
-
* fetch reserve0
|
|
388
|
-
* @param {number} chainId - number
|
|
389
|
-
* @param {string} __to - string
|
|
390
|
-
* @returns {bigint} __output0 - uint256
|
|
391
|
-
*/
|
|
392
|
-
export declare function fetchVE33V2PairReserve0(chainId: number, __to: string): Promise<bigint>;
|
|
393
|
-
export declare function getFetchVE33V2PairReserve0QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
394
|
-
queryKey: (string | number | undefined)[];
|
|
395
|
-
enabled: boolean;
|
|
396
|
-
queryFn: () => Promise<bigint>;
|
|
397
|
-
};
|
|
398
|
-
/**
|
|
399
|
-
* fetch reserve0CumulativeLast
|
|
400
|
-
* @param {number} chainId - number
|
|
401
|
-
* @param {string} __to - string
|
|
402
|
-
* @returns {bigint} __output0 - uint256
|
|
403
|
-
*/
|
|
404
|
-
export declare function fetchVE33V2PairReserve0CumulativeLast(chainId: number, __to: string): Promise<bigint>;
|
|
405
|
-
export declare function getFetchVE33V2PairReserve0CumulativeLastQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
406
|
-
queryKey: (string | number | undefined)[];
|
|
407
|
-
enabled: boolean;
|
|
408
|
-
queryFn: () => Promise<bigint>;
|
|
409
|
-
};
|
|
410
|
-
/**
|
|
411
|
-
* fetch reserve1
|
|
412
|
-
* @param {number} chainId - number
|
|
413
|
-
* @param {string} __to - string
|
|
414
|
-
* @returns {bigint} __output0 - uint256
|
|
415
|
-
*/
|
|
416
|
-
export declare function fetchVE33V2PairReserve1(chainId: number, __to: string): Promise<bigint>;
|
|
417
|
-
export declare function getFetchVE33V2PairReserve1QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
418
|
-
queryKey: (string | number | undefined)[];
|
|
419
|
-
enabled: boolean;
|
|
420
|
-
queryFn: () => Promise<bigint>;
|
|
421
|
-
};
|
|
422
|
-
/**
|
|
423
|
-
* fetch reserve1CumulativeLast
|
|
424
|
-
* @param {number} chainId - number
|
|
425
|
-
* @param {string} __to - string
|
|
426
|
-
* @returns {bigint} __output0 - uint256
|
|
427
|
-
*/
|
|
428
|
-
export declare function fetchVE33V2PairReserve1CumulativeLast(chainId: number, __to: string): Promise<bigint>;
|
|
429
|
-
export declare function getFetchVE33V2PairReserve1CumulativeLastQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
430
|
-
queryKey: (string | number | undefined)[];
|
|
431
|
-
enabled: boolean;
|
|
432
|
-
queryFn: () => Promise<bigint>;
|
|
433
|
-
};
|
|
434
|
-
/**
|
|
435
|
-
* fetch sample
|
|
436
|
-
* @param {number} chainId - number
|
|
437
|
-
* @param {string} __to - string
|
|
438
|
-
* @param {string} tokenIn - address
|
|
439
|
-
* @param {number} amountIn - uint256
|
|
440
|
-
* @param {number} points - uint256
|
|
441
|
-
* @param {number} window - uint256
|
|
442
|
-
* @returns {Array<bigint>} __output0 - uint256[]
|
|
443
|
-
*/
|
|
444
|
-
export declare function fetchVE33V2PairSample(chainId: number, __to: string, tokenIn: string, amountIn: number, points: number, window: number): Promise<Array<bigint>>;
|
|
445
|
-
export declare function getFetchVE33V2PairSampleQueryOptions(chainId: number | undefined, __to: string | undefined, tokenIn: string | undefined, amountIn: number | undefined, points: number | undefined, window: number | undefined): {
|
|
446
|
-
queryKey: (string | number | undefined)[];
|
|
447
|
-
enabled: boolean;
|
|
448
|
-
queryFn: () => Promise<bigint[]>;
|
|
449
|
-
};
|
|
450
|
-
/**
|
|
451
|
-
* fetch stable
|
|
452
|
-
* @param {number} chainId - number
|
|
453
|
-
* @param {string} __to - string
|
|
454
|
-
* @returns {boolean} __output0 - bool
|
|
455
|
-
*/
|
|
456
|
-
export declare function fetchVE33V2PairStable(chainId: number, __to: string): Promise<boolean>;
|
|
457
|
-
export declare function getFetchVE33V2PairStableQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
458
|
-
queryKey: (string | number | undefined)[];
|
|
459
|
-
enabled: boolean;
|
|
460
|
-
queryFn: () => Promise<boolean>;
|
|
461
|
-
};
|
|
462
|
-
/**
|
|
463
|
-
* fetch supplyIndex0
|
|
464
|
-
* @param {number} chainId - number
|
|
465
|
-
* @param {string} __to - string
|
|
466
|
-
* @param {string} __input1 - address
|
|
467
|
-
* @returns {bigint} __output0 - uint256
|
|
468
|
-
*/
|
|
469
|
-
export declare function fetchVE33V2PairSupplyIndex0(chainId: number, __to: string, __input1: string): Promise<bigint>;
|
|
470
|
-
export declare function getFetchVE33V2PairSupplyIndex0QueryOptions(chainId: number | undefined, __to: string | undefined, __input1: string | undefined): {
|
|
471
|
-
queryKey: (string | number | undefined)[];
|
|
472
|
-
enabled: boolean;
|
|
473
|
-
queryFn: () => Promise<bigint>;
|
|
474
|
-
};
|
|
475
|
-
/**
|
|
476
|
-
* fetch supplyIndex1
|
|
477
|
-
* @param {number} chainId - number
|
|
478
|
-
* @param {string} __to - string
|
|
479
|
-
* @param {string} __input1 - address
|
|
480
|
-
* @returns {bigint} __output0 - uint256
|
|
481
|
-
*/
|
|
482
|
-
export declare function fetchVE33V2PairSupplyIndex1(chainId: number, __to: string, __input1: string): Promise<bigint>;
|
|
483
|
-
export declare function getFetchVE33V2PairSupplyIndex1QueryOptions(chainId: number | undefined, __to: string | undefined, __input1: string | undefined): {
|
|
484
|
-
queryKey: (string | number | undefined)[];
|
|
485
|
-
enabled: boolean;
|
|
486
|
-
queryFn: () => Promise<bigint>;
|
|
487
|
-
};
|
|
488
|
-
/**
|
|
489
|
-
* fetch symbol
|
|
490
|
-
* @param {number} chainId - number
|
|
491
|
-
* @param {string} __to - string
|
|
492
|
-
* @returns {string} __output0 - string
|
|
493
|
-
*/
|
|
494
|
-
export declare function fetchVE33V2PairSymbol(chainId: number, __to: string): Promise<string>;
|
|
495
|
-
export declare function getFetchVE33V2PairSymbolQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
496
|
-
queryKey: (string | number | undefined)[];
|
|
497
|
-
enabled: boolean;
|
|
498
|
-
queryFn: () => Promise<string>;
|
|
499
|
-
};
|
|
500
|
-
/**
|
|
501
|
-
* fetch token0
|
|
502
|
-
* @param {number} chainId - number
|
|
503
|
-
* @param {string} __to - string
|
|
504
|
-
* @returns {string} __output0 - address
|
|
505
|
-
*/
|
|
506
|
-
export declare function fetchVE33V2PairToken0(chainId: number, __to: string): Promise<string>;
|
|
507
|
-
export declare function getFetchVE33V2PairToken0QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
508
|
-
queryKey: (string | number | undefined)[];
|
|
509
|
-
enabled: boolean;
|
|
510
|
-
queryFn: () => Promise<string>;
|
|
511
|
-
};
|
|
512
|
-
/**
|
|
513
|
-
* fetch token1
|
|
514
|
-
* @param {number} chainId - number
|
|
515
|
-
* @param {string} __to - string
|
|
516
|
-
* @returns {string} __output0 - address
|
|
517
|
-
*/
|
|
518
|
-
export declare function fetchVE33V2PairToken1(chainId: number, __to: string): Promise<string>;
|
|
519
|
-
export declare function getFetchVE33V2PairToken1QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
520
|
-
queryKey: (string | number | undefined)[];
|
|
521
|
-
enabled: boolean;
|
|
522
|
-
queryFn: () => Promise<string>;
|
|
523
|
-
};
|
|
524
|
-
/**
|
|
525
|
-
* fetch tokens
|
|
526
|
-
* @param {number} chainId - number
|
|
527
|
-
* @param {string} __to - string
|
|
528
|
-
* @returns {string} __output0 - address
|
|
529
|
-
* @returns {string} __output1 - address
|
|
530
|
-
*/
|
|
531
|
-
export declare function fetchVE33V2PairTokens(chainId: number, __to: string): Promise<{
|
|
532
|
-
__output0: string;
|
|
533
|
-
__output1: string;
|
|
534
|
-
}>;
|
|
535
|
-
export declare function getFetchVE33V2PairTokensQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
536
|
-
queryKey: (string | number | undefined)[];
|
|
537
|
-
enabled: boolean;
|
|
538
|
-
queryFn: () => Promise<{
|
|
539
|
-
__output0: string;
|
|
540
|
-
__output1: string;
|
|
541
|
-
}>;
|
|
542
|
-
};
|
|
543
|
-
/**
|
|
544
|
-
* fetch totalSupply
|
|
545
|
-
* @param {number} chainId - number
|
|
546
|
-
* @param {string} __to - string
|
|
547
|
-
* @returns {bigint} __output0 - uint256
|
|
548
|
-
*/
|
|
549
|
-
export declare function fetchVE33V2PairTotalSupply(chainId: number, __to: string): Promise<bigint>;
|
|
550
|
-
export declare function getFetchVE33V2PairTotalSupplyQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
551
|
-
queryKey: (string | number | undefined)[];
|
|
552
|
-
enabled: boolean;
|
|
553
|
-
queryFn: () => Promise<bigint>;
|
|
554
|
-
};
|
|
555
|
-
/**
|
|
556
|
-
* encode approve
|
|
557
|
-
* @param {string} spender - address
|
|
558
|
-
* @param {string | number} amount - uint256
|
|
559
|
-
* @returns {string} encode data
|
|
560
|
-
*/
|
|
561
|
-
export declare function encodeVE33V2PairApprove(spender: string, amount: string | number): string;
|
|
562
|
-
/**
|
|
563
|
-
* encode burn
|
|
564
|
-
* @param {string} to - address
|
|
565
|
-
* @returns {string} encode data
|
|
566
|
-
*/
|
|
567
|
-
export declare function encodeVE33V2PairBurn(to: string): string;
|
|
568
|
-
/**
|
|
569
|
-
* encode claimFees
|
|
570
|
-
|
|
571
|
-
* @returns {string} encode data
|
|
572
|
-
*/
|
|
573
|
-
export declare function encodeVE33V2PairClaimFees(): string;
|
|
574
|
-
/**
|
|
575
|
-
* encode decreaseAllowance
|
|
576
|
-
* @param {string} spender - address
|
|
577
|
-
* @param {string | number} subtractedValue - uint256
|
|
578
|
-
* @returns {string} encode data
|
|
579
|
-
*/
|
|
580
|
-
export declare function encodeVE33V2PairDecreaseAllowance(spender: string, subtractedValue: string | number): string;
|
|
581
|
-
/**
|
|
582
|
-
* encode getK
|
|
583
|
-
|
|
584
|
-
* @returns {string} encode data
|
|
585
|
-
*/
|
|
586
|
-
export declare function encodeVE33V2PairGetK(): string;
|
|
587
|
-
/**
|
|
588
|
-
* encode increaseAllowance
|
|
589
|
-
* @param {string} spender - address
|
|
590
|
-
* @param {string | number} addedValue - uint256
|
|
591
|
-
* @returns {string} encode data
|
|
592
|
-
*/
|
|
593
|
-
export declare function encodeVE33V2PairIncreaseAllowance(spender: string, addedValue: string | number): string;
|
|
594
|
-
/**
|
|
595
|
-
* encode initialize
|
|
596
|
-
* @param {string} _token0 - address
|
|
597
|
-
* @param {string} _token1 - address
|
|
598
|
-
* @param {boolean} _stable - bool
|
|
599
|
-
* @returns {string} encode data
|
|
600
|
-
*/
|
|
601
|
-
export declare function encodeVE33V2PairInitialize(_token0: string, _token1: string, _stable: boolean): string;
|
|
602
|
-
/**
|
|
603
|
-
* encode mint
|
|
604
|
-
* @param {string} to - address
|
|
605
|
-
* @returns {string} encode data
|
|
606
|
-
*/
|
|
607
|
-
export declare function encodeVE33V2PairMint(to: string): string;
|
|
608
|
-
/**
|
|
609
|
-
* encode permit
|
|
610
|
-
* @param {string} owner - address
|
|
611
|
-
* @param {string} spender - address
|
|
612
|
-
* @param {string | number} value - uint256
|
|
613
|
-
* @param {string | number} deadline - uint256
|
|
614
|
-
* @param {string | number} v - uint8
|
|
615
|
-
* @param {string} r - bytes32
|
|
616
|
-
* @param {string} s - bytes32
|
|
617
|
-
* @returns {string} encode data
|
|
618
|
-
*/
|
|
619
|
-
export declare function encodeVE33V2PairPermit(owner: string, spender: string, value: string | number, deadline: string | number, v: string | number, r: string, s: string): string;
|
|
620
|
-
/**
|
|
621
|
-
* encode setName
|
|
622
|
-
* @param {string} __name - string
|
|
623
|
-
* @returns {string} encode data
|
|
624
|
-
*/
|
|
625
|
-
export declare function encodeVE33V2PairSetName(__name: string): string;
|
|
626
|
-
/**
|
|
627
|
-
* encode setSymbol
|
|
628
|
-
* @param {string} __symbol - string
|
|
629
|
-
* @returns {string} encode data
|
|
630
|
-
*/
|
|
631
|
-
export declare function encodeVE33V2PairSetSymbol(__symbol: string): string;
|
|
632
|
-
/**
|
|
633
|
-
* encode skim
|
|
634
|
-
* @param {string} to - address
|
|
635
|
-
* @returns {string} encode data
|
|
636
|
-
*/
|
|
637
|
-
export declare function encodeVE33V2PairSkim(to: string): string;
|
|
638
|
-
/**
|
|
639
|
-
* encode swap
|
|
640
|
-
* @param {string | number} amount0Out - uint256
|
|
641
|
-
* @param {string | number} amount1Out - uint256
|
|
642
|
-
* @param {string} to - address
|
|
643
|
-
* @param {string} data - bytes
|
|
644
|
-
* @returns {string} encode data
|
|
645
|
-
*/
|
|
646
|
-
export declare function encodeVE33V2PairSwap(amount0Out: string | number, amount1Out: string | number, to: string, data: string): string;
|
|
647
|
-
/**
|
|
648
|
-
* encode sync
|
|
649
|
-
|
|
650
|
-
* @returns {string} encode data
|
|
651
|
-
*/
|
|
652
|
-
export declare function encodeVE33V2PairSync(): string;
|
|
653
|
-
/**
|
|
654
|
-
* encode transfer
|
|
655
|
-
* @param {string} to - address
|
|
656
|
-
* @param {string | number} amount - uint256
|
|
657
|
-
* @returns {string} encode data
|
|
658
|
-
*/
|
|
659
|
-
export declare function encodeVE33V2PairTransfer(to: string, amount: string | number): string;
|
|
660
|
-
/**
|
|
661
|
-
* encode transferFrom
|
|
662
|
-
* @param {string} from - address
|
|
663
|
-
* @param {string} to - address
|
|
664
|
-
* @param {string | number} amount - uint256
|
|
665
|
-
* @returns {string} encode data
|
|
666
|
-
*/
|
|
667
|
-
export declare function encodeVE33V2PairTransferFrom(from: string, to: string, amount: string | number): string;
|