@wagmi/core 3.1.0 → 3.2.1
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/esm/exports/tempo.js +1 -1
- package/dist/esm/tempo/Connectors.js +39 -30
- package/dist/esm/tempo/Connectors.js.map +1 -1
- package/dist/esm/tempo/{Actions → actions}/amm.js +11 -43
- package/dist/esm/tempo/{Actions → actions}/amm.js.map +1 -1
- package/dist/esm/tempo/{Actions → actions}/dex.js +100 -24
- package/dist/esm/tempo/actions/dex.js.map +1 -0
- package/dist/esm/tempo/{Actions → actions}/faucet.js +2 -2
- package/dist/esm/tempo/{Actions → actions}/faucet.js.map +1 -1
- package/dist/esm/tempo/{Actions → actions}/fee.js +3 -3
- package/dist/esm/tempo/{Actions → actions}/fee.js.map +1 -1
- package/dist/esm/tempo/{Actions → actions}/index.js.map +1 -1
- package/dist/esm/tempo/{Actions → actions}/nonce.js +0 -85
- package/dist/esm/tempo/{Actions → actions}/nonce.js.map +1 -1
- package/dist/esm/tempo/{Actions → actions}/policy.js +14 -14
- package/dist/esm/tempo/{Actions → actions}/policy.js.map +1 -1
- package/dist/esm/tempo/{Actions → actions}/reward.js +26 -26
- package/dist/esm/tempo/{Actions → actions}/reward.js.map +1 -1
- package/dist/esm/tempo/{Actions → actions}/token.js.map +1 -1
- package/dist/esm/tempo/{Actions → actions}/utils.js.map +1 -1
- package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/exports/tempo.d.ts +1 -1
- package/dist/types/tempo/Connectors.d.ts.map +1 -1
- package/dist/types/tempo/{Actions → actions}/amm.d.ts +11 -42
- package/dist/types/tempo/{Actions → actions}/amm.d.ts.map +1 -1
- package/dist/types/tempo/{Actions → actions}/dex.d.ts +92 -24
- package/dist/types/tempo/actions/dex.d.ts.map +1 -0
- package/dist/types/tempo/{Actions → actions}/faucet.d.ts +2 -2
- package/dist/types/tempo/{Actions → actions}/faucet.d.ts.map +1 -1
- package/dist/types/tempo/{Actions → actions}/fee.d.ts +3 -3
- package/dist/types/tempo/{Actions → actions}/fee.d.ts.map +1 -1
- package/dist/types/tempo/{Actions → actions}/index.d.ts.map +1 -1
- package/dist/types/tempo/{Actions → actions}/nonce.d.ts +0 -71
- package/dist/types/tempo/{Actions → actions}/nonce.d.ts.map +1 -1
- package/dist/types/tempo/{Actions → actions}/policy.d.ts +14 -14
- package/dist/types/tempo/{Actions → actions}/policy.d.ts.map +1 -1
- package/dist/types/tempo/{Actions → actions}/reward.d.ts +30 -30
- package/dist/types/tempo/{Actions → actions}/reward.d.ts.map +1 -1
- package/dist/types/tempo/{Actions → actions}/token.d.ts.map +1 -1
- package/dist/types/tempo/{Actions → actions}/utils.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +1 -1
- package/src/exports/tempo.ts +1 -1
- package/src/tempo/Connectors.ts +48 -38
- package/src/tempo/{Actions → actions}/amm.ts +11 -52
- package/src/tempo/{Actions → actions}/dex.ts +138 -24
- package/src/tempo/{Actions → actions}/faucet.ts +2 -2
- package/src/tempo/{Actions → actions}/fee.ts +3 -3
- package/src/tempo/{Actions → actions}/nonce.ts +0 -136
- package/src/tempo/{Actions → actions}/policy.ts +14 -14
- package/src/tempo/{Actions → actions}/reward.ts +54 -51
- package/src/version.ts +1 -1
- package/dist/esm/tempo/Actions/dex.js.map +0 -1
- package/dist/types/tempo/Actions/dex.d.ts.map +0 -1
- /package/dist/esm/tempo/{Actions → actions}/index.js +0 -0
- /package/dist/esm/tempo/{Actions → actions}/token.js +0 -0
- /package/dist/esm/tempo/{Actions → actions}/utils.js +0 -0
- /package/dist/types/tempo/{Actions → actions}/index.d.ts +0 -0
- /package/dist/types/tempo/{Actions → actions}/token.d.ts +0 -0
- /package/dist/types/tempo/{Actions → actions}/utils.d.ts +0 -0
- /package/src/tempo/{Actions → actions}/index.ts +0 -0
- /package/src/tempo/{Actions → actions}/token.ts +0 -0
- /package/src/tempo/{Actions → actions}/utils.ts +0 -0
package/src/tempo/Connectors.ts
CHANGED
|
@@ -392,48 +392,58 @@ export function webAuthn(options: webAuthn.Parameters) {
|
|
|
392
392
|
|
|
393
393
|
const targetChain = defineChain({
|
|
394
394
|
...chain,
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
{
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
395
|
+
prepareTransactionRequest: [
|
|
396
|
+
async (args, { phase }) => {
|
|
397
|
+
const keyAuthorization = await (async () => {
|
|
398
|
+
{
|
|
399
|
+
const keyAuthorization = (
|
|
400
|
+
args as {
|
|
401
|
+
keyAuthorization?:
|
|
402
|
+
| KeyAuthorization.KeyAuthorization
|
|
403
|
+
| undefined
|
|
404
|
+
}
|
|
405
|
+
).keyAuthorization
|
|
406
|
+
if (keyAuthorization) return keyAuthorization
|
|
407
|
+
}
|
|
407
408
|
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
409
|
+
const keyAuthorization = await config.storage?.getItem(
|
|
410
|
+
`pendingKeyAuthorization:${targetAccount?.address.toLowerCase()}`,
|
|
411
|
+
)
|
|
412
|
+
await config.storage?.removeItem(
|
|
413
|
+
`pendingKeyAuthorization:${targetAccount?.address.toLowerCase()}`,
|
|
414
|
+
)
|
|
415
|
+
return keyAuthorization
|
|
416
|
+
})()
|
|
416
417
|
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
418
|
+
const [prepareTransactionRequestFn, options] = (() => {
|
|
419
|
+
if (!chain.prepareTransactionRequest)
|
|
420
|
+
return [undefined, undefined]
|
|
421
|
+
if (typeof chain.prepareTransactionRequest === 'function')
|
|
422
|
+
return [chain.prepareTransactionRequest, undefined]
|
|
423
|
+
return chain.prepareTransactionRequest
|
|
424
|
+
})()
|
|
423
425
|
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
426
|
+
const request = await (async () => {
|
|
427
|
+
if (!prepareTransactionRequestFn) return {}
|
|
428
|
+
if (!options || options?.runAt?.includes(phase))
|
|
429
|
+
return await prepareTransactionRequestFn(args, { phase })
|
|
430
|
+
return {}
|
|
431
|
+
})()
|
|
430
432
|
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
433
|
+
return {
|
|
434
|
+
...args,
|
|
435
|
+
...request,
|
|
436
|
+
keyAuthorization,
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
runAt: [
|
|
441
|
+
'afterFillParameters',
|
|
442
|
+
'beforeFillParameters',
|
|
443
|
+
'beforeFillTransaction',
|
|
444
|
+
],
|
|
445
|
+
},
|
|
446
|
+
],
|
|
437
447
|
})
|
|
438
448
|
|
|
439
449
|
return createClient({
|
|
@@ -20,7 +20,7 @@ import type { QueryOptions, QueryParameter } from './utils.js'
|
|
|
20
20
|
* import { Actions } from '@wagmi/core/tempo'
|
|
21
21
|
*
|
|
22
22
|
* const config = createConfig({
|
|
23
|
-
* chains: [
|
|
23
|
+
* chains: [tempoModerato],
|
|
24
24
|
* transports: {
|
|
25
25
|
* [tempo.id]: http(),
|
|
26
26
|
* },
|
|
@@ -115,7 +115,7 @@ export namespace getPool {
|
|
|
115
115
|
* import { Actions } from '@wagmi/core/tempo'
|
|
116
116
|
*
|
|
117
117
|
* const config = createConfig({
|
|
118
|
-
* chains: [
|
|
118
|
+
* chains: [tempoModerato],
|
|
119
119
|
* transports: {
|
|
120
120
|
* [tempo.id]: http(),
|
|
121
121
|
* },
|
|
@@ -219,7 +219,7 @@ export namespace getLiquidityBalance {
|
|
|
219
219
|
* import { Actions } from '@wagmi/core/tempo'
|
|
220
220
|
*
|
|
221
221
|
* const config = createConfig({
|
|
222
|
-
* chains: [
|
|
222
|
+
* chains: [tempoModerato],
|
|
223
223
|
* transports: {
|
|
224
224
|
* [tempo.id]: http(),
|
|
225
225
|
* },
|
|
@@ -276,7 +276,7 @@ export declare namespace rebalanceSwap {
|
|
|
276
276
|
* import { Actions } from '@wagmi/core/tempo'
|
|
277
277
|
*
|
|
278
278
|
* const config = createConfig({
|
|
279
|
-
* chains: [
|
|
279
|
+
* chains: [tempoModerato],
|
|
280
280
|
* transports: {
|
|
281
281
|
* [tempo.id]: http(),
|
|
282
282
|
* },
|
|
@@ -336,7 +336,7 @@ export declare namespace rebalanceSwapSync {
|
|
|
336
336
|
* import { Actions } from '@wagmi/core/tempo'
|
|
337
337
|
*
|
|
338
338
|
* const config = createConfig({
|
|
339
|
-
* chains: [
|
|
339
|
+
* chains: [tempoModerato],
|
|
340
340
|
* transports: {
|
|
341
341
|
* [tempo.id]: http(),
|
|
342
342
|
* },
|
|
@@ -393,7 +393,7 @@ export declare namespace mint {
|
|
|
393
393
|
* import { Actions } from '@wagmi/core/tempo'
|
|
394
394
|
*
|
|
395
395
|
* const config = createConfig({
|
|
396
|
-
* chains: [
|
|
396
|
+
* chains: [tempoModerato],
|
|
397
397
|
* transports: {
|
|
398
398
|
* [tempo.id]: http(),
|
|
399
399
|
* },
|
|
@@ -450,7 +450,7 @@ export declare namespace mintSync {
|
|
|
450
450
|
* import { Actions } from '@wagmi/core/tempo'
|
|
451
451
|
*
|
|
452
452
|
* const config = createConfig({
|
|
453
|
-
* chains: [
|
|
453
|
+
* chains: [tempoModerato],
|
|
454
454
|
* transports: {
|
|
455
455
|
* [tempo.id]: http(),
|
|
456
456
|
* },
|
|
@@ -507,7 +507,7 @@ export declare namespace burn {
|
|
|
507
507
|
* import { Actions } from '@wagmi/core/tempo'
|
|
508
508
|
*
|
|
509
509
|
* const config = createConfig({
|
|
510
|
-
* chains: [
|
|
510
|
+
* chains: [tempoModerato],
|
|
511
511
|
* transports: {
|
|
512
512
|
* [tempo.id]: http(),
|
|
513
513
|
* },
|
|
@@ -564,7 +564,7 @@ export declare namespace burnSync {
|
|
|
564
564
|
* import { Actions } from '@wagmi/core/tempo'
|
|
565
565
|
*
|
|
566
566
|
* const config = createConfig({
|
|
567
|
-
* chains: [
|
|
567
|
+
* chains: [tempoModerato],
|
|
568
568
|
* transports: {
|
|
569
569
|
* [tempo.id]: http(),
|
|
570
570
|
* },
|
|
@@ -595,47 +595,6 @@ export declare namespace watchRebalanceSwap {
|
|
|
595
595
|
Actions.amm.watchRebalanceSwap.Parameters
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
-
/**
|
|
599
|
-
* Watches for fee swap events.
|
|
600
|
-
*
|
|
601
|
-
* @example
|
|
602
|
-
* ```ts
|
|
603
|
-
* import { createConfig, http } from '@wagmi/core'
|
|
604
|
-
* import { tempo } from '@wagmi/core/chains'
|
|
605
|
-
* import { Actions } from '@wagmi/core/tempo'
|
|
606
|
-
*
|
|
607
|
-
* const config = createConfig({
|
|
608
|
-
* chains: [tempoTestnet],
|
|
609
|
-
* transports: {
|
|
610
|
-
* [tempo.id]: http(),
|
|
611
|
-
* },
|
|
612
|
-
* })
|
|
613
|
-
*
|
|
614
|
-
* const unwatch = Actions.amm.watchFeeSwap(config, {
|
|
615
|
-
* onFeeSwap: (args, log) => {
|
|
616
|
-
* console.log('Fee swap:', args)
|
|
617
|
-
* },
|
|
618
|
-
* })
|
|
619
|
-
* ```
|
|
620
|
-
*
|
|
621
|
-
* @param config - Config.
|
|
622
|
-
* @param parameters - Parameters.
|
|
623
|
-
* @returns A function to unsubscribe from the event.
|
|
624
|
-
*/
|
|
625
|
-
export function watchFeeSwap<config extends Config>(
|
|
626
|
-
config: config,
|
|
627
|
-
parameters: watchFeeSwap.Parameters<config>,
|
|
628
|
-
) {
|
|
629
|
-
const { chainId, ...rest } = parameters
|
|
630
|
-
const client = config.getClient({ chainId })
|
|
631
|
-
return Actions.amm.watchFeeSwap(client, rest)
|
|
632
|
-
}
|
|
633
|
-
|
|
634
|
-
export declare namespace watchFeeSwap {
|
|
635
|
-
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
636
|
-
Actions.amm.watchFeeSwap.Parameters
|
|
637
|
-
}
|
|
638
|
-
|
|
639
598
|
/**
|
|
640
599
|
* Watches for liquidity mint events.
|
|
641
600
|
*
|
|
@@ -646,7 +605,7 @@ export declare namespace watchFeeSwap {
|
|
|
646
605
|
* import { Actions } from '@wagmi/core/tempo'
|
|
647
606
|
*
|
|
648
607
|
* const config = createConfig({
|
|
649
|
-
* chains: [
|
|
608
|
+
* chains: [tempoModerato],
|
|
650
609
|
* transports: {
|
|
651
610
|
* [tempo.id]: http(),
|
|
652
611
|
* },
|
|
@@ -687,7 +646,7 @@ export declare namespace watchMint {
|
|
|
687
646
|
* import { Actions } from '@wagmi/core/tempo'
|
|
688
647
|
*
|
|
689
648
|
* const config = createConfig({
|
|
690
|
-
* chains: [
|
|
649
|
+
* chains: [tempoModerato],
|
|
691
650
|
* transports: {
|
|
692
651
|
* [tempo.id]: http(),
|
|
693
652
|
* },
|
|
@@ -19,7 +19,7 @@ import type { QueryOptions, QueryParameter } from './utils.js'
|
|
|
19
19
|
* import { Actions } from '@wagmi/core/tempo'
|
|
20
20
|
*
|
|
21
21
|
* const config = createConfig({
|
|
22
|
-
* chains: [
|
|
22
|
+
* chains: [tempoModerato],
|
|
23
23
|
* transports: {
|
|
24
24
|
* [tempo.id]: http(),
|
|
25
25
|
* },
|
|
@@ -79,7 +79,7 @@ export declare namespace buy {
|
|
|
79
79
|
* import { Actions } from '@wagmi/core/tempo'
|
|
80
80
|
*
|
|
81
81
|
* const config = createConfig({
|
|
82
|
-
* chains: [
|
|
82
|
+
* chains: [tempoModerato],
|
|
83
83
|
* transports: {
|
|
84
84
|
* [tempo.id]: http(),
|
|
85
85
|
* },
|
|
@@ -136,7 +136,7 @@ export declare namespace buySync {
|
|
|
136
136
|
* import { Actions } from '@wagmi/core/tempo'
|
|
137
137
|
*
|
|
138
138
|
* const config = createConfig({
|
|
139
|
-
* chains: [
|
|
139
|
+
* chains: [tempoModerato],
|
|
140
140
|
* transports: {
|
|
141
141
|
* [tempo.id]: http(),
|
|
142
142
|
* },
|
|
@@ -193,7 +193,7 @@ export declare namespace cancel {
|
|
|
193
193
|
* import { Actions } from '@wagmi/core/tempo'
|
|
194
194
|
*
|
|
195
195
|
* const config = createConfig({
|
|
196
|
-
* chains: [
|
|
196
|
+
* chains: [tempoModerato],
|
|
197
197
|
* transports: {
|
|
198
198
|
* [tempo.id]: http(),
|
|
199
199
|
* },
|
|
@@ -237,6 +237,120 @@ export declare namespace cancelSync {
|
|
|
237
237
|
export type ErrorType = BaseErrorType // TODO: Actions.dex.cancelSync.ErrorType
|
|
238
238
|
}
|
|
239
239
|
|
|
240
|
+
/**
|
|
241
|
+
* Cancels a stale order from the orderbook.
|
|
242
|
+
*
|
|
243
|
+
* A stale order is one where the owner's balance or allowance has dropped
|
|
244
|
+
* below the order amount.
|
|
245
|
+
*
|
|
246
|
+
* @example
|
|
247
|
+
* ```ts
|
|
248
|
+
* import { createConfig, http } from '@wagmi/core'
|
|
249
|
+
* import { tempo } from '@wagmi/core/chains'
|
|
250
|
+
* import { Actions } from '@wagmi/core/tempo'
|
|
251
|
+
*
|
|
252
|
+
* const config = createConfig({
|
|
253
|
+
* chains: [tempoModerato],
|
|
254
|
+
* transports: {
|
|
255
|
+
* [tempo.id]: http(),
|
|
256
|
+
* },
|
|
257
|
+
* })
|
|
258
|
+
*
|
|
259
|
+
* const hash = await Actions.dex.cancelStale(config, {
|
|
260
|
+
* orderId: 123n,
|
|
261
|
+
* })
|
|
262
|
+
* ```
|
|
263
|
+
*
|
|
264
|
+
* @param config - Config.
|
|
265
|
+
* @param parameters - Parameters.
|
|
266
|
+
* @returns The transaction hash.
|
|
267
|
+
*/
|
|
268
|
+
export async function cancelStale<config extends Config>(
|
|
269
|
+
config: config,
|
|
270
|
+
parameters: cancelStale.Parameters<config>,
|
|
271
|
+
): Promise<Actions.dex.cancelStale.ReturnValue> {
|
|
272
|
+
const { account, chainId, connector } = parameters
|
|
273
|
+
|
|
274
|
+
const client = await getConnectorClient(config, {
|
|
275
|
+
account,
|
|
276
|
+
assertChainId: false,
|
|
277
|
+
chainId,
|
|
278
|
+
connector,
|
|
279
|
+
})
|
|
280
|
+
|
|
281
|
+
return Actions.dex.cancelStale(client, parameters as never)
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export declare namespace cancelStale {
|
|
285
|
+
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
286
|
+
ConnectorParameter &
|
|
287
|
+
UnionLooseOmit<
|
|
288
|
+
Actions.dex.cancelStale.Parameters<config['chains'][number], Account>,
|
|
289
|
+
'chain'
|
|
290
|
+
>
|
|
291
|
+
|
|
292
|
+
export type ReturnValue = Actions.dex.cancelStale.ReturnValue
|
|
293
|
+
|
|
294
|
+
export type ErrorType = BaseErrorType // TODO: Actions.dex.cancelStale.ErrorType
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* Cancels a stale order from the orderbook and waits for confirmation.
|
|
299
|
+
*
|
|
300
|
+
* A stale order is one where the owner's balance or allowance has dropped
|
|
301
|
+
* below the order amount.
|
|
302
|
+
*
|
|
303
|
+
* @example
|
|
304
|
+
* ```ts
|
|
305
|
+
* import { createConfig, http } from '@wagmi/core'
|
|
306
|
+
* import { tempo } from '@wagmi/core/chains'
|
|
307
|
+
* import { Actions } from '@wagmi/core/tempo'
|
|
308
|
+
*
|
|
309
|
+
* const config = createConfig({
|
|
310
|
+
* chains: [tempoModerato],
|
|
311
|
+
* transports: {
|
|
312
|
+
* [tempo.id]: http(),
|
|
313
|
+
* },
|
|
314
|
+
* })
|
|
315
|
+
*
|
|
316
|
+
* const result = await Actions.dex.cancelStaleSync(config, {
|
|
317
|
+
* orderId: 123n,
|
|
318
|
+
* })
|
|
319
|
+
* ```
|
|
320
|
+
*
|
|
321
|
+
* @param config - Config.
|
|
322
|
+
* @param parameters - Parameters.
|
|
323
|
+
* @returns The transaction receipt and event data.
|
|
324
|
+
*/
|
|
325
|
+
export async function cancelStaleSync<config extends Config>(
|
|
326
|
+
config: config,
|
|
327
|
+
parameters: cancelStaleSync.Parameters<config>,
|
|
328
|
+
): Promise<Actions.dex.cancelStaleSync.ReturnValue> {
|
|
329
|
+
const { account, chainId, connector } = parameters
|
|
330
|
+
|
|
331
|
+
const client = await getConnectorClient(config, {
|
|
332
|
+
account,
|
|
333
|
+
assertChainId: false,
|
|
334
|
+
chainId,
|
|
335
|
+
connector,
|
|
336
|
+
})
|
|
337
|
+
|
|
338
|
+
return Actions.dex.cancelStaleSync(client, parameters as never)
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export declare namespace cancelStaleSync {
|
|
342
|
+
export type Parameters<config extends Config> = ChainIdParameter<config> &
|
|
343
|
+
ConnectorParameter &
|
|
344
|
+
UnionLooseOmit<
|
|
345
|
+
Actions.dex.cancelStaleSync.Parameters<config['chains'][number], Account>,
|
|
346
|
+
'chain'
|
|
347
|
+
>
|
|
348
|
+
|
|
349
|
+
export type ReturnValue = Actions.dex.cancelStaleSync.ReturnValue
|
|
350
|
+
|
|
351
|
+
export type ErrorType = BaseErrorType // TODO: Actions.dex.cancelStaleSync.ErrorType
|
|
352
|
+
}
|
|
353
|
+
|
|
240
354
|
/**
|
|
241
355
|
* Creates a new trading pair on the DEX.
|
|
242
356
|
*
|
|
@@ -247,7 +361,7 @@ export declare namespace cancelSync {
|
|
|
247
361
|
* import { Actions } from '@wagmi/core/tempo'
|
|
248
362
|
*
|
|
249
363
|
* const config = createConfig({
|
|
250
|
-
* chains: [
|
|
364
|
+
* chains: [tempoModerato],
|
|
251
365
|
* transports: {
|
|
252
366
|
* [tempo.id]: http(),
|
|
253
367
|
* },
|
|
@@ -304,7 +418,7 @@ export declare namespace createPair {
|
|
|
304
418
|
* import { Actions } from '@wagmi/core/tempo'
|
|
305
419
|
*
|
|
306
420
|
* const config = createConfig({
|
|
307
|
-
* chains: [
|
|
421
|
+
* chains: [tempoModerato],
|
|
308
422
|
* transports: {
|
|
309
423
|
* [tempo.id]: http(),
|
|
310
424
|
* },
|
|
@@ -358,7 +472,7 @@ export declare namespace createPairSync {
|
|
|
358
472
|
* import { Actions } from '@wagmi/core/tempo'
|
|
359
473
|
*
|
|
360
474
|
* const config = createConfig({
|
|
361
|
-
* chains: [
|
|
475
|
+
* chains: [tempoModerato],
|
|
362
476
|
* transports: {
|
|
363
477
|
* [tempo.id]: http(),
|
|
364
478
|
* },
|
|
@@ -452,7 +566,7 @@ export namespace getBalance {
|
|
|
452
566
|
* import { Actions } from '@wagmi/core/tempo'
|
|
453
567
|
*
|
|
454
568
|
* const config = createConfig({
|
|
455
|
-
* chains: [
|
|
569
|
+
* chains: [tempoModerato],
|
|
456
570
|
* transports: {
|
|
457
571
|
* [tempo.id]: http(),
|
|
458
572
|
* },
|
|
@@ -551,7 +665,7 @@ export namespace getBuyQuote {
|
|
|
551
665
|
* import { Actions } from '@wagmi/core/tempo'
|
|
552
666
|
*
|
|
553
667
|
* const config = createConfig({
|
|
554
|
-
* chains: [
|
|
668
|
+
* chains: [tempoModerato],
|
|
555
669
|
* transports: {
|
|
556
670
|
* [tempo.id]: http(),
|
|
557
671
|
* },
|
|
@@ -643,7 +757,7 @@ export namespace getOrder {
|
|
|
643
757
|
* import { Actions } from '@wagmi/core/tempo'
|
|
644
758
|
*
|
|
645
759
|
* const config = createConfig({
|
|
646
|
-
* chains: [
|
|
760
|
+
* chains: [tempoModerato],
|
|
647
761
|
* transports: {
|
|
648
762
|
* [tempo.id]: http(),
|
|
649
763
|
* },
|
|
@@ -736,7 +850,7 @@ export namespace getOrderbook {
|
|
|
736
850
|
* import { Actions, Tick } from '@wagmi/core/tempo'
|
|
737
851
|
*
|
|
738
852
|
* const config = createConfig({
|
|
739
|
-
* chains: [
|
|
853
|
+
* chains: [tempoModerato],
|
|
740
854
|
* transports: {
|
|
741
855
|
* [tempo.id]: http(),
|
|
742
856
|
* },
|
|
@@ -835,7 +949,7 @@ export namespace getTickLevel {
|
|
|
835
949
|
* import { Actions } from '@wagmi/core/tempo'
|
|
836
950
|
*
|
|
837
951
|
* const config = createConfig({
|
|
838
|
-
* chains: [
|
|
952
|
+
* chains: [tempoModerato],
|
|
839
953
|
* transports: {
|
|
840
954
|
* [tempo.id]: http(),
|
|
841
955
|
* },
|
|
@@ -934,7 +1048,7 @@ export namespace getSellQuote {
|
|
|
934
1048
|
* import { Actions } from '@wagmi/core/tempo'
|
|
935
1049
|
*
|
|
936
1050
|
* const config = createConfig({
|
|
937
|
-
* chains: [
|
|
1051
|
+
* chains: [tempoModerato],
|
|
938
1052
|
* transports: {
|
|
939
1053
|
* [tempo.id]: http(),
|
|
940
1054
|
* },
|
|
@@ -991,7 +1105,7 @@ export declare namespace place {
|
|
|
991
1105
|
* import { Actions } from '@wagmi/core/tempo'
|
|
992
1106
|
*
|
|
993
1107
|
* const config = createConfig({
|
|
994
|
-
* chains: [
|
|
1108
|
+
* chains: [tempoModerato],
|
|
995
1109
|
* transports: {
|
|
996
1110
|
* [tempo.id]: http(),
|
|
997
1111
|
* },
|
|
@@ -1052,7 +1166,7 @@ export declare namespace placeFlip {
|
|
|
1052
1166
|
* import { Actions } from '@wagmi/core/tempo'
|
|
1053
1167
|
*
|
|
1054
1168
|
* const config = createConfig({
|
|
1055
|
-
* chains: [
|
|
1169
|
+
* chains: [tempoModerato],
|
|
1056
1170
|
* transports: {
|
|
1057
1171
|
* [tempo.id]: http(),
|
|
1058
1172
|
* },
|
|
@@ -1113,7 +1227,7 @@ export declare namespace placeFlipSync {
|
|
|
1113
1227
|
* import { Actions } from '@wagmi/core/tempo'
|
|
1114
1228
|
*
|
|
1115
1229
|
* const config = createConfig({
|
|
1116
|
-
* chains: [
|
|
1230
|
+
* chains: [tempoModerato],
|
|
1117
1231
|
* transports: {
|
|
1118
1232
|
* [tempo.id]: http(),
|
|
1119
1233
|
* },
|
|
@@ -1170,7 +1284,7 @@ export declare namespace placeSync {
|
|
|
1170
1284
|
* import { Actions } from '@wagmi/core/tempo'
|
|
1171
1285
|
*
|
|
1172
1286
|
* const config = createConfig({
|
|
1173
|
-
* chains: [
|
|
1287
|
+
* chains: [tempoModerato],
|
|
1174
1288
|
* transports: {
|
|
1175
1289
|
* [tempo.id]: http(),
|
|
1176
1290
|
* },
|
|
@@ -1230,7 +1344,7 @@ export declare namespace sell {
|
|
|
1230
1344
|
* import { Actions } from '@wagmi/core/tempo'
|
|
1231
1345
|
*
|
|
1232
1346
|
* const config = createConfig({
|
|
1233
|
-
* chains: [
|
|
1347
|
+
* chains: [tempoModerato],
|
|
1234
1348
|
* transports: {
|
|
1235
1349
|
* [tempo.id]: http(),
|
|
1236
1350
|
* },
|
|
@@ -1287,7 +1401,7 @@ export declare namespace sellSync {
|
|
|
1287
1401
|
* import { Actions } from '@wagmi/core/tempo'
|
|
1288
1402
|
*
|
|
1289
1403
|
* const config = createConfig({
|
|
1290
|
-
* chains: [
|
|
1404
|
+
* chains: [tempoModerato],
|
|
1291
1405
|
* transports: {
|
|
1292
1406
|
* [tempo.id]: http(),
|
|
1293
1407
|
* },
|
|
@@ -1332,7 +1446,7 @@ export declare namespace watchFlipOrderPlaced {
|
|
|
1332
1446
|
* import { Actions } from '@wagmi/core/tempo'
|
|
1333
1447
|
*
|
|
1334
1448
|
* const config = createConfig({
|
|
1335
|
-
* chains: [
|
|
1449
|
+
* chains: [tempoModerato],
|
|
1336
1450
|
* transports: {
|
|
1337
1451
|
* [tempo.id]: http(),
|
|
1338
1452
|
* },
|
|
@@ -1377,7 +1491,7 @@ export declare namespace watchOrderCancelled {
|
|
|
1377
1491
|
* import { Actions } from '@wagmi/core/tempo'
|
|
1378
1492
|
*
|
|
1379
1493
|
* const config = createConfig({
|
|
1380
|
-
* chains: [
|
|
1494
|
+
* chains: [tempoModerato],
|
|
1381
1495
|
* transports: {
|
|
1382
1496
|
* [tempo.id]: http(),
|
|
1383
1497
|
* },
|
|
@@ -1422,7 +1536,7 @@ export declare namespace watchOrderFilled {
|
|
|
1422
1536
|
* import { Actions } from '@wagmi/core/tempo'
|
|
1423
1537
|
*
|
|
1424
1538
|
* const config = createConfig({
|
|
1425
|
-
* chains: [
|
|
1539
|
+
* chains: [tempoModerato],
|
|
1426
1540
|
* transports: {
|
|
1427
1541
|
* [tempo.id]: http(),
|
|
1428
1542
|
* },
|
|
@@ -1467,7 +1581,7 @@ export declare namespace watchOrderPlaced {
|
|
|
1467
1581
|
* import { Actions } from '@wagmi/core/tempo'
|
|
1468
1582
|
*
|
|
1469
1583
|
* const config = createConfig({
|
|
1470
|
-
* chains: [
|
|
1584
|
+
* chains: [tempoModerato],
|
|
1471
1585
|
* transports: {
|
|
1472
1586
|
* [tempo.id]: http(),
|
|
1473
1587
|
* },
|
|
@@ -1525,7 +1639,7 @@ export declare namespace withdraw {
|
|
|
1525
1639
|
* import { Actions } from '@wagmi/core/tempo'
|
|
1526
1640
|
*
|
|
1527
1641
|
* const config = createConfig({
|
|
1528
|
-
* chains: [
|
|
1642
|
+
* chains: [tempoModerato],
|
|
1529
1643
|
* transports: {
|
|
1530
1644
|
* [tempo.id]: http(),
|
|
1531
1645
|
* },
|
|
@@ -15,7 +15,7 @@ import type { UnionCompute } from '../../types/utils.js'
|
|
|
15
15
|
* import { Actions } from '@wagmi/core/tempo'
|
|
16
16
|
*
|
|
17
17
|
* const config = createConfig({
|
|
18
|
-
* chains: [
|
|
18
|
+
* chains: [tempoModerato],
|
|
19
19
|
* transports: {
|
|
20
20
|
* [tempo.id]: http(),
|
|
21
21
|
* },
|
|
@@ -60,7 +60,7 @@ export declare namespace fund {
|
|
|
60
60
|
* import { Actions } from '@wagmi/core/tempo'
|
|
61
61
|
*
|
|
62
62
|
* const config = createConfig({
|
|
63
|
-
* chains: [
|
|
63
|
+
* chains: [tempoModerato],
|
|
64
64
|
* transports: {
|
|
65
65
|
* [tempo.id]: http(),
|
|
66
66
|
* },
|
|
@@ -20,7 +20,7 @@ import type { QueryOptions, QueryParameter } from './utils.js'
|
|
|
20
20
|
* import { Actions } from '@wagmi/core/tempo'
|
|
21
21
|
*
|
|
22
22
|
* const config = createConfig({
|
|
23
|
-
* chains: [
|
|
23
|
+
* chains: [tempoModerato],
|
|
24
24
|
* transports: {
|
|
25
25
|
* [tempo.id]: http(),
|
|
26
26
|
* },
|
|
@@ -113,7 +113,7 @@ export namespace getUserToken {
|
|
|
113
113
|
* import { Actions } from '@wagmi/core/tempo'
|
|
114
114
|
*
|
|
115
115
|
* const config = createConfig({
|
|
116
|
-
* chains: [
|
|
116
|
+
* chains: [tempoModerato],
|
|
117
117
|
* transports: {
|
|
118
118
|
* [tempo.id]: http(),
|
|
119
119
|
* },
|
|
@@ -170,7 +170,7 @@ export declare namespace setUserToken {
|
|
|
170
170
|
* import { Actions } from '@wagmi/core/tempo'
|
|
171
171
|
*
|
|
172
172
|
* const config = createConfig({
|
|
173
|
-
* chains: [
|
|
173
|
+
* chains: [tempoModerato],
|
|
174
174
|
* transports: {
|
|
175
175
|
* [tempo.id]: http(),
|
|
176
176
|
* },
|