tempo.ts 0.11.0 → 0.12.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 (196) hide show
  1. package/CHANGELOG.md +67 -4
  2. package/README.md +3 -34
  3. package/dist/server/Handler.d.ts +14 -14
  4. package/dist/server/Handler.d.ts.map +1 -1
  5. package/dist/server/Handler.js +16 -17
  6. package/dist/server/Handler.js.map +1 -1
  7. package/dist/wagmi/Actions/amm.d.ts +51 -51
  8. package/dist/wagmi/Actions/amm.d.ts.map +1 -1
  9. package/dist/wagmi/Actions/amm.js +37 -37
  10. package/dist/wagmi/Actions/amm.js.map +1 -1
  11. package/dist/wagmi/Actions/dex.d.ts +129 -129
  12. package/dist/wagmi/Actions/dex.d.ts.map +1 -1
  13. package/dist/wagmi/Actions/dex.js +73 -73
  14. package/dist/wagmi/Actions/dex.js.map +1 -1
  15. package/dist/wagmi/Actions/faucet.d.ts +9 -9
  16. package/dist/wagmi/Actions/faucet.d.ts.map +1 -1
  17. package/dist/wagmi/Actions/faucet.js +7 -7
  18. package/dist/wagmi/Actions/faucet.js.map +1 -1
  19. package/dist/wagmi/Actions/fee.d.ts +17 -17
  20. package/dist/wagmi/Actions/fee.d.ts.map +1 -1
  21. package/dist/wagmi/Actions/fee.js +10 -10
  22. package/dist/wagmi/Actions/fee.js.map +1 -1
  23. package/dist/wagmi/Actions/nonce.d.ts +9 -79
  24. package/dist/wagmi/Actions/nonce.d.ts.map +1 -1
  25. package/dist/wagmi/Actions/nonce.js +7 -89
  26. package/dist/wagmi/Actions/nonce.js.map +1 -1
  27. package/dist/wagmi/Actions/policy.d.ts +69 -70
  28. package/dist/wagmi/Actions/policy.d.ts.map +1 -1
  29. package/dist/wagmi/Actions/policy.js +43 -43
  30. package/dist/wagmi/Actions/policy.js.map +1 -1
  31. package/dist/wagmi/Actions/reward.d.ts +51 -51
  32. package/dist/wagmi/Actions/reward.d.ts.map +1 -1
  33. package/dist/wagmi/Actions/reward.js +31 -31
  34. package/dist/wagmi/Actions/reward.js.map +1 -1
  35. package/dist/wagmi/Actions/token.d.ts +238 -238
  36. package/dist/wagmi/Actions/token.d.ts.map +1 -1
  37. package/dist/wagmi/Actions/token.js +136 -136
  38. package/dist/wagmi/Actions/token.js.map +1 -1
  39. package/dist/wagmi/Connector.d.ts +2 -1
  40. package/dist/wagmi/Connector.d.ts.map +1 -1
  41. package/dist/wagmi/Connector.js +83 -22
  42. package/dist/wagmi/Connector.js.map +1 -1
  43. package/dist/wagmi/Hooks/nonce.d.ts +1 -52
  44. package/dist/wagmi/Hooks/nonce.d.ts.map +1 -1
  45. package/dist/wagmi/Hooks/nonce.js +1 -70
  46. package/dist/wagmi/Hooks/nonce.js.map +1 -1
  47. package/dist/wagmi/Hooks/policy.d.ts +0 -1
  48. package/dist/wagmi/Hooks/policy.d.ts.map +1 -1
  49. package/dist/wagmi/Hooks/policy.js.map +1 -1
  50. package/dist/wagmi/KeyManager.d.ts +6 -3
  51. package/dist/wagmi/KeyManager.d.ts.map +1 -1
  52. package/dist/wagmi/KeyManager.js +9 -4
  53. package/dist/wagmi/KeyManager.js.map +1 -1
  54. package/package.json +2 -2
  55. package/src/server/Handler.test.ts +2 -2
  56. package/src/server/Handler.ts +16 -17
  57. package/src/wagmi/Actions/amm.ts +63 -63
  58. package/src/wagmi/Actions/dex.test.ts +1 -1
  59. package/src/wagmi/Actions/dex.ts +153 -153
  60. package/src/wagmi/Actions/faucet.ts +11 -11
  61. package/src/wagmi/Actions/fee.ts +20 -20
  62. package/src/wagmi/Actions/nonce.test.ts +1 -64
  63. package/src/wagmi/Actions/nonce.ts +10 -142
  64. package/src/wagmi/Actions/policy.ts +83 -85
  65. package/src/wagmi/Actions/reward.ts +64 -61
  66. package/src/wagmi/Actions/token.ts +287 -283
  67. package/src/wagmi/Connector.ts +105 -31
  68. package/src/wagmi/Hooks/dex.test.ts +1 -1
  69. package/src/wagmi/Hooks/fee.test.ts +0 -6
  70. package/src/wagmi/Hooks/nonce.test.ts +1 -66
  71. package/src/wagmi/Hooks/nonce.ts +1 -114
  72. package/src/wagmi/Hooks/policy.ts +0 -2
  73. package/src/wagmi/KeyManager.ts +18 -5
  74. package/dist/viem/Abis.d.ts +0 -2649
  75. package/dist/viem/Abis.d.ts.map +0 -1
  76. package/dist/viem/Abis.js +0 -1677
  77. package/dist/viem/Abis.js.map +0 -1
  78. package/dist/viem/Account.d.ts +0 -244
  79. package/dist/viem/Account.d.ts.map +0 -1
  80. package/dist/viem/Account.js +0 -382
  81. package/dist/viem/Account.js.map +0 -1
  82. package/dist/viem/Actions/amm.d.ts +0 -1991
  83. package/dist/viem/Actions/amm.d.ts.map +0 -1
  84. package/dist/viem/Actions/amm.js +0 -814
  85. package/dist/viem/Actions/amm.js.map +0 -1
  86. package/dist/viem/Actions/dex.d.ts +0 -3900
  87. package/dist/viem/Actions/dex.d.ts.map +0 -1
  88. package/dist/viem/Actions/dex.js +0 -1414
  89. package/dist/viem/Actions/dex.js.map +0 -1
  90. package/dist/viem/Actions/faucet.d.ts +0 -69
  91. package/dist/viem/Actions/faucet.d.ts.map +0 -1
  92. package/dist/viem/Actions/faucet.js +0 -73
  93. package/dist/viem/Actions/faucet.js.map +0 -1
  94. package/dist/viem/Actions/fee.d.ts +0 -360
  95. package/dist/viem/Actions/fee.d.ts.map +0 -1
  96. package/dist/viem/Actions/fee.js +0 -237
  97. package/dist/viem/Actions/fee.js.map +0 -1
  98. package/dist/viem/Actions/nonce.d.ts +0 -257
  99. package/dist/viem/Actions/nonce.d.ts.map +0 -1
  100. package/dist/viem/Actions/nonce.js +0 -228
  101. package/dist/viem/Actions/nonce.js.map +0 -1
  102. package/dist/viem/Actions/policy.d.ts +0 -1680
  103. package/dist/viem/Actions/policy.d.ts.map +0 -1
  104. package/dist/viem/Actions/policy.js +0 -875
  105. package/dist/viem/Actions/policy.js.map +0 -1
  106. package/dist/viem/Actions/reward.d.ts +0 -2422
  107. package/dist/viem/Actions/reward.d.ts.map +0 -1
  108. package/dist/viem/Actions/reward.js +0 -651
  109. package/dist/viem/Actions/reward.js.map +0 -1
  110. package/dist/viem/Actions/token.d.ts +0 -16007
  111. package/dist/viem/Actions/token.d.ts.map +0 -1
  112. package/dist/viem/Actions/token.js +0 -2936
  113. package/dist/viem/Actions/token.js.map +0 -1
  114. package/dist/viem/Addresses.d.ts +0 -9
  115. package/dist/viem/Addresses.d.ts.map +0 -1
  116. package/dist/viem/Addresses.js +0 -9
  117. package/dist/viem/Addresses.js.map +0 -1
  118. package/dist/viem/Chain.d.ts +0 -451
  119. package/dist/viem/Chain.d.ts.map +0 -1
  120. package/dist/viem/Chain.js +0 -96
  121. package/dist/viem/Chain.js.map +0 -1
  122. package/dist/viem/Formatters.d.ts +0 -10
  123. package/dist/viem/Formatters.d.ts.map +0 -1
  124. package/dist/viem/Formatters.js +0 -104
  125. package/dist/viem/Formatters.js.map +0 -1
  126. package/dist/viem/Storage.d.ts +0 -24
  127. package/dist/viem/Storage.d.ts.map +0 -1
  128. package/dist/viem/Storage.js +0 -68
  129. package/dist/viem/Storage.js.map +0 -1
  130. package/dist/viem/Transaction.d.ts +0 -76
  131. package/dist/viem/Transaction.d.ts.map +0 -1
  132. package/dist/viem/Transaction.js +0 -176
  133. package/dist/viem/Transaction.js.map +0 -1
  134. package/dist/viem/Transport.d.ts +0 -33
  135. package/dist/viem/Transport.d.ts.map +0 -1
  136. package/dist/viem/Transport.js +0 -138
  137. package/dist/viem/Transport.js.map +0 -1
  138. package/dist/viem/WebAuthnP256.d.ts +0 -82
  139. package/dist/viem/WebAuthnP256.d.ts.map +0 -1
  140. package/dist/viem/WebAuthnP256.js +0 -97
  141. package/dist/viem/WebAuthnP256.js.map +0 -1
  142. package/dist/viem/WebCryptoP256.d.ts +0 -2
  143. package/dist/viem/WebCryptoP256.d.ts.map +0 -1
  144. package/dist/viem/WebCryptoP256.js +0 -2
  145. package/dist/viem/WebCryptoP256.js.map +0 -1
  146. package/dist/viem/internal/types.d.ts +0 -20
  147. package/dist/viem/internal/types.d.ts.map +0 -1
  148. package/dist/viem/internal/types.js +0 -2
  149. package/dist/viem/internal/types.js.map +0 -1
  150. package/dist/viem/internal/utils.d.ts +0 -14
  151. package/dist/viem/internal/utils.d.ts.map +0 -1
  152. package/dist/viem/internal/utils.js +0 -33
  153. package/dist/viem/internal/utils.js.map +0 -1
  154. package/src/chains.ts +0 -54
  155. package/src/viem/Abis.ts +0 -1688
  156. package/src/viem/Account.test.ts +0 -444
  157. package/src/viem/Account.ts +0 -601
  158. package/src/viem/Actions/account.test.ts +0 -414
  159. package/src/viem/Actions/account.ts +0 -106
  160. package/src/viem/Actions/amm.test.ts +0 -381
  161. package/src/viem/Actions/amm.ts +0 -1227
  162. package/src/viem/Actions/dex.test.ts +0 -1549
  163. package/src/viem/Actions/dex.ts +0 -2150
  164. package/src/viem/Actions/faucet.ts +0 -121
  165. package/src/viem/Actions/fee.test.ts +0 -259
  166. package/src/viem/Actions/fee.ts +0 -372
  167. package/src/viem/Actions/index.ts +0 -9
  168. package/src/viem/Actions/nonce.test.ts +0 -206
  169. package/src/viem/Actions/nonce.ts +0 -347
  170. package/src/viem/Actions/policy.test.ts +0 -534
  171. package/src/viem/Actions/policy.ts +0 -1335
  172. package/src/viem/Actions/reward.test.ts +0 -434
  173. package/src/viem/Actions/reward.ts +0 -944
  174. package/src/viem/Actions/token.test.ts +0 -3029
  175. package/src/viem/Actions/token.ts +0 -4458
  176. package/src/viem/Addresses.ts +0 -9
  177. package/src/viem/Chain.bench-d.ts +0 -12
  178. package/src/viem/Chain.test.ts +0 -168
  179. package/src/viem/Chain.ts +0 -157
  180. package/src/viem/Decorator.bench-d.ts +0 -11
  181. package/src/viem/Decorator.test.ts +0 -39
  182. package/src/viem/Decorator.ts +0 -3179
  183. package/src/viem/Formatters.ts +0 -164
  184. package/src/viem/P256.ts +0 -1
  185. package/src/viem/Secp256k1.ts +0 -1
  186. package/src/viem/Storage.ts +0 -110
  187. package/src/viem/TokenIds.ts +0 -1
  188. package/src/viem/Transaction.ts +0 -382
  189. package/src/viem/Transport.ts +0 -191
  190. package/src/viem/WebAuthnP256.ts +0 -146
  191. package/src/viem/WebCryptoP256.ts +0 -1
  192. package/src/viem/e2e.test.ts +0 -1602
  193. package/src/viem/index.ts +0 -30
  194. package/src/viem/internal/types.ts +0 -69
  195. package/src/viem/internal/utils.ts +0 -58
  196. package/src/wagmi/internal/types.ts +0 -16
@@ -2,8 +2,8 @@ import type * as Query from '@tanstack/query-core'
2
2
  import { type Config, getConnectorClient } from '@wagmi/core'
3
3
  import type { ChainIdParameter, ConnectorParameter } from '@wagmi/core/internal'
4
4
  import type { Account } from 'viem'
5
+ import { Actions } from 'viem/tempo'
5
6
  import type { PartialBy, RequiredBy, UnionOmit } from '../../internal/types.js'
6
- import * as viem_Actions from '../../viem/Actions/dex.js'
7
7
 
8
8
  /**
9
9
  * Buys a specific amount of tokens.
@@ -11,11 +11,11 @@ import * as viem_Actions from '../../viem/Actions/dex.js'
11
11
  * @example
12
12
  * ```ts
13
13
  * import { createConfig, http } from '@wagmi/core'
14
- * import { tempo } from 'tempo.ts/chains'
14
+ * import { tempo } from 'viem/chains'
15
15
  * import { Actions } from 'tempo.ts/wagmi'
16
16
  *
17
17
  * const config = createConfig({
18
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
18
+ * chains: [tempoTestnet],
19
19
  * transports: {
20
20
  * [tempo.id]: http(),
21
21
  * },
@@ -36,7 +36,7 @@ import * as viem_Actions from '../../viem/Actions/dex.js'
36
36
  export async function buy<config extends Config>(
37
37
  config: config,
38
38
  parameters: buy.Parameters<config>,
39
- ): Promise<viem_Actions.buy.ReturnValue> {
39
+ ): Promise<Actions.dex.buy.ReturnValue> {
40
40
  const { account, chainId, connector } = parameters
41
41
 
42
42
  const client = await getConnectorClient(config, {
@@ -46,20 +46,20 @@ export async function buy<config extends Config>(
46
46
  connector,
47
47
  })
48
48
 
49
- return viem_Actions.buy(client, parameters as never)
49
+ return Actions.dex.buy(client, parameters as never)
50
50
  }
51
51
 
52
52
  export declare namespace buy {
53
53
  export type Parameters<config extends Config> = ChainIdParameter<config> &
54
54
  ConnectorParameter &
55
55
  UnionOmit<
56
- viem_Actions.buy.Parameters<config['chains'][number], Account>,
56
+ Actions.dex.buy.Parameters<config['chains'][number], Account>,
57
57
  'chain'
58
58
  >
59
59
 
60
- export type ReturnValue = viem_Actions.buy.ReturnValue
60
+ export type ReturnValue = Actions.dex.buy.ReturnValue
61
61
 
62
- export type ErrorType = viem_Actions.buy.ErrorType
62
+ export type ErrorType = Actions.dex.buy.ErrorType
63
63
  }
64
64
 
65
65
  /**
@@ -71,11 +71,11 @@ export declare namespace buy {
71
71
  * @example
72
72
  * ```ts
73
73
  * import { createConfig, http } from '@wagmi/core'
74
- * import { tempo } from 'tempo.ts/chains'
74
+ * import { tempo } from 'viem/chains'
75
75
  * import { Actions } from 'tempo.ts/wagmi'
76
76
  *
77
77
  * const config = createConfig({
78
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
78
+ * chains: [tempoTestnet],
79
79
  * transports: {
80
80
  * [tempo.id]: http(),
81
81
  * },
@@ -96,7 +96,7 @@ export declare namespace buy {
96
96
  export async function buySync<config extends Config>(
97
97
  config: config,
98
98
  parameters: buySync.Parameters<config>,
99
- ): Promise<viem_Actions.buySync.ReturnValue> {
99
+ ): Promise<Actions.dex.buySync.ReturnValue> {
100
100
  const { account, chainId, connector } = parameters
101
101
 
102
102
  const client = await getConnectorClient(config, {
@@ -106,20 +106,20 @@ export async function buySync<config extends Config>(
106
106
  connector,
107
107
  })
108
108
 
109
- return viem_Actions.buySync(client, parameters as never)
109
+ return Actions.dex.buySync(client, parameters as never)
110
110
  }
111
111
 
112
112
  export declare namespace buySync {
113
113
  export type Parameters<config extends Config> = ChainIdParameter<config> &
114
114
  ConnectorParameter &
115
115
  UnionOmit<
116
- viem_Actions.buySync.Parameters<config['chains'][number], Account>,
116
+ Actions.dex.buySync.Parameters<config['chains'][number], Account>,
117
117
  'chain'
118
118
  >
119
119
 
120
- export type ReturnValue = viem_Actions.buySync.ReturnValue
120
+ export type ReturnValue = Actions.dex.buySync.ReturnValue
121
121
 
122
- export type ErrorType = viem_Actions.buySync.ErrorType
122
+ export type ErrorType = Actions.dex.buySync.ErrorType
123
123
  }
124
124
 
125
125
  /**
@@ -128,11 +128,11 @@ export declare namespace buySync {
128
128
  * @example
129
129
  * ```ts
130
130
  * import { createConfig, http } from '@wagmi/core'
131
- * import { tempo } from 'tempo.ts/chains'
131
+ * import { tempo } from 'viem/chains'
132
132
  * import { Actions } from 'tempo.ts/wagmi'
133
133
  *
134
134
  * const config = createConfig({
135
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
135
+ * chains: [tempoTestnet],
136
136
  * transports: {
137
137
  * [tempo.id]: http(),
138
138
  * },
@@ -150,7 +150,7 @@ export declare namespace buySync {
150
150
  export async function cancel<config extends Config>(
151
151
  config: config,
152
152
  parameters: cancel.Parameters<config>,
153
- ): Promise<viem_Actions.cancel.ReturnValue> {
153
+ ): Promise<Actions.dex.cancel.ReturnValue> {
154
154
  const { account, chainId, connector } = parameters
155
155
 
156
156
  const client = await getConnectorClient(config, {
@@ -160,20 +160,20 @@ export async function cancel<config extends Config>(
160
160
  connector,
161
161
  })
162
162
 
163
- return viem_Actions.cancel(client, parameters as never)
163
+ return Actions.dex.cancel(client, parameters as never)
164
164
  }
165
165
 
166
166
  export declare namespace cancel {
167
167
  export type Parameters<config extends Config> = ChainIdParameter<config> &
168
168
  ConnectorParameter &
169
169
  UnionOmit<
170
- viem_Actions.cancel.Parameters<config['chains'][number], Account>,
170
+ Actions.dex.cancel.Parameters<config['chains'][number], Account>,
171
171
  'chain'
172
172
  >
173
173
 
174
- export type ReturnValue = viem_Actions.cancel.ReturnValue
174
+ export type ReturnValue = Actions.dex.cancel.ReturnValue
175
175
 
176
- export type ErrorType = viem_Actions.cancel.ErrorType
176
+ export type ErrorType = Actions.dex.cancel.ErrorType
177
177
  }
178
178
 
179
179
  /**
@@ -185,11 +185,11 @@ export declare namespace cancel {
185
185
  * @example
186
186
  * ```ts
187
187
  * import { createConfig, http } from '@wagmi/core'
188
- * import { tempo } from 'tempo.ts/chains'
188
+ * import { tempo } from 'viem/chains'
189
189
  * import { Actions } from 'tempo.ts/wagmi'
190
190
  *
191
191
  * const config = createConfig({
192
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
192
+ * chains: [tempoTestnet],
193
193
  * transports: {
194
194
  * [tempo.id]: http(),
195
195
  * },
@@ -207,7 +207,7 @@ export declare namespace cancel {
207
207
  export async function cancelSync<config extends Config>(
208
208
  config: config,
209
209
  parameters: cancelSync.Parameters<config>,
210
- ): Promise<viem_Actions.cancelSync.ReturnValue> {
210
+ ): Promise<Actions.dex.cancelSync.ReturnValue> {
211
211
  const { account, chainId, connector } = parameters
212
212
 
213
213
  const client = await getConnectorClient(config, {
@@ -217,20 +217,20 @@ export async function cancelSync<config extends Config>(
217
217
  connector,
218
218
  })
219
219
 
220
- return viem_Actions.cancelSync(client, parameters as never)
220
+ return Actions.dex.cancelSync(client, parameters as never)
221
221
  }
222
222
 
223
223
  export declare namespace cancelSync {
224
224
  export type Parameters<config extends Config> = ChainIdParameter<config> &
225
225
  ConnectorParameter &
226
226
  UnionOmit<
227
- viem_Actions.cancelSync.Parameters<config['chains'][number], Account>,
227
+ Actions.dex.cancelSync.Parameters<config['chains'][number], Account>,
228
228
  'chain'
229
229
  >
230
230
 
231
- export type ReturnValue = viem_Actions.cancelSync.ReturnValue
231
+ export type ReturnValue = Actions.dex.cancelSync.ReturnValue
232
232
 
233
- export type ErrorType = viem_Actions.cancelSync.ErrorType
233
+ export type ErrorType = Actions.dex.cancelSync.ErrorType
234
234
  }
235
235
 
236
236
  /**
@@ -239,11 +239,11 @@ export declare namespace cancelSync {
239
239
  * @example
240
240
  * ```ts
241
241
  * import { createConfig, http } from '@wagmi/core'
242
- * import { tempo } from 'tempo.ts/chains'
242
+ * import { tempo } from 'viem/chains'
243
243
  * import { Actions } from 'tempo.ts/wagmi'
244
244
  *
245
245
  * const config = createConfig({
246
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
246
+ * chains: [tempoTestnet],
247
247
  * transports: {
248
248
  * [tempo.id]: http(),
249
249
  * },
@@ -261,7 +261,7 @@ export declare namespace cancelSync {
261
261
  export async function createPair<config extends Config>(
262
262
  config: config,
263
263
  parameters: createPair.Parameters<config>,
264
- ): Promise<viem_Actions.createPair.ReturnValue> {
264
+ ): Promise<Actions.dex.createPair.ReturnValue> {
265
265
  const { account, chainId, connector } = parameters
266
266
 
267
267
  const client = await getConnectorClient(config, {
@@ -271,20 +271,20 @@ export async function createPair<config extends Config>(
271
271
  connector,
272
272
  })
273
273
 
274
- return viem_Actions.createPair(client, parameters as never)
274
+ return Actions.dex.createPair(client, parameters as never)
275
275
  }
276
276
 
277
277
  export declare namespace createPair {
278
278
  export type Parameters<config extends Config> = ChainIdParameter<config> &
279
279
  ConnectorParameter &
280
280
  UnionOmit<
281
- viem_Actions.createPair.Parameters<config['chains'][number], Account>,
281
+ Actions.dex.createPair.Parameters<config['chains'][number], Account>,
282
282
  'chain'
283
283
  >
284
284
 
285
- export type ReturnValue = viem_Actions.createPair.ReturnValue
285
+ export type ReturnValue = Actions.dex.createPair.ReturnValue
286
286
 
287
- export type ErrorType = viem_Actions.createPair.ErrorType
287
+ export type ErrorType = Actions.dex.createPair.ErrorType
288
288
  }
289
289
 
290
290
  /**
@@ -296,11 +296,11 @@ export declare namespace createPair {
296
296
  * @example
297
297
  * ```ts
298
298
  * import { createConfig, http } from '@wagmi/core'
299
- * import { tempo } from 'tempo.ts/chains'
299
+ * import { tempo } from 'viem/chains'
300
300
  * import { Actions } from 'tempo.ts/wagmi'
301
301
  *
302
302
  * const config = createConfig({
303
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
303
+ * chains: [tempoTestnet],
304
304
  * transports: {
305
305
  * [tempo.id]: http(),
306
306
  * },
@@ -318,7 +318,7 @@ export declare namespace createPair {
318
318
  export async function createPairSync<config extends Config>(
319
319
  config: config,
320
320
  parameters: createPairSync.Parameters<config>,
321
- ): Promise<viem_Actions.createPairSync.ReturnValue> {
321
+ ): Promise<Actions.dex.createPairSync.ReturnValue> {
322
322
  const { account, chainId, connector } = parameters
323
323
 
324
324
  const client = await getConnectorClient(config, {
@@ -328,20 +328,20 @@ export async function createPairSync<config extends Config>(
328
328
  connector,
329
329
  })
330
330
 
331
- return viem_Actions.createPairSync(client, parameters as never)
331
+ return Actions.dex.createPairSync(client, parameters as never)
332
332
  }
333
333
 
334
334
  export declare namespace createPairSync {
335
335
  export type Parameters<config extends Config> = ChainIdParameter<config> &
336
336
  ConnectorParameter &
337
337
  UnionOmit<
338
- viem_Actions.createPairSync.Parameters<config['chains'][number], Account>,
338
+ Actions.dex.createPairSync.Parameters<config['chains'][number], Account>,
339
339
  'chain'
340
340
  >
341
341
 
342
- export type ReturnValue = viem_Actions.createPairSync.ReturnValue
342
+ export type ReturnValue = Actions.dex.createPairSync.ReturnValue
343
343
 
344
- export type ErrorType = viem_Actions.createPairSync.ErrorType
344
+ export type ErrorType = Actions.dex.createPairSync.ErrorType
345
345
  }
346
346
 
347
347
  /**
@@ -350,11 +350,11 @@ export declare namespace createPairSync {
350
350
  * @example
351
351
  * ```ts
352
352
  * import { createConfig, http } from '@wagmi/core'
353
- * import { tempo } from 'tempo.ts/chains'
353
+ * import { tempo } from 'viem/chains'
354
354
  * import { Actions } from 'tempo.ts/wagmi'
355
355
  *
356
356
  * const config = createConfig({
357
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
357
+ * chains: [tempoTestnet],
358
358
  * transports: {
359
359
  * [tempo.id]: http(),
360
360
  * },
@@ -376,14 +376,14 @@ export function getBalance<config extends Config>(
376
376
  ): Promise<getBalance.ReturnValue> {
377
377
  const { chainId, ...rest } = parameters
378
378
  const client = config.getClient({ chainId })
379
- return viem_Actions.getBalance(client, rest)
379
+ return Actions.dex.getBalance(client, rest)
380
380
  }
381
381
 
382
382
  export namespace getBalance {
383
383
  export type Parameters<config extends Config> = ChainIdParameter<config> &
384
- viem_Actions.getBalance.Parameters
384
+ Actions.dex.getBalance.Parameters
385
385
 
386
- export type ReturnValue = viem_Actions.getBalance.ReturnValue
386
+ export type ReturnValue = Actions.dex.getBalance.ReturnValue
387
387
 
388
388
  export function queryKey<config extends Config>(
389
389
  parameters: PartialBy<Parameters<config>, 'account'>,
@@ -442,11 +442,11 @@ export namespace getBalance {
442
442
  * @example
443
443
  * ```ts
444
444
  * import { createConfig, http } from '@wagmi/core'
445
- * import { tempo } from 'tempo.ts/chains'
445
+ * import { tempo } from 'viem/chains'
446
446
  * import { Actions } from 'tempo.ts/wagmi'
447
447
  *
448
448
  * const config = createConfig({
449
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
449
+ * chains: [tempoTestnet],
450
450
  * transports: {
451
451
  * [tempo.id]: http(),
452
452
  * },
@@ -469,14 +469,14 @@ export function getBuyQuote<config extends Config>(
469
469
  ): Promise<getBuyQuote.ReturnValue> {
470
470
  const { chainId, ...rest } = parameters
471
471
  const client = config.getClient({ chainId })
472
- return viem_Actions.getBuyQuote(client, rest)
472
+ return Actions.dex.getBuyQuote(client, rest)
473
473
  }
474
474
 
475
475
  export namespace getBuyQuote {
476
476
  export type Parameters<config extends Config> = ChainIdParameter<config> &
477
- viem_Actions.getBuyQuote.Parameters
477
+ Actions.dex.getBuyQuote.Parameters
478
478
 
479
- export type ReturnValue = viem_Actions.getBuyQuote.ReturnValue
479
+ export type ReturnValue = Actions.dex.getBuyQuote.ReturnValue
480
480
 
481
481
  export function queryKey<config extends Config>(
482
482
  parameters: Parameters<config>,
@@ -534,11 +534,11 @@ export namespace getBuyQuote {
534
534
  * @example
535
535
  * ```ts
536
536
  * import { createConfig, http } from '@wagmi/core'
537
- * import { tempo } from 'tempo.ts/chains'
537
+ * import { tempo } from 'viem/chains'
538
538
  * import { Actions } from 'tempo.ts/wagmi'
539
539
  *
540
540
  * const config = createConfig({
541
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
541
+ * chains: [tempoTestnet],
542
542
  * transports: {
543
543
  * [tempo.id]: http(),
544
544
  * },
@@ -559,14 +559,14 @@ export function getOrder<config extends Config>(
559
559
  ): Promise<getOrder.ReturnValue> {
560
560
  const { chainId, ...rest } = parameters
561
561
  const client = config.getClient({ chainId })
562
- return viem_Actions.getOrder(client, rest)
562
+ return Actions.dex.getOrder(client, rest)
563
563
  }
564
564
 
565
565
  export namespace getOrder {
566
566
  export type Parameters<config extends Config> = ChainIdParameter<config> &
567
- viem_Actions.getOrder.Parameters
567
+ Actions.dex.getOrder.Parameters
568
568
 
569
- export type ReturnValue = viem_Actions.getOrder.ReturnValue
569
+ export type ReturnValue = Actions.dex.getOrder.ReturnValue
570
570
 
571
571
  export function queryKey<config extends Config>(
572
572
  parameters: Parameters<config>,
@@ -624,11 +624,11 @@ export namespace getOrder {
624
624
  * @example
625
625
  * ```ts
626
626
  * import { createConfig, http } from '@wagmi/core'
627
- * import { tempo } from 'tempo.ts/chains'
627
+ * import { tempo } from 'viem/chains'
628
628
  * import { Actions } from 'tempo.ts/wagmi'
629
629
  *
630
630
  * const config = createConfig({
631
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
631
+ * chains: [tempoTestnet],
632
632
  * transports: {
633
633
  * [tempo.id]: http(),
634
634
  * },
@@ -650,14 +650,14 @@ export function getOrderbook<config extends Config>(
650
650
  ): Promise<getOrderbook.ReturnValue> {
651
651
  const { chainId, ...rest } = parameters
652
652
  const client = config.getClient({ chainId })
653
- return viem_Actions.getOrderbook(client, rest)
653
+ return Actions.dex.getOrderbook(client, rest)
654
654
  }
655
655
 
656
656
  export namespace getOrderbook {
657
657
  export type Parameters<config extends Config> = ChainIdParameter<config> &
658
- viem_Actions.getOrderbook.Parameters
658
+ Actions.dex.getOrderbook.Parameters
659
659
 
660
- export type ReturnValue = viem_Actions.getOrderbook.ReturnValue
660
+ export type ReturnValue = Actions.dex.getOrderbook.ReturnValue
661
661
 
662
662
  export function queryKey<config extends Config>(
663
663
  parameters: Parameters<config>,
@@ -715,11 +715,11 @@ export namespace getOrderbook {
715
715
  * @example
716
716
  * ```ts
717
717
  * import { createConfig, http } from '@wagmi/core'
718
- * import { tempo } from 'tempo.ts/chains'
718
+ * import { tempo } from 'viem/chains'
719
719
  * import { Actions, Tick } from 'tempo.ts/wagmi'
720
720
  *
721
721
  * const config = createConfig({
722
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
722
+ * chains: [tempoTestnet],
723
723
  * transports: {
724
724
  * [tempo.id]: http(),
725
725
  * },
@@ -742,14 +742,14 @@ export function getTickLevel<config extends Config>(
742
742
  ): Promise<getTickLevel.ReturnValue> {
743
743
  const { chainId, ...rest } = parameters
744
744
  const client = config.getClient({ chainId })
745
- return viem_Actions.getTickLevel(client, rest)
745
+ return Actions.dex.getTickLevel(client, rest)
746
746
  }
747
747
 
748
748
  export namespace getTickLevel {
749
749
  export type Parameters<config extends Config> = ChainIdParameter<config> &
750
- viem_Actions.getTickLevel.Parameters
750
+ Actions.dex.getTickLevel.Parameters
751
751
 
752
- export type ReturnValue = viem_Actions.getTickLevel.ReturnValue
752
+ export type ReturnValue = Actions.dex.getTickLevel.ReturnValue
753
753
 
754
754
  export function queryKey<config extends Config>(
755
755
  parameters: Parameters<config>,
@@ -807,11 +807,11 @@ export namespace getTickLevel {
807
807
  * @example
808
808
  * ```ts
809
809
  * import { createConfig, http } from '@wagmi/core'
810
- * import { tempo } from 'tempo.ts/chains'
810
+ * import { tempo } from 'viem/chains'
811
811
  * import { Actions } from 'tempo.ts/wagmi'
812
812
  *
813
813
  * const config = createConfig({
814
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
814
+ * chains: [tempoTestnet],
815
815
  * transports: {
816
816
  * [tempo.id]: http(),
817
817
  * },
@@ -834,14 +834,14 @@ export function getSellQuote<config extends Config>(
834
834
  ): Promise<getSellQuote.ReturnValue> {
835
835
  const { chainId, ...rest } = parameters
836
836
  const client = config.getClient({ chainId })
837
- return viem_Actions.getSellQuote(client, rest)
837
+ return Actions.dex.getSellQuote(client, rest)
838
838
  }
839
839
 
840
840
  export namespace getSellQuote {
841
841
  export type Parameters<config extends Config> = ChainIdParameter<config> &
842
- viem_Actions.getSellQuote.Parameters
842
+ Actions.dex.getSellQuote.Parameters
843
843
 
844
- export type ReturnValue = viem_Actions.getSellQuote.ReturnValue
844
+ export type ReturnValue = Actions.dex.getSellQuote.ReturnValue
845
845
 
846
846
  export function queryKey<config extends Config>(
847
847
  parameters: Parameters<config>,
@@ -899,11 +899,11 @@ export namespace getSellQuote {
899
899
  * @example
900
900
  * ```ts
901
901
  * import { createConfig, http } from '@wagmi/core'
902
- * import { tempo } from 'tempo.ts/chains'
902
+ * import { tempo } from 'viem/chains'
903
903
  * import { Actions } from 'tempo.ts/wagmi'
904
904
  *
905
905
  * const config = createConfig({
906
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
906
+ * chains: [tempoTestnet],
907
907
  * transports: {
908
908
  * [tempo.id]: http(),
909
909
  * },
@@ -924,7 +924,7 @@ export namespace getSellQuote {
924
924
  export async function place<config extends Config>(
925
925
  config: config,
926
926
  parameters: place.Parameters<config>,
927
- ): Promise<viem_Actions.place.ReturnValue> {
927
+ ): Promise<Actions.dex.place.ReturnValue> {
928
928
  const { account, chainId, connector } = parameters
929
929
 
930
930
  const client = await getConnectorClient(config, {
@@ -934,20 +934,20 @@ export async function place<config extends Config>(
934
934
  connector,
935
935
  })
936
936
 
937
- return viem_Actions.place(client, parameters as never)
937
+ return Actions.dex.place(client, parameters as never)
938
938
  }
939
939
 
940
940
  export declare namespace place {
941
941
  export type Parameters<config extends Config> = ChainIdParameter<config> &
942
942
  ConnectorParameter &
943
943
  UnionOmit<
944
- viem_Actions.place.Parameters<config['chains'][number], Account>,
944
+ Actions.dex.place.Parameters<config['chains'][number], Account>,
945
945
  'chain'
946
946
  >
947
947
 
948
- export type ReturnValue = viem_Actions.place.ReturnValue
948
+ export type ReturnValue = Actions.dex.place.ReturnValue
949
949
 
950
- export type ErrorType = viem_Actions.place.ErrorType
950
+ export type ErrorType = Actions.dex.place.ErrorType
951
951
  }
952
952
 
953
953
  /**
@@ -956,11 +956,11 @@ export declare namespace place {
956
956
  * @example
957
957
  * ```ts
958
958
  * import { createConfig, http } from '@wagmi/core'
959
- * import { tempo } from 'tempo.ts/chains'
959
+ * import { tempo } from 'viem/chains'
960
960
  * import { Actions } from 'tempo.ts/wagmi'
961
961
  *
962
962
  * const config = createConfig({
963
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
963
+ * chains: [tempoTestnet],
964
964
  * transports: {
965
965
  * [tempo.id]: http(),
966
966
  * },
@@ -982,7 +982,7 @@ export declare namespace place {
982
982
  export async function placeFlip<config extends Config>(
983
983
  config: config,
984
984
  parameters: placeFlip.Parameters<config>,
985
- ): Promise<viem_Actions.placeFlip.ReturnValue> {
985
+ ): Promise<Actions.dex.placeFlip.ReturnValue> {
986
986
  const { account, chainId, connector } = parameters
987
987
 
988
988
  const client = await getConnectorClient(config, {
@@ -992,20 +992,20 @@ export async function placeFlip<config extends Config>(
992
992
  connector,
993
993
  })
994
994
 
995
- return viem_Actions.placeFlip(client, parameters as never)
995
+ return Actions.dex.placeFlip(client, parameters as never)
996
996
  }
997
997
 
998
998
  export declare namespace placeFlip {
999
999
  export type Parameters<config extends Config> = ChainIdParameter<config> &
1000
1000
  ConnectorParameter &
1001
1001
  UnionOmit<
1002
- viem_Actions.placeFlip.Parameters<config['chains'][number], Account>,
1002
+ Actions.dex.placeFlip.Parameters<config['chains'][number], Account>,
1003
1003
  'chain'
1004
1004
  >
1005
1005
 
1006
- export type ReturnValue = viem_Actions.placeFlip.ReturnValue
1006
+ export type ReturnValue = Actions.dex.placeFlip.ReturnValue
1007
1007
 
1008
- export type ErrorType = viem_Actions.placeFlip.ErrorType
1008
+ export type ErrorType = Actions.dex.placeFlip.ErrorType
1009
1009
  }
1010
1010
 
1011
1011
  /**
@@ -1017,11 +1017,11 @@ export declare namespace placeFlip {
1017
1017
  * @example
1018
1018
  * ```ts
1019
1019
  * import { createConfig, http } from '@wagmi/core'
1020
- * import { tempo } from 'tempo.ts/chains'
1020
+ * import { tempo } from 'viem/chains'
1021
1021
  * import { Actions } from 'tempo.ts/wagmi'
1022
1022
  *
1023
1023
  * const config = createConfig({
1024
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
1024
+ * chains: [tempoTestnet],
1025
1025
  * transports: {
1026
1026
  * [tempo.id]: http(),
1027
1027
  * },
@@ -1043,7 +1043,7 @@ export declare namespace placeFlip {
1043
1043
  export async function placeFlipSync<config extends Config>(
1044
1044
  config: config,
1045
1045
  parameters: placeFlipSync.Parameters<config>,
1046
- ): Promise<viem_Actions.placeFlipSync.ReturnValue> {
1046
+ ): Promise<Actions.dex.placeFlipSync.ReturnValue> {
1047
1047
  const { account, chainId, connector } = parameters
1048
1048
 
1049
1049
  const client = await getConnectorClient(config, {
@@ -1053,20 +1053,20 @@ export async function placeFlipSync<config extends Config>(
1053
1053
  connector,
1054
1054
  })
1055
1055
 
1056
- return viem_Actions.placeFlipSync(client, parameters as never)
1056
+ return Actions.dex.placeFlipSync(client, parameters as never)
1057
1057
  }
1058
1058
 
1059
1059
  export declare namespace placeFlipSync {
1060
1060
  export type Parameters<config extends Config> = ChainIdParameter<config> &
1061
1061
  ConnectorParameter &
1062
1062
  UnionOmit<
1063
- viem_Actions.placeFlipSync.Parameters<config['chains'][number], Account>,
1063
+ Actions.dex.placeFlipSync.Parameters<config['chains'][number], Account>,
1064
1064
  'chain'
1065
1065
  >
1066
1066
 
1067
- export type ReturnValue = viem_Actions.placeFlipSync.ReturnValue
1067
+ export type ReturnValue = Actions.dex.placeFlipSync.ReturnValue
1068
1068
 
1069
- export type ErrorType = viem_Actions.placeFlipSync.ErrorType
1069
+ export type ErrorType = Actions.dex.placeFlipSync.ErrorType
1070
1070
  }
1071
1071
 
1072
1072
  /**
@@ -1078,11 +1078,11 @@ export declare namespace placeFlipSync {
1078
1078
  * @example
1079
1079
  * ```ts
1080
1080
  * import { createConfig, http } from '@wagmi/core'
1081
- * import { tempo } from 'tempo.ts/chains'
1081
+ * import { tempo } from 'viem/chains'
1082
1082
  * import { Actions } from 'tempo.ts/wagmi'
1083
1083
  *
1084
1084
  * const config = createConfig({
1085
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
1085
+ * chains: [tempoTestnet],
1086
1086
  * transports: {
1087
1087
  * [tempo.id]: http(),
1088
1088
  * },
@@ -1103,7 +1103,7 @@ export declare namespace placeFlipSync {
1103
1103
  export async function placeSync<config extends Config>(
1104
1104
  config: config,
1105
1105
  parameters: placeSync.Parameters<config>,
1106
- ): Promise<viem_Actions.placeSync.ReturnValue> {
1106
+ ): Promise<Actions.dex.placeSync.ReturnValue> {
1107
1107
  const { account, chainId, connector } = parameters
1108
1108
 
1109
1109
  const client = await getConnectorClient(config, {
@@ -1113,20 +1113,20 @@ export async function placeSync<config extends Config>(
1113
1113
  connector,
1114
1114
  })
1115
1115
 
1116
- return viem_Actions.placeSync(client, parameters as never)
1116
+ return Actions.dex.placeSync(client, parameters as never)
1117
1117
  }
1118
1118
 
1119
1119
  export declare namespace placeSync {
1120
1120
  export type Parameters<config extends Config> = ChainIdParameter<config> &
1121
1121
  ConnectorParameter &
1122
1122
  UnionOmit<
1123
- viem_Actions.placeSync.Parameters<config['chains'][number], Account>,
1123
+ Actions.dex.placeSync.Parameters<config['chains'][number], Account>,
1124
1124
  'chain'
1125
1125
  >
1126
1126
 
1127
- export type ReturnValue = viem_Actions.placeSync.ReturnValue
1127
+ export type ReturnValue = Actions.dex.placeSync.ReturnValue
1128
1128
 
1129
- export type ErrorType = viem_Actions.placeSync.ErrorType
1129
+ export type ErrorType = Actions.dex.placeSync.ErrorType
1130
1130
  }
1131
1131
 
1132
1132
  /**
@@ -1135,11 +1135,11 @@ export declare namespace placeSync {
1135
1135
  * @example
1136
1136
  * ```ts
1137
1137
  * import { createConfig, http } from '@wagmi/core'
1138
- * import { tempo } from 'tempo.ts/chains'
1138
+ * import { tempo } from 'viem/chains'
1139
1139
  * import { Actions } from 'tempo.ts/wagmi'
1140
1140
  *
1141
1141
  * const config = createConfig({
1142
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
1142
+ * chains: [tempoTestnet],
1143
1143
  * transports: {
1144
1144
  * [tempo.id]: http(),
1145
1145
  * },
@@ -1160,7 +1160,7 @@ export declare namespace placeSync {
1160
1160
  export async function sell<config extends Config>(
1161
1161
  config: config,
1162
1162
  parameters: sell.Parameters<config>,
1163
- ): Promise<viem_Actions.sell.ReturnValue> {
1163
+ ): Promise<Actions.dex.sell.ReturnValue> {
1164
1164
  const { account, chainId, connector } = parameters
1165
1165
 
1166
1166
  const client = await getConnectorClient(config, {
@@ -1170,20 +1170,20 @@ export async function sell<config extends Config>(
1170
1170
  connector,
1171
1171
  })
1172
1172
 
1173
- return viem_Actions.sell(client, parameters as never)
1173
+ return Actions.dex.sell(client, parameters as never)
1174
1174
  }
1175
1175
 
1176
1176
  export declare namespace sell {
1177
1177
  export type Parameters<config extends Config> = ChainIdParameter<config> &
1178
1178
  ConnectorParameter &
1179
1179
  UnionOmit<
1180
- viem_Actions.sell.Parameters<config['chains'][number], Account>,
1180
+ Actions.dex.sell.Parameters<config['chains'][number], Account>,
1181
1181
  'chain'
1182
1182
  >
1183
1183
 
1184
- export type ReturnValue = viem_Actions.sell.ReturnValue
1184
+ export type ReturnValue = Actions.dex.sell.ReturnValue
1185
1185
 
1186
- export type ErrorType = viem_Actions.sell.ErrorType
1186
+ export type ErrorType = Actions.dex.sell.ErrorType
1187
1187
  }
1188
1188
 
1189
1189
  /**
@@ -1195,11 +1195,11 @@ export declare namespace sell {
1195
1195
  * @example
1196
1196
  * ```ts
1197
1197
  * import { createConfig, http } from '@wagmi/core'
1198
- * import { tempo } from 'tempo.ts/chains'
1198
+ * import { tempo } from 'viem/chains'
1199
1199
  * import { Actions } from 'tempo.ts/wagmi'
1200
1200
  *
1201
1201
  * const config = createConfig({
1202
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
1202
+ * chains: [tempoTestnet],
1203
1203
  * transports: {
1204
1204
  * [tempo.id]: http(),
1205
1205
  * },
@@ -1220,7 +1220,7 @@ export declare namespace sell {
1220
1220
  export async function sellSync<config extends Config>(
1221
1221
  config: config,
1222
1222
  parameters: sellSync.Parameters<config>,
1223
- ): Promise<viem_Actions.sellSync.ReturnValue> {
1223
+ ): Promise<Actions.dex.sellSync.ReturnValue> {
1224
1224
  const { account, chainId, connector } = parameters
1225
1225
 
1226
1226
  const client = await getConnectorClient(config, {
@@ -1230,20 +1230,20 @@ export async function sellSync<config extends Config>(
1230
1230
  connector,
1231
1231
  })
1232
1232
 
1233
- return viem_Actions.sellSync(client, parameters as never)
1233
+ return Actions.dex.sellSync(client, parameters as never)
1234
1234
  }
1235
1235
 
1236
1236
  export declare namespace sellSync {
1237
1237
  export type Parameters<config extends Config> = ChainIdParameter<config> &
1238
1238
  ConnectorParameter &
1239
1239
  UnionOmit<
1240
- viem_Actions.sellSync.Parameters<config['chains'][number], Account>,
1240
+ Actions.dex.sellSync.Parameters<config['chains'][number], Account>,
1241
1241
  'chain'
1242
1242
  >
1243
1243
 
1244
- export type ReturnValue = viem_Actions.sellSync.ReturnValue
1244
+ export type ReturnValue = Actions.dex.sellSync.ReturnValue
1245
1245
 
1246
- export type ErrorType = viem_Actions.sellSync.ErrorType
1246
+ export type ErrorType = Actions.dex.sellSync.ErrorType
1247
1247
  }
1248
1248
 
1249
1249
  /**
@@ -1252,11 +1252,11 @@ export declare namespace sellSync {
1252
1252
  * @example
1253
1253
  * ```ts
1254
1254
  * import { createConfig, http } from '@wagmi/core'
1255
- * import { tempo } from 'tempo.ts/chains'
1255
+ * import { tempo } from 'viem/chains'
1256
1256
  * import { Actions } from 'tempo.ts/wagmi'
1257
1257
  *
1258
1258
  * const config = createConfig({
1259
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
1259
+ * chains: [tempoTestnet],
1260
1260
  * transports: {
1261
1261
  * [tempo.id]: http(),
1262
1262
  * },
@@ -1279,16 +1279,16 @@ export function watchFlipOrderPlaced<config extends Config>(
1279
1279
  ) {
1280
1280
  const { chainId, ...rest } = parameters
1281
1281
  const client = config.getClient({ chainId })
1282
- return viem_Actions.watchFlipOrderPlaced(client, rest)
1282
+ return Actions.dex.watchFlipOrderPlaced(client, rest)
1283
1283
  }
1284
1284
 
1285
1285
  export declare namespace watchFlipOrderPlaced {
1286
1286
  export type Parameters<config extends Config> = ChainIdParameter<config> &
1287
- viem_Actions.watchFlipOrderPlaced.Parameters
1287
+ Actions.dex.watchFlipOrderPlaced.Parameters
1288
1288
 
1289
- export type Args = viem_Actions.watchFlipOrderPlaced.Args
1289
+ export type Args = Actions.dex.watchFlipOrderPlaced.Args
1290
1290
 
1291
- export type Log = viem_Actions.watchFlipOrderPlaced.Log
1291
+ export type Log = Actions.dex.watchFlipOrderPlaced.Log
1292
1292
  }
1293
1293
 
1294
1294
  /**
@@ -1297,11 +1297,11 @@ export declare namespace watchFlipOrderPlaced {
1297
1297
  * @example
1298
1298
  * ```ts
1299
1299
  * import { createConfig, http } from '@wagmi/core'
1300
- * import { tempo } from 'tempo.ts/chains'
1300
+ * import { tempo } from 'viem/chains'
1301
1301
  * import { Actions } from 'tempo.ts/wagmi'
1302
1302
  *
1303
1303
  * const config = createConfig({
1304
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
1304
+ * chains: [tempoTestnet],
1305
1305
  * transports: {
1306
1306
  * [tempo.id]: http(),
1307
1307
  * },
@@ -1324,16 +1324,16 @@ export function watchOrderCancelled<config extends Config>(
1324
1324
  ) {
1325
1325
  const { chainId, ...rest } = parameters
1326
1326
  const client = config.getClient({ chainId })
1327
- return viem_Actions.watchOrderCancelled(client, rest)
1327
+ return Actions.dex.watchOrderCancelled(client, rest)
1328
1328
  }
1329
1329
 
1330
1330
  export declare namespace watchOrderCancelled {
1331
1331
  export type Parameters<config extends Config> = ChainIdParameter<config> &
1332
- viem_Actions.watchOrderCancelled.Parameters
1332
+ Actions.dex.watchOrderCancelled.Parameters
1333
1333
 
1334
- export type Args = viem_Actions.watchOrderCancelled.Args
1334
+ export type Args = Actions.dex.watchOrderCancelled.Args
1335
1335
 
1336
- export type Log = viem_Actions.watchOrderCancelled.Log
1336
+ export type Log = Actions.dex.watchOrderCancelled.Log
1337
1337
  }
1338
1338
 
1339
1339
  /**
@@ -1342,11 +1342,11 @@ export declare namespace watchOrderCancelled {
1342
1342
  * @example
1343
1343
  * ```ts
1344
1344
  * import { createConfig, http } from '@wagmi/core'
1345
- * import { tempo } from 'tempo.ts/chains'
1345
+ * import { tempo } from 'viem/chains'
1346
1346
  * import { Actions } from 'tempo.ts/wagmi'
1347
1347
  *
1348
1348
  * const config = createConfig({
1349
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
1349
+ * chains: [tempoTestnet],
1350
1350
  * transports: {
1351
1351
  * [tempo.id]: http(),
1352
1352
  * },
@@ -1369,16 +1369,16 @@ export function watchOrderFilled<config extends Config>(
1369
1369
  ) {
1370
1370
  const { chainId, ...rest } = parameters
1371
1371
  const client = config.getClient({ chainId })
1372
- return viem_Actions.watchOrderFilled(client, rest)
1372
+ return Actions.dex.watchOrderFilled(client, rest)
1373
1373
  }
1374
1374
 
1375
1375
  export declare namespace watchOrderFilled {
1376
1376
  export type Parameters<config extends Config> = ChainIdParameter<config> &
1377
- viem_Actions.watchOrderFilled.Parameters
1377
+ Actions.dex.watchOrderFilled.Parameters
1378
1378
 
1379
- export type Args = viem_Actions.watchOrderFilled.Args
1379
+ export type Args = Actions.dex.watchOrderFilled.Args
1380
1380
 
1381
- export type Log = viem_Actions.watchOrderFilled.Log
1381
+ export type Log = Actions.dex.watchOrderFilled.Log
1382
1382
  }
1383
1383
 
1384
1384
  /**
@@ -1387,11 +1387,11 @@ export declare namespace watchOrderFilled {
1387
1387
  * @example
1388
1388
  * ```ts
1389
1389
  * import { createConfig, http } from '@wagmi/core'
1390
- * import { tempo } from 'tempo.ts/chains'
1390
+ * import { tempo } from 'viem/chains'
1391
1391
  * import { Actions } from 'tempo.ts/wagmi'
1392
1392
  *
1393
1393
  * const config = createConfig({
1394
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
1394
+ * chains: [tempoTestnet],
1395
1395
  * transports: {
1396
1396
  * [tempo.id]: http(),
1397
1397
  * },
@@ -1414,16 +1414,16 @@ export function watchOrderPlaced<config extends Config>(
1414
1414
  ) {
1415
1415
  const { chainId, ...rest } = parameters
1416
1416
  const client = config.getClient({ chainId })
1417
- return viem_Actions.watchOrderPlaced(client, rest)
1417
+ return Actions.dex.watchOrderPlaced(client, rest)
1418
1418
  }
1419
1419
 
1420
1420
  export declare namespace watchOrderPlaced {
1421
1421
  export type Parameters<config extends Config> = ChainIdParameter<config> &
1422
- viem_Actions.watchOrderPlaced.Parameters
1422
+ Actions.dex.watchOrderPlaced.Parameters
1423
1423
 
1424
- export type Args = viem_Actions.watchOrderPlaced.Args
1424
+ export type Args = Actions.dex.watchOrderPlaced.Args
1425
1425
 
1426
- export type Log = viem_Actions.watchOrderPlaced.Log
1426
+ export type Log = Actions.dex.watchOrderPlaced.Log
1427
1427
  }
1428
1428
 
1429
1429
  /**
@@ -1432,11 +1432,11 @@ export declare namespace watchOrderPlaced {
1432
1432
  * @example
1433
1433
  * ```ts
1434
1434
  * import { createConfig, http } from '@wagmi/core'
1435
- * import { tempo } from 'tempo.ts/chains'
1435
+ * import { tempo } from 'viem/chains'
1436
1436
  * import { Actions } from 'tempo.ts/wagmi'
1437
1437
  *
1438
1438
  * const config = createConfig({
1439
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
1439
+ * chains: [tempoTestnet],
1440
1440
  * transports: {
1441
1441
  * [tempo.id]: http(),
1442
1442
  * },
@@ -1455,7 +1455,7 @@ export declare namespace watchOrderPlaced {
1455
1455
  export async function withdraw<config extends Config>(
1456
1456
  config: config,
1457
1457
  parameters: withdraw.Parameters<config>,
1458
- ): Promise<viem_Actions.withdraw.ReturnValue> {
1458
+ ): Promise<Actions.dex.withdraw.ReturnValue> {
1459
1459
  const { account, chainId, connector } = parameters
1460
1460
 
1461
1461
  const client = await getConnectorClient(config, {
@@ -1465,20 +1465,20 @@ export async function withdraw<config extends Config>(
1465
1465
  connector,
1466
1466
  })
1467
1467
 
1468
- return viem_Actions.withdraw(client, parameters as never)
1468
+ return Actions.dex.withdraw(client, parameters as never)
1469
1469
  }
1470
1470
 
1471
1471
  export declare namespace withdraw {
1472
1472
  export type Parameters<config extends Config> = ChainIdParameter<config> &
1473
1473
  ConnectorParameter &
1474
1474
  UnionOmit<
1475
- viem_Actions.withdraw.Parameters<config['chains'][number], Account>,
1475
+ Actions.dex.withdraw.Parameters<config['chains'][number], Account>,
1476
1476
  'chain'
1477
1477
  >
1478
1478
 
1479
- export type ReturnValue = viem_Actions.withdraw.ReturnValue
1479
+ export type ReturnValue = Actions.dex.withdraw.ReturnValue
1480
1480
 
1481
- export type ErrorType = viem_Actions.withdraw.ErrorType
1481
+ export type ErrorType = Actions.dex.withdraw.ErrorType
1482
1482
  }
1483
1483
 
1484
1484
  /**
@@ -1490,11 +1490,11 @@ export declare namespace withdraw {
1490
1490
  * @example
1491
1491
  * ```ts
1492
1492
  * import { createConfig, http } from '@wagmi/core'
1493
- * import { tempo } from 'tempo.ts/chains'
1493
+ * import { tempo } from 'viem/chains'
1494
1494
  * import { Actions } from 'tempo.ts/wagmi'
1495
1495
  *
1496
1496
  * const config = createConfig({
1497
- * chains: [tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })],
1497
+ * chains: [tempoTestnet],
1498
1498
  * transports: {
1499
1499
  * [tempo.id]: http(),
1500
1500
  * },
@@ -1513,7 +1513,7 @@ export declare namespace withdraw {
1513
1513
  export async function withdrawSync<config extends Config>(
1514
1514
  config: config,
1515
1515
  parameters: withdrawSync.Parameters<config>,
1516
- ): Promise<viem_Actions.withdrawSync.ReturnValue> {
1516
+ ): Promise<Actions.dex.withdrawSync.ReturnValue> {
1517
1517
  const { account, chainId, connector } = parameters
1518
1518
 
1519
1519
  const client = await getConnectorClient(config, {
@@ -1523,18 +1523,18 @@ export async function withdrawSync<config extends Config>(
1523
1523
  connector,
1524
1524
  })
1525
1525
 
1526
- return viem_Actions.withdrawSync(client, parameters as never)
1526
+ return Actions.dex.withdrawSync(client, parameters as never)
1527
1527
  }
1528
1528
 
1529
1529
  export declare namespace withdrawSync {
1530
1530
  export type Parameters<config extends Config> = ChainIdParameter<config> &
1531
1531
  ConnectorParameter &
1532
1532
  UnionOmit<
1533
- viem_Actions.withdrawSync.Parameters<config['chains'][number], Account>,
1533
+ Actions.dex.withdrawSync.Parameters<config['chains'][number], Account>,
1534
1534
  'chain'
1535
1535
  >
1536
1536
 
1537
- export type ReturnValue = viem_Actions.withdrawSync.ReturnValue
1537
+ export type ReturnValue = Actions.dex.withdrawSync.ReturnValue
1538
1538
 
1539
- export type ErrorType = viem_Actions.withdrawSync.ErrorType
1539
+ export type ErrorType = Actions.dex.withdrawSync.ErrorType
1540
1540
  }