viem 2.44.2 → 2.45.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 (217) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/_cjs/account-abstraction/actions/bundler/prepareUserOperation.js +4 -2
  3. package/_cjs/account-abstraction/actions/bundler/prepareUserOperation.js.map +1 -1
  4. package/_cjs/account-abstraction/actions/bundler/sendUserOperation.js.map +1 -1
  5. package/_cjs/account-abstraction/clients/createBundlerClient.js +8 -2
  6. package/_cjs/account-abstraction/clients/createBundlerClient.js.map +1 -1
  7. package/_cjs/actions/public/estimateContractGas.js +3 -1
  8. package/_cjs/actions/public/estimateContractGas.js.map +1 -1
  9. package/_cjs/actions/public/simulateContract.js +3 -1
  10. package/_cjs/actions/public/simulateContract.js.map +1 -1
  11. package/_cjs/actions/wallet/sendCalls.js +17 -1
  12. package/_cjs/actions/wallet/sendCalls.js.map +1 -1
  13. package/_cjs/actions/wallet/sendTransaction.js +11 -7
  14. package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
  15. package/_cjs/actions/wallet/sendTransactionSync.js +11 -7
  16. package/_cjs/actions/wallet/sendTransactionSync.js.map +1 -1
  17. package/_cjs/actions/wallet/writeContract.js +2 -2
  18. package/_cjs/actions/wallet/writeContract.js.map +1 -1
  19. package/_cjs/chains/definitions/megaeth.js +33 -0
  20. package/_cjs/chains/definitions/megaeth.js.map +1 -0
  21. package/_cjs/chains/definitions/megaethTestnet.js +6 -1
  22. package/_cjs/chains/definitions/megaethTestnet.js.map +1 -1
  23. package/_cjs/chains/definitions/rise.js +28 -0
  24. package/_cjs/chains/definitions/rise.js.map +1 -0
  25. package/_cjs/chains/definitions/stable.js +35 -0
  26. package/_cjs/chains/definitions/stable.js.map +1 -0
  27. package/_cjs/chains/definitions/stableTestnet.js +10 -3
  28. package/_cjs/chains/definitions/stableTestnet.js.map +1 -1
  29. package/_cjs/chains/index.js +13 -7
  30. package/_cjs/chains/index.js.map +1 -1
  31. package/_cjs/clients/createClient.js +2 -1
  32. package/_cjs/clients/createClient.js.map +1 -1
  33. package/_cjs/clients/createWalletClient.js.map +1 -1
  34. package/_cjs/errors/version.js +1 -1
  35. package/_cjs/index.js.map +1 -1
  36. package/_cjs/op-stack/index.js +9 -1
  37. package/_cjs/op-stack/index.js.map +1 -1
  38. package/_cjs/tempo/Abis.js +2 -2
  39. package/_cjs/tempo/Abis.js.map +1 -1
  40. package/_cjs/tempo/Addresses.js +2 -1
  41. package/_cjs/tempo/Addresses.js.map +1 -1
  42. package/_cjs/tempo/Decorator.js +19 -0
  43. package/_cjs/tempo/Decorator.js.map +1 -1
  44. package/_cjs/tempo/Transport.js +1 -1
  45. package/_cjs/tempo/Transport.js.map +1 -1
  46. package/_cjs/tempo/actions/fee.js +91 -0
  47. package/_cjs/tempo/actions/fee.js.map +1 -1
  48. package/_cjs/tempo/actions/index.js +2 -1
  49. package/_cjs/tempo/actions/index.js.map +1 -1
  50. package/_cjs/tempo/actions/validator.js +308 -0
  51. package/_cjs/tempo/actions/validator.js.map +1 -0
  52. package/_cjs/types/dataSuffix.js +3 -0
  53. package/_cjs/types/dataSuffix.js.map +1 -0
  54. package/_cjs/utils/abi/decodeEventLog.js +29 -12
  55. package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
  56. package/_esm/account-abstraction/actions/bundler/prepareUserOperation.js +4 -2
  57. package/_esm/account-abstraction/actions/bundler/prepareUserOperation.js.map +1 -1
  58. package/_esm/account-abstraction/actions/bundler/sendUserOperation.js.map +1 -1
  59. package/_esm/account-abstraction/clients/createBundlerClient.js +8 -2
  60. package/_esm/account-abstraction/clients/createBundlerClient.js.map +1 -1
  61. package/_esm/actions/public/estimateContractGas.js +3 -1
  62. package/_esm/actions/public/estimateContractGas.js.map +1 -1
  63. package/_esm/actions/public/simulateContract.js +3 -1
  64. package/_esm/actions/public/simulateContract.js.map +1 -1
  65. package/_esm/actions/wallet/sendCalls.js +17 -1
  66. package/_esm/actions/wallet/sendCalls.js.map +1 -1
  67. package/_esm/actions/wallet/sendTransaction.js +11 -7
  68. package/_esm/actions/wallet/sendTransaction.js.map +1 -1
  69. package/_esm/actions/wallet/sendTransactionSync.js +11 -7
  70. package/_esm/actions/wallet/sendTransactionSync.js.map +1 -1
  71. package/_esm/actions/wallet/writeContract.js +2 -2
  72. package/_esm/actions/wallet/writeContract.js.map +1 -1
  73. package/_esm/chains/definitions/megaeth.js +30 -0
  74. package/_esm/chains/definitions/megaeth.js.map +1 -0
  75. package/_esm/chains/definitions/megaethTestnet.js +6 -1
  76. package/_esm/chains/definitions/megaethTestnet.js.map +1 -1
  77. package/_esm/chains/definitions/rise.js +25 -0
  78. package/_esm/chains/definitions/rise.js.map +1 -0
  79. package/_esm/chains/definitions/stable.js +32 -0
  80. package/_esm/chains/definitions/stable.js.map +1 -0
  81. package/_esm/chains/definitions/stableTestnet.js +10 -3
  82. package/_esm/chains/definitions/stableTestnet.js.map +1 -1
  83. package/_esm/chains/index.js +3 -0
  84. package/_esm/chains/index.js.map +1 -1
  85. package/_esm/clients/createClient.js +2 -1
  86. package/_esm/clients/createClient.js.map +1 -1
  87. package/_esm/clients/createWalletClient.js.map +1 -1
  88. package/_esm/errors/version.js +1 -1
  89. package/_esm/index.js.map +1 -1
  90. package/_esm/op-stack/index.js +4 -0
  91. package/_esm/op-stack/index.js.map +1 -1
  92. package/_esm/tempo/Abis.js +1 -1
  93. package/_esm/tempo/Abis.js.map +1 -1
  94. package/_esm/tempo/Account.js +6 -6
  95. package/_esm/tempo/Addresses.js +1 -0
  96. package/_esm/tempo/Addresses.js.map +1 -1
  97. package/_esm/tempo/Decorator.js +19 -0
  98. package/_esm/tempo/Decorator.js.map +1 -1
  99. package/_esm/tempo/Transport.js +1 -1
  100. package/_esm/tempo/Transport.js.map +1 -1
  101. package/_esm/tempo/WebAuthnP256.js +2 -2
  102. package/_esm/tempo/actions/amm.js +28 -28
  103. package/_esm/tempo/actions/dex.js +68 -68
  104. package/_esm/tempo/actions/faucet.js +4 -4
  105. package/_esm/tempo/actions/fee.js +236 -10
  106. package/_esm/tempo/actions/fee.js.map +1 -1
  107. package/_esm/tempo/actions/index.js +1 -0
  108. package/_esm/tempo/actions/index.js.map +1 -1
  109. package/_esm/tempo/actions/nonce.js +4 -4
  110. package/_esm/tempo/actions/policy.js +36 -36
  111. package/_esm/tempo/actions/reward.js +28 -28
  112. package/_esm/tempo/actions/token.js +122 -122
  113. package/_esm/tempo/actions/validator.js +1017 -0
  114. package/_esm/tempo/actions/validator.js.map +1 -0
  115. package/_esm/types/dataSuffix.js +2 -0
  116. package/_esm/types/dataSuffix.js.map +1 -0
  117. package/_esm/utils/abi/decodeEventLog.js +34 -13
  118. package/_esm/utils/abi/decodeEventLog.js.map +1 -1
  119. package/_types/account-abstraction/actions/bundler/prepareUserOperation.d.ts +2 -0
  120. package/_types/account-abstraction/actions/bundler/prepareUserOperation.d.ts.map +1 -1
  121. package/_types/account-abstraction/actions/bundler/sendUserOperation.d.ts +2 -0
  122. package/_types/account-abstraction/actions/bundler/sendUserOperation.d.ts.map +1 -1
  123. package/_types/account-abstraction/clients/createBundlerClient.d.ts +4 -0
  124. package/_types/account-abstraction/clients/createBundlerClient.d.ts.map +1 -1
  125. package/_types/actions/public/estimateContractGas.d.ts.map +1 -1
  126. package/_types/actions/public/simulateContract.d.ts.map +1 -1
  127. package/_types/actions/wallet/sendCalls.d.ts.map +1 -1
  128. package/_types/actions/wallet/sendTransaction.d.ts +7 -2
  129. package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
  130. package/_types/actions/wallet/sendTransactionSync.d.ts +5 -0
  131. package/_types/actions/wallet/sendTransactionSync.d.ts.map +1 -1
  132. package/_types/actions/wallet/writeContract.d.ts.map +1 -1
  133. package/_types/chains/definitions/megaeth.d.ts +46 -0
  134. package/_types/chains/definitions/megaeth.d.ts.map +1 -0
  135. package/_types/chains/definitions/megaethTestnet.d.ts +6 -1
  136. package/_types/chains/definitions/megaethTestnet.d.ts.map +1 -1
  137. package/_types/chains/definitions/rise.d.ts +46 -0
  138. package/_types/chains/definitions/rise.d.ts.map +1 -0
  139. package/_types/chains/definitions/stable.d.ts +47 -0
  140. package/_types/chains/definitions/stable.d.ts.map +1 -0
  141. package/_types/chains/definitions/stableTestnet.d.ts +10 -13
  142. package/_types/chains/definitions/stableTestnet.d.ts.map +1 -1
  143. package/_types/chains/index.d.ts +3 -0
  144. package/_types/chains/index.d.ts.map +1 -1
  145. package/_types/clients/createClient.d.ts +5 -0
  146. package/_types/clients/createClient.d.ts.map +1 -1
  147. package/_types/clients/createWalletClient.d.ts +1 -1
  148. package/_types/clients/createWalletClient.d.ts.map +1 -1
  149. package/_types/errors/version.d.ts +1 -1
  150. package/_types/index.d.ts +2 -1
  151. package/_types/index.d.ts.map +1 -1
  152. package/_types/op-stack/index.d.ts +4 -0
  153. package/_types/op-stack/index.d.ts.map +1 -1
  154. package/_types/tempo/Abis.d.ts +1 -1
  155. package/_types/tempo/Abis.d.ts.map +1 -1
  156. package/_types/tempo/Account.d.ts +6 -6
  157. package/_types/tempo/Addresses.d.ts +1 -0
  158. package/_types/tempo/Addresses.d.ts.map +1 -1
  159. package/_types/tempo/Decorator.d.ts +607 -208
  160. package/_types/tempo/Decorator.d.ts.map +1 -1
  161. package/_types/tempo/Transport.d.ts.map +1 -1
  162. package/_types/tempo/WebAuthnP256.d.ts +2 -2
  163. package/_types/tempo/actions/amm.d.ts +28 -28
  164. package/_types/tempo/actions/dex.d.ts +68 -68
  165. package/_types/tempo/actions/faucet.d.ts +4 -4
  166. package/_types/tempo/actions/fee.d.ts +380 -10
  167. package/_types/tempo/actions/fee.d.ts.map +1 -1
  168. package/_types/tempo/actions/index.d.ts +1 -0
  169. package/_types/tempo/actions/index.d.ts.map +1 -1
  170. package/_types/tempo/actions/nonce.d.ts +4 -4
  171. package/_types/tempo/actions/policy.d.ts +36 -36
  172. package/_types/tempo/actions/reward.d.ts +28 -28
  173. package/_types/tempo/actions/token.d.ts +122 -122
  174. package/_types/tempo/actions/validator.d.ts +1174 -0
  175. package/_types/tempo/actions/validator.d.ts.map +1 -0
  176. package/_types/types/dataSuffix.d.ts +16 -0
  177. package/_types/types/dataSuffix.d.ts.map +1 -0
  178. package/_types/utils/abi/decodeEventLog.d.ts.map +1 -1
  179. package/account-abstraction/actions/bundler/prepareUserOperation.ts +7 -1
  180. package/account-abstraction/actions/bundler/sendUserOperation.ts +2 -0
  181. package/account-abstraction/clients/createBundlerClient.ts +12 -1
  182. package/actions/public/estimateContractGas.ts +11 -2
  183. package/actions/public/simulateContract.ts +11 -2
  184. package/actions/wallet/sendCalls.ts +18 -1
  185. package/actions/wallet/sendTransaction.ts +19 -8
  186. package/actions/wallet/sendTransactionSync.ts +17 -7
  187. package/actions/wallet/writeContract.ts +1 -2
  188. package/chains/definitions/megaeth.ts +30 -0
  189. package/chains/definitions/megaethTestnet.ts +6 -1
  190. package/chains/definitions/rise.ts +25 -0
  191. package/chains/definitions/stable.ts +32 -0
  192. package/chains/definitions/stableTestnet.ts +10 -3
  193. package/chains/index.ts +3 -0
  194. package/clients/createClient.ts +7 -0
  195. package/clients/createWalletClient.ts +1 -0
  196. package/errors/version.ts +1 -1
  197. package/index.ts +2 -0
  198. package/op-stack/index.ts +24 -0
  199. package/package.json +1 -1
  200. package/tempo/Abis.ts +1 -1
  201. package/tempo/Account.ts +6 -6
  202. package/tempo/Addresses.ts +1 -0
  203. package/tempo/Decorator.ts +672 -208
  204. package/tempo/Transport.ts +4 -1
  205. package/tempo/WebAuthnP256.ts +2 -2
  206. package/tempo/actions/amm.ts +28 -28
  207. package/tempo/actions/dex.ts +68 -68
  208. package/tempo/actions/faucet.ts +4 -4
  209. package/tempo/actions/fee.ts +346 -10
  210. package/tempo/actions/index.ts +1 -0
  211. package/tempo/actions/nonce.ts +4 -4
  212. package/tempo/actions/policy.ts +36 -36
  213. package/tempo/actions/reward.ts +28 -28
  214. package/tempo/actions/token.ts +122 -122
  215. package/tempo/actions/validator.ts +1417 -0
  216. package/types/dataSuffix.ts +18 -0
  217. package/utils/abi/decodeEventLog.ts +38 -14
@@ -9,6 +9,7 @@ import * as feeActions from './actions/fee.js'
9
9
  import * as policyActions from './actions/policy.js'
10
10
  import * as rewardActions from './actions/reward.js'
11
11
  import * as tokenActions from './actions/token.js'
12
+ import * as validatorActions from './actions/validator.js'
12
13
 
13
14
  export type Decorator<
14
15
  chain extends Chain | undefined = Chain | undefined,
@@ -21,8 +22,8 @@ export type Decorator<
21
22
  * @example
22
23
  * ```ts
23
24
  * import { createClient, http } from 'viem'
24
- * import { tempo } from 'tempo.ts/chains'
25
- * import { tempoActions } from 'tempo.ts/viem'
25
+ * import { tempo } from 'viem/chains'
26
+ * import { tempoActions } from 'viem/tempo'
26
27
  *
27
28
  * const client = createClient({
28
29
  * chain: tempo({ feeToken: '0x20c...001' }),
@@ -47,8 +48,8 @@ export type Decorator<
47
48
  * @example
48
49
  * ```ts
49
50
  * import { createClient, http } from 'viem'
50
- * import { tempo } from 'tempo.ts/chains'
51
- * import { tempoActions } from 'tempo.ts/viem'
51
+ * import { tempo } from 'viem/chains'
52
+ * import { tempoActions } from 'viem/tempo'
52
53
  *
53
54
  * const client = createClient({
54
55
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -79,8 +80,8 @@ export type Decorator<
79
80
  * ```ts
80
81
  * import { createClient, http } from 'viem'
81
82
  * import { privateKeyToAccount } from 'viem/accounts'
82
- * import { tempo } from 'tempo.ts/chains'
83
- * import { tempoActions } from 'tempo.ts/viem'
83
+ * import { tempo } from 'viem/chains'
84
+ * import { tempoActions } from 'viem/tempo'
84
85
  *
85
86
  * const client = createClient({
86
87
  * account: privateKeyToAccount('0x...'),
@@ -109,8 +110,8 @@ export type Decorator<
109
110
  * ```ts
110
111
  * import { createClient, http } from 'viem'
111
112
  * import { privateKeyToAccount } from 'viem/accounts'
112
- * import { tempo } from 'tempo.ts/chains'
113
- * import { tempoActions } from 'tempo.ts/viem'
113
+ * import { tempo } from 'viem/chains'
114
+ * import { tempoActions } from 'viem/tempo'
114
115
  *
115
116
  * const client = createClient({
116
117
  * account: privateKeyToAccount('0x...'),
@@ -139,8 +140,8 @@ export type Decorator<
139
140
  * ```ts
140
141
  * import { createClient, http } from 'viem'
141
142
  * import { privateKeyToAccount } from 'viem/accounts'
142
- * import { tempo } from 'tempo.ts/chains'
143
- * import { tempoActions } from 'tempo.ts/viem'
143
+ * import { tempo } from 'viem/chains'
144
+ * import { tempoActions } from 'viem/tempo'
144
145
  *
145
146
  * const client = createClient({
146
147
  * account: privateKeyToAccount('0x...'),
@@ -169,8 +170,8 @@ export type Decorator<
169
170
  * ```ts
170
171
  * import { createClient, http } from 'viem'
171
172
  * import { privateKeyToAccount } from 'viem/accounts'
172
- * import { tempo } from 'tempo.ts/chains'
173
- * import { tempoActions } from 'tempo.ts/viem'
173
+ * import { tempo } from 'viem/chains'
174
+ * import { tempoActions } from 'viem/tempo'
174
175
  *
175
176
  * const client = createClient({
176
177
  * account: privateKeyToAccount('0x...'),
@@ -199,8 +200,8 @@ export type Decorator<
199
200
  * ```ts
200
201
  * import { createClient, http } from 'viem'
201
202
  * import { privateKeyToAccount } from 'viem/accounts'
202
- * import { tempo } from 'tempo.ts/chains'
203
- * import { tempoActions } from 'tempo.ts/viem'
203
+ * import { tempo } from 'viem/chains'
204
+ * import { tempoActions } from 'viem/tempo'
204
205
  *
205
206
  * const client = createClient({
206
207
  * account: privateKeyToAccount('0x...'),
@@ -229,8 +230,8 @@ export type Decorator<
229
230
  * ```ts
230
231
  * import { createClient, http } from 'viem'
231
232
  * import { privateKeyToAccount } from 'viem/accounts'
232
- * import { tempo } from 'tempo.ts/chains'
233
- * import { tempoActions } from 'tempo.ts/viem'
233
+ * import { tempo } from 'viem/chains'
234
+ * import { tempoActions } from 'viem/tempo'
234
235
  *
235
236
  * const client = createClient({
236
237
  * account: privateKeyToAccount('0x...'),
@@ -258,8 +259,8 @@ export type Decorator<
258
259
  * @example
259
260
  * ```ts
260
261
  * import { createClient, http } from 'viem'
261
- * import { tempo } from 'tempo.ts/chains'
262
- * import { tempoActions } from 'tempo.ts/viem'
262
+ * import { tempo } from 'viem/chains'
263
+ * import { tempoActions } from 'viem/tempo'
263
264
  *
264
265
  * const client = createClient({
265
266
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -283,8 +284,8 @@ export type Decorator<
283
284
  * @example
284
285
  * ```ts
285
286
  * import { createClient, http } from 'viem'
286
- * import { tempo } from 'tempo.ts/chains'
287
- * import { tempoActions } from 'tempo.ts/viem'
287
+ * import { tempo } from 'viem/chains'
288
+ * import { tempoActions } from 'viem/tempo'
288
289
  *
289
290
  * const client = createClient({
290
291
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -308,8 +309,8 @@ export type Decorator<
308
309
  * @example
309
310
  * ```ts
310
311
  * import { createClient, http } from 'viem'
311
- * import { tempo } from 'tempo.ts/chains'
312
- * import { tempoActions } from 'tempo.ts/viem'
312
+ * import { tempo } from 'viem/chains'
313
+ * import { tempoActions } from 'viem/tempo'
313
314
  *
314
315
  * const client = createClient({
315
316
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -338,8 +339,8 @@ export type Decorator<
338
339
  * ```ts
339
340
  * import { createClient, http } from 'viem'
340
341
  * import { privateKeyToAccount } from 'viem/accounts'
341
- * import { tempo } from 'tempo.ts/chains'
342
- * import { tempoActions } from 'tempo.ts/viem'
342
+ * import { tempo } from 'viem/chains'
343
+ * import { tempoActions } from 'viem/tempo'
343
344
  *
344
345
  * const client = createClient({
345
346
  * account: privateKeyToAccount('0x...'),
@@ -368,8 +369,8 @@ export type Decorator<
368
369
  * ```ts
369
370
  * import { createClient, http } from 'viem'
370
371
  * import { privateKeyToAccount } from 'viem/accounts'
371
- * import { tempo } from 'tempo.ts/chains'
372
- * import { tempoActions } from 'tempo.ts/viem'
372
+ * import { tempo } from 'viem/chains'
373
+ * import { tempoActions } from 'viem/tempo'
373
374
  *
374
375
  * const client = createClient({
375
376
  * account: privateKeyToAccount('0x...'),
@@ -398,8 +399,8 @@ export type Decorator<
398
399
  * ```ts
399
400
  * import { createClient, http } from 'viem'
400
401
  * import { privateKeyToAccount } from 'viem/accounts'
401
- * import { tempo } from 'tempo.ts/chains'
402
- * import { tempoActions } from 'tempo.ts/viem'
402
+ * import { tempo } from 'viem/chains'
403
+ * import { tempoActions } from 'viem/tempo'
403
404
  *
404
405
  * const client = createClient({
405
406
  * account: privateKeyToAccount('0x...'),
@@ -425,8 +426,8 @@ export type Decorator<
425
426
  * ```ts
426
427
  * import { createClient, http } from 'viem'
427
428
  * import { privateKeyToAccount } from 'viem/accounts'
428
- * import { tempo } from 'tempo.ts/chains'
429
- * import { tempoActions } from 'tempo.ts/viem'
429
+ * import { tempo } from 'viem/chains'
430
+ * import { tempoActions } from 'viem/tempo'
430
431
  *
431
432
  * const client = createClient({
432
433
  * account: privateKeyToAccount('0x...'),
@@ -455,8 +456,8 @@ export type Decorator<
455
456
  * ```ts
456
457
  * import { createClient, http } from 'viem'
457
458
  * import { privateKeyToAccount } from 'viem/accounts'
458
- * import { tempo } from 'tempo.ts/chains'
459
- * import { tempoActions } from 'tempo.ts/viem'
459
+ * import { tempo } from 'viem/chains'
460
+ * import { tempoActions } from 'viem/tempo'
460
461
  *
461
462
  * const client = createClient({
462
463
  * account: privateKeyToAccount('0x...'),
@@ -485,8 +486,8 @@ export type Decorator<
485
486
  * ```ts
486
487
  * import { createClient, http } from 'viem'
487
488
  * import { privateKeyToAccount } from 'viem/accounts'
488
- * import { tempo } from 'tempo.ts/chains'
489
- * import { tempoActions } from 'tempo.ts/viem'
489
+ * import { tempo } from 'viem/chains'
490
+ * import { tempoActions } from 'viem/tempo'
490
491
  *
491
492
  * const client = createClient({
492
493
  * account: privateKeyToAccount('0x...'),
@@ -512,8 +513,8 @@ export type Decorator<
512
513
  * ```ts
513
514
  * import { createClient, http } from 'viem'
514
515
  * import { privateKeyToAccount } from 'viem/accounts'
515
- * import { tempo } from 'tempo.ts/chains'
516
- * import { tempoActions } from 'tempo.ts/viem'
516
+ * import { tempo } from 'viem/chains'
517
+ * import { tempoActions } from 'viem/tempo'
517
518
  *
518
519
  * const client = createClient({
519
520
  * account: privateKeyToAccount('0x...'),
@@ -539,8 +540,8 @@ export type Decorator<
539
540
  * ```ts
540
541
  * import { createClient, http } from 'viem'
541
542
  * import { privateKeyToAccount } from 'viem/accounts'
542
- * import { tempo } from 'tempo.ts/chains'
543
- * import { tempoActions } from 'tempo.ts/viem'
543
+ * import { tempo } from 'viem/chains'
544
+ * import { tempoActions } from 'viem/tempo'
544
545
  *
545
546
  * const client = createClient({
546
547
  * account: privateKeyToAccount('0x...'),
@@ -565,8 +566,8 @@ export type Decorator<
565
566
  * @example
566
567
  * ```ts
567
568
  * import { createClient, http } from 'viem'
568
- * import { tempo } from 'tempo.ts/chains'
569
- * import { tempoActions } from 'tempo.ts/viem'
569
+ * import { tempo } from 'viem/chains'
570
+ * import { tempoActions } from 'viem/tempo'
570
571
  *
571
572
  * const client = createClient({
572
573
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -591,8 +592,8 @@ export type Decorator<
591
592
  * @example
592
593
  * ```ts
593
594
  * import { createClient, http } from 'viem'
594
- * import { tempo } from 'tempo.ts/chains'
595
- * import { tempoActions } from 'tempo.ts/viem'
595
+ * import { tempo } from 'viem/chains'
596
+ * import { tempoActions } from 'viem/tempo'
596
597
  *
597
598
  * const client = createClient({
598
599
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -618,8 +619,8 @@ export type Decorator<
618
619
  * @example
619
620
  * ```ts
620
621
  * import { createClient, http } from 'viem'
621
- * import { tempo } from 'tempo.ts/chains'
622
- * import { tempoActions } from 'tempo.ts/viem'
622
+ * import { tempo } from 'viem/chains'
623
+ * import { tempoActions } from 'viem/tempo'
623
624
  *
624
625
  * const client = createClient({
625
626
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -643,8 +644,8 @@ export type Decorator<
643
644
  * @example
644
645
  * ```ts
645
646
  * import { createClient, http } from 'viem'
646
- * import { tempo } from 'tempo.ts/chains'
647
- * import { tempoActions, Tick } from 'tempo.ts/viem'
647
+ * import { tempo } from 'viem/chains'
648
+ * import { tempoActions, Tick } from 'viem/tempo'
648
649
  *
649
650
  * const client = createClient({
650
651
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -670,8 +671,8 @@ export type Decorator<
670
671
  * @example
671
672
  * ```ts
672
673
  * import { createClient, http } from 'viem'
673
- * import { tempo } from 'tempo.ts/chains'
674
- * import { tempoActions } from 'tempo.ts/viem'
674
+ * import { tempo } from 'viem/chains'
675
+ * import { tempoActions } from 'viem/tempo'
675
676
  *
676
677
  * const client = createClient({
677
678
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -698,8 +699,8 @@ export type Decorator<
698
699
  * ```ts
699
700
  * import { createClient, http } from 'viem'
700
701
  * import { privateKeyToAccount } from 'viem/accounts'
701
- * import { tempo } from 'tempo.ts/chains'
702
- * import { tempoActions, Tick } from 'tempo.ts/viem'
702
+ * import { tempo } from 'viem/chains'
703
+ * import { tempoActions, Tick } from 'viem/tempo'
703
704
  *
704
705
  * const client = createClient({
705
706
  * account: privateKeyToAccount('0x...'),
@@ -728,8 +729,8 @@ export type Decorator<
728
729
  * ```ts
729
730
  * import { createClient, http } from 'viem'
730
731
  * import { privateKeyToAccount } from 'viem/accounts'
731
- * import { tempo } from 'tempo.ts/chains'
732
- * import { tempoActions, Tick } from 'tempo.ts/viem'
732
+ * import { tempo } from 'viem/chains'
733
+ * import { tempoActions, Tick } from 'viem/tempo'
733
734
  *
734
735
  * const client = createClient({
735
736
  * account: privateKeyToAccount('0x...'),
@@ -758,8 +759,8 @@ export type Decorator<
758
759
  * ```ts
759
760
  * import { createClient, http } from 'viem'
760
761
  * import { privateKeyToAccount } from 'viem/accounts'
761
- * import { tempo } from 'tempo.ts/chains'
762
- * import { tempoActions, Tick } from 'tempo.ts/viem'
762
+ * import { tempo } from 'viem/chains'
763
+ * import { tempoActions, Tick } from 'viem/tempo'
763
764
  *
764
765
  * const client = createClient({
765
766
  * account: privateKeyToAccount('0x...'),
@@ -789,8 +790,8 @@ export type Decorator<
789
790
  * ```ts
790
791
  * import { createClient, http } from 'viem'
791
792
  * import { privateKeyToAccount } from 'viem/accounts'
792
- * import { tempo } from 'tempo.ts/chains'
793
- * import { tempoActions, Tick } from 'tempo.ts/viem'
793
+ * import { tempo } from 'viem/chains'
794
+ * import { tempoActions, Tick } from 'viem/tempo'
794
795
  *
795
796
  * const client = createClient({
796
797
  * account: privateKeyToAccount('0x...'),
@@ -820,8 +821,8 @@ export type Decorator<
820
821
  * ```ts
821
822
  * import { createClient, http } from 'viem'
822
823
  * import { privateKeyToAccount } from 'viem/accounts'
823
- * import { tempo } from 'tempo.ts/chains'
824
- * import { tempoActions } from 'tempo.ts/viem'
824
+ * import { tempo } from 'viem/chains'
825
+ * import { tempoActions } from 'viem/tempo'
825
826
  *
826
827
  * const client = createClient({
827
828
  * account: privateKeyToAccount('0x...'),
@@ -850,8 +851,8 @@ export type Decorator<
850
851
  * ```ts
851
852
  * import { createClient, http } from 'viem'
852
853
  * import { privateKeyToAccount } from 'viem/accounts'
853
- * import { tempo } from 'tempo.ts/chains'
854
- * import { tempoActions } from 'tempo.ts/viem'
854
+ * import { tempo } from 'viem/chains'
855
+ * import { tempoActions } from 'viem/tempo'
855
856
  *
856
857
  * const client = createClient({
857
858
  * account: privateKeyToAccount('0x...'),
@@ -880,8 +881,8 @@ export type Decorator<
880
881
  * ```ts
881
882
  * import { createClient, http } from 'viem'
882
883
  * import { privateKeyToAccount } from 'viem/accounts'
883
- * import { tempo } from 'tempo.ts/chains'
884
- * import { tempoActions } from 'tempo.ts/viem'
884
+ * import { tempo } from 'viem/chains'
885
+ * import { tempoActions } from 'viem/tempo'
885
886
  *
886
887
  * const client = createClient({
887
888
  * account: privateKeyToAccount('0x...'),
@@ -908,8 +909,8 @@ export type Decorator<
908
909
  * ```ts
909
910
  * import { createClient, http } from 'viem'
910
911
  * import { privateKeyToAccount } from 'viem/accounts'
911
- * import { tempo } from 'tempo.ts/chains'
912
- * import { tempoActions } from 'tempo.ts/viem'
912
+ * import { tempo } from 'viem/chains'
913
+ * import { tempoActions } from 'viem/tempo'
913
914
  *
914
915
  * const client = createClient({
915
916
  * account: privateKeyToAccount('0x...'),
@@ -935,8 +936,8 @@ export type Decorator<
935
936
  * @example
936
937
  * ```ts
937
938
  * import { createClient, http } from 'viem'
938
- * import { tempo } from 'tempo.ts/chains'
939
- * import { tempoActions } from 'tempo.ts/viem'
939
+ * import { tempo } from 'viem/chains'
940
+ * import { tempoActions } from 'viem/tempo'
940
941
  *
941
942
  * const client = createClient({
942
943
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -962,8 +963,8 @@ export type Decorator<
962
963
  * @example
963
964
  * ```ts
964
965
  * import { createClient, http } from 'viem'
965
- * import { tempo } from 'tempo.ts/chains'
966
- * import { tempoActions } from 'tempo.ts/viem'
966
+ * import { tempo } from 'viem/chains'
967
+ * import { tempoActions } from 'viem/tempo'
967
968
  *
968
969
  * const client = createClient({
969
970
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -989,8 +990,8 @@ export type Decorator<
989
990
  * @example
990
991
  * ```ts
991
992
  * import { createClient, http } from 'viem'
992
- * import { tempo } from 'tempo.ts/chains'
993
- * import { tempoActions } from 'tempo.ts/viem'
993
+ * import { tempo } from 'viem/chains'
994
+ * import { tempoActions } from 'viem/tempo'
994
995
  *
995
996
  * const client = createClient({
996
997
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1016,8 +1017,8 @@ export type Decorator<
1016
1017
  * @example
1017
1018
  * ```ts
1018
1019
  * import { createClient, http } from 'viem'
1019
- * import { tempo } from 'tempo.ts/chains'
1020
- * import { tempoActions } from 'tempo.ts/viem'
1020
+ * import { tempo } from 'viem/chains'
1021
+ * import { tempoActions } from 'viem/tempo'
1021
1022
  *
1022
1023
  * const client = createClient({
1023
1024
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1046,8 +1047,8 @@ export type Decorator<
1046
1047
  * @example
1047
1048
  * ```ts
1048
1049
  * import { createClient, http } from 'viem'
1049
- * import { tempo } from 'tempo.ts/chains'
1050
- * import { tempoActions } from 'tempo.ts/viem'
1050
+ * import { tempo } from 'viem/chains'
1051
+ * import { tempoActions } from 'viem/tempo'
1051
1052
  *
1052
1053
  * const client = createClient({
1053
1054
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1074,8 +1075,8 @@ export type Decorator<
1074
1075
  * ```ts
1075
1076
  * import { createClient, http } from 'viem'
1076
1077
  * import { privateKeyToAccount } from 'viem/accounts'
1077
- * import { tempo } from 'tempo.ts/chains'
1078
- * import { tempoActions } from 'tempo.ts/viem'
1078
+ * import { tempo } from 'viem/chains'
1079
+ * import { tempoActions } from 'viem/tempo'
1079
1080
  *
1080
1081
  * const client = createClient({
1081
1082
  * account: privateKeyToAccount('0x...'),
@@ -1102,8 +1103,8 @@ export type Decorator<
1102
1103
  * ```ts
1103
1104
  * import { createClient, http } from 'viem'
1104
1105
  * import { privateKeyToAccount } from 'viem/accounts'
1105
- * import { tempo } from 'tempo.ts/chains'
1106
- * import { tempoActions } from 'tempo.ts/viem'
1106
+ * import { tempo } from 'viem/chains'
1107
+ * import { tempoActions } from 'viem/tempo'
1107
1108
  *
1108
1109
  * const client = createClient({
1109
1110
  * account: privateKeyToAccount('0x...'),
@@ -1130,8 +1131,8 @@ export type Decorator<
1130
1131
  * ```ts
1131
1132
  * import { createClient, http } from 'viem'
1132
1133
  * import { privateKeyToAccount } from 'viem/accounts'
1133
- * import { tempo } from 'tempo.ts/chains'
1134
- * import { tempoActions } from 'tempo.ts/viem'
1134
+ * import { tempo } from 'viem/chains'
1135
+ * import { tempoActions } from 'viem/tempo'
1135
1136
  *
1136
1137
  * const client = createClient({
1137
1138
  * account: privateKeyToAccount('0x...'),
@@ -1156,8 +1157,8 @@ export type Decorator<
1156
1157
  * @example
1157
1158
  * ```ts
1158
1159
  * import { createClient, http } from 'viem'
1159
- * import { tempo } from 'tempo.ts/chains'
1160
- * import { tempoActions } from 'tempo.ts/viem'
1160
+ * import { tempo } from 'viem/chains'
1161
+ * import { tempoActions } from 'viem/tempo'
1161
1162
  *
1162
1163
  * const client = createClient({
1163
1164
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1187,8 +1188,8 @@ export type Decorator<
1187
1188
  * ```ts
1188
1189
  * import { createClient, http } from 'viem'
1189
1190
  * import { privateKeyToAccount } from 'viem/accounts'
1190
- * import { tempo } from 'tempo.ts/chains'
1191
- * import { tempoActions } from 'tempo.ts/viem'
1191
+ * import { tempo } from 'viem/chains'
1192
+ * import { tempoActions } from 'viem/tempo'
1192
1193
  *
1193
1194
  * const client = createClient({
1194
1195
  * account: privateKeyToAccount('0x...'),
@@ -1215,8 +1216,8 @@ export type Decorator<
1215
1216
  * ```ts
1216
1217
  * import { createClient, http } from 'viem'
1217
1218
  * import { privateKeyToAccount } from 'viem/accounts'
1218
- * import { tempo } from 'tempo.ts/chains'
1219
- * import { tempoActions } from 'tempo.ts/viem'
1219
+ * import { tempo } from 'viem/chains'
1220
+ * import { tempoActions } from 'viem/tempo'
1220
1221
  *
1221
1222
  * const client = createClient({
1222
1223
  * account: privateKeyToAccount('0x...'),
@@ -1243,8 +1244,8 @@ export type Decorator<
1243
1244
  * ```ts
1244
1245
  * import { createClient, http } from 'viem'
1245
1246
  * import { privateKeyToAccount } from 'viem/accounts'
1246
- * import { tempo } from 'tempo.ts/chains'
1247
- * import { tempoActions } from 'tempo.ts/viem'
1247
+ * import { tempo } from 'viem/chains'
1248
+ * import { tempoActions } from 'viem/tempo'
1248
1249
  *
1249
1250
  * const client = createClient({
1250
1251
  * account: privateKeyToAccount('0x...'),
@@ -1271,8 +1272,8 @@ export type Decorator<
1271
1272
  * ```ts
1272
1273
  * import { createClient, http } from 'viem'
1273
1274
  * import { privateKeyToAccount } from 'viem/accounts'
1274
- * import { tempo } from 'tempo.ts/chains'
1275
- * import { tempoActions } from 'tempo.ts/viem'
1275
+ * import { tempo } from 'viem/chains'
1276
+ * import { tempoActions } from 'viem/tempo'
1276
1277
  *
1277
1278
  * const client = createClient({
1278
1279
  * account: privateKeyToAccount('0x...'),
@@ -1299,8 +1300,8 @@ export type Decorator<
1299
1300
  * ```ts
1300
1301
  * import { createClient, http } from 'viem'
1301
1302
  * import { privateKeyToAccount } from 'viem/accounts'
1302
- * import { tempo } from 'tempo.ts/chains'
1303
- * import { tempoActions } from 'tempo.ts/viem'
1303
+ * import { tempo } from 'viem/chains'
1304
+ * import { tempoActions } from 'viem/tempo'
1304
1305
  *
1305
1306
  * const client = createClient({
1306
1307
  * account: privateKeyToAccount('0x...'),
@@ -1328,8 +1329,8 @@ export type Decorator<
1328
1329
  * ```ts
1329
1330
  * import { createClient, http } from 'viem'
1330
1331
  * import { privateKeyToAccount } from 'viem/accounts'
1331
- * import { tempo } from 'tempo.ts/chains'
1332
- * import { tempoActions } from 'tempo.ts/viem'
1332
+ * import { tempo } from 'viem/chains'
1333
+ * import { tempoActions } from 'viem/tempo'
1333
1334
  *
1334
1335
  * const client = createClient({
1335
1336
  * account: privateKeyToAccount('0x...'),
@@ -1357,8 +1358,8 @@ export type Decorator<
1357
1358
  * ```ts
1358
1359
  * import { createClient, http } from 'viem'
1359
1360
  * import { privateKeyToAccount } from 'viem/accounts'
1360
- * import { tempo } from 'tempo.ts/chains'
1361
- * import { tempoActions } from 'tempo.ts/viem'
1361
+ * import { tempo } from 'viem/chains'
1362
+ * import { tempoActions } from 'viem/tempo'
1362
1363
  *
1363
1364
  * const client = createClient({
1364
1365
  * account: privateKeyToAccount('0x...'),
@@ -1386,8 +1387,8 @@ export type Decorator<
1386
1387
  * ```ts
1387
1388
  * import { createClient, http } from 'viem'
1388
1389
  * import { privateKeyToAccount } from 'viem/accounts'
1389
- * import { tempo } from 'tempo.ts/chains'
1390
- * import { tempoActions } from 'tempo.ts/viem'
1390
+ * import { tempo } from 'viem/chains'
1391
+ * import { tempoActions } from 'viem/tempo'
1391
1392
  *
1392
1393
  * const client = createClient({
1393
1394
  * account: privateKeyToAccount('0x...'),
@@ -1414,8 +1415,8 @@ export type Decorator<
1414
1415
  * @example
1415
1416
  * ```ts
1416
1417
  * import { createClient, http } from 'viem'
1417
- * import { tempo } from 'tempo.ts/chains'
1418
- * import { tempoActions } from 'tempo.ts/viem'
1418
+ * import { tempo } from 'viem/chains'
1419
+ * import { tempoActions } from 'viem/tempo'
1419
1420
  *
1420
1421
  * const client = createClient({
1421
1422
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1439,8 +1440,8 @@ export type Decorator<
1439
1440
  * @example
1440
1441
  * ```ts
1441
1442
  * import { createClient, http } from 'viem'
1442
- * import { tempo } from 'tempo.ts/chains'
1443
- * import { tempoActions } from 'tempo.ts/viem'
1443
+ * import { tempo } from 'viem/chains'
1444
+ * import { tempoActions } from 'viem/tempo'
1444
1445
  *
1445
1446
  * const client = createClient({
1446
1447
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1465,8 +1466,8 @@ export type Decorator<
1465
1466
  * @example
1466
1467
  * ```ts
1467
1468
  * import { createClient, http } from 'viem'
1468
- * import { tempo } from 'tempo.ts/chains'
1469
- * import { tempoActions } from 'tempo.ts/viem'
1469
+ * import { tempo } from 'viem/chains'
1470
+ * import { tempoActions } from 'viem/tempo'
1470
1471
  *
1471
1472
  * const client = createClient({
1472
1473
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1492,8 +1493,8 @@ export type Decorator<
1492
1493
  * @example
1493
1494
  * ```ts
1494
1495
  * import { createClient, http } from 'viem'
1495
- * import { tempo } from 'tempo.ts/chains'
1496
- * import { tempoActions } from 'tempo.ts/viem'
1496
+ * import { tempo } from 'viem/chains'
1497
+ * import { tempoActions } from 'viem/tempo'
1497
1498
  *
1498
1499
  * const client = createClient({
1499
1500
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1519,8 +1520,8 @@ export type Decorator<
1519
1520
  * @example
1520
1521
  * ```ts
1521
1522
  * import { createClient, http } from 'viem'
1522
- * import { tempo } from 'tempo.ts/chains'
1523
- * import { tempoActions } from 'tempo.ts/viem'
1523
+ * import { tempo } from 'viem/chains'
1524
+ * import { tempoActions } from 'viem/tempo'
1524
1525
  *
1525
1526
  * const client = createClient({
1526
1527
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1546,8 +1547,8 @@ export type Decorator<
1546
1547
  * @example
1547
1548
  * ```ts
1548
1549
  * import { createClient, http } from 'viem'
1549
- * import { tempo } from 'tempo.ts/chains'
1550
- * import { tempoActions } from 'tempo.ts/viem'
1550
+ * import { tempo } from 'viem/chains'
1551
+ * import { tempoActions } from 'viem/tempo'
1551
1552
  *
1552
1553
  * const client = createClient({
1553
1554
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1576,8 +1577,8 @@ export type Decorator<
1576
1577
  * ```ts
1577
1578
  * import { createClient, http } from 'viem'
1578
1579
  * import { privateKeyToAccount } from 'viem/accounts'
1579
- * import { tempo } from 'tempo.ts/chains'
1580
- * import { tempoActions } from 'tempo.ts/viem'
1580
+ * import { tempo } from 'viem/chains'
1581
+ * import { tempoActions } from 'viem/tempo'
1581
1582
  *
1582
1583
  * const client = createClient({
1583
1584
  * account: privateKeyToAccount('0x...'),
@@ -1603,8 +1604,8 @@ export type Decorator<
1603
1604
  * ```ts
1604
1605
  * import { createClient, http } from 'viem'
1605
1606
  * import { privateKeyToAccount } from 'viem/accounts'
1606
- * import { tempo } from 'tempo.ts/chains'
1607
- * import { tempoActions } from 'tempo.ts/viem'
1607
+ * import { tempo } from 'viem/chains'
1608
+ * import { tempoActions } from 'viem/tempo'
1608
1609
  *
1609
1610
  * const client = createClient({
1610
1611
  * account: privateKeyToAccount('0x...'),
@@ -1630,8 +1631,8 @@ export type Decorator<
1630
1631
  * ```ts
1631
1632
  * import { createClient, http } from 'viem'
1632
1633
  * import { privateKeyToAccount } from 'viem/accounts'
1633
- * import { tempo } from 'tempo.ts/chains'
1634
- * import { tempoActions } from 'tempo.ts/viem'
1634
+ * import { tempo } from 'viem/chains'
1635
+ * import { tempoActions } from 'viem/tempo'
1635
1636
  *
1636
1637
  * const client = createClient({
1637
1638
  * account: privateKeyToAccount('0x...'),
@@ -1658,8 +1659,8 @@ export type Decorator<
1658
1659
  * ```ts
1659
1660
  * import { createClient, http } from 'viem'
1660
1661
  * import { privateKeyToAccount } from 'viem/accounts'
1661
- * import { tempo } from 'tempo.ts/chains'
1662
- * import { tempoActions } from 'tempo.ts/viem'
1662
+ * import { tempo } from 'viem/chains'
1663
+ * import { tempoActions } from 'viem/tempo'
1663
1664
  *
1664
1665
  * const client = createClient({
1665
1666
  * account: privateKeyToAccount('0x...'),
@@ -1685,8 +1686,8 @@ export type Decorator<
1685
1686
  * @example
1686
1687
  * ```ts
1687
1688
  * import { createClient, http } from 'viem'
1688
- * import { tempo } from 'tempo.ts/chains'
1689
- * import { tempoActions } from 'tempo.ts/viem'
1689
+ * import { tempo } from 'viem/chains'
1690
+ * import { tempoActions } from 'viem/tempo'
1690
1691
  *
1691
1692
  * const client = createClient({
1692
1693
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1712,8 +1713,8 @@ export type Decorator<
1712
1713
  * ```ts
1713
1714
  * import { createClient, http } from 'viem'
1714
1715
  * import { privateKeyToAccount } from 'viem/accounts'
1715
- * import { tempo } from 'tempo.ts/chains'
1716
- * import { tempoActions } from 'tempo.ts/viem'
1716
+ * import { tempo } from 'viem/chains'
1717
+ * import { tempoActions } from 'viem/tempo'
1717
1718
  *
1718
1719
  * const client = createClient({
1719
1720
  * account: privateKeyToAccount('0x...'),
@@ -1740,8 +1741,8 @@ export type Decorator<
1740
1741
  * ```ts
1741
1742
  * import { createClient, http } from 'viem'
1742
1743
  * import { privateKeyToAccount } from 'viem/accounts'
1743
- * import { tempo } from 'tempo.ts/chains'
1744
- * import { tempoActions } from 'tempo.ts/viem'
1744
+ * import { tempo } from 'viem/chains'
1745
+ * import { tempoActions } from 'viem/tempo'
1745
1746
  *
1746
1747
  * const client = createClient({
1747
1748
  * account: privateKeyToAccount('0x...'),
@@ -1767,8 +1768,8 @@ export type Decorator<
1767
1768
  * @example
1768
1769
  * ```ts
1769
1770
  * import { createClient, http } from 'viem'
1770
- * import { tempo } from 'tempo.ts/chains'
1771
- * import { tempoActions } from 'tempo.ts/viem'
1771
+ * import { tempo } from 'viem/chains'
1772
+ * import { tempoActions } from 'viem/tempo'
1772
1773
  *
1773
1774
  * const client = createClient({
1774
1775
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1795,8 +1796,8 @@ export type Decorator<
1795
1796
  * @example
1796
1797
  * ```ts
1797
1798
  * import { createClient, http } from 'viem'
1798
- * import { tempo } from 'tempo.ts/chains'
1799
- * import { tempoActions } from 'tempo.ts/viem'
1799
+ * import { tempo } from 'viem/chains'
1800
+ * import { tempoActions } from 'viem/tempo'
1800
1801
  *
1801
1802
  * const client = createClient({
1802
1803
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1826,8 +1827,8 @@ export type Decorator<
1826
1827
  * ```ts
1827
1828
  * import { createClient, http } from 'viem'
1828
1829
  * import { privateKeyToAccount } from 'viem/accounts'
1829
- * import { tempo } from 'tempo.ts/chains'
1830
- * import { tempoActions } from 'tempo.ts/viem'
1830
+ * import { tempo } from 'viem/chains'
1831
+ * import { tempoActions } from 'viem/tempo'
1831
1832
  *
1832
1833
  * const client = createClient({
1833
1834
  * account: privateKeyToAccount('0x...'),
@@ -1855,8 +1856,8 @@ export type Decorator<
1855
1856
  * ```ts
1856
1857
  * import { createClient, http } from 'viem'
1857
1858
  * import { privateKeyToAccount } from 'viem/accounts'
1858
- * import { tempo } from 'tempo.ts/chains'
1859
- * import { tempoActions } from 'tempo.ts/viem'
1859
+ * import { tempo } from 'viem/chains'
1860
+ * import { tempoActions } from 'viem/tempo'
1860
1861
  *
1861
1862
  * const client = createClient({
1862
1863
  * account: privateKeyToAccount('0x...'),
@@ -1884,8 +1885,8 @@ export type Decorator<
1884
1885
  * ```ts
1885
1886
  * import { createClient, http } from 'viem'
1886
1887
  * import { privateKeyToAccount } from 'viem/accounts'
1887
- * import { tempo } from 'tempo.ts/chains'
1888
- * import { tempoActions } from 'tempo.ts/viem'
1888
+ * import { tempo } from 'viem/chains'
1889
+ * import { tempoActions } from 'viem/tempo'
1889
1890
  *
1890
1891
  * const client = createClient({
1891
1892
  * account: privateKeyToAccount('0x...'),
@@ -1914,8 +1915,8 @@ export type Decorator<
1914
1915
  * ```ts
1915
1916
  * import { createClient, http } from 'viem'
1916
1917
  * import { privateKeyToAccount } from 'viem/accounts'
1917
- * import { tempo } from 'tempo.ts/chains'
1918
- * import { tempoActions } from 'tempo.ts/viem'
1918
+ * import { tempo } from 'viem/chains'
1919
+ * import { tempoActions } from 'viem/tempo'
1919
1920
  *
1920
1921
  * const client = createClient({
1921
1922
  * account: privateKeyToAccount('0x...'),
@@ -1944,8 +1945,8 @@ export type Decorator<
1944
1945
  * ```ts
1945
1946
  * import { createClient, http } from 'viem'
1946
1947
  * import { privateKeyToAccount } from 'viem/accounts'
1947
- * import { tempo } from 'tempo.ts/chains'
1948
- * import { tempoActions } from 'tempo.ts/viem'
1948
+ * import { tempo } from 'viem/chains'
1949
+ * import { tempoActions } from 'viem/tempo'
1949
1950
  *
1950
1951
  * const client = createClient({
1951
1952
  * account: privateKeyToAccount('0x...'),
@@ -1973,8 +1974,8 @@ export type Decorator<
1973
1974
  * ```ts
1974
1975
  * import { createClient, http } from 'viem'
1975
1976
  * import { privateKeyToAccount } from 'viem/accounts'
1976
- * import { tempo } from 'tempo.ts/chains'
1977
- * import { tempoActions } from 'tempo.ts/viem'
1977
+ * import { tempo } from 'viem/chains'
1978
+ * import { tempoActions } from 'viem/tempo'
1978
1979
  *
1979
1980
  * const client = createClient({
1980
1981
  * account: privateKeyToAccount('0x...'),
@@ -2002,8 +2003,8 @@ export type Decorator<
2002
2003
  * ```ts
2003
2004
  * import { createClient, http } from 'viem'
2004
2005
  * import { privateKeyToAccount } from 'viem/accounts'
2005
- * import { tempo } from 'tempo.ts/chains'
2006
- * import { tempoActions } from 'tempo.ts/viem'
2006
+ * import { tempo } from 'viem/chains'
2007
+ * import { tempoActions } from 'viem/tempo'
2007
2008
  *
2008
2009
  * const client = createClient({
2009
2010
  * account: privateKeyToAccount('0x...'),
@@ -2031,8 +2032,8 @@ export type Decorator<
2031
2032
  * ```ts
2032
2033
  * import { createClient, http } from 'viem'
2033
2034
  * import { privateKeyToAccount } from 'viem/accounts'
2034
- * import { tempo } from 'tempo.ts/chains'
2035
- * import { tempoActions } from 'tempo.ts/viem'
2035
+ * import { tempo } from 'viem/chains'
2036
+ * import { tempoActions } from 'viem/tempo'
2036
2037
  *
2037
2038
  * const client = createClient({
2038
2039
  * account: privateKeyToAccount('0x...'),
@@ -2063,8 +2064,8 @@ export type Decorator<
2063
2064
  * ```ts
2064
2065
  * import { createClient, http } from 'viem'
2065
2066
  * import { privateKeyToAccount } from 'viem/accounts'
2066
- * import { tempo } from 'tempo.ts/chains'
2067
- * import { tempoActions } from 'tempo.ts/viem'
2067
+ * import { tempo } from 'viem/chains'
2068
+ * import { tempoActions } from 'viem/tempo'
2068
2069
  *
2069
2070
  * const client = createClient({
2070
2071
  * account: privateKeyToAccount('0x...'),
@@ -2093,8 +2094,8 @@ export type Decorator<
2093
2094
  * ```ts
2094
2095
  * import { createClient, http } from 'viem'
2095
2096
  * import { privateKeyToAccount } from 'viem/accounts'
2096
- * import { tempo } from 'tempo.ts/chains'
2097
- * import { tempoActions } from 'tempo.ts/viem'
2097
+ * import { tempo } from 'viem/chains'
2098
+ * import { tempoActions } from 'viem/tempo'
2098
2099
  *
2099
2100
  * const client = createClient({
2100
2101
  * account: privateKeyToAccount('0x...'),
@@ -2123,8 +2124,8 @@ export type Decorator<
2123
2124
  * ```ts
2124
2125
  * import { createClient, http } from 'viem'
2125
2126
  * import { privateKeyToAccount } from 'viem/accounts'
2126
- * import { tempo } from 'tempo.ts/chains'
2127
- * import { tempoActions } from 'tempo.ts/viem'
2127
+ * import { tempo } from 'viem/chains'
2128
+ * import { tempoActions } from 'viem/tempo'
2128
2129
  *
2129
2130
  * const client = createClient({
2130
2131
  * account: privateKeyToAccount('0x...'),
@@ -2151,8 +2152,8 @@ export type Decorator<
2151
2152
  * ```ts
2152
2153
  * import { createClient, http } from 'viem'
2153
2154
  * import { privateKeyToAccount } from 'viem/accounts'
2154
- * import { tempo } from 'tempo.ts/chains'
2155
- * import { tempoActions } from 'tempo.ts/viem'
2155
+ * import { tempo } from 'viem/chains'
2156
+ * import { tempoActions } from 'viem/tempo'
2156
2157
  *
2157
2158
  * const client = createClient({
2158
2159
  * account: privateKeyToAccount('0x...'),
@@ -2176,8 +2177,8 @@ export type Decorator<
2176
2177
  * @example
2177
2178
  * ```ts
2178
2179
  * import { createClient, http } from 'viem'
2179
- * import { tempo } from 'tempo.ts/chains'
2180
- * import { tempoActions } from 'tempo.ts/viem'
2180
+ * import { tempo } from 'viem/chains'
2181
+ * import { tempoActions } from 'viem/tempo'
2181
2182
  *
2182
2183
  * const client = createClient({
2183
2184
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2202,8 +2203,8 @@ export type Decorator<
2202
2203
  * @example
2203
2204
  * ```ts
2204
2205
  * import { createClient, http } from 'viem'
2205
- * import { tempo } from 'tempo.ts/chains'
2206
- * import { tempoActions } from 'tempo.ts/viem'
2206
+ * import { tempo } from 'viem/chains'
2207
+ * import { tempoActions } from 'viem/tempo'
2207
2208
  *
2208
2209
  * const client = createClient({
2209
2210
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2230,8 +2231,8 @@ export type Decorator<
2230
2231
  * ```ts
2231
2232
  * import { createClient, http } from 'viem'
2232
2233
  * import { privateKeyToAccount } from 'viem/accounts'
2233
- * import { tempo } from 'tempo.ts/chains'
2234
- * import { tempoActions } from 'tempo.ts/viem'
2234
+ * import { tempo } from 'viem/chains'
2235
+ * import { tempoActions } from 'viem/tempo'
2235
2236
  *
2236
2237
  * const client = createClient({
2237
2238
  * account: privateKeyToAccount('0x...'),
@@ -2259,8 +2260,8 @@ export type Decorator<
2259
2260
  * ```ts
2260
2261
  * import { createClient, http } from 'viem'
2261
2262
  * import { privateKeyToAccount } from 'viem/accounts'
2262
- * import { tempo } from 'tempo.ts/chains'
2263
- * import { tempoActions } from 'tempo.ts/viem'
2263
+ * import { tempo } from 'viem/chains'
2264
+ * import { tempoActions } from 'viem/tempo'
2264
2265
  *
2265
2266
  * const client = createClient({
2266
2267
  * account: privateKeyToAccount('0x...'),
@@ -2289,8 +2290,8 @@ export type Decorator<
2289
2290
  * ```ts
2290
2291
  * import { createClient, http } from 'viem'
2291
2292
  * import { privateKeyToAccount } from 'viem/accounts'
2292
- * import { tempo } from 'tempo.ts/chains'
2293
- * import { tempoActions } from 'tempo.ts/viem'
2293
+ * import { tempo } from 'viem/chains'
2294
+ * import { tempoActions } from 'viem/tempo'
2294
2295
  *
2295
2296
  * const client = createClient({
2296
2297
  * account: privateKeyToAccount('0x...'),
@@ -2318,8 +2319,8 @@ export type Decorator<
2318
2319
  * ```ts
2319
2320
  * import { createClient, http } from 'viem'
2320
2321
  * import { privateKeyToAccount } from 'viem/accounts'
2321
- * import { tempo } from 'tempo.ts/chains'
2322
- * import { tempoActions } from 'tempo.ts/viem'
2322
+ * import { tempo } from 'viem/chains'
2323
+ * import { tempoActions } from 'viem/tempo'
2323
2324
  *
2324
2325
  * const client = createClient({
2325
2326
  * account: privateKeyToAccount('0x...'),
@@ -2348,8 +2349,8 @@ export type Decorator<
2348
2349
  * ```ts
2349
2350
  * import { createClient, http } from 'viem'
2350
2351
  * import { privateKeyToAccount } from 'viem/accounts'
2351
- * import { tempo } from 'tempo.ts/chains'
2352
- * import { tempoActions } from 'tempo.ts/viem'
2352
+ * import { tempo } from 'viem/chains'
2353
+ * import { tempoActions } from 'viem/tempo'
2353
2354
  *
2354
2355
  * const client = createClient({
2355
2356
  * account: privateKeyToAccount('0x...'),
@@ -2378,8 +2379,8 @@ export type Decorator<
2378
2379
  * ```ts
2379
2380
  * import { createClient, http } from 'viem'
2380
2381
  * import { privateKeyToAccount } from 'viem/accounts'
2381
- * import { tempo } from 'tempo.ts/chains'
2382
- * import { tempoActions } from 'tempo.ts/viem'
2382
+ * import { tempo } from 'viem/chains'
2383
+ * import { tempoActions } from 'viem/tempo'
2383
2384
  *
2384
2385
  * const client = createClient({
2385
2386
  * account: privateKeyToAccount('0x...'),
@@ -2406,8 +2407,8 @@ export type Decorator<
2406
2407
  * ```ts
2407
2408
  * import { createClient, http } from 'viem'
2408
2409
  * import { privateKeyToAccount } from 'viem/accounts'
2409
- * import { tempo } from 'tempo.ts/chains'
2410
- * import { tempoActions } from 'tempo.ts/viem'
2410
+ * import { tempo } from 'viem/chains'
2411
+ * import { tempoActions } from 'viem/tempo'
2411
2412
  *
2412
2413
  * const client = createClient({
2413
2414
  * account: privateKeyToAccount('0x...'),
@@ -2434,8 +2435,8 @@ export type Decorator<
2434
2435
  * ```ts
2435
2436
  * import { createClient, http } from 'viem'
2436
2437
  * import { privateKeyToAccount } from 'viem/accounts'
2437
- * import { tempo } from 'tempo.ts/chains'
2438
- * import { tempoActions } from 'tempo.ts/viem'
2438
+ * import { tempo } from 'viem/chains'
2439
+ * import { tempoActions } from 'viem/tempo'
2439
2440
  *
2440
2441
  * const client = createClient({
2441
2442
  * account: privateKeyToAccount('0x...'),
@@ -2463,8 +2464,8 @@ export type Decorator<
2463
2464
  * ```ts
2464
2465
  * import { createClient, http } from 'viem'
2465
2466
  * import { privateKeyToAccount } from 'viem/accounts'
2466
- * import { tempo } from 'tempo.ts/chains'
2467
- * import { tempoActions } from 'tempo.ts/viem'
2467
+ * import { tempo } from 'viem/chains'
2468
+ * import { tempoActions } from 'viem/tempo'
2468
2469
  *
2469
2470
  * const client = createClient({
2470
2471
  * account: privateKeyToAccount('0x...'),
@@ -2491,8 +2492,8 @@ export type Decorator<
2491
2492
  * ```ts
2492
2493
  * import { createClient, http } from 'viem'
2493
2494
  * import { privateKeyToAccount } from 'viem/accounts'
2494
- * import { tempo } from 'tempo.ts/chains'
2495
- * import { tempoActions } from 'tempo.ts/viem'
2495
+ * import { tempo } from 'viem/chains'
2496
+ * import { tempoActions } from 'viem/tempo'
2496
2497
  *
2497
2498
  * const client = createClient({
2498
2499
  * account: privateKeyToAccount('0x...'),
@@ -2521,8 +2522,8 @@ export type Decorator<
2521
2522
  * ```ts
2522
2523
  * import { createClient, http } from 'viem'
2523
2524
  * import { privateKeyToAccount } from 'viem/accounts'
2524
- * import { tempo } from 'tempo.ts/chains'
2525
- * import { tempoActions } from 'tempo.ts/viem'
2525
+ * import { tempo } from 'viem/chains'
2526
+ * import { tempoActions } from 'viem/tempo'
2526
2527
  *
2527
2528
  * const client = createClient({
2528
2529
  * account: privateKeyToAccount('0x...'),
@@ -2550,8 +2551,8 @@ export type Decorator<
2550
2551
  * ```ts
2551
2552
  * import { createClient, http } from 'viem'
2552
2553
  * import { privateKeyToAccount } from 'viem/accounts'
2553
- * import { tempo } from 'tempo.ts/chains'
2554
- * import { tempoActions } from 'tempo.ts/viem'
2554
+ * import { tempo } from 'viem/chains'
2555
+ * import { tempoActions } from 'viem/tempo'
2555
2556
  *
2556
2557
  * const client = createClient({
2557
2558
  * account: privateKeyToAccount('0x...'),
@@ -2579,8 +2580,8 @@ export type Decorator<
2579
2580
  * ```ts
2580
2581
  * import { createClient, http } from 'viem'
2581
2582
  * import { privateKeyToAccount } from 'viem/accounts'
2582
- * import { tempo } from 'tempo.ts/chains'
2583
- * import { tempoActions } from 'tempo.ts/viem'
2583
+ * import { tempo } from 'viem/chains'
2584
+ * import { tempoActions } from 'viem/tempo'
2584
2585
  *
2585
2586
  * const client = createClient({
2586
2587
  * account: privateKeyToAccount('0x...'),
@@ -2608,8 +2609,8 @@ export type Decorator<
2608
2609
  * ```ts
2609
2610
  * import { createClient, http } from 'viem'
2610
2611
  * import { privateKeyToAccount } from 'viem/accounts'
2611
- * import { tempo } from 'tempo.ts/chains'
2612
- * import { tempoActions } from 'tempo.ts/viem'
2612
+ * import { tempo } from 'viem/chains'
2613
+ * import { tempoActions } from 'viem/tempo'
2613
2614
  *
2614
2615
  * const client = createClient({
2615
2616
  * account: privateKeyToAccount('0x...'),
@@ -2638,8 +2639,8 @@ export type Decorator<
2638
2639
  * ```ts
2639
2640
  * import { createClient, http } from 'viem'
2640
2641
  * import { privateKeyToAccount } from 'viem/accounts'
2641
- * import { tempo } from 'tempo.ts/chains'
2642
- * import { tempoActions } from 'tempo.ts/viem'
2642
+ * import { tempo } from 'viem/chains'
2643
+ * import { tempoActions } from 'viem/tempo'
2643
2644
  *
2644
2645
  * const client = createClient({
2645
2646
  * account: privateKeyToAccount('0x...'),
@@ -2668,8 +2669,8 @@ export type Decorator<
2668
2669
  * ```ts
2669
2670
  * import { createClient, http } from 'viem'
2670
2671
  * import { privateKeyToAccount } from 'viem/accounts'
2671
- * import { tempo } from 'tempo.ts/chains'
2672
- * import { tempoActions } from 'tempo.ts/viem'
2672
+ * import { tempo } from 'viem/chains'
2673
+ * import { tempoActions } from 'viem/tempo'
2673
2674
  *
2674
2675
  * const client = createClient({
2675
2676
  * account: privateKeyToAccount('0x...'),
@@ -2697,8 +2698,8 @@ export type Decorator<
2697
2698
  * ```ts
2698
2699
  * import { createClient, http } from 'viem'
2699
2700
  * import { privateKeyToAccount } from 'viem/accounts'
2700
- * import { tempo } from 'tempo.ts/chains'
2701
- * import { tempoActions } from 'tempo.ts/viem'
2701
+ * import { tempo } from 'viem/chains'
2702
+ * import { tempoActions } from 'viem/tempo'
2702
2703
  *
2703
2704
  * const client = createClient({
2704
2705
  * account: privateKeyToAccount('0x...'),
@@ -2726,8 +2727,8 @@ export type Decorator<
2726
2727
  * ```ts
2727
2728
  * import { createClient, http } from 'viem'
2728
2729
  * import { privateKeyToAccount } from 'viem/accounts'
2729
- * import { tempo } from 'tempo.ts/chains'
2730
- * import { tempoActions } from 'tempo.ts/viem'
2730
+ * import { tempo } from 'viem/chains'
2731
+ * import { tempoActions } from 'viem/tempo'
2731
2732
  *
2732
2733
  * const client = createClient({
2733
2734
  * account: privateKeyToAccount('0x...'),
@@ -2754,8 +2755,8 @@ export type Decorator<
2754
2755
  * ```ts
2755
2756
  * import { createClient, http } from 'viem'
2756
2757
  * import { privateKeyToAccount } from 'viem/accounts'
2757
- * import { tempo } from 'tempo.ts/chains'
2758
- * import { tempoActions } from 'tempo.ts/viem'
2758
+ * import { tempo } from 'viem/chains'
2759
+ * import { tempoActions } from 'viem/tempo'
2759
2760
  *
2760
2761
  * const client = createClient({
2761
2762
  * account: privateKeyToAccount('0x...'),
@@ -2781,8 +2782,8 @@ export type Decorator<
2781
2782
  * @example
2782
2783
  * ```ts
2783
2784
  * import { createClient, http } from 'viem'
2784
- * import { tempo } from 'tempo.ts/chains'
2785
- * import { tempoActions } from 'tempo.ts/viem'
2785
+ * import { tempo } from 'viem/chains'
2786
+ * import { tempoActions } from 'viem/tempo'
2786
2787
  *
2787
2788
  * const client = createClient({
2788
2789
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2809,8 +2810,8 @@ export type Decorator<
2809
2810
  * @example
2810
2811
  * ```ts
2811
2812
  * import { createClient, http } from 'viem'
2812
- * import { tempo } from 'tempo.ts/chains'
2813
- * import { tempoActions } from 'tempo.ts/viem'
2813
+ * import { tempo } from 'viem/chains'
2814
+ * import { tempoActions } from 'viem/tempo'
2814
2815
  *
2815
2816
  * const client = createClient({
2816
2817
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2835,8 +2836,8 @@ export type Decorator<
2835
2836
  * @example
2836
2837
  * ```ts
2837
2838
  * import { createClient, http } from 'viem'
2838
- * import { tempo } from 'tempo.ts/chains'
2839
- * import { tempoActions } from 'tempo.ts/viem'
2839
+ * import { tempo } from 'viem/chains'
2840
+ * import { tempoActions } from 'viem/tempo'
2840
2841
  *
2841
2842
  * const client = createClient({
2842
2843
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2861,8 +2862,8 @@ export type Decorator<
2861
2862
  * @example
2862
2863
  * ```ts
2863
2864
  * import { createClient, http } from 'viem'
2864
- * import { tempo } from 'tempo.ts/chains'
2865
- * import { tempoActions } from 'tempo.ts/viem'
2865
+ * import { tempo } from 'viem/chains'
2866
+ * import { tempoActions } from 'viem/tempo'
2866
2867
  *
2867
2868
  * const client = createClient({
2868
2869
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2887,8 +2888,8 @@ export type Decorator<
2887
2888
  * @example
2888
2889
  * ```ts
2889
2890
  * import { createClient, http } from 'viem'
2890
- * import { tempo } from 'tempo.ts/chains'
2891
- * import { tempoActions } from 'tempo.ts/viem'
2891
+ * import { tempo } from 'viem/chains'
2892
+ * import { tempoActions } from 'viem/tempo'
2892
2893
  *
2893
2894
  * const client = createClient({
2894
2895
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2915,8 +2916,8 @@ export type Decorator<
2915
2916
  * @example
2916
2917
  * ```ts
2917
2918
  * import { createClient, http } from 'viem'
2918
- * import { tempo } from 'tempo.ts/chains'
2919
- * import { tempoActions } from 'tempo.ts/viem'
2919
+ * import { tempo } from 'viem/chains'
2920
+ * import { tempoActions } from 'viem/tempo'
2920
2921
  *
2921
2922
  * const client = createClient({
2922
2923
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2941,8 +2942,8 @@ export type Decorator<
2941
2942
  * @example
2942
2943
  * ```ts
2943
2944
  * import { createClient, http } from 'viem'
2944
- * import { tempo } from 'tempo.ts/chains'
2945
- * import { tempoActions } from 'tempo.ts/viem'
2945
+ * import { tempo } from 'viem/chains'
2946
+ * import { tempoActions } from 'viem/tempo'
2946
2947
  *
2947
2948
  * const client = createClient({
2948
2949
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2964,6 +2965,442 @@ export type Decorator<
2964
2965
  parameters: tokenActions.watchTransfer.Parameters,
2965
2966
  ) => () => void
2966
2967
  }
2968
+ validator: {
2969
+ /**
2970
+ * Adds a new validator (owner only).
2971
+ *
2972
+ * @example
2973
+ * ```ts
2974
+ * import { createClient, http } from 'viem'
2975
+ * import { privateKeyToAccount } from 'viem/accounts'
2976
+ * import { tempo } from 'viem/chains'
2977
+ * import { tempoActions } from 'viem/tempo'
2978
+ *
2979
+ * const client = createClient({
2980
+ * account: privateKeyToAccount('0x...'),
2981
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2982
+ * transport: http(),
2983
+ * }).extend(tempoActions())
2984
+ *
2985
+ * const hash = await client.validator.add({
2986
+ * newValidatorAddress: '0x...',
2987
+ * publicKey: '0x...',
2988
+ * active: true,
2989
+ * inboundAddress: '192.168.1.1:8080',
2990
+ * outboundAddress: '192.168.1.1:8080',
2991
+ * })
2992
+ * ```
2993
+ *
2994
+ * @param parameters - Parameters.
2995
+ * @returns The transaction hash.
2996
+ */
2997
+ add: (
2998
+ parameters: validatorActions.add.Parameters<chain, account>,
2999
+ ) => Promise<validatorActions.add.ReturnValue>
3000
+ /**
3001
+ * Adds a new validator (owner only) and waits for the transaction receipt.
3002
+ *
3003
+ * @example
3004
+ * ```ts
3005
+ * import { createClient, http } from 'viem'
3006
+ * import { privateKeyToAccount } from 'viem/accounts'
3007
+ * import { tempo } from 'viem/chains'
3008
+ * import { tempoActions } from 'viem/tempo'
3009
+ *
3010
+ * const client = createClient({
3011
+ * account: privateKeyToAccount('0x...'),
3012
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3013
+ * transport: http(),
3014
+ * }).extend(tempoActions())
3015
+ *
3016
+ * const { receipt } = await client.validator.addSync({
3017
+ * newValidatorAddress: '0x...',
3018
+ * publicKey: '0x...',
3019
+ * active: true,
3020
+ * inboundAddress: '192.168.1.1:8080',
3021
+ * outboundAddress: '192.168.1.1:8080',
3022
+ * })
3023
+ * ```
3024
+ *
3025
+ * @param parameters - Parameters.
3026
+ * @returns The transaction receipt.
3027
+ */
3028
+ addSync: (
3029
+ parameters: validatorActions.addSync.Parameters<chain, account>,
3030
+ ) => Promise<validatorActions.addSync.ReturnValue>
3031
+ /**
3032
+ * Changes the owner of the validator config precompile.
3033
+ *
3034
+ * @example
3035
+ * ```ts
3036
+ * import { createClient, http } from 'viem'
3037
+ * import { privateKeyToAccount } from 'viem/accounts'
3038
+ * import { tempo } from 'viem/chains'
3039
+ * import { tempoActions } from 'viem/tempo'
3040
+ *
3041
+ * const client = createClient({
3042
+ * account: privateKeyToAccount('0x...'),
3043
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3044
+ * transport: http(),
3045
+ * }).extend(tempoActions())
3046
+ *
3047
+ * const hash = await client.validator.changeOwner({
3048
+ * newOwner: '0x...',
3049
+ * })
3050
+ * ```
3051
+ *
3052
+ * @param parameters - Parameters.
3053
+ * @returns The transaction hash.
3054
+ */
3055
+ changeOwner: (
3056
+ parameters: validatorActions.changeOwner.Parameters<chain, account>,
3057
+ ) => Promise<validatorActions.changeOwner.ReturnValue>
3058
+ /**
3059
+ * Changes the owner of the validator config precompile and waits for the transaction receipt.
3060
+ *
3061
+ * @example
3062
+ * ```ts
3063
+ * import { createClient, http } from 'viem'
3064
+ * import { privateKeyToAccount } from 'viem/accounts'
3065
+ * import { tempo } from 'viem/chains'
3066
+ * import { tempoActions } from 'viem/tempo'
3067
+ *
3068
+ * const client = createClient({
3069
+ * account: privateKeyToAccount('0x...'),
3070
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3071
+ * transport: http(),
3072
+ * }).extend(tempoActions())
3073
+ *
3074
+ * const { receipt } = await client.validator.changeOwnerSync({
3075
+ * newOwner: '0x...',
3076
+ * })
3077
+ * ```
3078
+ *
3079
+ * @param parameters - Parameters.
3080
+ * @returns The transaction receipt.
3081
+ */
3082
+ changeOwnerSync: (
3083
+ parameters: validatorActions.changeOwnerSync.Parameters<chain, account>,
3084
+ ) => Promise<validatorActions.changeOwnerSync.ReturnValue>
3085
+ /**
3086
+ * Changes validator active status (owner only).
3087
+ *
3088
+ * @example
3089
+ * ```ts
3090
+ * import { createClient, http } from 'viem'
3091
+ * import { privateKeyToAccount } from 'viem/accounts'
3092
+ * import { tempo } from 'viem/chains'
3093
+ * import { tempoActions } from 'viem/tempo'
3094
+ *
3095
+ * const client = createClient({
3096
+ * account: privateKeyToAccount('0x...'),
3097
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3098
+ * transport: http(),
3099
+ * }).extend(tempoActions())
3100
+ *
3101
+ * const hash = await client.validator.changeStatus({
3102
+ * validator: '0x...',
3103
+ * active: false,
3104
+ * })
3105
+ * ```
3106
+ *
3107
+ * @param parameters - Parameters.
3108
+ * @returns The transaction hash.
3109
+ */
3110
+ changeStatus: (
3111
+ parameters: validatorActions.changeStatus.Parameters<chain, account>,
3112
+ ) => Promise<validatorActions.changeStatus.ReturnValue>
3113
+ /**
3114
+ * Changes validator active status and waits for the transaction receipt.
3115
+ *
3116
+ * @example
3117
+ * ```ts
3118
+ * import { createClient, http } from 'viem'
3119
+ * import { privateKeyToAccount } from 'viem/accounts'
3120
+ * import { tempo } from 'viem/chains'
3121
+ * import { tempoActions } from 'viem/tempo'
3122
+ *
3123
+ * const client = createClient({
3124
+ * account: privateKeyToAccount('0x...'),
3125
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3126
+ * transport: http(),
3127
+ * }).extend(tempoActions())
3128
+ *
3129
+ * const { receipt } = await client.validator.changeStatusSync({
3130
+ * validator: '0x...',
3131
+ * active: false,
3132
+ * })
3133
+ * ```
3134
+ *
3135
+ * @param parameters - Parameters.
3136
+ * @returns The transaction receipt.
3137
+ */
3138
+ changeStatusSync: (
3139
+ parameters: validatorActions.changeStatusSync.Parameters<chain, account>,
3140
+ ) => Promise<validatorActions.changeStatusSync.ReturnValue>
3141
+ /**
3142
+ * Gets validator information by address.
3143
+ *
3144
+ * @example
3145
+ * ```ts
3146
+ * import { createClient, http } from 'viem'
3147
+ * import { tempo } from 'viem/chains'
3148
+ * import { tempoActions } from 'viem/tempo'
3149
+ *
3150
+ * const client = createClient({
3151
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3152
+ * transport: http(),
3153
+ * }).extend(tempoActions())
3154
+ *
3155
+ * const validator = await client.validator.get({
3156
+ * validator: '0x...',
3157
+ * })
3158
+ * ```
3159
+ *
3160
+ * @param parameters - Parameters.
3161
+ * @returns The validator information.
3162
+ */
3163
+ get: (
3164
+ parameters: validatorActions.get.Parameters,
3165
+ ) => Promise<validatorActions.get.ReturnValue>
3166
+ /**
3167
+ * Gets validator address by index.
3168
+ *
3169
+ * @example
3170
+ * ```ts
3171
+ * import { createClient, http } from 'viem'
3172
+ * import { tempo } from 'viem/chains'
3173
+ * import { tempoActions } from 'viem/tempo'
3174
+ *
3175
+ * const client = createClient({
3176
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3177
+ * transport: http(),
3178
+ * }).extend(tempoActions())
3179
+ *
3180
+ * const validatorAddress = await client.validator.getByIndex({
3181
+ * index: 0n,
3182
+ * })
3183
+ * ```
3184
+ *
3185
+ * @param parameters - Parameters.
3186
+ * @returns The validator address at the given index.
3187
+ */
3188
+ getByIndex: (
3189
+ parameters: validatorActions.getByIndex.Parameters,
3190
+ ) => Promise<validatorActions.getByIndex.ReturnValue>
3191
+ /**
3192
+ * Gets the total number of validators.
3193
+ *
3194
+ * @example
3195
+ * ```ts
3196
+ * import { createClient, http } from 'viem'
3197
+ * import { tempo } from 'viem/chains'
3198
+ * import { tempoActions } from 'viem/tempo'
3199
+ *
3200
+ * const client = createClient({
3201
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3202
+ * transport: http(),
3203
+ * }).extend(tempoActions())
3204
+ *
3205
+ * const count = await client.validator.getCount()
3206
+ * ```
3207
+ *
3208
+ * @param parameters - Parameters.
3209
+ * @returns The total number of validators.
3210
+ */
3211
+ getCount: (
3212
+ parameters?: validatorActions.getCount.Parameters,
3213
+ ) => Promise<validatorActions.getCount.ReturnValue>
3214
+ /**
3215
+ * Gets the next epoch for a full DKG ceremony.
3216
+ *
3217
+ * @example
3218
+ * ```ts
3219
+ * import { createClient, http } from 'viem'
3220
+ * import { tempo } from 'viem/chains'
3221
+ * import { tempoActions } from 'viem/tempo'
3222
+ *
3223
+ * const client = createClient({
3224
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3225
+ * transport: http(),
3226
+ * }).extend(tempoActions())
3227
+ *
3228
+ * const epoch = await client.validator.getNextFullDkgCeremony()
3229
+ * ```
3230
+ *
3231
+ * @param parameters - Parameters.
3232
+ * @returns The epoch number for the next full DKG ceremony.
3233
+ */
3234
+ getNextFullDkgCeremony: (
3235
+ parameters?: validatorActions.getNextFullDkgCeremony.Parameters,
3236
+ ) => Promise<validatorActions.getNextFullDkgCeremony.ReturnValue>
3237
+ /**
3238
+ * Gets the contract owner.
3239
+ *
3240
+ * @example
3241
+ * ```ts
3242
+ * import { createClient, http } from 'viem'
3243
+ * import { tempo } from 'viem/chains'
3244
+ * import { tempoActions } from 'viem/tempo'
3245
+ *
3246
+ * const client = createClient({
3247
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3248
+ * transport: http(),
3249
+ * }).extend(tempoActions())
3250
+ *
3251
+ * const owner = await client.validator.getOwner()
3252
+ * ```
3253
+ *
3254
+ * @param parameters - Parameters.
3255
+ * @returns The owner address.
3256
+ */
3257
+ getOwner: (
3258
+ parameters?: validatorActions.getOwner.Parameters,
3259
+ ) => Promise<validatorActions.getOwner.ReturnValue>
3260
+ /**
3261
+ * Gets the complete set of validators.
3262
+ *
3263
+ * @example
3264
+ * ```ts
3265
+ * import { createClient, http } from 'viem'
3266
+ * import { tempo } from 'viem/chains'
3267
+ * import { tempoActions } from 'viem/tempo'
3268
+ *
3269
+ * const client = createClient({
3270
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3271
+ * transport: http(),
3272
+ * }).extend(tempoActions())
3273
+ *
3274
+ * const validators = await client.validator.list()
3275
+ * ```
3276
+ *
3277
+ * @param parameters - Parameters.
3278
+ * @returns Array of all validators with their information.
3279
+ */
3280
+ list: (
3281
+ parameters?: validatorActions.list.Parameters,
3282
+ ) => Promise<validatorActions.list.ReturnValue>
3283
+ /**
3284
+ * Sets the next epoch for a full DKG ceremony.
3285
+ *
3286
+ * @example
3287
+ * ```ts
3288
+ * import { createClient, http } from 'viem'
3289
+ * import { privateKeyToAccount } from 'viem/accounts'
3290
+ * import { tempo } from 'viem/chains'
3291
+ * import { tempoActions } from 'viem/tempo'
3292
+ *
3293
+ * const client = createClient({
3294
+ * account: privateKeyToAccount('0x...'),
3295
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3296
+ * transport: http(),
3297
+ * }).extend(tempoActions())
3298
+ *
3299
+ * const hash = await client.validator.setNextFullDkgCeremony({
3300
+ * epoch: 100n,
3301
+ * })
3302
+ * ```
3303
+ *
3304
+ * @param parameters - Parameters.
3305
+ * @returns The transaction hash.
3306
+ */
3307
+ setNextFullDkgCeremony: (
3308
+ parameters: validatorActions.setNextFullDkgCeremony.Parameters<
3309
+ chain,
3310
+ account
3311
+ >,
3312
+ ) => Promise<validatorActions.setNextFullDkgCeremony.ReturnValue>
3313
+ /**
3314
+ * Sets the next epoch for a full DKG ceremony and waits for the transaction receipt.
3315
+ *
3316
+ * @example
3317
+ * ```ts
3318
+ * import { createClient, http } from 'viem'
3319
+ * import { privateKeyToAccount } from 'viem/accounts'
3320
+ * import { tempo } from 'viem/chains'
3321
+ * import { tempoActions } from 'viem/tempo'
3322
+ *
3323
+ * const client = createClient({
3324
+ * account: privateKeyToAccount('0x...'),
3325
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3326
+ * transport: http(),
3327
+ * }).extend(tempoActions())
3328
+ *
3329
+ * const { receipt } = await client.validator.setNextFullDkgCeremonySync({
3330
+ * epoch: 100n,
3331
+ * })
3332
+ * ```
3333
+ *
3334
+ * @param parameters - Parameters.
3335
+ * @returns The transaction receipt.
3336
+ */
3337
+ setNextFullDkgCeremonySync: (
3338
+ parameters: validatorActions.setNextFullDkgCeremonySync.Parameters<
3339
+ chain,
3340
+ account
3341
+ >,
3342
+ ) => Promise<validatorActions.setNextFullDkgCeremonySync.ReturnValue>
3343
+ /**
3344
+ * Updates validator information (only callable by the validator themselves).
3345
+ *
3346
+ * @example
3347
+ * ```ts
3348
+ * import { createClient, http } from 'viem'
3349
+ * import { privateKeyToAccount } from 'viem/accounts'
3350
+ * import { tempo } from 'viem/chains'
3351
+ * import { tempoActions } from 'viem/tempo'
3352
+ *
3353
+ * const client = createClient({
3354
+ * account: privateKeyToAccount('0x...'),
3355
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3356
+ * transport: http(),
3357
+ * }).extend(tempoActions())
3358
+ *
3359
+ * const hash = await client.validator.update({
3360
+ * newValidatorAddress: '0x...',
3361
+ * publicKey: '0x...',
3362
+ * inboundAddress: '192.168.1.1:8080',
3363
+ * outboundAddress: '192.168.1.1:8080',
3364
+ * })
3365
+ * ```
3366
+ *
3367
+ * @param parameters - Parameters.
3368
+ * @returns The transaction hash.
3369
+ */
3370
+ update: (
3371
+ parameters: validatorActions.update.Parameters<chain, account>,
3372
+ ) => Promise<validatorActions.update.ReturnValue>
3373
+ /**
3374
+ * Updates validator information and waits for the transaction receipt.
3375
+ *
3376
+ * @example
3377
+ * ```ts
3378
+ * import { createClient, http } from 'viem'
3379
+ * import { privateKeyToAccount } from 'viem/accounts'
3380
+ * import { tempo } from 'viem/chains'
3381
+ * import { tempoActions } from 'viem/tempo'
3382
+ *
3383
+ * const client = createClient({
3384
+ * account: privateKeyToAccount('0x...'),
3385
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
3386
+ * transport: http(),
3387
+ * }).extend(tempoActions())
3388
+ *
3389
+ * const { receipt } = await client.validator.updateSync({
3390
+ * newValidatorAddress: '0x...',
3391
+ * publicKey: '0x...',
3392
+ * inboundAddress: '192.168.1.1:8080',
3393
+ * outboundAddress: '192.168.1.1:8080',
3394
+ * })
3395
+ * ```
3396
+ *
3397
+ * @param parameters - Parameters.
3398
+ * @returns The transaction receipt.
3399
+ */
3400
+ updateSync: (
3401
+ parameters: validatorActions.updateSync.Parameters<chain, account>,
3402
+ ) => Promise<validatorActions.updateSync.ReturnValue>
3403
+ }
2967
3404
  }
2968
3405
 
2969
3406
  export function decorator() {
@@ -3154,6 +3591,33 @@ export function decorator() {
3154
3591
  watchTransfer: (parameters) =>
3155
3592
  tokenActions.watchTransfer(client, parameters),
3156
3593
  },
3594
+ validator: {
3595
+ add: (parameters) => validatorActions.add(client, parameters),
3596
+ addSync: (parameters) => validatorActions.addSync(client, parameters),
3597
+ changeOwner: (parameters) =>
3598
+ validatorActions.changeOwner(client, parameters),
3599
+ changeOwnerSync: (parameters) =>
3600
+ validatorActions.changeOwnerSync(client, parameters),
3601
+ changeStatus: (parameters) =>
3602
+ validatorActions.changeStatus(client, parameters),
3603
+ changeStatusSync: (parameters) =>
3604
+ validatorActions.changeStatusSync(client, parameters),
3605
+ get: (parameters) => validatorActions.get(client, parameters),
3606
+ getByIndex: (parameters) =>
3607
+ validatorActions.getByIndex(client, parameters),
3608
+ getCount: (parameters) => validatorActions.getCount(client, parameters),
3609
+ getNextFullDkgCeremony: (parameters) =>
3610
+ validatorActions.getNextFullDkgCeremony(client, parameters),
3611
+ getOwner: (parameters) => validatorActions.getOwner(client, parameters),
3612
+ list: (parameters) => validatorActions.list(client, parameters),
3613
+ setNextFullDkgCeremony: (parameters) =>
3614
+ validatorActions.setNextFullDkgCeremony(client, parameters),
3615
+ setNextFullDkgCeremonySync: (parameters) =>
3616
+ validatorActions.setNextFullDkgCeremonySync(client, parameters),
3617
+ update: (parameters) => validatorActions.update(client, parameters),
3618
+ updateSync: (parameters) =>
3619
+ validatorActions.updateSync(client, parameters),
3620
+ },
3157
3621
  }
3158
3622
  }
3159
3623
  }