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
@@ -19,8 +19,8 @@ import { defineCall } from '../internal/utils.js';
19
19
  * @example
20
20
  * ```ts
21
21
  * import { createClient, http } from 'viem'
22
- * import { tempo } from 'tempo.ts/chains'
23
- * import { Actions } from 'tempo.ts/viem'
22
+ * import { tempo } from 'viem/chains'
23
+ * import { Actions } from 'viem/tempo'
24
24
  * import { privateKeyToAccount } from 'viem/accounts'
25
25
  *
26
26
  * const client = createClient({
@@ -64,8 +64,8 @@ export async function approve(client, parameters) {
64
64
  * @example
65
65
  * ```ts
66
66
  * import { createClient, http, walletActions } from 'viem'
67
- * import { tempo } from 'tempo.ts/chains'
68
- * import { Actions } from 'tempo.ts/viem'
67
+ * import { tempo } from 'viem/chains'
68
+ * import { Actions } from 'viem/tempo'
69
69
  *
70
70
  * const client = createClient({
71
71
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -114,8 +114,8 @@ export async function approve(client, parameters) {
114
114
  * @example
115
115
  * ```ts
116
116
  * import { createClient, http } from 'viem'
117
- * import { tempo } from 'tempo.ts/chains'
118
- * import { Actions } from 'tempo.ts/viem'
117
+ * import { tempo } from 'viem/chains'
118
+ * import { Actions } from 'viem/tempo'
119
119
  * import { privateKeyToAccount } from 'viem/accounts'
120
120
  *
121
121
  * const client = createClient({
@@ -149,8 +149,8 @@ export async function approveSync(client, parameters) {
149
149
  * @example
150
150
  * ```ts
151
151
  * import { createClient, http } from 'viem'
152
- * import { tempo } from 'tempo.ts/chains'
153
- * import { Actions } from 'tempo.ts/viem'
152
+ * import { tempo } from 'viem/chains'
153
+ * import { Actions } from 'viem/tempo'
154
154
  * import { privateKeyToAccount } from 'viem/accounts'
155
155
  *
156
156
  * const client = createClient({
@@ -195,8 +195,8 @@ export async function burnBlocked(client, parameters) {
195
195
  * @example
196
196
  * ```ts
197
197
  * import { createClient, http, walletActions } from 'viem'
198
- * import { tempo } from 'tempo.ts/chains'
199
- * import { Actions } from 'tempo.ts/viem'
198
+ * import { tempo } from 'viem/chains'
199
+ * import { Actions } from 'viem/tempo'
200
200
  *
201
201
  * const client = createClient({
202
202
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -251,8 +251,8 @@ export async function burnBlocked(client, parameters) {
251
251
  * @example
252
252
  * ```ts
253
253
  * import { createClient, http } from 'viem'
254
- * import { tempo } from 'tempo.ts/chains'
255
- * import { Actions } from 'tempo.ts/viem'
254
+ * import { tempo } from 'viem/chains'
255
+ * import { Actions } from 'viem/tempo'
256
256
  * import { privateKeyToAccount } from 'viem/accounts'
257
257
  *
258
258
  * const client = createClient({
@@ -290,8 +290,8 @@ export async function burnBlockedSync(client, parameters) {
290
290
  * @example
291
291
  * ```ts
292
292
  * import { createClient, http } from 'viem'
293
- * import { tempo } from 'tempo.ts/chains'
294
- * import { Actions } from 'tempo.ts/viem'
293
+ * import { tempo } from 'viem/chains'
294
+ * import { Actions } from 'viem/tempo'
295
295
  * import { privateKeyToAccount } from 'viem/accounts'
296
296
  *
297
297
  * const client = createClient({
@@ -335,8 +335,8 @@ export async function burn(client, parameters) {
335
335
  * @example
336
336
  * ```ts
337
337
  * import { createClient, http, walletActions } from 'viem'
338
- * import { tempo } from 'tempo.ts/chains'
339
- * import { Actions } from 'tempo.ts/viem'
338
+ * import { tempo } from 'viem/chains'
339
+ * import { Actions } from 'viem/tempo'
340
340
  *
341
341
  * const client = createClient({
342
342
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -398,8 +398,8 @@ export async function burn(client, parameters) {
398
398
  * @example
399
399
  * ```ts
400
400
  * import { createClient, http } from 'viem'
401
- * import { tempo } from 'tempo.ts/chains'
402
- * import { Actions } from 'tempo.ts/viem'
401
+ * import { tempo } from 'viem/chains'
402
+ * import { Actions } from 'viem/tempo'
403
403
  * import { privateKeyToAccount } from 'viem/accounts'
404
404
  *
405
405
  * const client = createClient({
@@ -436,8 +436,8 @@ export async function burnSync(client, parameters) {
436
436
  * @example
437
437
  * ```ts
438
438
  * import { createClient, http } from 'viem'
439
- * import { tempo } from 'tempo.ts/chains'
440
- * import { Actions } from 'tempo.ts/viem'
439
+ * import { tempo } from 'viem/chains'
440
+ * import { Actions } from 'viem/tempo'
441
441
  * import { privateKeyToAccount } from 'viem/accounts'
442
442
  *
443
443
  * const client = createClient({
@@ -481,8 +481,8 @@ export async function changeTransferPolicy(client, parameters) {
481
481
  * @example
482
482
  * ```ts
483
483
  * import { createClient, http, walletActions } from 'viem'
484
- * import { tempo } from 'tempo.ts/chains'
485
- * import { Actions } from 'tempo.ts/viem'
484
+ * import { tempo } from 'viem/chains'
485
+ * import { Actions } from 'viem/tempo'
486
486
  *
487
487
  * const client = createClient({
488
488
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -536,8 +536,8 @@ export async function changeTransferPolicy(client, parameters) {
536
536
  * @example
537
537
  * ```ts
538
538
  * import { createClient, http } from 'viem'
539
- * import { tempo } from 'tempo.ts/chains'
540
- * import { Actions } from 'tempo.ts/viem'
539
+ * import { tempo } from 'viem/chains'
540
+ * import { Actions } from 'viem/tempo'
541
541
  * import { privateKeyToAccount } from 'viem/accounts'
542
542
  *
543
543
  * const client = createClient({
@@ -574,8 +574,8 @@ export async function changeTransferPolicySync(client, parameters) {
574
574
  * @example
575
575
  * ```ts
576
576
  * import { createClient, http } from 'viem'
577
- * import { tempo } from 'tempo.ts/chains'
578
- * import { Actions } from 'tempo.ts/viem'
577
+ * import { tempo } from 'viem/chains'
578
+ * import { Actions } from 'viem/tempo'
579
579
  * import { privateKeyToAccount } from 'viem/accounts'
580
580
  *
581
581
  * const client = createClient({
@@ -625,8 +625,8 @@ export async function create(client, parameters) {
625
625
  * @example
626
626
  * ```ts
627
627
  * import { createClient, http, walletActions } from 'viem'
628
- * import { tempo } from 'tempo.ts/chains'
629
- * import { Actions } from 'tempo.ts/viem'
628
+ * import { tempo } from 'viem/chains'
629
+ * import { Actions } from 'viem/tempo'
630
630
  *
631
631
  * const client = createClient({
632
632
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -690,8 +690,8 @@ export async function create(client, parameters) {
690
690
  * @example
691
691
  * ```ts
692
692
  * import { createClient, http } from 'viem'
693
- * import { tempo } from 'tempo.ts/chains'
694
- * import { Actions } from 'tempo.ts/viem'
693
+ * import { tempo } from 'viem/chains'
694
+ * import { Actions } from 'viem/tempo'
695
695
  * import { privateKeyToAccount } from 'viem/accounts'
696
696
  *
697
697
  * const client = createClient({
@@ -731,8 +731,8 @@ export async function createSync(client, parameters) {
731
731
  * @example
732
732
  * ```ts
733
733
  * import { createClient, http } from 'viem'
734
- * import { tempo } from 'tempo.ts/chains'
735
- * import { Actions } from 'tempo.ts/viem'
734
+ * import { tempo } from 'viem/chains'
735
+ * import { Actions } from 'viem/tempo'
736
736
  * import { privateKeyToAccount } from 'viem/accounts'
737
737
  *
738
738
  * const client = createClient({
@@ -784,8 +784,8 @@ export async function getAllowance(client, parameters) {
784
784
  * @example
785
785
  * ```ts
786
786
  * import { createClient, http } from 'viem'
787
- * import { tempo } from 'tempo.ts/chains'
788
- * import { Actions } from 'tempo.ts/viem'
787
+ * import { tempo } from 'viem/chains'
788
+ * import { Actions } from 'viem/tempo'
789
789
  * import { privateKeyToAccount } from 'viem/accounts'
790
790
  *
791
791
  * const client = createClient({
@@ -837,8 +837,8 @@ export async function getBalance(client, parameters) {
837
837
  * @example
838
838
  * ```ts
839
839
  * import { createClient, http } from 'viem'
840
- * import { tempo } from 'tempo.ts/chains'
841
- * import { Actions } from 'tempo.ts/viem'
840
+ * import { tempo } from 'viem/chains'
841
+ * import { Actions } from 'viem/tempo'
842
842
  * import { privateKeyToAccount } from 'viem/accounts'
843
843
  *
844
844
  * const client = createClient({
@@ -968,8 +968,8 @@ export async function getMetadata(client, parameters) {
968
968
  * @example
969
969
  * ```ts
970
970
  * import { createClient, http } from 'viem'
971
- * import { tempo } from 'tempo.ts/chains'
972
- * import { Actions } from 'tempo.ts/viem'
971
+ * import { tempo } from 'viem/chains'
972
+ * import { Actions } from 'viem/tempo'
973
973
  *
974
974
  * const client = createClient({
975
975
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1016,8 +1016,8 @@ export async function getRoleAdmin(client, parameters) {
1016
1016
  * @example
1017
1017
  * ```ts
1018
1018
  * import { createClient, http } from 'viem'
1019
- * import { tempo } from 'tempo.ts/chains'
1020
- * import { Actions } from 'tempo.ts/viem'
1019
+ * import { tempo } from 'viem/chains'
1020
+ * import { Actions } from 'viem/tempo'
1021
1021
  *
1022
1022
  * const client = createClient({
1023
1023
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1069,8 +1069,8 @@ export async function hasRole(client, parameters) {
1069
1069
  * @example
1070
1070
  * ```ts
1071
1071
  * import { createClient, http } from 'viem'
1072
- * import { tempo } from 'tempo.ts/chains'
1073
- * import { Actions } from 'tempo.ts/viem'
1072
+ * import { tempo } from 'viem/chains'
1073
+ * import { Actions } from 'viem/tempo'
1074
1074
  * import { privateKeyToAccount } from 'viem/accounts'
1075
1075
  *
1076
1076
  * const client = createClient({
@@ -1119,8 +1119,8 @@ export async function grantRoles(client, parameters) {
1119
1119
  * @example
1120
1120
  * ```ts
1121
1121
  * import { createClient, http, walletActions } from 'viem'
1122
- * import { tempo } from 'tempo.ts/chains'
1123
- * import { Actions } from 'tempo.ts/viem'
1122
+ * import { tempo } from 'viem/chains'
1123
+ * import { Actions } from 'viem/tempo'
1124
1124
  *
1125
1125
  * const client = createClient({
1126
1126
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1176,8 +1176,8 @@ export async function grantRoles(client, parameters) {
1176
1176
  * @example
1177
1177
  * ```ts
1178
1178
  * import { createClient, http } from 'viem'
1179
- * import { tempo } from 'tempo.ts/chains'
1180
- * import { Actions } from 'tempo.ts/viem'
1179
+ * import { tempo } from 'viem/chains'
1180
+ * import { Actions } from 'viem/tempo'
1181
1181
  * import { privateKeyToAccount } from 'viem/accounts'
1182
1182
  *
1183
1183
  * const client = createClient({
@@ -1216,8 +1216,8 @@ export async function grantRolesSync(client, parameters) {
1216
1216
  * @example
1217
1217
  * ```ts
1218
1218
  * import { createClient, http } from 'viem'
1219
- * import { tempo } from 'tempo.ts/chains'
1220
- * import { Actions } from 'tempo.ts/viem'
1219
+ * import { tempo } from 'viem/chains'
1220
+ * import { Actions } from 'viem/tempo'
1221
1221
  * import { privateKeyToAccount } from 'viem/accounts'
1222
1222
  *
1223
1223
  * const client = createClient({
@@ -1261,8 +1261,8 @@ export async function mint(client, parameters) {
1261
1261
  * @example
1262
1262
  * ```ts
1263
1263
  * import { createClient, http, walletActions } from 'viem'
1264
- * import { tempo } from 'tempo.ts/chains'
1265
- * import { Actions } from 'tempo.ts/viem'
1264
+ * import { tempo } from 'viem/chains'
1265
+ * import { Actions } from 'viem/tempo'
1266
1266
  *
1267
1267
  * const client = createClient({
1268
1268
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1325,8 +1325,8 @@ export async function mint(client, parameters) {
1325
1325
  * @example
1326
1326
  * ```ts
1327
1327
  * import { createClient, http } from 'viem'
1328
- * import { tempo } from 'tempo.ts/chains'
1329
- * import { Actions } from 'tempo.ts/viem'
1328
+ * import { tempo } from 'viem/chains'
1329
+ * import { Actions } from 'viem/tempo'
1330
1330
  * import { privateKeyToAccount } from 'viem/accounts'
1331
1331
  *
1332
1332
  * const client = createClient({
@@ -1364,8 +1364,8 @@ export async function mintSync(client, parameters) {
1364
1364
  * @example
1365
1365
  * ```ts
1366
1366
  * import { createClient, http } from 'viem'
1367
- * import { tempo } from 'tempo.ts/chains'
1368
- * import { Actions } from 'tempo.ts/viem'
1367
+ * import { tempo } from 'viem/chains'
1368
+ * import { Actions } from 'viem/tempo'
1369
1369
  * import { privateKeyToAccount } from 'viem/accounts'
1370
1370
  *
1371
1371
  * const client = createClient({
@@ -1408,8 +1408,8 @@ export async function pause(client, parameters) {
1408
1408
  * @example
1409
1409
  * ```ts
1410
1410
  * import { createClient, http, walletActions } from 'viem'
1411
- * import { tempo } from 'tempo.ts/chains'
1412
- * import { Actions } from 'tempo.ts/viem'
1411
+ * import { tempo } from 'viem/chains'
1412
+ * import { Actions } from 'viem/tempo'
1413
1413
  *
1414
1414
  * const client = createClient({
1415
1415
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1462,8 +1462,8 @@ export async function pause(client, parameters) {
1462
1462
  * @example
1463
1463
  * ```ts
1464
1464
  * import { createClient, http } from 'viem'
1465
- * import { tempo } from 'tempo.ts/chains'
1466
- * import { Actions } from 'tempo.ts/viem'
1465
+ * import { tempo } from 'viem/chains'
1466
+ * import { Actions } from 'viem/tempo'
1467
1467
  * import { privateKeyToAccount } from 'viem/accounts'
1468
1468
  *
1469
1469
  * const client = createClient({
@@ -1499,8 +1499,8 @@ export async function pauseSync(client, parameters) {
1499
1499
  * @example
1500
1500
  * ```ts
1501
1501
  * import { createClient, http } from 'viem'
1502
- * import { tempo } from 'tempo.ts/chains'
1503
- * import { Actions } from 'tempo.ts/viem'
1502
+ * import { tempo } from 'viem/chains'
1503
+ * import { Actions } from 'viem/tempo'
1504
1504
  * import { privateKeyToAccount } from 'viem/accounts'
1505
1505
  *
1506
1506
  * const client = createClient({
@@ -1548,8 +1548,8 @@ export async function renounceRoles(client, parameters) {
1548
1548
  * @example
1549
1549
  * ```ts
1550
1550
  * import { createClient, http, walletActions } from 'viem'
1551
- * import { tempo } from 'tempo.ts/chains'
1552
- * import { Actions } from 'tempo.ts/viem'
1551
+ * import { tempo } from 'viem/chains'
1552
+ * import { Actions } from 'viem/tempo'
1553
1553
  *
1554
1554
  * const client = createClient({
1555
1555
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1604,8 +1604,8 @@ export async function renounceRoles(client, parameters) {
1604
1604
  * @example
1605
1605
  * ```ts
1606
1606
  * import { createClient, http } from 'viem'
1607
- * import { tempo } from 'tempo.ts/chains'
1608
- * import { Actions } from 'tempo.ts/viem'
1607
+ * import { tempo } from 'viem/chains'
1608
+ * import { Actions } from 'viem/tempo'
1609
1609
  * import { privateKeyToAccount } from 'viem/accounts'
1610
1610
  *
1611
1611
  * const client = createClient({
@@ -1643,8 +1643,8 @@ export async function renounceRolesSync(client, parameters) {
1643
1643
  * @example
1644
1644
  * ```ts
1645
1645
  * import { createClient, http } from 'viem'
1646
- * import { tempo } from 'tempo.ts/chains'
1647
- * import { Actions } from 'tempo.ts/viem'
1646
+ * import { tempo } from 'viem/chains'
1647
+ * import { Actions } from 'viem/tempo'
1648
1648
  * import { privateKeyToAccount } from 'viem/accounts'
1649
1649
  *
1650
1650
  * const client = createClient({
@@ -1693,8 +1693,8 @@ export async function revokeRoles(client, parameters) {
1693
1693
  * @example
1694
1694
  * ```ts
1695
1695
  * import { createClient, http, walletActions } from 'viem'
1696
- * import { tempo } from 'tempo.ts/chains'
1697
- * import { Actions } from 'tempo.ts/viem'
1696
+ * import { tempo } from 'viem/chains'
1697
+ * import { Actions } from 'viem/tempo'
1698
1698
  *
1699
1699
  * const client = createClient({
1700
1700
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1750,8 +1750,8 @@ export async function revokeRoles(client, parameters) {
1750
1750
  * @example
1751
1751
  * ```ts
1752
1752
  * import { createClient, http } from 'viem'
1753
- * import { tempo } from 'tempo.ts/chains'
1754
- * import { Actions } from 'tempo.ts/viem'
1753
+ * import { tempo } from 'viem/chains'
1754
+ * import { Actions } from 'viem/tempo'
1755
1755
  * import { privateKeyToAccount } from 'viem/accounts'
1756
1756
  *
1757
1757
  * const client = createClient({
@@ -1790,8 +1790,8 @@ export async function revokeRolesSync(client, parameters) {
1790
1790
  * @example
1791
1791
  * ```ts
1792
1792
  * import { createClient, http } from 'viem'
1793
- * import { tempo } from 'tempo.ts/chains'
1794
- * import { Actions } from 'tempo.ts/viem'
1793
+ * import { tempo } from 'viem/chains'
1794
+ * import { Actions } from 'viem/tempo'
1795
1795
  * import { privateKeyToAccount } from 'viem/accounts'
1796
1796
  *
1797
1797
  * const client = createClient({
@@ -1835,8 +1835,8 @@ export async function setSupplyCap(client, parameters) {
1835
1835
  * @example
1836
1836
  * ```ts
1837
1837
  * import { createClient, http, walletActions } from 'viem'
1838
- * import { tempo } from 'tempo.ts/chains'
1839
- * import { Actions } from 'tempo.ts/viem'
1838
+ * import { tempo } from 'viem/chains'
1839
+ * import { Actions } from 'viem/tempo'
1840
1840
  *
1841
1841
  * const client = createClient({
1842
1842
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -1890,8 +1890,8 @@ export async function setSupplyCap(client, parameters) {
1890
1890
  * @example
1891
1891
  * ```ts
1892
1892
  * import { createClient, http } from 'viem'
1893
- * import { tempo } from 'tempo.ts/chains'
1894
- * import { Actions } from 'tempo.ts/viem'
1893
+ * import { tempo } from 'viem/chains'
1894
+ * import { Actions } from 'viem/tempo'
1895
1895
  * import { privateKeyToAccount } from 'viem/accounts'
1896
1896
  *
1897
1897
  * const client = createClient({
@@ -1928,8 +1928,8 @@ export async function setSupplyCapSync(client, parameters) {
1928
1928
  * @example
1929
1929
  * ```ts
1930
1930
  * import { createClient, http } from 'viem'
1931
- * import { tempo } from 'tempo.ts/chains'
1932
- * import { Actions } from 'tempo.ts/viem'
1931
+ * import { tempo } from 'viem/chains'
1932
+ * import { Actions } from 'viem/tempo'
1933
1933
  * import { privateKeyToAccount } from 'viem/accounts'
1934
1934
  *
1935
1935
  * const client = createClient({
@@ -1974,8 +1974,8 @@ export async function setRoleAdmin(client, parameters) {
1974
1974
  * @example
1975
1975
  * ```ts
1976
1976
  * import { createClient, http, walletActions } from 'viem'
1977
- * import { tempo } from 'tempo.ts/chains'
1978
- * import { Actions } from 'tempo.ts/viem'
1977
+ * import { tempo } from 'viem/chains'
1978
+ * import { Actions } from 'viem/tempo'
1979
1979
  *
1980
1980
  * const client = createClient({
1981
1981
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2032,8 +2032,8 @@ export async function setRoleAdmin(client, parameters) {
2032
2032
  * @example
2033
2033
  * ```ts
2034
2034
  * import { createClient, http } from 'viem'
2035
- * import { tempo } from 'tempo.ts/chains'
2036
- * import { Actions } from 'tempo.ts/viem'
2035
+ * import { tempo } from 'viem/chains'
2036
+ * import { Actions } from 'viem/tempo'
2037
2037
  * import { privateKeyToAccount } from 'viem/accounts'
2038
2038
  *
2039
2039
  * const client = createClient({
@@ -2071,8 +2071,8 @@ export async function setRoleAdminSync(client, parameters) {
2071
2071
  * @example
2072
2072
  * ```ts
2073
2073
  * import { createClient, http } from 'viem'
2074
- * import { tempo } from 'tempo.ts/chains'
2075
- * import { Actions } from 'tempo.ts/viem'
2074
+ * import { tempo } from 'viem/chains'
2075
+ * import { Actions } from 'viem/tempo'
2076
2076
  * import { privateKeyToAccount } from 'viem/accounts'
2077
2077
  *
2078
2078
  * const client = createClient({
@@ -2116,8 +2116,8 @@ export async function transfer(client, parameters) {
2116
2116
  * @example
2117
2117
  * ```ts
2118
2118
  * import { createClient, http, walletActions } from 'viem'
2119
- * import { tempo } from 'tempo.ts/chains'
2120
- * import { Actions } from 'tempo.ts/viem'
2119
+ * import { tempo } from 'viem/chains'
2120
+ * import { Actions } from 'viem/tempo'
2121
2121
  *
2122
2122
  * const client = createClient({
2123
2123
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2192,8 +2192,8 @@ export async function transfer(client, parameters) {
2192
2192
  * @example
2193
2193
  * ```ts
2194
2194
  * import { createClient, http } from 'viem'
2195
- * import { tempo } from 'tempo.ts/chains'
2196
- * import { Actions } from 'tempo.ts/viem'
2195
+ * import { tempo } from 'viem/chains'
2196
+ * import { Actions } from 'viem/tempo'
2197
2197
  * import { privateKeyToAccount } from 'viem/accounts'
2198
2198
  *
2199
2199
  * const client = createClient({
@@ -2230,8 +2230,8 @@ export async function transferSync(client, parameters) {
2230
2230
  * @example
2231
2231
  * ```ts
2232
2232
  * import { createClient, http } from 'viem'
2233
- * import { tempo } from 'tempo.ts/chains'
2234
- * import { Actions } from 'tempo.ts/viem'
2233
+ * import { tempo } from 'viem/chains'
2234
+ * import { Actions } from 'viem/tempo'
2235
2235
  * import { privateKeyToAccount } from 'viem/accounts'
2236
2236
  *
2237
2237
  * const client = createClient({
@@ -2274,8 +2274,8 @@ export async function unpause(client, parameters) {
2274
2274
  * @example
2275
2275
  * ```ts
2276
2276
  * import { createClient, http, walletActions } from 'viem'
2277
- * import { tempo } from 'tempo.ts/chains'
2278
- * import { Actions } from 'tempo.ts/viem'
2277
+ * import { tempo } from 'viem/chains'
2278
+ * import { Actions } from 'viem/tempo'
2279
2279
  *
2280
2280
  * const client = createClient({
2281
2281
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2328,8 +2328,8 @@ export async function unpause(client, parameters) {
2328
2328
  * @example
2329
2329
  * ```ts
2330
2330
  * import { createClient, http } from 'viem'
2331
- * import { tempo } from 'tempo.ts/chains'
2332
- * import { Actions } from 'tempo.ts/viem'
2331
+ * import { tempo } from 'viem/chains'
2332
+ * import { Actions } from 'viem/tempo'
2333
2333
  * import { privateKeyToAccount } from 'viem/accounts'
2334
2334
  *
2335
2335
  * const client = createClient({
@@ -2365,8 +2365,8 @@ export async function unpauseSync(client, parameters) {
2365
2365
  * @example
2366
2366
  * ```ts
2367
2367
  * import { createClient, http } from 'viem'
2368
- * import { tempo } from 'tempo.ts/chains'
2369
- * import { Actions } from 'tempo.ts/viem'
2368
+ * import { tempo } from 'viem/chains'
2369
+ * import { Actions } from 'viem/tempo'
2370
2370
  * import { privateKeyToAccount } from 'viem/accounts'
2371
2371
  *
2372
2372
  * const client = createClient({
@@ -2410,8 +2410,8 @@ export async function prepareUpdateQuoteToken(client, parameters) {
2410
2410
  * @example
2411
2411
  * ```ts
2412
2412
  * import { createClient, http, walletActions } from 'viem'
2413
- * import { tempo } from 'tempo.ts/chains'
2414
- * import { Actions } from 'tempo.ts/viem'
2413
+ * import { tempo } from 'viem/chains'
2414
+ * import { Actions } from 'viem/tempo'
2415
2415
  *
2416
2416
  * const client = createClient({
2417
2417
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2465,8 +2465,8 @@ export async function prepareUpdateQuoteToken(client, parameters) {
2465
2465
  * @example
2466
2466
  * ```ts
2467
2467
  * import { createClient, http } from 'viem'
2468
- * import { tempo } from 'tempo.ts/chains'
2469
- * import { Actions } from 'tempo.ts/viem'
2468
+ * import { tempo } from 'viem/chains'
2469
+ * import { Actions } from 'viem/tempo'
2470
2470
  * import { privateKeyToAccount } from 'viem/accounts'
2471
2471
  *
2472
2472
  * const client = createClient({
@@ -2499,8 +2499,8 @@ export async function prepareUpdateQuoteTokenSync(client, parameters) {
2499
2499
  * @example
2500
2500
  * ```ts
2501
2501
  * import { createClient, http } from 'viem'
2502
- * import { tempo } from 'tempo.ts/chains'
2503
- * import { Actions } from 'tempo.ts/viem'
2502
+ * import { tempo } from 'viem/chains'
2503
+ * import { Actions } from 'viem/tempo'
2504
2504
  * import { privateKeyToAccount } from 'viem/accounts'
2505
2505
  *
2506
2506
  * const client = createClient({
@@ -2543,8 +2543,8 @@ export async function updateQuoteToken(client, parameters) {
2543
2543
  * @example
2544
2544
  * ```ts
2545
2545
  * import { createClient, http, walletActions } from 'viem'
2546
- * import { tempo } from 'tempo.ts/chains'
2547
- * import { Actions } from 'tempo.ts/viem'
2546
+ * import { tempo } from 'viem/chains'
2547
+ * import { Actions } from 'viem/tempo'
2548
2548
  *
2549
2549
  * const client = createClient({
2550
2550
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2597,8 +2597,8 @@ export async function updateQuoteToken(client, parameters) {
2597
2597
  * @example
2598
2598
  * ```ts
2599
2599
  * import { createClient, http } from 'viem'
2600
- * import { tempo } from 'tempo.ts/chains'
2601
- * import { Actions } from 'tempo.ts/viem'
2600
+ * import { tempo } from 'viem/chains'
2601
+ * import { Actions } from 'viem/tempo'
2602
2602
  * import { privateKeyToAccount } from 'viem/accounts'
2603
2603
  *
2604
2604
  * const client = createClient({
@@ -2630,8 +2630,8 @@ export async function updateQuoteTokenSync(client, parameters) {
2630
2630
  * @example
2631
2631
  * ```ts
2632
2632
  * import { createClient, http } from 'viem'
2633
- * import { tempo } from 'tempo.ts/chains'
2634
- * import { Actions } from 'tempo.ts/viem'
2633
+ * import { tempo } from 'viem/chains'
2634
+ * import { Actions } from 'viem/tempo'
2635
2635
  *
2636
2636
  * const client = createClient({
2637
2637
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2669,8 +2669,8 @@ export function watchApprove(client, parameters) {
2669
2669
  * @example
2670
2670
  * ```ts
2671
2671
  * import { createClient, http } from 'viem'
2672
- * import { tempo } from 'tempo.ts/chains'
2673
- * import { Actions } from 'tempo.ts/viem'
2672
+ * import { tempo } from 'viem/chains'
2673
+ * import { Actions } from 'viem/tempo'
2674
2674
  *
2675
2675
  * const client = createClient({
2676
2676
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2708,8 +2708,8 @@ export function watchBurn(client, parameters) {
2708
2708
  * @example
2709
2709
  * ```ts
2710
2710
  * import { createClient, http } from 'viem'
2711
- * import { tempo } from 'tempo.ts/chains'
2712
- * import { Actions } from 'tempo.ts/viem'
2711
+ * import { tempo } from 'viem/chains'
2712
+ * import { Actions } from 'viem/tempo'
2713
2713
  *
2714
2714
  * const client = createClient({
2715
2715
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2747,8 +2747,8 @@ export function watchCreate(client, parameters) {
2747
2747
  * @example
2748
2748
  * ```ts
2749
2749
  * import { createClient, http } from 'viem'
2750
- * import { tempo } from 'tempo.ts/chains'
2751
- * import { Actions } from 'tempo.ts/viem'
2750
+ * import { tempo } from 'viem/chains'
2751
+ * import { Actions } from 'viem/tempo'
2752
2752
  *
2753
2753
  * const client = createClient({
2754
2754
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2786,8 +2786,8 @@ export function watchMint(client, parameters) {
2786
2786
  * @example
2787
2787
  * ```ts
2788
2788
  * import { createClient, http } from 'viem'
2789
- * import { tempo } from 'tempo.ts/chains'
2790
- * import { Actions } from 'tempo.ts/viem'
2789
+ * import { tempo } from 'viem/chains'
2790
+ * import { Actions } from 'viem/tempo'
2791
2791
  *
2792
2792
  * const client = createClient({
2793
2793
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2825,8 +2825,8 @@ export function watchAdminRole(client, parameters) {
2825
2825
  * @example
2826
2826
  * ```ts
2827
2827
  * import { createClient, http } from 'viem'
2828
- * import { tempo } from 'tempo.ts/chains'
2829
- * import { Actions } from 'tempo.ts/viem'
2828
+ * import { tempo } from 'viem/chains'
2829
+ * import { Actions } from 'viem/tempo'
2830
2830
  *
2831
2831
  * const client = createClient({
2832
2832
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
@@ -2866,8 +2866,8 @@ export function watchRole(client, parameters) {
2866
2866
  * @example
2867
2867
  * ```ts
2868
2868
  * import { createClient, http } from 'viem'
2869
- * import { tempo } from 'tempo.ts/chains'
2870
- * import { Actions } from 'tempo.ts/viem'
2869
+ * import { tempo } from 'viem/chains'
2870
+ * import { Actions } from 'viem/tempo'
2871
2871
  *
2872
2872
  * const client = createClient({
2873
2873
  * account: privateKeyToAccount('0x...'),
@@ -2906,8 +2906,8 @@ export function watchTransfer(client, parameters) {
2906
2906
  * @example
2907
2907
  * ```ts
2908
2908
  * import { createClient, http } from 'viem'
2909
- * import { tempo } from 'tempo.ts/chains'
2910
- * import { Actions } from 'tempo.ts/viem'
2909
+ * import { tempo } from 'viem/chains'
2910
+ * import { Actions } from 'viem/tempo'
2911
2911
  *
2912
2912
  * const client = createClient({
2913
2913
  * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })