@wagmi/core 3.0.2 → 3.1.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.
Files changed (83) hide show
  1. package/dist/esm/exports/internal.js.map +1 -1
  2. package/dist/esm/exports/query.js +1 -1
  3. package/dist/esm/exports/query.js.map +1 -1
  4. package/dist/esm/exports/tempo.js +9 -0
  5. package/dist/esm/exports/tempo.js.map +1 -0
  6. package/dist/esm/tempo/Actions/amm.js +469 -0
  7. package/dist/esm/tempo/Actions/amm.js.map +1 -0
  8. package/dist/esm/tempo/Actions/dex.js +983 -0
  9. package/dist/esm/tempo/Actions/dex.js.map +1 -0
  10. package/dist/esm/tempo/Actions/faucet.js +64 -0
  11. package/dist/esm/tempo/Actions/faucet.js.map +1 -0
  12. package/dist/esm/tempo/Actions/fee.js +160 -0
  13. package/dist/esm/tempo/Actions/fee.js.map +1 -0
  14. package/dist/esm/tempo/Actions/index.js +11 -0
  15. package/dist/esm/tempo/Actions/index.js.map +1 -0
  16. package/dist/esm/tempo/Actions/nonce.js +176 -0
  17. package/dist/esm/tempo/Actions/nonce.js.map +1 -0
  18. package/dist/esm/tempo/Actions/policy.js +532 -0
  19. package/dist/esm/tempo/Actions/policy.js.map +1 -0
  20. package/dist/esm/tempo/Actions/reward.js +384 -0
  21. package/dist/esm/tempo/Actions/reward.js.map +1 -0
  22. package/dist/esm/tempo/Actions/token.js +1717 -0
  23. package/dist/esm/tempo/Actions/token.js.map +1 -0
  24. package/dist/esm/tempo/Actions/utils.js +2 -0
  25. package/dist/esm/tempo/Actions/utils.js.map +1 -0
  26. package/dist/esm/tempo/Connectors.js +534 -0
  27. package/dist/esm/tempo/Connectors.js.map +1 -0
  28. package/dist/esm/tempo/KeyManager.js +106 -0
  29. package/dist/esm/tempo/KeyManager.js.map +1 -0
  30. package/dist/esm/tsconfig.build.tsbuildinfo +1 -1
  31. package/dist/esm/version.js +1 -1
  32. package/dist/types/exports/internal.d.ts +1 -1
  33. package/dist/types/exports/internal.d.ts.map +1 -1
  34. package/dist/types/exports/query.d.ts +1 -1
  35. package/dist/types/exports/query.d.ts.map +1 -1
  36. package/dist/types/exports/tempo.d.ts +5 -0
  37. package/dist/types/exports/tempo.d.ts.map +1 -0
  38. package/dist/types/tempo/Actions/amm.d.ts +418 -0
  39. package/dist/types/tempo/Actions/amm.d.ts.map +1 -0
  40. package/dist/types/tempo/Actions/dex.d.ts +858 -0
  41. package/dist/types/tempo/Actions/dex.d.ts.map +1 -0
  42. package/dist/types/tempo/Actions/faucet.d.ts +70 -0
  43. package/dist/types/tempo/Actions/faucet.d.ts.map +1 -0
  44. package/dist/types/tempo/Actions/fee.d.ts +141 -0
  45. package/dist/types/tempo/Actions/fee.d.ts.map +1 -0
  46. package/dist/types/tempo/Actions/index.d.ts +10 -0
  47. package/dist/types/tempo/Actions/index.d.ts.map +1 -0
  48. package/dist/types/tempo/Actions/nonce.d.ts +150 -0
  49. package/dist/types/tempo/Actions/nonce.d.ts.map +1 -0
  50. package/dist/types/tempo/Actions/policy.d.ts +478 -0
  51. package/dist/types/tempo/Actions/policy.d.ts.map +1 -0
  52. package/dist/types/tempo/Actions/reward.d.ts +340 -0
  53. package/dist/types/tempo/Actions/reward.d.ts.map +1 -0
  54. package/dist/types/tempo/Actions/token.d.ts +1531 -0
  55. package/dist/types/tempo/Actions/token.d.ts.map +1 -0
  56. package/dist/types/tempo/Actions/utils.d.ts +9 -0
  57. package/dist/types/tempo/Actions/utils.d.ts.map +1 -0
  58. package/dist/types/tempo/Connectors.d.ts +99 -0
  59. package/dist/types/tempo/Connectors.d.ts.map +1 -0
  60. package/dist/types/tempo/KeyManager.d.ts +71 -0
  61. package/dist/types/tempo/KeyManager.d.ts.map +1 -0
  62. package/dist/types/types/utils.d.ts +16 -0
  63. package/dist/types/types/utils.d.ts.map +1 -1
  64. package/dist/types/version.d.ts +1 -1
  65. package/package.json +14 -2
  66. package/src/exports/internal.ts +3 -0
  67. package/src/exports/query.ts +4 -1
  68. package/src/exports/tempo.ts +14 -0
  69. package/src/tempo/Actions/amm.ts +719 -0
  70. package/src/tempo/Actions/dex.ts +1571 -0
  71. package/src/tempo/Actions/faucet.ts +95 -0
  72. package/src/tempo/Actions/fee.ts +259 -0
  73. package/src/tempo/Actions/index.ts +10 -0
  74. package/src/tempo/Actions/nonce.ts +283 -0
  75. package/src/tempo/Actions/policy.ts +827 -0
  76. package/src/tempo/Actions/reward.ts +621 -0
  77. package/src/tempo/Actions/token.ts +2598 -0
  78. package/src/tempo/Actions/utils.ts +26 -0
  79. package/src/tempo/Connectors.ts +762 -0
  80. package/src/tempo/KeyManager.ts +176 -0
  81. package/src/types/utils.ts +19 -0
  82. package/src/version.ts +1 -1
  83. package/tempo/package.json +5 -0
@@ -0,0 +1,1531 @@
1
+ import type { Account, BaseErrorType } from 'viem';
2
+ import { Actions } from 'viem/tempo';
3
+ import type { Config } from '../../createConfig.js';
4
+ import type { ChainIdParameter, ConnectorParameter } from '../../types/properties.js';
5
+ import type { UnionLooseOmit } from '../../types/utils.js';
6
+ import type { QueryOptions, QueryParameter } from './utils.js';
7
+ /**
8
+ * Approves a spender to transfer TIP20 tokens on behalf of the caller.
9
+ *
10
+ * @example
11
+ * ```ts
12
+ * import { createConfig, http } from '@wagmi/core'
13
+ * import { Actions } from '@wagmi/core/tempo'
14
+ * import { tempo } from '@wagmi/core/chains'
15
+ *
16
+ * const config = createConfig({
17
+ * chains: [tempo],
18
+ * transports: {
19
+ * [tempo.id]: http(),
20
+ * },
21
+ * })
22
+ *
23
+ * const hash = await Actions.token.approve(config, {
24
+ * spender: '0x...',
25
+ * amount: 100n,
26
+ * })
27
+ * ```
28
+ *
29
+ * @param config - Config.
30
+ * @param parameters - Parameters.
31
+ * @returns Transaction hash.
32
+ */
33
+ export declare function approve<config extends Config>(config: config, parameters: approve.Parameters<config>): Promise<Actions.token.approve.ReturnValue>;
34
+ export declare namespace approve {
35
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.approve.Parameters<config['chains'][number], Account>, 'chain'>;
36
+ type ReturnValue = Actions.token.approve.ReturnValue;
37
+ type ErrorType = BaseErrorType;
38
+ }
39
+ /**
40
+ * Approves a spender to transfer TIP20 tokens on behalf of the caller.
41
+ *
42
+ * Note: This is a synchronous action that waits for the transaction to
43
+ * be included on a block before returning a response.
44
+ *
45
+ * @example
46
+ * ```ts
47
+ * import { createConfig, http } from '@wagmi/core'
48
+ * import { tempo } from '@wagmi/core/chains'
49
+ * import { Actions } from '@wagmi/core/tempo'
50
+ *
51
+ * const config = createConfig({
52
+ * chains: [tempo],
53
+ * transports: {
54
+ * [tempo.id]: http(),
55
+ * },
56
+ * })
57
+ *
58
+ * const result = await Actions.token.approveSync(config, {
59
+ * spender: '0x...',
60
+ * amount: 100n,
61
+ * })
62
+ * ```
63
+ *
64
+ * @param config - Config.
65
+ * @param parameters - Parameters.
66
+ * @returns The transaction receipt and event data.
67
+ */
68
+ export declare function approveSync<config extends Config>(config: config, parameters: approveSync.Parameters<config>): Promise<Actions.token.approveSync.ReturnValue>;
69
+ export declare namespace approveSync {
70
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.approveSync.Parameters<config['chains'][number], Account>, 'chain'>;
71
+ type ReturnValue = Actions.token.approveSync.ReturnValue;
72
+ type ErrorType = BaseErrorType;
73
+ }
74
+ /**
75
+ * Burns TIP20 tokens from the caller's balance.
76
+ *
77
+ * @example
78
+ * ```ts
79
+ * import { createConfig, http } from '@wagmi/core'
80
+ * import { tempo } from '@wagmi/core/chains'
81
+ * import { Actions } from '@wagmi/core/tempo'
82
+ *
83
+ * const config = createConfig({
84
+ * chains: [tempo],
85
+ * transports: {
86
+ * [tempo.id]: http(),
87
+ * },
88
+ * })
89
+ *
90
+ * const hash = await Actions.token.burn(config, {
91
+ * amount: 100n,
92
+ * token: '0x...',
93
+ * })
94
+ * ```
95
+ *
96
+ * @param config - Config.
97
+ * @param parameters - Parameters.
98
+ * @returns Transaction hash.
99
+ */
100
+ export declare function burn<config extends Config>(config: config, parameters: burn.Parameters<config>): Promise<Actions.token.burn.ReturnValue>;
101
+ export declare namespace burn {
102
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.burn.Parameters<config['chains'][number], Account>, 'chain'>;
103
+ type ReturnValue = Actions.token.burn.ReturnValue;
104
+ type ErrorType = BaseErrorType;
105
+ }
106
+ /**
107
+ * Burns TIP20 tokens from a blocked address.
108
+ *
109
+ * @example
110
+ * ```ts
111
+ * import { createConfig, http } from '@wagmi/core'
112
+ * import { tempo } from '@wagmi/core/chains'
113
+ * import { Actions } from '@wagmi/core/tempo'
114
+ *
115
+ * const config = createConfig({
116
+ * chains: [tempo],
117
+ * transports: {
118
+ * [tempo.id]: http(),
119
+ * },
120
+ * })
121
+ *
122
+ * const hash = await Actions.token.burnBlocked(config, {
123
+ * from: '0x...',
124
+ * amount: 100n,
125
+ * token: '0x...',
126
+ * })
127
+ * ```
128
+ *
129
+ * @param config - Config.
130
+ * @param parameters - Parameters.
131
+ * @returns Transaction hash.
132
+ */
133
+ export declare function burnBlocked<config extends Config>(config: config, parameters: burnBlocked.Parameters<config>): Promise<Actions.token.burnBlocked.ReturnValue>;
134
+ export declare namespace burnBlocked {
135
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.burnBlocked.Parameters<config['chains'][number], Account>, 'chain'>;
136
+ type ReturnValue = Actions.token.burnBlocked.ReturnValue;
137
+ type ErrorType = BaseErrorType;
138
+ }
139
+ /**
140
+ * Burns TIP20 tokens from a blocked address.
141
+ *
142
+ * Note: This is a synchronous action that waits for the transaction to
143
+ * be included on a block before returning a response.
144
+ *
145
+ * @example
146
+ * ```ts
147
+ * import { createConfig, http } from '@wagmi/core'
148
+ * import { tempo } from '@wagmi/core/chains'
149
+ * import { Actions } from '@wagmi/core/tempo'
150
+ *
151
+ * const config = createConfig({
152
+ * chains: [tempo],
153
+ * transports: {
154
+ * [tempo.id]: http(),
155
+ * },
156
+ * })
157
+ *
158
+ * const result = await Actions.token.burnBlockedSync(config, {
159
+ * from: '0x...',
160
+ * amount: 100n,
161
+ * token: '0x...',
162
+ * })
163
+ * ```
164
+ *
165
+ * @param config - Config.
166
+ * @param parameters - Parameters.
167
+ * @returns The transaction receipt and event data.
168
+ */
169
+ export declare function burnBlockedSync<config extends Config>(config: config, parameters: burnBlockedSync.Parameters<config>): Promise<Actions.token.burnBlockedSync.ReturnValue>;
170
+ export declare namespace burnBlockedSync {
171
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.burnBlockedSync.Parameters<config['chains'][number], Account>, 'chain'>;
172
+ type ReturnValue = Actions.token.burnBlockedSync.ReturnValue;
173
+ type ErrorType = BaseErrorType;
174
+ }
175
+ /**
176
+ * Burns TIP20 tokens from the caller's balance.
177
+ *
178
+ * Note: This is a synchronous action that waits for the transaction to
179
+ * be included on a block before returning a response.
180
+ *
181
+ * @example
182
+ * ```ts
183
+ * import { createConfig, http } from '@wagmi/core'
184
+ * import { tempo } from '@wagmi/core/chains'
185
+ * import { Actions } from '@wagmi/core/tempo'
186
+ *
187
+ * const config = createConfig({
188
+ * chains: [tempo],
189
+ * transports: {
190
+ * [tempo.id]: http(),
191
+ * },
192
+ * })
193
+ *
194
+ * const result = await Actions.token.burnSync(config, {
195
+ * amount: 100n,
196
+ * token: '0x...',
197
+ * })
198
+ * ```
199
+ *
200
+ * @param config - Config.
201
+ * @param parameters - Parameters.
202
+ * @returns The transaction receipt and event data.
203
+ */
204
+ export declare function burnSync<config extends Config>(config: config, parameters: burnSync.Parameters<config>): Promise<Actions.token.burnSync.ReturnValue>;
205
+ export declare namespace burnSync {
206
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.burnSync.Parameters<config['chains'][number], Account>, 'chain'>;
207
+ type ReturnValue = Actions.token.burnSync.ReturnValue;
208
+ type ErrorType = BaseErrorType;
209
+ }
210
+ /**
211
+ * Changes the transfer policy ID for a TIP20 token.
212
+ *
213
+ * @example
214
+ * ```ts
215
+ * import { createConfig, http } from '@wagmi/core'
216
+ * import { tempo } from '@wagmi/core/chains'
217
+ * import { Actions } from '@wagmi/core/tempo'
218
+ *
219
+ * const config = createConfig({
220
+ * chains: [tempo],
221
+ * transports: {
222
+ * [tempo.id]: http(),
223
+ * },
224
+ * })
225
+ *
226
+ * const hash = await Actions.token.changeTransferPolicy(config, {
227
+ * token: '0x...',
228
+ * policyId: 1n,
229
+ * })
230
+ * ```
231
+ *
232
+ * @param config - Config.
233
+ * @param parameters - Parameters.
234
+ * @returns Transaction hash.
235
+ */
236
+ export declare function changeTransferPolicy<config extends Config>(config: config, parameters: changeTransferPolicy.Parameters<config>): Promise<Actions.token.changeTransferPolicy.ReturnValue>;
237
+ export declare namespace changeTransferPolicy {
238
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.changeTransferPolicy.Parameters<config['chains'][number], Account>, 'chain'>;
239
+ type ReturnValue = Actions.token.changeTransferPolicy.ReturnValue;
240
+ type ErrorType = BaseErrorType;
241
+ }
242
+ /**
243
+ * Changes the transfer policy ID for a TIP20 token.
244
+ *
245
+ * Note: This is a synchronous action that waits for the transaction to
246
+ * be included on a block before returning a response.
247
+ *
248
+ * @example
249
+ * ```ts
250
+ * import { createConfig, http } from '@wagmi/core'
251
+ * import { tempo } from '@wagmi/core/chains'
252
+ * import { Actions } from '@wagmi/core/tempo'
253
+ *
254
+ * const config = createConfig({
255
+ * chains: [tempo],
256
+ * transports: {
257
+ * [tempo.id]: http(),
258
+ * },
259
+ * })
260
+ *
261
+ * const result = await Actions.token.changeTransferPolicySync(config, {
262
+ * token: '0x...',
263
+ * policyId: 1n,
264
+ * })
265
+ * ```
266
+ *
267
+ * @param config - Config.
268
+ * @param parameters - Parameters.
269
+ * @returns The transaction receipt and event data.
270
+ */
271
+ export declare function changeTransferPolicySync<config extends Config>(config: config, parameters: changeTransferPolicySync.Parameters<config>): Promise<Actions.token.changeTransferPolicySync.ReturnValue>;
272
+ export declare namespace changeTransferPolicySync {
273
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.changeTransferPolicySync.Parameters<config['chains'][number], Account>, 'chain'>;
274
+ type ReturnValue = Actions.token.changeTransferPolicySync.ReturnValue;
275
+ type ErrorType = BaseErrorType;
276
+ }
277
+ /**
278
+ * Creates a new TIP20 token.
279
+ *
280
+ * @example
281
+ * ```ts
282
+ * import { createConfig, http } from '@wagmi/core'
283
+ * import { tempo } from '@wagmi/core/chains'
284
+ * import { Actions } from '@wagmi/core/tempo'
285
+ *
286
+ * const config = createConfig({
287
+ * chains: [tempo],
288
+ * transports: {
289
+ * [tempo.id]: http(),
290
+ * },
291
+ * })
292
+ *
293
+ * const hash = await Actions.token.create(config, {
294
+ * name: 'My Token',
295
+ * symbol: 'MTK',
296
+ * currency: 'USD',
297
+ * })
298
+ * ```
299
+ *
300
+ * @param config - Config.
301
+ * @param parameters - Parameters.
302
+ * @returns Transaction hash.
303
+ */
304
+ export declare function create<config extends Config>(config: config, parameters: create.Parameters<config>): Promise<Actions.token.create.ReturnValue>;
305
+ export declare namespace create {
306
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.create.Parameters<config['chains'][number], Account>, 'chain'>;
307
+ type ReturnValue = Actions.token.create.ReturnValue;
308
+ type ErrorType = BaseErrorType;
309
+ }
310
+ /**
311
+ * Creates a new TIP20 token.
312
+ *
313
+ * Note: This is a synchronous action that waits for the transaction to
314
+ * be included on a block before returning a response.
315
+ *
316
+ * @example
317
+ * ```ts
318
+ * import { createConfig, http } from '@wagmi/core'
319
+ * import { tempo } from '@wagmi/core/chains'
320
+ * import { Actions } from '@wagmi/core/tempo'
321
+ *
322
+ * const config = createConfig({
323
+ * chains: [tempo],
324
+ * transports: {
325
+ * [tempo.id]: http(),
326
+ * },
327
+ * })
328
+ *
329
+ * const result = await Actions.token.createSync(config, {
330
+ * name: 'My Token',
331
+ * symbol: 'MTK',
332
+ * currency: 'USD',
333
+ * })
334
+ * ```
335
+ *
336
+ * @param config - Config.
337
+ * @param parameters - Parameters.
338
+ * @returns The transaction receipt and event data.
339
+ */
340
+ export declare function createSync<config extends Config>(config: config, parameters: createSync.Parameters<config>): Promise<Actions.token.createSync.ReturnValue>;
341
+ export declare namespace createSync {
342
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.createSync.Parameters<config['chains'][number], Account>, 'chain'>;
343
+ type ReturnValue = Actions.token.createSync.ReturnValue;
344
+ type ErrorType = BaseErrorType;
345
+ }
346
+ /**
347
+ * Updates the quote token for a TIP20 token.
348
+ *
349
+ * @example
350
+ * ```ts
351
+ * import { createConfig, http } from '@wagmi/core'
352
+ * import { tempo } from '@wagmi/core/chains'
353
+ * import { Actions } from '@wagmi/core/tempo'
354
+ *
355
+ * const config = createConfig({
356
+ * chains: [tempo],
357
+ * transports: {
358
+ * [tempo.id]: http(),
359
+ * },
360
+ * })
361
+ *
362
+ * const hash = await Actions.token.updateQuoteToken(config, {
363
+ * token: '0x...',
364
+ * })
365
+ * ```
366
+ *
367
+ * @param config - Config.
368
+ * @param parameters - Parameters.
369
+ * @returns Transaction hash.
370
+ */
371
+ export declare function updateQuoteToken<config extends Config>(config: config, parameters: updateQuoteToken.Parameters<config>): Promise<Actions.token.updateQuoteToken.ReturnValue>;
372
+ export declare namespace updateQuoteToken {
373
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.updateQuoteToken.Parameters<config['chains'][number], Account>, 'chain'>;
374
+ type ReturnValue = Actions.token.updateQuoteToken.ReturnValue;
375
+ type ErrorType = BaseErrorType;
376
+ }
377
+ /**
378
+ * Updates the quote token for a TIP20 token.
379
+ *
380
+ * Note: This is a synchronous action that waits for the transaction to
381
+ * be included on a block before returning a response.
382
+ *
383
+ * @example
384
+ * ```ts
385
+ * import { createConfig, http } from '@wagmi/core'
386
+ * import { tempo } from '@wagmi/core/chains'
387
+ * import { Actions } from '@wagmi/core/tempo'
388
+ *
389
+ * const config = createConfig({
390
+ * chains: [tempo],
391
+ * transports: {
392
+ * [tempo.id]: http(),
393
+ * },
394
+ * })
395
+ *
396
+ * const result = await Actions.token.updateQuoteTokenSync(config, {
397
+ * token: '0x...',
398
+ * })
399
+ * ```
400
+ *
401
+ * @param config - Config.
402
+ * @param parameters - Parameters.
403
+ * @returns The transaction receipt and event data.
404
+ */
405
+ export declare function updateQuoteTokenSync<config extends Config>(config: config, parameters: updateQuoteTokenSync.Parameters<config>): Promise<Actions.token.updateQuoteTokenSync.ReturnValue>;
406
+ export declare namespace updateQuoteTokenSync {
407
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.updateQuoteTokenSync.Parameters<config['chains'][number], Account>, 'chain'>;
408
+ type ReturnValue = Actions.token.updateQuoteTokenSync.ReturnValue;
409
+ type ErrorType = BaseErrorType;
410
+ }
411
+ /**
412
+ * Gets TIP20 token allowance.
413
+ *
414
+ * @example
415
+ * ```ts
416
+ * import { createConfig, http } from '@wagmi/core'
417
+ * import { tempo } from '@wagmi/core/chains'
418
+ * import { Actions } from '@wagmi/core/tempo'
419
+ *
420
+ * const config = createConfig({
421
+ * chains: [tempo],
422
+ * transports: {
423
+ * [tempo.id]: http(),
424
+ * },
425
+ * })
426
+ *
427
+ * const allowance = await Actions.token.getAllowance(config, {
428
+ * account: '0x...',
429
+ * spender: '0x...',
430
+ * })
431
+ * ```
432
+ *
433
+ * @param config - Config.
434
+ * @param parameters - Parameters.
435
+ * @returns The token allowance.
436
+ */
437
+ export declare function getAllowance<config extends Config>(config: config, parameters: getAllowance.Parameters<config>): Promise<getAllowance.ReturnValue>;
438
+ export declare namespace getAllowance {
439
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.getAllowance.Parameters;
440
+ type ReturnValue = Actions.token.getAllowance.ReturnValue;
441
+ type ErrorType = BaseErrorType;
442
+ function queryKey<config extends Config>(parameters: Parameters<config>): readonly ["getAllowance", Parameters<config>];
443
+ type QueryKey<config extends Config> = ReturnType<typeof queryKey<config>>;
444
+ function queryOptions<config extends Config, selectData = ReturnValue>(config: Config, parameters: queryOptions.Parameters<config, selectData>): queryOptions.ReturnValue<config, selectData>;
445
+ namespace queryOptions {
446
+ type Parameters<config extends Config, selectData = getAllowance.ReturnValue> = getAllowance.Parameters<config> & QueryParameter<getAllowance.ReturnValue, getAllowance.ErrorType, selectData, getAllowance.QueryKey<config>>;
447
+ type ReturnValue<config extends Config, selectData = getAllowance.ReturnValue> = QueryOptions<getAllowance.ReturnValue, getAllowance.ErrorType, selectData, getAllowance.QueryKey<config>>;
448
+ }
449
+ }
450
+ /**
451
+ * Gets TIP20 token balance for an address.
452
+ *
453
+ * @example
454
+ * ```ts
455
+ * import { createConfig, http } from '@wagmi/core'
456
+ * import { tempo } from '@wagmi/core/chains'
457
+ * import { Actions } from '@wagmi/core/tempo'
458
+ *
459
+ * const config = createConfig({
460
+ * chains: [tempo],
461
+ * transports: {
462
+ * [tempo.id]: http(),
463
+ * },
464
+ * })
465
+ *
466
+ * const balance = await Actions.token.getBalance(config, {
467
+ * account: '0x...',
468
+ * })
469
+ * ```
470
+ *
471
+ * @param config - Config.
472
+ * @param parameters - Parameters.
473
+ * @returns The token balance.
474
+ */
475
+ export declare function getBalance<config extends Config>(config: config, parameters: getBalance.Parameters<config>): Promise<getBalance.ReturnValue>;
476
+ export declare namespace getBalance {
477
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.getBalance.Parameters;
478
+ type ReturnValue = Actions.token.getBalance.ReturnValue;
479
+ type ErrorType = BaseErrorType;
480
+ function queryKey<config extends Config>(parameters: Parameters<config>): readonly ["getBalance", Parameters<config>];
481
+ type QueryKey<config extends Config> = ReturnType<typeof queryKey<config>>;
482
+ function queryOptions<config extends Config, selectData = ReturnValue>(config: Config, parameters: queryOptions.Parameters<config, selectData>): queryOptions.ReturnValue<config, selectData>;
483
+ namespace queryOptions {
484
+ type Parameters<config extends Config, selectData = getBalance.ReturnValue> = getBalance.Parameters<config> & QueryParameter<getBalance.ReturnValue, getBalance.ErrorType, selectData, getBalance.QueryKey<config>>;
485
+ type ReturnValue<config extends Config, selectData = getBalance.ReturnValue> = QueryOptions<getBalance.ReturnValue, getBalance.ErrorType, selectData, getBalance.QueryKey<config>>;
486
+ }
487
+ }
488
+ /**
489
+ * Gets TIP20 token metadata.
490
+ *
491
+ * @example
492
+ * ```ts
493
+ * import { createConfig, http } from '@wagmi/core'
494
+ * import { tempo } from '@wagmi/core/chains'
495
+ * import { Actions } from '@wagmi/core/tempo'
496
+ *
497
+ * const config = createConfig({
498
+ * chains: [tempo],
499
+ * transports: {
500
+ * [tempo.id]: http(),
501
+ * },
502
+ * })
503
+ *
504
+ * const metadata = await Actions.token.getMetadata(config, {
505
+ * token: '0x...',
506
+ * })
507
+ * ```
508
+ *
509
+ * @param config - Config.
510
+ * @param parameters - Parameters.
511
+ * @returns The token metadata.
512
+ */
513
+ export declare function getMetadata<config extends Config>(config: config, parameters: getMetadata.Parameters<config>): Promise<getMetadata.ReturnValue>;
514
+ export declare namespace getMetadata {
515
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.getMetadata.Parameters;
516
+ type ReturnValue = Actions.token.getMetadata.ReturnValue;
517
+ type ErrorType = BaseErrorType;
518
+ function queryKey<config extends Config>(parameters: Parameters<config>): readonly ["getMetadata", Parameters<config>];
519
+ type QueryKey<config extends Config> = ReturnType<typeof queryKey<config>>;
520
+ function queryOptions<config extends Config, selectData = ReturnValue>(config: Config, parameters: queryOptions.Parameters<config, selectData>): queryOptions.ReturnValue<config, selectData>;
521
+ namespace queryOptions {
522
+ type Parameters<config extends Config, selectData = getMetadata.ReturnValue> = getMetadata.Parameters<config> & QueryParameter<getMetadata.ReturnValue, getMetadata.ErrorType, selectData, getMetadata.QueryKey<config>>;
523
+ type ReturnValue<config extends Config, selectData = getMetadata.ReturnValue> = QueryOptions<getMetadata.ReturnValue, getMetadata.ErrorType, selectData, getMetadata.QueryKey<config>>;
524
+ }
525
+ }
526
+ /**
527
+ * Gets the admin role for a specific role in a TIP20 token.
528
+ *
529
+ * @example
530
+ * ```ts
531
+ * import { createConfig, http } from '@wagmi/core'
532
+ * import { tempo } from '@wagmi/core/chains'
533
+ * import { Actions } from '@wagmi/core/tempo'
534
+ *
535
+ * const config = createConfig({
536
+ * chains: [tempo],
537
+ * transports: {
538
+ * [tempo.id]: http(),
539
+ * },
540
+ * })
541
+ *
542
+ * const adminRole = await Actions.token.getRoleAdmin(config, {
543
+ * role: 'issuer',
544
+ * token: '0x...',
545
+ * })
546
+ * ```
547
+ *
548
+ * @param config - Config.
549
+ * @param parameters - Parameters.
550
+ * @returns The admin role hash.
551
+ */
552
+ export declare function getRoleAdmin<config extends Config>(config: config, parameters: getRoleAdmin.Parameters<config>): Promise<getRoleAdmin.ReturnValue>;
553
+ export declare namespace getRoleAdmin {
554
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.getRoleAdmin.Parameters;
555
+ type ReturnValue = Actions.token.getRoleAdmin.ReturnValue;
556
+ type ErrorType = BaseErrorType;
557
+ function queryKey<config extends Config>(parameters: Parameters<config>): readonly ["getRoleAdmin", Parameters<config>];
558
+ type QueryKey<config extends Config> = ReturnType<typeof queryKey<config>>;
559
+ function queryOptions<config extends Config, selectData = ReturnValue>(config: Config, parameters: queryOptions.Parameters<config, selectData>): queryOptions.ReturnValue<config, selectData>;
560
+ namespace queryOptions {
561
+ type Parameters<config extends Config, selectData = getRoleAdmin.ReturnValue> = getRoleAdmin.Parameters<config> & QueryParameter<getRoleAdmin.ReturnValue, getRoleAdmin.ErrorType, selectData, getRoleAdmin.QueryKey<config>>;
562
+ type ReturnValue<config extends Config, selectData = getRoleAdmin.ReturnValue> = QueryOptions<getRoleAdmin.ReturnValue, getRoleAdmin.ErrorType, selectData, getRoleAdmin.QueryKey<config>>;
563
+ }
564
+ }
565
+ /**
566
+ * Grants a role for a TIP20 token.
567
+ *
568
+ * @example
569
+ * ```ts
570
+ * import { createConfig, http } from '@wagmi/core'
571
+ * import { tempo } from '@wagmi/core/chains'
572
+ * import { Actions } from '@wagmi/core/tempo'
573
+ *
574
+ * const config = createConfig({
575
+ * chains: [tempo],
576
+ * transports: {
577
+ * [tempo.id]: http(),
578
+ * },
579
+ * })
580
+ *
581
+ * const hash = await Actions.token.grantRoles(config, {
582
+ * token: '0x...',
583
+ * to: '0x...',
584
+ * roles: ['issuer'],
585
+ * })
586
+ * ```
587
+ *
588
+ * @param config - Config.
589
+ * @param parameters - Parameters.
590
+ * @returns Transaction hash.
591
+ */
592
+ export declare function grantRoles<config extends Config>(config: config, parameters: grantRoles.Parameters<config>): Promise<Actions.token.grantRoles.ReturnValue>;
593
+ export declare namespace grantRoles {
594
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.grantRoles.Parameters<config['chains'][number], Account>, 'chain'>;
595
+ type ReturnValue = Actions.token.grantRoles.ReturnValue;
596
+ type ErrorType = BaseErrorType;
597
+ }
598
+ /**
599
+ * Grants a role for a TIP20 token.
600
+ *
601
+ * Note: This is a synchronous action that waits for the transaction to
602
+ * be included on a block before returning a response.
603
+ *
604
+ * @example
605
+ * ```ts
606
+ * import { createConfig, http } from '@wagmi/core'
607
+ * import { tempo } from '@wagmi/core/chains'
608
+ * import { Actions } from '@wagmi/core/tempo'
609
+ *
610
+ * const config = createConfig({
611
+ * chains: [tempo],
612
+ * transports: {
613
+ * [tempo.id]: http(),
614
+ * },
615
+ * })
616
+ *
617
+ * const result = await Actions.token.grantRolesSync(config, {
618
+ * token: '0x...',
619
+ * to: '0x...',
620
+ * roles: ['issuer'],
621
+ * })
622
+ * ```
623
+ *
624
+ * @param config - Config.
625
+ * @param parameters - Parameters.
626
+ * @returns The transaction receipt and event data.
627
+ */
628
+ export declare function grantRolesSync<config extends Config>(config: config, parameters: grantRolesSync.Parameters<config>): Promise<Actions.token.grantRolesSync.ReturnValue>;
629
+ export declare namespace grantRolesSync {
630
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.grantRolesSync.Parameters<config['chains'][number], Account>, 'chain'>;
631
+ type ReturnValue = Actions.token.grantRolesSync.ReturnValue;
632
+ type ErrorType = BaseErrorType;
633
+ }
634
+ /**
635
+ * Checks if an account has a specific role for a TIP20 token.
636
+ *
637
+ * @example
638
+ * ```ts
639
+ * import { createConfig, http } from '@wagmi/core'
640
+ * import { tempo } from '@wagmi/core/chains'
641
+ * import { Actions } from '@wagmi/core/tempo'
642
+ *
643
+ * const config = createConfig({
644
+ * chains: [tempo],
645
+ * transports: {
646
+ * [tempo.id]: http(),
647
+ * },
648
+ * })
649
+ *
650
+ * const hasRole = await Actions.token.hasRole(config, {
651
+ * account: '0x...',
652
+ * role: 'issuer',
653
+ * token: '0x...',
654
+ * })
655
+ * ```
656
+ *
657
+ * @param config - Config.
658
+ * @param parameters - Parameters.
659
+ * @returns Whether the account has the role.
660
+ */
661
+ export declare function hasRole<config extends Config>(config: config, parameters: hasRole.Parameters<config>): Promise<hasRole.ReturnValue>;
662
+ export declare namespace hasRole {
663
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.hasRole.Parameters;
664
+ type ReturnValue = Actions.token.hasRole.ReturnValue;
665
+ type ErrorType = BaseErrorType;
666
+ function queryKey<config extends Config>(parameters: Parameters<config>): readonly ["hasRole", Parameters<config>];
667
+ type QueryKey<config extends Config> = ReturnType<typeof queryKey<config>>;
668
+ function queryOptions<config extends Config, selectData = ReturnValue>(config: Config, parameters: queryOptions.Parameters<config, selectData>): queryOptions.ReturnValue<config, selectData>;
669
+ namespace queryOptions {
670
+ type Parameters<config extends Config, selectData = hasRole.ReturnValue> = hasRole.Parameters<config> & QueryParameter<hasRole.ReturnValue, hasRole.ErrorType, selectData, hasRole.QueryKey<config>>;
671
+ type ReturnValue<config extends Config, selectData = hasRole.ReturnValue> = QueryOptions<hasRole.ReturnValue, hasRole.ErrorType, selectData, hasRole.QueryKey<config>>;
672
+ }
673
+ }
674
+ /**
675
+ * Mints TIP20 tokens to an address.
676
+ *
677
+ * @example
678
+ * ```ts
679
+ * import { createConfig, http } from '@wagmi/core'
680
+ * import { tempo } from '@wagmi/core/chains'
681
+ * import { Actions } from '@wagmi/core/tempo'
682
+ *
683
+ * const config = createConfig({
684
+ * chains: [tempo],
685
+ * transports: {
686
+ * [tempo.id]: http(),
687
+ * },
688
+ * })
689
+ *
690
+ * const hash = await Actions.token.mint(config, {
691
+ * to: '0x...',
692
+ * amount: 100n,
693
+ * token: '0x...',
694
+ * })
695
+ * ```
696
+ *
697
+ * @param config - Config.
698
+ * @param parameters - Parameters.
699
+ * @returns Transaction hash.
700
+ */
701
+ export declare function mint<config extends Config>(config: config, parameters: mint.Parameters<config>): Promise<Actions.token.mint.ReturnValue>;
702
+ export declare namespace mint {
703
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.mint.Parameters<config['chains'][number], Account>, 'chain'>;
704
+ type ReturnValue = Actions.token.mint.ReturnValue;
705
+ type ErrorType = BaseErrorType;
706
+ }
707
+ /**
708
+ * Mints TIP20 tokens to an address.
709
+ *
710
+ * Note: This is a synchronous action that waits for the transaction to
711
+ * be included on a block before returning a response.
712
+ *
713
+ * @example
714
+ * ```ts
715
+ * import { createConfig, http } from '@wagmi/core'
716
+ * import { tempo } from '@wagmi/core/chains'
717
+ * import { Actions } from '@wagmi/core/tempo'
718
+ *
719
+ * const config = createConfig({
720
+ * chains: [tempo],
721
+ * transports: {
722
+ * [tempo.id]: http(),
723
+ * },
724
+ * })
725
+ *
726
+ * const result = await Actions.token.mintSync(config, {
727
+ * to: '0x...',
728
+ * amount: 100n,
729
+ * token: '0x...',
730
+ * })
731
+ * ```
732
+ *
733
+ * @param config - Config.
734
+ * @param parameters - Parameters.
735
+ * @returns The transaction receipt and event data.
736
+ */
737
+ export declare function mintSync<config extends Config>(config: config, parameters: mintSync.Parameters<config>): Promise<Actions.token.mintSync.ReturnValue>;
738
+ export declare namespace mintSync {
739
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.mintSync.Parameters<config['chains'][number], Account>, 'chain'>;
740
+ type ReturnValue = Actions.token.mintSync.ReturnValue;
741
+ type ErrorType = BaseErrorType;
742
+ }
743
+ /**
744
+ * Pauses a TIP20 token.
745
+ *
746
+ * @example
747
+ * ```ts
748
+ * import { createConfig, http } from '@wagmi/core'
749
+ * import { tempo } from '@wagmi/core/chains'
750
+ * import { Actions } from '@wagmi/core/tempo'
751
+ *
752
+ * const config = createConfig({
753
+ * chains: [tempo],
754
+ * transports: {
755
+ * [tempo.id]: http(),
756
+ * },
757
+ * })
758
+ *
759
+ * const hash = await Actions.token.pause(config, {
760
+ * token: '0x...',
761
+ * })
762
+ * ```
763
+ *
764
+ * @param config - Config.
765
+ * @param parameters - Parameters.
766
+ * @returns Transaction hash.
767
+ */
768
+ export declare function pause<config extends Config>(config: config, parameters: pause.Parameters<config>): Promise<Actions.token.pause.ReturnValue>;
769
+ export declare namespace pause {
770
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.pause.Parameters<config['chains'][number], Account>, 'chain'>;
771
+ type ReturnValue = Actions.token.pause.ReturnValue;
772
+ type ErrorType = BaseErrorType;
773
+ }
774
+ /**
775
+ * Pauses a TIP20 token.
776
+ *
777
+ * Note: This is a synchronous action that waits for the transaction to
778
+ * be included on a block before returning a response.
779
+ *
780
+ * @example
781
+ * ```ts
782
+ * import { createConfig, http } from '@wagmi/core'
783
+ * import { tempo } from '@wagmi/core/chains'
784
+ * import { Actions } from '@wagmi/core/tempo'
785
+ *
786
+ * const config = createConfig({
787
+ * chains: [tempo],
788
+ * transports: {
789
+ * [tempo.id]: http(),
790
+ * },
791
+ * })
792
+ *
793
+ * const result = await Actions.token.pauseSync(config, {
794
+ * token: '0x...',
795
+ * })
796
+ * ```
797
+ *
798
+ * @param config - Config.
799
+ * @param parameters - Parameters.
800
+ * @returns The transaction receipt and event data.
801
+ */
802
+ export declare function pauseSync<config extends Config>(config: config, parameters: pauseSync.Parameters<config>): Promise<Actions.token.pauseSync.ReturnValue>;
803
+ export declare namespace pauseSync {
804
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.pauseSync.Parameters<config['chains'][number], Account>, 'chain'>;
805
+ type ReturnValue = Actions.token.pauseSync.ReturnValue;
806
+ type ErrorType = BaseErrorType;
807
+ }
808
+ /**
809
+ * Renounces a role for a TIP20 token.
810
+ *
811
+ * @example
812
+ * ```ts
813
+ * import { createConfig, http } from '@wagmi/core'
814
+ * import { tempo } from '@wagmi/core/chains'
815
+ * import { Actions } from '@wagmi/core/tempo'
816
+ *
817
+ * const config = createConfig({
818
+ * chains: [tempo],
819
+ * transports: {
820
+ * [tempo.id]: http(),
821
+ * },
822
+ * })
823
+ *
824
+ * const hash = await Actions.token.renounceRoles(config, {
825
+ * token: '0x...',
826
+ * roles: ['issuer'],
827
+ * })
828
+ * ```
829
+ *
830
+ * @param config - Config.
831
+ * @param parameters - Parameters.
832
+ * @returns Transaction hash.
833
+ */
834
+ export declare function renounceRoles<config extends Config>(config: config, parameters: renounceRoles.Parameters<config>): Promise<Actions.token.renounceRoles.ReturnValue>;
835
+ export declare namespace renounceRoles {
836
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.renounceRoles.Parameters<config['chains'][number], Account>, 'chain'>;
837
+ type ReturnValue = Actions.token.renounceRoles.ReturnValue;
838
+ type ErrorType = BaseErrorType;
839
+ }
840
+ /**
841
+ * Renounces a role for a TIP20 token.
842
+ *
843
+ * Note: This is a synchronous action that waits for the transaction to
844
+ * be included on a block before returning a response.
845
+ *
846
+ * @example
847
+ * ```ts
848
+ * import { createConfig, http } from '@wagmi/core'
849
+ * import { tempo } from '@wagmi/core/chains'
850
+ * import { Actions } from '@wagmi/core/tempo'
851
+ *
852
+ * const config = createConfig({
853
+ * chains: [tempo],
854
+ * transports: {
855
+ * [tempo.id]: http(),
856
+ * },
857
+ * })
858
+ *
859
+ * const result = await Actions.token.renounceRolesSync(config, {
860
+ * token: '0x...',
861
+ * roles: ['issuer'],
862
+ * })
863
+ * ```
864
+ *
865
+ * @param config - Config.
866
+ * @param parameters - Parameters.
867
+ * @returns The transaction receipt and event data.
868
+ */
869
+ export declare function renounceRolesSync<config extends Config>(config: config, parameters: renounceRolesSync.Parameters<config>): Promise<Actions.token.renounceRolesSync.ReturnValue>;
870
+ export declare namespace renounceRolesSync {
871
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.renounceRolesSync.Parameters<config['chains'][number], Account>, 'chain'>;
872
+ type ReturnValue = Actions.token.renounceRolesSync.ReturnValue;
873
+ type ErrorType = BaseErrorType;
874
+ }
875
+ /**
876
+ * Revokes a role for a TIP20 token.
877
+ *
878
+ * @example
879
+ * ```ts
880
+ * import { createConfig, http } from '@wagmi/core'
881
+ * import { tempo } from '@wagmi/core/chains'
882
+ * import { Actions } from '@wagmi/core/tempo'
883
+ *
884
+ * const config = createConfig({
885
+ * chains: [tempo],
886
+ * transports: {
887
+ * [tempo.id]: http(),
888
+ * },
889
+ * })
890
+ *
891
+ * const hash = await Actions.token.revokeRoles(config, {
892
+ * token: '0x...',
893
+ * from: '0x...',
894
+ * roles: ['issuer'],
895
+ * })
896
+ * ```
897
+ *
898
+ * @param config - Config.
899
+ * @param parameters - Parameters.
900
+ * @returns Transaction hash.
901
+ */
902
+ export declare function revokeRoles<config extends Config>(config: config, parameters: revokeRoles.Parameters<config>): Promise<Actions.token.revokeRoles.ReturnValue>;
903
+ export declare namespace revokeRoles {
904
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.revokeRoles.Parameters<config['chains'][number], Account>, 'chain'>;
905
+ type ReturnValue = Actions.token.revokeRoles.ReturnValue;
906
+ type ErrorType = BaseErrorType;
907
+ }
908
+ /**
909
+ * Revokes a role for a TIP20 token.
910
+ *
911
+ * Note: This is a synchronous action that waits for the transaction to
912
+ * be included on a block before returning a response.
913
+ *
914
+ * @example
915
+ * ```ts
916
+ * import { createConfig, http } from '@wagmi/core'
917
+ * import { tempo } from '@wagmi/core/chains'
918
+ * import { Actions } from '@wagmi/core/tempo'
919
+ *
920
+ * const config = createConfig({
921
+ * chains: [tempo],
922
+ * transports: {
923
+ * [tempo.id]: http(),
924
+ * },
925
+ * })
926
+ *
927
+ * const result = await Actions.token.revokeRolesSync(config, {
928
+ * token: '0x...',
929
+ * from: '0x...',
930
+ * roles: ['issuer'],
931
+ * })
932
+ * ```
933
+ *
934
+ * @param config - Config.
935
+ * @param parameters - Parameters.
936
+ * @returns The transaction receipt and event data.
937
+ */
938
+ export declare function revokeRolesSync<config extends Config>(config: config, parameters: revokeRolesSync.Parameters<config>): Promise<Actions.token.revokeRolesSync.ReturnValue>;
939
+ export declare namespace revokeRolesSync {
940
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.revokeRolesSync.Parameters<config['chains'][number], Account>, 'chain'>;
941
+ type ReturnValue = Actions.token.revokeRolesSync.ReturnValue;
942
+ type ErrorType = BaseErrorType;
943
+ }
944
+ /**
945
+ * Sets the admin role for a specific role in a TIP20 token.
946
+ *
947
+ * @example
948
+ * ```ts
949
+ * import { createConfig, http } from '@wagmi/core'
950
+ * import { tempo } from '@wagmi/core/chains'
951
+ * import { Actions } from '@wagmi/core/tempo'
952
+ *
953
+ * const config = createConfig({
954
+ * chains: [tempo],
955
+ * transports: {
956
+ * [tempo.id]: http(),
957
+ * },
958
+ * })
959
+ *
960
+ * const hash = await Actions.token.setRoleAdmin(config, {
961
+ * token: '0x...',
962
+ * role: 'issuer',
963
+ * adminRole: 'pause',
964
+ * })
965
+ * ```
966
+ *
967
+ * @param config - Config.
968
+ * @param parameters - Parameters.
969
+ * @returns Transaction hash.
970
+ */
971
+ export declare function setRoleAdmin<config extends Config>(config: config, parameters: setRoleAdmin.Parameters<config>): Promise<Actions.token.setRoleAdmin.ReturnValue>;
972
+ export declare namespace setRoleAdmin {
973
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.setRoleAdmin.Parameters<config['chains'][number], Account>, 'chain'>;
974
+ type ReturnValue = Actions.token.setRoleAdmin.ReturnValue;
975
+ type ErrorType = BaseErrorType;
976
+ }
977
+ /**
978
+ * Sets the admin role for a specific role in a TIP20 token.
979
+ *
980
+ * Note: This is a synchronous action that waits for the transaction to
981
+ * be included on a block before returning a response.
982
+ *
983
+ * @example
984
+ * ```ts
985
+ * import { createConfig, http } from '@wagmi/core'
986
+ * import { tempo } from '@wagmi/core/chains'
987
+ * import { Actions } from '@wagmi/core/tempo'
988
+ *
989
+ * const config = createConfig({
990
+ * chains: [tempo],
991
+ * transports: {
992
+ * [tempo.id]: http(),
993
+ * },
994
+ * })
995
+ *
996
+ * const result = await Actions.token.setRoleAdminSync(config, {
997
+ * token: '0x...',
998
+ * role: 'issuer',
999
+ * adminRole: 'pause',
1000
+ * })
1001
+ * ```
1002
+ *
1003
+ * @param config - Config.
1004
+ * @param parameters - Parameters.
1005
+ * @returns The transaction receipt and event data.
1006
+ */
1007
+ export declare function setRoleAdminSync<config extends Config>(config: config, parameters: setRoleAdminSync.Parameters<config>): Promise<Actions.token.setRoleAdminSync.ReturnValue>;
1008
+ export declare namespace setRoleAdminSync {
1009
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.setRoleAdminSync.Parameters<config['chains'][number], Account>, 'chain'>;
1010
+ type ReturnValue = Actions.token.setRoleAdminSync.ReturnValue;
1011
+ type ErrorType = BaseErrorType;
1012
+ }
1013
+ /**
1014
+ * Sets the supply cap for a TIP20 token.
1015
+ *
1016
+ * @example
1017
+ * ```ts
1018
+ * import { createConfig, http } from '@wagmi/core'
1019
+ * import { tempo } from '@wagmi/core/chains'
1020
+ * import { Actions } from '@wagmi/core/tempo'
1021
+ *
1022
+ * const config = createConfig({
1023
+ * chains: [tempo],
1024
+ * transports: {
1025
+ * [tempo.id]: http(),
1026
+ * },
1027
+ * })
1028
+ *
1029
+ * const hash = await Actions.token.setSupplyCap(config, {
1030
+ * token: '0x...',
1031
+ * supplyCap: 1000000n,
1032
+ * })
1033
+ * ```
1034
+ *
1035
+ * @param config - Config.
1036
+ * @param parameters - Parameters.
1037
+ * @returns Transaction hash.
1038
+ */
1039
+ export declare function setSupplyCap<config extends Config>(config: config, parameters: setSupplyCap.Parameters<config>): Promise<Actions.token.setSupplyCap.ReturnValue>;
1040
+ export declare namespace setSupplyCap {
1041
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.setSupplyCap.Parameters<config['chains'][number], Account>, 'chain'>;
1042
+ type ReturnValue = Actions.token.setSupplyCap.ReturnValue;
1043
+ type ErrorType = BaseErrorType;
1044
+ }
1045
+ /**
1046
+ * Sets the supply cap for a TIP20 token.
1047
+ *
1048
+ * Note: This is a synchronous action that waits for the transaction to
1049
+ * be included on a block before returning a response.
1050
+ *
1051
+ * @example
1052
+ * ```ts
1053
+ * import { createConfig, http } from '@wagmi/core'
1054
+ * import { tempo } from '@wagmi/core/chains'
1055
+ * import { Actions } from '@wagmi/core/tempo'
1056
+ *
1057
+ * const config = createConfig({
1058
+ * chains: [tempo],
1059
+ * transports: {
1060
+ * [tempo.id]: http(),
1061
+ * },
1062
+ * })
1063
+ *
1064
+ * const result = await Actions.token.setSupplyCapSync(config, {
1065
+ * token: '0x...',
1066
+ * supplyCap: 1000000n,
1067
+ * })
1068
+ * ```
1069
+ *
1070
+ * @param config - Config.
1071
+ * @param parameters - Parameters.
1072
+ * @returns The transaction receipt and event data.
1073
+ */
1074
+ export declare function setSupplyCapSync<config extends Config>(config: config, parameters: setSupplyCapSync.Parameters<config>): Promise<Actions.token.setSupplyCapSync.ReturnValue>;
1075
+ export declare namespace setSupplyCapSync {
1076
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.setSupplyCapSync.Parameters<config['chains'][number], Account>, 'chain'>;
1077
+ type ReturnValue = Actions.token.setSupplyCapSync.ReturnValue;
1078
+ type ErrorType = BaseErrorType;
1079
+ }
1080
+ /**
1081
+ * Transfers TIP20 tokens to another address.
1082
+ *
1083
+ * @example
1084
+ * ```ts
1085
+ * import { createConfig, http } from '@wagmi/core'
1086
+ * import { tempo } from '@wagmi/core/chains'
1087
+ * import { Actions } from '@wagmi/core/tempo'
1088
+ *
1089
+ * const config = createConfig({
1090
+ * chains: [tempo],
1091
+ * transports: {
1092
+ * [tempo.id]: http(),
1093
+ * },
1094
+ * })
1095
+ *
1096
+ * const hash = await Actions.token.transfer(config, {
1097
+ * to: '0x...',
1098
+ * amount: 100n,
1099
+ * })
1100
+ * ```
1101
+ *
1102
+ * @param config - Config.
1103
+ * @param parameters - Parameters.
1104
+ * @returns Transaction hash.
1105
+ */
1106
+ export declare function transfer<config extends Config>(config: config, parameters: transfer.Parameters<config>): Promise<Actions.token.transfer.ReturnValue>;
1107
+ export declare namespace transfer {
1108
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.transfer.Parameters<config['chains'][number], Account>, 'chain'>;
1109
+ type ReturnValue = Actions.token.transfer.ReturnValue;
1110
+ type ErrorType = BaseErrorType;
1111
+ }
1112
+ /**
1113
+ * Transfers TIP20 tokens to another address.
1114
+ *
1115
+ * Note: This is a synchronous action that waits for the transaction to
1116
+ * be included on a block before returning a response.
1117
+ *
1118
+ * @example
1119
+ * ```ts
1120
+ * import { createConfig, http } from '@wagmi/core'
1121
+ * import { tempo } from '@wagmi/core/chains'
1122
+ * import { Actions } from '@wagmi/core/tempo'
1123
+ *
1124
+ * const config = createConfig({
1125
+ * chains: [tempo],
1126
+ * transports: {
1127
+ * [tempo.id]: http(),
1128
+ * },
1129
+ * })
1130
+ *
1131
+ * const result = await Actions.token.transferSync(config, {
1132
+ * to: '0x...',
1133
+ * amount: 100n,
1134
+ * })
1135
+ * ```
1136
+ *
1137
+ * @param config - Config.
1138
+ * @param parameters - Parameters.
1139
+ * @returns The transaction receipt and event data.
1140
+ */
1141
+ export declare function transferSync<config extends Config>(config: config, parameters: transferSync.Parameters<config>): Promise<Actions.token.transferSync.ReturnValue>;
1142
+ export declare namespace transferSync {
1143
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.transferSync.Parameters<config['chains'][number], Account>, 'chain'>;
1144
+ type ReturnValue = Actions.token.transferSync.ReturnValue;
1145
+ type ErrorType = BaseErrorType;
1146
+ }
1147
+ /**
1148
+ * Unpauses a TIP20 token.
1149
+ *
1150
+ * @example
1151
+ * ```ts
1152
+ * import { createConfig, http } from '@wagmi/core'
1153
+ * import { tempo } from '@wagmi/core/chains'
1154
+ * import { Actions } from '@wagmi/core/tempo'
1155
+ *
1156
+ * const config = createConfig({
1157
+ * chains: [tempo],
1158
+ * transports: {
1159
+ * [tempo.id]: http(),
1160
+ * },
1161
+ * })
1162
+ *
1163
+ * const hash = await Actions.token.unpause(config, {
1164
+ * token: '0x...',
1165
+ * })
1166
+ * ```
1167
+ *
1168
+ * @param config - Config.
1169
+ * @param parameters - Parameters.
1170
+ * @returns Transaction hash.
1171
+ */
1172
+ export declare function unpause<config extends Config>(config: config, parameters: unpause.Parameters<config>): Promise<Actions.token.unpause.ReturnValue>;
1173
+ export declare namespace unpause {
1174
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.unpause.Parameters<config['chains'][number], Account>, 'chain'>;
1175
+ type ReturnValue = Actions.token.unpause.ReturnValue;
1176
+ type ErrorType = BaseErrorType;
1177
+ }
1178
+ /**
1179
+ * Unpauses a TIP20 token.
1180
+ *
1181
+ * Note: This is a synchronous action that waits for the transaction to
1182
+ * be included on a block before returning a response.
1183
+ *
1184
+ * @example
1185
+ * ```ts
1186
+ * import { createConfig, http } from '@wagmi/core'
1187
+ * import { tempo } from '@wagmi/core/chains'
1188
+ * import { Actions } from '@wagmi/core/tempo'
1189
+ *
1190
+ * const config = createConfig({
1191
+ * chains: [tempo],
1192
+ * transports: {
1193
+ * [tempo.id]: http(),
1194
+ * },
1195
+ * })
1196
+ *
1197
+ * const result = await Actions.token.unpauseSync(config, {
1198
+ * token: '0x...',
1199
+ * })
1200
+ * ```
1201
+ *
1202
+ * @param config - Config.
1203
+ * @param parameters - Parameters.
1204
+ * @returns The transaction receipt and event data.
1205
+ */
1206
+ export declare function unpauseSync<config extends Config>(config: config, parameters: unpauseSync.Parameters<config>): Promise<Actions.token.unpauseSync.ReturnValue>;
1207
+ export declare namespace unpauseSync {
1208
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.unpauseSync.Parameters<config['chains'][number], Account>, 'chain'>;
1209
+ type ReturnValue = Actions.token.unpauseSync.ReturnValue;
1210
+ type ErrorType = BaseErrorType;
1211
+ }
1212
+ /**
1213
+ * Prepares the quote token update for a TIP20 token.
1214
+ *
1215
+ * @example
1216
+ * ```ts
1217
+ * import { createConfig, http } from '@wagmi/core'
1218
+ * import { tempo } from '@wagmi/core/chains'
1219
+ * import { Actions } from '@wagmi/core/tempo'
1220
+ *
1221
+ * const config = createConfig({
1222
+ * chains: [tempo],
1223
+ * transports: {
1224
+ * [tempo.id]: http(),
1225
+ * },
1226
+ * })
1227
+ *
1228
+ * const hash = await Actions.token.prepareUpdateQuoteToken(config, {
1229
+ * token: '0x...',
1230
+ * quoteToken: '0x...',
1231
+ * })
1232
+ * ```
1233
+ *
1234
+ * @param config - Config.
1235
+ * @param parameters - Parameters.
1236
+ * @returns Transaction hash.
1237
+ */
1238
+ export declare function prepareUpdateQuoteToken<config extends Config>(config: config, parameters: prepareUpdateQuoteToken.Parameters<config>): Promise<Actions.token.prepareUpdateQuoteToken.ReturnValue>;
1239
+ export declare namespace prepareUpdateQuoteToken {
1240
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.prepareUpdateQuoteToken.Parameters<config['chains'][number], Account>, 'chain'>;
1241
+ type ReturnValue = Actions.token.prepareUpdateQuoteToken.ReturnValue;
1242
+ type ErrorType = BaseErrorType;
1243
+ }
1244
+ /**
1245
+ * Prepares the quote token update for a TIP20 token.
1246
+ *
1247
+ * Note: This is a synchronous action that waits for the transaction to
1248
+ * be included on a block before returning a response.
1249
+ *
1250
+ * @example
1251
+ * ```ts
1252
+ * import { createConfig, http } from '@wagmi/core'
1253
+ * import { tempo } from '@wagmi/core/chains'
1254
+ * import { Actions } from '@wagmi/core/tempo'
1255
+ *
1256
+ * const config = createConfig({
1257
+ * chains: [tempo],
1258
+ * transports: {
1259
+ * [tempo.id]: http(),
1260
+ * },
1261
+ * })
1262
+ *
1263
+ * const result = await Actions.token.prepareUpdateQuoteTokenSync(config, {
1264
+ * token: '0x...',
1265
+ * quoteToken: '0x...',
1266
+ * })
1267
+ * ```
1268
+ *
1269
+ * @param config - Config.
1270
+ * @param parameters - Parameters.
1271
+ * @returns The transaction receipt and event data.
1272
+ */
1273
+ export declare function prepareUpdateQuoteTokenSync<config extends Config>(config: config, parameters: prepareUpdateQuoteTokenSync.Parameters<config>): Promise<Actions.token.prepareUpdateQuoteTokenSync.ReturnValue>;
1274
+ export declare namespace prepareUpdateQuoteTokenSync {
1275
+ type Parameters<config extends Config> = ChainIdParameter<config> & ConnectorParameter & UnionLooseOmit<Actions.token.prepareUpdateQuoteTokenSync.Parameters<config['chains'][number], Account>, 'chain'>;
1276
+ type ReturnValue = Actions.token.prepareUpdateQuoteTokenSync.ReturnValue;
1277
+ type ErrorType = BaseErrorType;
1278
+ }
1279
+ /**
1280
+ * Watches for TIP20 token role admin updates.
1281
+ *
1282
+ * @example
1283
+ * ```ts
1284
+ * import { createConfig, http } from '@wagmi/core'
1285
+ * import { tempo } from '@wagmi/core/chains'
1286
+ * import { Actions } from '@wagmi/core/tempo'
1287
+ *
1288
+ * const config = createConfig({
1289
+ * chains: [tempo],
1290
+ * transports: {
1291
+ * [tempo.id]: http(),
1292
+ * },
1293
+ * })
1294
+ *
1295
+ * const unwatch = Actions.token.watchAdminRole(config, {
1296
+ * onRoleAdminUpdated: (args, log) => {
1297
+ * console.log('Role admin updated:', args)
1298
+ * },
1299
+ * })
1300
+ * ```
1301
+ *
1302
+ * @param config - Config.
1303
+ * @param parameters - Parameters.
1304
+ * @returns A function to unsubscribe from the event.
1305
+ */
1306
+ export declare function watchAdminRole<config extends Config>(config: config, parameters: watchAdminRole.Parameters<config>): import("viem").WatchContractEventReturnType;
1307
+ export declare namespace watchAdminRole {
1308
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.watchAdminRole.Parameters;
1309
+ }
1310
+ /**
1311
+ * Watches for TIP20 token approval events.
1312
+ *
1313
+ * @example
1314
+ * ```ts
1315
+ * import { createConfig, http } from '@wagmi/core'
1316
+ * import { tempo } from '@wagmi/core/chains'
1317
+ * import { Actions } from '@wagmi/core/tempo'
1318
+ *
1319
+ * const config = createConfig({
1320
+ * chains: [tempo],
1321
+ * transports: {
1322
+ * [tempo.id]: http(),
1323
+ * },
1324
+ * })
1325
+ *
1326
+ * const unwatch = Actions.token.watchApprove(config, {
1327
+ * onApproval: (args, log) => {
1328
+ * console.log('Approval:', args)
1329
+ * },
1330
+ * })
1331
+ * ```
1332
+ *
1333
+ * @param config - Config.
1334
+ * @param parameters - Parameters.
1335
+ * @returns A function to unsubscribe from the event.
1336
+ */
1337
+ export declare function watchApprove<config extends Config>(config: config, parameters: watchApprove.Parameters<config>): import("viem").WatchContractEventReturnType;
1338
+ export declare namespace watchApprove {
1339
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.watchApprove.Parameters;
1340
+ }
1341
+ /**
1342
+ * Watches for TIP20 token burn events.
1343
+ *
1344
+ * @example
1345
+ * ```ts
1346
+ * import { createConfig, http } from '@wagmi/core'
1347
+ * import { tempo } from '@wagmi/core/chains'
1348
+ * import { Actions } from '@wagmi/core/tempo'
1349
+ *
1350
+ * const config = createConfig({
1351
+ * chains: [tempo],
1352
+ * transports: {
1353
+ * [tempo.id]: http(),
1354
+ * },
1355
+ * })
1356
+ *
1357
+ * const unwatch = Actions.token.watchBurn(config, {
1358
+ * onBurn: (args, log) => {
1359
+ * console.log('Burn:', args)
1360
+ * },
1361
+ * })
1362
+ * ```
1363
+ *
1364
+ * @param config - Config.
1365
+ * @param parameters - Parameters.
1366
+ * @returns A function to unsubscribe from the event.
1367
+ */
1368
+ export declare function watchBurn<config extends Config>(config: config, parameters: watchBurn.Parameters<config>): import("viem").WatchContractEventReturnType;
1369
+ export declare namespace watchBurn {
1370
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.watchBurn.Parameters;
1371
+ }
1372
+ /**
1373
+ * Watches for new TIP20 tokens created.
1374
+ *
1375
+ * @example
1376
+ * ```ts
1377
+ * import { createConfig, http } from '@wagmi/core'
1378
+ * import { tempo } from '@wagmi/core/chains'
1379
+ * import { Actions } from '@wagmi/core/tempo'
1380
+ *
1381
+ * const config = createConfig({
1382
+ * chains: [tempo],
1383
+ * transports: {
1384
+ * [tempo.id]: http(),
1385
+ * },
1386
+ * })
1387
+ *
1388
+ * const unwatch = Actions.token.watchCreate(config, {
1389
+ * onTokenCreated: (args, log) => {
1390
+ * console.log('Token created:', args)
1391
+ * },
1392
+ * })
1393
+ * ```
1394
+ *
1395
+ * @param config - Config.
1396
+ * @param parameters - Parameters.
1397
+ * @returns A function to unsubscribe from the event.
1398
+ */
1399
+ export declare function watchCreate<config extends Config>(config: config, parameters: watchCreate.Parameters<config>): import("viem").WatchContractEventReturnType;
1400
+ export declare namespace watchCreate {
1401
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.watchCreate.Parameters;
1402
+ }
1403
+ /**
1404
+ * Watches for TIP20 token mint events.
1405
+ *
1406
+ * @example
1407
+ * ```ts
1408
+ * import { createConfig, http } from '@wagmi/core'
1409
+ * import { tempo } from '@wagmi/core/chains'
1410
+ * import { Actions } from '@wagmi/core/tempo'
1411
+ *
1412
+ * const config = createConfig({
1413
+ * chains: [tempo],
1414
+ * transports: {
1415
+ * [tempo.id]: http(),
1416
+ * },
1417
+ * })
1418
+ *
1419
+ * const unwatch = Actions.token.watchMint(config, {
1420
+ * onMint: (args, log) => {
1421
+ * console.log('Mint:', args)
1422
+ * },
1423
+ * })
1424
+ * ```
1425
+ *
1426
+ * @param config - Config.
1427
+ * @param parameters - Parameters.
1428
+ * @returns A function to unsubscribe from the event.
1429
+ */
1430
+ export declare function watchMint<config extends Config>(config: config, parameters: watchMint.Parameters<config>): import("viem").WatchContractEventReturnType;
1431
+ export declare namespace watchMint {
1432
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.watchMint.Parameters;
1433
+ type ReturnValue = Actions.token.watchMint.ReturnValue;
1434
+ }
1435
+ /**
1436
+ * Watches for TIP20 token role membership updates.
1437
+ *
1438
+ * @example
1439
+ * ```ts
1440
+ * import { createConfig, http } from '@wagmi/core'
1441
+ * import { tempo } from '@wagmi/core/chains'
1442
+ * import { Actions } from '@wagmi/core/tempo'
1443
+ *
1444
+ * const config = createConfig({
1445
+ * chains: [tempo],
1446
+ * transports: {
1447
+ * [tempo.id]: http(),
1448
+ * },
1449
+ * })
1450
+ *
1451
+ * const unwatch = Actions.token.watchRole(config, {
1452
+ * onRoleUpdated: (args, log) => {
1453
+ * console.log('Role updated:', args)
1454
+ * },
1455
+ * })
1456
+ * ```
1457
+ *
1458
+ * @param config - Config.
1459
+ * @param parameters - Parameters.
1460
+ * @returns A function to unsubscribe from the event.
1461
+ */
1462
+ export declare function watchRole<config extends Config>(config: config, parameters: watchRole.Parameters<config>): import("viem").WatchContractEventReturnType;
1463
+ export declare namespace watchRole {
1464
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.watchRole.Parameters;
1465
+ }
1466
+ /**
1467
+ * Watches for TIP20 token transfer events.
1468
+ *
1469
+ * @example
1470
+ * ```ts
1471
+ * import { createConfig, http } from '@wagmi/core'
1472
+ * import { tempo } from '@wagmi/core/chains'
1473
+ * import { Actions } from '@wagmi/core/tempo'
1474
+ *
1475
+ * const config = createConfig({
1476
+ * chains: [tempo],
1477
+ * transports: {
1478
+ * [tempo.id]: http(),
1479
+ * },
1480
+ * })
1481
+ *
1482
+ * const unwatch = Actions.token.watchTransfer(config, {
1483
+ * onTransfer: (args, log) => {
1484
+ * console.log('Transfer:', args)
1485
+ * },
1486
+ * })
1487
+ * ```
1488
+ *
1489
+ * @param config - Config.
1490
+ * @param parameters - Parameters.
1491
+ * @returns A function to unsubscribe from the event.
1492
+ */
1493
+ export declare function watchTransfer<config extends Config>(config: config, parameters: watchTransfer.Parameters<config>): import("viem").WatchContractEventReturnType;
1494
+ export declare namespace watchTransfer {
1495
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.watchTransfer.Parameters;
1496
+ }
1497
+ /**
1498
+ * Watches for TIP20 token quote token update events.
1499
+ *
1500
+ * @example
1501
+ * ```ts
1502
+ * import { createConfig, http } from '@wagmi/core'
1503
+ * import { tempo } from '@wagmi/core/chains'
1504
+ * import { Actions } from '@wagmi/core/tempo'
1505
+ *
1506
+ * const config = createConfig({
1507
+ * chains: [tempo],
1508
+ * transports: {
1509
+ * [tempo.id]: http(),
1510
+ * },
1511
+ * })
1512
+ *
1513
+ * const unwatch = Actions.token.watchUpdateQuoteToken(config, {
1514
+ * onUpdateQuoteToken: (args, log) => {
1515
+ * if (args.completed)
1516
+ * console.log('quote token update completed:', args.newQuoteToken)
1517
+ * else
1518
+ * console.log('quote token update proposed:', args.newQuoteToken)
1519
+ * },
1520
+ * })
1521
+ * ```
1522
+ *
1523
+ * @param config - Config.
1524
+ * @param parameters - Parameters.
1525
+ * @returns A function to unsubscribe from the event.
1526
+ */
1527
+ export declare function watchUpdateQuoteToken<config extends Config>(config: config, parameters: watchUpdateQuoteToken.Parameters<config>): import("viem").WatchContractEventReturnType;
1528
+ export declare namespace watchUpdateQuoteToken {
1529
+ type Parameters<config extends Config> = ChainIdParameter<config> & Actions.token.watchUpdateQuoteToken.Parameters;
1530
+ }
1531
+ //# sourceMappingURL=token.d.ts.map