tempo.ts 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (85) hide show
  1. package/dist/chains.d.ts.map +1 -1
  2. package/dist/chains.js +3 -1
  3. package/dist/chains.js.map +1 -1
  4. package/dist/viem/Actions/amm.d.ts +64 -43
  5. package/dist/viem/Actions/amm.d.ts.map +1 -1
  6. package/dist/viem/Actions/amm.js +62 -47
  7. package/dist/viem/Actions/amm.js.map +1 -1
  8. package/dist/viem/Actions/dex.d.ts +32 -32
  9. package/dist/viem/Actions/dex.js +32 -32
  10. package/dist/viem/Actions/faucet.d.ts +34 -0
  11. package/dist/viem/Actions/faucet.d.ts.map +1 -0
  12. package/dist/viem/Actions/faucet.js +33 -0
  13. package/dist/viem/Actions/faucet.js.map +1 -0
  14. package/dist/viem/Actions/fee.d.ts +13 -13
  15. package/dist/viem/Actions/fee.js +13 -13
  16. package/dist/viem/Actions/index.d.ts +1 -0
  17. package/dist/viem/Actions/index.d.ts.map +1 -1
  18. package/dist/viem/Actions/index.js +1 -0
  19. package/dist/viem/Actions/index.js.map +1 -1
  20. package/dist/viem/Actions/policy.d.ts +46 -46
  21. package/dist/viem/Actions/policy.js +46 -46
  22. package/dist/viem/Actions/reward.d.ts +38 -38
  23. package/dist/viem/Actions/reward.js +38 -38
  24. package/dist/viem/Actions/token.d.ts +159 -159
  25. package/dist/viem/Actions/token.js +159 -159
  26. package/dist/viem/Decorator.d.ts +128 -101
  27. package/dist/viem/Decorator.d.ts.map +1 -1
  28. package/dist/viem/Decorator.js +4 -0
  29. package/dist/viem/Decorator.js.map +1 -1
  30. package/dist/wagmi/Actions/amm.d.ts +12 -12
  31. package/dist/wagmi/Actions/amm.js +12 -12
  32. package/dist/wagmi/Actions/dex.d.ts +25 -25
  33. package/dist/wagmi/Actions/dex.js +25 -25
  34. package/dist/wagmi/Actions/faucet.d.ts +35 -0
  35. package/dist/wagmi/Actions/faucet.d.ts.map +1 -0
  36. package/dist/wagmi/Actions/faucet.js +33 -0
  37. package/dist/wagmi/Actions/faucet.js.map +1 -0
  38. package/dist/wagmi/Actions/fee.d.ts +3 -3
  39. package/dist/wagmi/Actions/fee.js +3 -3
  40. package/dist/wagmi/Actions/index.d.ts +1 -0
  41. package/dist/wagmi/Actions/index.d.ts.map +1 -1
  42. package/dist/wagmi/Actions/index.js +1 -0
  43. package/dist/wagmi/Actions/index.js.map +1 -1
  44. package/dist/wagmi/Actions/reward.d.ts +10 -10
  45. package/dist/wagmi/Actions/reward.js +10 -10
  46. package/dist/wagmi/Actions/token.d.ts +45 -45
  47. package/dist/wagmi/Actions/token.js +46 -46
  48. package/dist/wagmi/Actions/token.js.map +1 -1
  49. package/dist/wagmi/Connector.d.ts +11 -3
  50. package/dist/wagmi/Connector.d.ts.map +1 -1
  51. package/dist/wagmi/Connector.js +16 -4
  52. package/dist/wagmi/Connector.js.map +1 -1
  53. package/dist/wagmi/Hooks/faucet.d.ts +39 -0
  54. package/dist/wagmi/Hooks/faucet.d.ts.map +1 -0
  55. package/dist/wagmi/Hooks/faucet.js +40 -0
  56. package/dist/wagmi/Hooks/faucet.js.map +1 -0
  57. package/dist/wagmi/Hooks/index.d.ts +1 -0
  58. package/dist/wagmi/Hooks/index.d.ts.map +1 -1
  59. package/dist/wagmi/Hooks/index.js +1 -0
  60. package/dist/wagmi/Hooks/index.js.map +1 -1
  61. package/package.json +1 -1
  62. package/src/chains.ts +3 -1
  63. package/src/viem/Actions/amm.test.ts +75 -0
  64. package/src/viem/Actions/amm.ts +63 -48
  65. package/src/viem/Actions/dex.ts +32 -32
  66. package/src/viem/Actions/faucet.ts +50 -0
  67. package/src/viem/Actions/fee.ts +13 -13
  68. package/src/viem/Actions/index.ts +1 -0
  69. package/src/viem/Actions/policy.ts +46 -46
  70. package/src/viem/Actions/reward.ts +38 -38
  71. package/src/viem/Actions/token.ts +159 -159
  72. package/src/viem/Chain.bench-d.ts +12 -0
  73. package/src/viem/Decorator.bench-d.ts +1 -1
  74. package/src/viem/Decorator.test.ts +1 -0
  75. package/src/viem/Decorator.ts +133 -101
  76. package/src/wagmi/Actions/amm.ts +12 -12
  77. package/src/wagmi/Actions/dex.ts +25 -25
  78. package/src/wagmi/Actions/faucet.ts +46 -0
  79. package/src/wagmi/Actions/fee.ts +3 -3
  80. package/src/wagmi/Actions/index.ts +1 -0
  81. package/src/wagmi/Actions/reward.ts +10 -10
  82. package/src/wagmi/Actions/token.ts +46 -46
  83. package/src/wagmi/Connector.ts +31 -8
  84. package/src/wagmi/Hooks/faucet.ts +76 -0
  85. package/src/wagmi/Hooks/index.ts +1 -0
@@ -14,16 +14,16 @@ import { defineCall } from '../internal/utils.js';
14
14
  * ```ts
15
15
  * import { createClient, http } from 'viem'
16
16
  * import { tempo } from 'tempo.ts/chains'
17
- * import * as actions from 'tempo.ts/viem/actions'
17
+ * import { Actions } from 'tempo.ts/viem'
18
18
  * import { privateKeyToAccount } from 'viem/accounts'
19
19
  *
20
20
  * const client = createClient({
21
21
  * account: privateKeyToAccount('0x...'),
22
- * chain: tempo,
22
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
23
23
  * transport: http(),
24
24
  * })
25
25
  *
26
- * const result = await actions.token.approve(client, {
26
+ * const result = await Actions.token.approve(client, {
27
27
  * spender: '0x...',
28
28
  * amount: 100n,
29
29
  * })
@@ -59,10 +59,10 @@ export async function approve(client, parameters) {
59
59
  * ```ts
60
60
  * import { createClient, http, walletActions } from 'viem'
61
61
  * import { tempo } from 'tempo.ts/chains'
62
- * import * as actions from 'tempo.ts/viem/actions'
62
+ * import { Actions } from 'tempo.ts/viem'
63
63
  *
64
64
  * const client = createClient({
65
- * chain: tempo,
65
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
66
66
  * transport: http(),
67
67
  * }).extend(walletActions)
68
68
  *
@@ -109,16 +109,16 @@ export async function approve(client, parameters) {
109
109
  * ```ts
110
110
  * import { createClient, http } from 'viem'
111
111
  * import { tempo } from 'tempo.ts/chains'
112
- * import * as actions from 'tempo.ts/viem/actions'
112
+ * import { Actions } from 'tempo.ts/viem'
113
113
  * import { privateKeyToAccount } from 'viem/accounts'
114
114
  *
115
115
  * const client = createClient({
116
116
  * account: privateKeyToAccount('0x...'),
117
- * chain: tempo,
117
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
118
118
  * transport: http(),
119
119
  * })
120
120
  *
121
- * const result = await actions.token.approveSync(client, {
121
+ * const result = await Actions.token.approveSync(client, {
122
122
  * spender: '0x...',
123
123
  * amount: 100n,
124
124
  * })
@@ -144,16 +144,16 @@ export async function approveSync(client, parameters) {
144
144
  * ```ts
145
145
  * import { createClient, http } from 'viem'
146
146
  * import { tempo } from 'tempo.ts/chains'
147
- * import * as actions from 'tempo.ts/viem/actions'
147
+ * import { Actions } from 'tempo.ts/viem'
148
148
  * import { privateKeyToAccount } from 'viem/accounts'
149
149
  *
150
150
  * const client = createClient({
151
151
  * account: privateKeyToAccount('0x...'),
152
- * chain: tempo,
152
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
153
153
  * transport: http(),
154
154
  * })
155
155
  *
156
- * const result = await actions.token.burnBlocked(client, {
156
+ * const result = await Actions.token.burnBlocked(client, {
157
157
  * from: '0x...',
158
158
  * amount: 100n,
159
159
  * token: '0x...',
@@ -190,10 +190,10 @@ export async function burnBlocked(client, parameters) {
190
190
  * ```ts
191
191
  * import { createClient, http, walletActions } from 'viem'
192
192
  * import { tempo } from 'tempo.ts/chains'
193
- * import * as actions from 'tempo.ts/viem/actions'
193
+ * import { Actions } from 'tempo.ts/viem'
194
194
  *
195
195
  * const client = createClient({
196
- * chain: tempo,
196
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
197
197
  * transport: http(),
198
198
  * }).extend(walletActions)
199
199
  *
@@ -246,16 +246,16 @@ export async function burnBlocked(client, parameters) {
246
246
  * ```ts
247
247
  * import { createClient, http } from 'viem'
248
248
  * import { tempo } from 'tempo.ts/chains'
249
- * import * as actions from 'tempo.ts/viem/actions'
249
+ * import { Actions } from 'tempo.ts/viem'
250
250
  * import { privateKeyToAccount } from 'viem/accounts'
251
251
  *
252
252
  * const client = createClient({
253
253
  * account: privateKeyToAccount('0x...'),
254
- * chain: tempo,
254
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
255
255
  * transport: http(),
256
256
  * })
257
257
  *
258
- * const result = await actions.token.burnBlockedSync(client, {
258
+ * const result = await Actions.token.burnBlockedSync(client, {
259
259
  * from: '0x...',
260
260
  * amount: 100n,
261
261
  * token: '0x...',
@@ -285,16 +285,16 @@ export async function burnBlockedSync(client, parameters) {
285
285
  * ```ts
286
286
  * import { createClient, http } from 'viem'
287
287
  * import { tempo } from 'tempo.ts/chains'
288
- * import * as actions from 'tempo.ts/viem/actions'
288
+ * import { Actions } from 'tempo.ts/viem'
289
289
  * import { privateKeyToAccount } from 'viem/accounts'
290
290
  *
291
291
  * const client = createClient({
292
292
  * account: privateKeyToAccount('0x...'),
293
- * chain: tempo,
293
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
294
294
  * transport: http(),
295
295
  * })
296
296
  *
297
- * const result = await actions.token.burn(client, {
297
+ * const result = await Actions.token.burn(client, {
298
298
  * amount: 100n,
299
299
  * token: '0x...',
300
300
  * })
@@ -330,10 +330,10 @@ export async function burn(client, parameters) {
330
330
  * ```ts
331
331
  * import { createClient, http, walletActions } from 'viem'
332
332
  * import { tempo } from 'tempo.ts/chains'
333
- * import * as actions from 'tempo.ts/viem/actions'
333
+ * import { Actions } from 'tempo.ts/viem'
334
334
  *
335
335
  * const client = createClient({
336
- * chain: tempo,
336
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
337
337
  * transport: http(),
338
338
  * }).extend(walletActions)
339
339
  *
@@ -393,16 +393,16 @@ export async function burn(client, parameters) {
393
393
  * ```ts
394
394
  * import { createClient, http } from 'viem'
395
395
  * import { tempo } from 'tempo.ts/chains'
396
- * import * as actions from 'tempo.ts/viem/actions'
396
+ * import { Actions } from 'tempo.ts/viem'
397
397
  * import { privateKeyToAccount } from 'viem/accounts'
398
398
  *
399
399
  * const client = createClient({
400
400
  * account: privateKeyToAccount('0x...'),
401
- * chain: tempo,
401
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
402
402
  * transport: http(),
403
403
  * })
404
404
  *
405
- * const result = await actions.token.burnSync(client, {
405
+ * const result = await Actions.token.burnSync(client, {
406
406
  * amount: 100n,
407
407
  * token: '0x...',
408
408
  * })
@@ -431,16 +431,16 @@ export async function burnSync(client, parameters) {
431
431
  * ```ts
432
432
  * import { createClient, http } from 'viem'
433
433
  * import { tempo } from 'tempo.ts/chains'
434
- * import * as actions from 'tempo.ts/viem/actions'
434
+ * import { Actions } from 'tempo.ts/viem'
435
435
  * import { privateKeyToAccount } from 'viem/accounts'
436
436
  *
437
437
  * const client = createClient({
438
438
  * account: privateKeyToAccount('0x...'),
439
- * chain: tempo,
439
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
440
440
  * transport: http(),
441
441
  * })
442
442
  *
443
- * const result = await actions.token.changeTransferPolicy(client, {
443
+ * const result = await Actions.token.changeTransferPolicy(client, {
444
444
  * token: '0x...',
445
445
  * policyId: 1n,
446
446
  * })
@@ -476,10 +476,10 @@ export async function changeTransferPolicy(client, parameters) {
476
476
  * ```ts
477
477
  * import { createClient, http, walletActions } from 'viem'
478
478
  * import { tempo } from 'tempo.ts/chains'
479
- * import * as actions from 'tempo.ts/viem/actions'
479
+ * import { Actions } from 'tempo.ts/viem'
480
480
  *
481
481
  * const client = createClient({
482
- * chain: tempo,
482
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
483
483
  * transport: http(),
484
484
  * }).extend(walletActions)
485
485
  *
@@ -531,16 +531,16 @@ export async function changeTransferPolicy(client, parameters) {
531
531
  * ```ts
532
532
  * import { createClient, http } from 'viem'
533
533
  * import { tempo } from 'tempo.ts/chains'
534
- * import * as actions from 'tempo.ts/viem/actions'
534
+ * import { Actions } from 'tempo.ts/viem'
535
535
  * import { privateKeyToAccount } from 'viem/accounts'
536
536
  *
537
537
  * const client = createClient({
538
538
  * account: privateKeyToAccount('0x...'),
539
- * chain: tempo,
539
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
540
540
  * transport: http(),
541
541
  * })
542
542
  *
543
- * const result = await actions.token.changeTransferPolicySync(client, {
543
+ * const result = await Actions.token.changeTransferPolicySync(client, {
544
544
  * token: '0x...',
545
545
  * policyId: 1n,
546
546
  * })
@@ -569,16 +569,16 @@ export async function changeTransferPolicySync(client, parameters) {
569
569
  * ```ts
570
570
  * import { createClient, http } from 'viem'
571
571
  * import { tempo } from 'tempo.ts/chains'
572
- * import * as actions from 'tempo.ts/viem/actions'
572
+ * import { Actions } from 'tempo.ts/viem'
573
573
  * import { privateKeyToAccount } from 'viem/accounts'
574
574
  *
575
575
  * const client = createClient({
576
576
  * account: privateKeyToAccount('0x...'),
577
- * chain: tempo,
577
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
578
578
  * transport: http(),
579
579
  * })
580
580
  *
581
- * const result = await actions.token.create(client, {
581
+ * const result = await Actions.token.create(client, {
582
582
  * name: 'My Token',
583
583
  * symbol: 'MTK',
584
584
  * currency: 'USD',
@@ -620,10 +620,10 @@ export async function create(client, parameters) {
620
620
  * ```ts
621
621
  * import { createClient, http, walletActions } from 'viem'
622
622
  * import { tempo } from 'tempo.ts/chains'
623
- * import * as actions from 'tempo.ts/viem/actions'
623
+ * import { Actions } from 'tempo.ts/viem'
624
624
  *
625
625
  * const client = createClient({
626
- * chain: tempo,
626
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
627
627
  * transport: http(),
628
628
  * }).extend(walletActions)
629
629
  *
@@ -678,16 +678,16 @@ export async function create(client, parameters) {
678
678
  * ```ts
679
679
  * import { createClient, http } from 'viem'
680
680
  * import { tempo } from 'tempo.ts/chains'
681
- * import * as actions from 'tempo.ts/viem/actions'
681
+ * import { Actions } from 'tempo.ts/viem'
682
682
  * import { privateKeyToAccount } from 'viem/accounts'
683
683
  *
684
684
  * const client = createClient({
685
685
  * account: privateKeyToAccount('0x...'),
686
- * chain: tempo,
686
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
687
687
  * transport: http(),
688
688
  * })
689
689
  *
690
- * const result = await actions.token.createSync(client, {
690
+ * const result = await Actions.token.createSync(client, {
691
691
  * name: 'My Token',
692
692
  * symbol: 'MTK',
693
693
  * currency: 'USD',
@@ -717,16 +717,16 @@ export async function createSync(client, parameters) {
717
717
  * ```ts
718
718
  * import { createClient, http } from 'viem'
719
719
  * import { tempo } from 'tempo.ts/chains'
720
- * import * as actions from 'tempo.ts/viem/actions'
720
+ * import { Actions } from 'tempo.ts/viem'
721
721
  * import { privateKeyToAccount } from 'viem/accounts'
722
722
  *
723
723
  * const client = createClient({
724
724
  * account: privateKeyToAccount('0x...'),
725
- * chain: tempo,
725
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
726
726
  * transport: http(),
727
727
  * })
728
728
  *
729
- * const allowance = await actions.token.getAllowance(client, {
729
+ * const allowance = await Actions.token.getAllowance(client, {
730
730
  * spender: '0x...',
731
731
  * })
732
732
  * ```
@@ -770,16 +770,16 @@ export async function getAllowance(client, parameters) {
770
770
  * ```ts
771
771
  * import { createClient, http } from 'viem'
772
772
  * import { tempo } from 'tempo.ts/chains'
773
- * import * as actions from 'tempo.ts/viem/actions'
773
+ * import { Actions } from 'tempo.ts/viem'
774
774
  * import { privateKeyToAccount } from 'viem/accounts'
775
775
  *
776
776
  * const client = createClient({
777
777
  * account: privateKeyToAccount('0x...'),
778
- * chain: tempo,
778
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
779
779
  * transport: http(),
780
780
  * })
781
781
  *
782
- * const balance = await actions.token.getBalance(client, {
782
+ * const balance = await Actions.token.getBalance(client, {
783
783
  * token: '0x...',
784
784
  * })
785
785
  * ```
@@ -823,16 +823,16 @@ export async function getBalance(client, parameters) {
823
823
  * ```ts
824
824
  * import { createClient, http } from 'viem'
825
825
  * import { tempo } from 'tempo.ts/chains'
826
- * import * as actions from 'tempo.ts/viem/actions'
826
+ * import { Actions } from 'tempo.ts/viem'
827
827
  * import { privateKeyToAccount } from 'viem/accounts'
828
828
  *
829
829
  * const client = createClient({
830
830
  * account: privateKeyToAccount('0x...'),
831
- * chain: tempo,
831
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
832
832
  * transport: http(),
833
833
  * })
834
834
  *
835
- * const metadata = await actions.token.getMetadata(client, {
835
+ * const metadata = await Actions.token.getMetadata(client, {
836
836
  * token: '0x...',
837
837
  * })
838
838
  * ```
@@ -954,14 +954,14 @@ export async function getMetadata(client, parameters) {
954
954
  * ```ts
955
955
  * import { createClient, http } from 'viem'
956
956
  * import { tempo } from 'tempo.ts/chains'
957
- * import * as actions from 'tempo.ts/viem/actions'
957
+ * import { Actions } from 'tempo.ts/viem'
958
958
  *
959
959
  * const client = createClient({
960
- * chain: tempo,
960
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
961
961
  * transport: http(),
962
962
  * })
963
963
  *
964
- * const adminRole = await actions.token.getRoleAdmin(client, {
964
+ * const adminRole = await Actions.token.getRoleAdmin(client, {
965
965
  * role: 'minter',
966
966
  * token: '0x...',
967
967
  * })
@@ -1002,14 +1002,14 @@ export async function getRoleAdmin(client, parameters) {
1002
1002
  * ```ts
1003
1003
  * import { createClient, http } from 'viem'
1004
1004
  * import { tempo } from 'tempo.ts/chains'
1005
- * import * as actions from 'tempo.ts/viem/actions'
1005
+ * import { Actions } from 'tempo.ts/viem'
1006
1006
  *
1007
1007
  * const client = createClient({
1008
- * chain: tempo,
1008
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1009
1009
  * transport: http(),
1010
1010
  * })
1011
1011
  *
1012
- * const hasRole = await actions.token.hasRole(client, {
1012
+ * const hasRole = await Actions.token.hasRole(client, {
1013
1013
  * account: '0x...',
1014
1014
  * role: 'issuer',
1015
1015
  * token: '0x...',
@@ -1055,16 +1055,16 @@ export async function hasRole(client, parameters) {
1055
1055
  * ```ts
1056
1056
  * import { createClient, http } from 'viem'
1057
1057
  * import { tempo } from 'tempo.ts/chains'
1058
- * import * as actions from 'tempo.ts/viem/actions'
1058
+ * import { Actions } from 'tempo.ts/viem'
1059
1059
  * import { privateKeyToAccount } from 'viem/accounts'
1060
1060
  *
1061
1061
  * const client = createClient({
1062
1062
  * account: privateKeyToAccount('0x...'),
1063
- * chain: tempo,
1063
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1064
1064
  * transport: http(),
1065
1065
  * })
1066
1066
  *
1067
- * const result = await actions.token.grantRoles(client, {
1067
+ * const result = await Actions.token.grantRoles(client, {
1068
1068
  * token: '0x...',
1069
1069
  * to: '0x...',
1070
1070
  * roles: ['issuer'],
@@ -1105,10 +1105,10 @@ export async function grantRoles(client, parameters) {
1105
1105
  * ```ts
1106
1106
  * import { createClient, http, walletActions } from 'viem'
1107
1107
  * import { tempo } from 'tempo.ts/chains'
1108
- * import * as actions from 'tempo.ts/viem/actions'
1108
+ * import { Actions } from 'tempo.ts/viem'
1109
1109
  *
1110
1110
  * const client = createClient({
1111
- * chain: tempo,
1111
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1112
1112
  * transport: http(),
1113
1113
  * }).extend(walletActions)
1114
1114
  *
@@ -1162,16 +1162,16 @@ export async function grantRoles(client, parameters) {
1162
1162
  * ```ts
1163
1163
  * import { createClient, http } from 'viem'
1164
1164
  * import { tempo } from 'tempo.ts/chains'
1165
- * import * as actions from 'tempo.ts/viem/actions'
1165
+ * import { Actions } from 'tempo.ts/viem'
1166
1166
  * import { privateKeyToAccount } from 'viem/accounts'
1167
1167
  *
1168
1168
  * const client = createClient({
1169
1169
  * account: privateKeyToAccount('0x...'),
1170
- * chain: tempo,
1170
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1171
1171
  * transport: http(),
1172
1172
  * })
1173
1173
  *
1174
- * const result = await actions.token.grantRolesSync(client, {
1174
+ * const result = await Actions.token.grantRolesSync(client, {
1175
1175
  * token: '0x...',
1176
1176
  * to: '0x...',
1177
1177
  * roles: ['minter'],
@@ -1202,16 +1202,16 @@ export async function grantRolesSync(client, parameters) {
1202
1202
  * ```ts
1203
1203
  * import { createClient, http } from 'viem'
1204
1204
  * import { tempo } from 'tempo.ts/chains'
1205
- * import * as actions from 'tempo.ts/viem/actions'
1205
+ * import { Actions } from 'tempo.ts/viem'
1206
1206
  * import { privateKeyToAccount } from 'viem/accounts'
1207
1207
  *
1208
1208
  * const client = createClient({
1209
1209
  * account: privateKeyToAccount('0x...'),
1210
- * chain: tempo,
1210
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1211
1211
  * transport: http(),
1212
1212
  * })
1213
1213
  *
1214
- * const result = await actions.token.mint(client, {
1214
+ * const result = await Actions.token.mint(client, {
1215
1215
  * to: '0x...',
1216
1216
  * amount: 100n,
1217
1217
  * token: '0x...',
@@ -1247,10 +1247,10 @@ export async function mint(client, parameters) {
1247
1247
  * ```ts
1248
1248
  * import { createClient, http, walletActions } from 'viem'
1249
1249
  * import { tempo } from 'tempo.ts/chains'
1250
- * import * as actions from 'tempo.ts/viem/actions'
1250
+ * import { Actions } from 'tempo.ts/viem'
1251
1251
  *
1252
1252
  * const client = createClient({
1253
- * chain: tempo,
1253
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1254
1254
  * transport: http(),
1255
1255
  * }).extend(walletActions)
1256
1256
  *
@@ -1311,16 +1311,16 @@ export async function mint(client, parameters) {
1311
1311
  * ```ts
1312
1312
  * import { createClient, http } from 'viem'
1313
1313
  * import { tempo } from 'tempo.ts/chains'
1314
- * import * as actions from 'tempo.ts/viem/actions'
1314
+ * import { Actions } from 'tempo.ts/viem'
1315
1315
  * import { privateKeyToAccount } from 'viem/accounts'
1316
1316
  *
1317
1317
  * const client = createClient({
1318
1318
  * account: privateKeyToAccount('0x...'),
1319
- * chain: tempo,
1319
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1320
1320
  * transport: http(),
1321
1321
  * })
1322
1322
  *
1323
- * const result = await actions.token.mintSync(client, {
1323
+ * const result = await Actions.token.mintSync(client, {
1324
1324
  * to: '0x...',
1325
1325
  * amount: 100n,
1326
1326
  * token: '0x...',
@@ -1350,16 +1350,16 @@ export async function mintSync(client, parameters) {
1350
1350
  * ```ts
1351
1351
  * import { createClient, http } from 'viem'
1352
1352
  * import { tempo } from 'tempo.ts/chains'
1353
- * import * as actions from 'tempo.ts/viem/actions'
1353
+ * import { Actions } from 'tempo.ts/viem'
1354
1354
  * import { privateKeyToAccount } from 'viem/accounts'
1355
1355
  *
1356
1356
  * const client = createClient({
1357
1357
  * account: privateKeyToAccount('0x...'),
1358
- * chain: tempo,
1358
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1359
1359
  * transport: http(),
1360
1360
  * })
1361
1361
  *
1362
- * const result = await actions.token.pause(client, {
1362
+ * const result = await Actions.token.pause(client, {
1363
1363
  * token: '0x...',
1364
1364
  * })
1365
1365
  * ```
@@ -1394,10 +1394,10 @@ export async function pause(client, parameters) {
1394
1394
  * ```ts
1395
1395
  * import { createClient, http, walletActions } from 'viem'
1396
1396
  * import { tempo } from 'tempo.ts/chains'
1397
- * import * as actions from 'tempo.ts/viem/actions'
1397
+ * import { Actions } from 'tempo.ts/viem'
1398
1398
  *
1399
1399
  * const client = createClient({
1400
- * chain: tempo,
1400
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1401
1401
  * transport: http(),
1402
1402
  * }).extend(walletActions)
1403
1403
  *
@@ -1448,16 +1448,16 @@ export async function pause(client, parameters) {
1448
1448
  * ```ts
1449
1449
  * import { createClient, http } from 'viem'
1450
1450
  * import { tempo } from 'tempo.ts/chains'
1451
- * import * as actions from 'tempo.ts/viem/actions'
1451
+ * import { Actions } from 'tempo.ts/viem'
1452
1452
  * import { privateKeyToAccount } from 'viem/accounts'
1453
1453
  *
1454
1454
  * const client = createClient({
1455
1455
  * account: privateKeyToAccount('0x...'),
1456
- * chain: tempo,
1456
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1457
1457
  * transport: http(),
1458
1458
  * })
1459
1459
  *
1460
- * const result = await actions.token.pauseSync(client, {
1460
+ * const result = await Actions.token.pauseSync(client, {
1461
1461
  * token: '0x...',
1462
1462
  * })
1463
1463
  * ```
@@ -1485,16 +1485,16 @@ export async function pauseSync(client, parameters) {
1485
1485
  * ```ts
1486
1486
  * import { createClient, http } from 'viem'
1487
1487
  * import { tempo } from 'tempo.ts/chains'
1488
- * import * as actions from 'tempo.ts/viem/actions'
1488
+ * import { Actions } from 'tempo.ts/viem'
1489
1489
  * import { privateKeyToAccount } from 'viem/accounts'
1490
1490
  *
1491
1491
  * const client = createClient({
1492
1492
  * account: privateKeyToAccount('0x...'),
1493
- * chain: tempo,
1493
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1494
1494
  * transport: http(),
1495
1495
  * })
1496
1496
  *
1497
- * const result = await actions.token.renounceRoles(client, {
1497
+ * const result = await Actions.token.renounceRoles(client, {
1498
1498
  * token: '0x...',
1499
1499
  * roles: ['minter'],
1500
1500
  * })
@@ -1534,10 +1534,10 @@ export async function renounceRoles(client, parameters) {
1534
1534
  * ```ts
1535
1535
  * import { createClient, http, walletActions } from 'viem'
1536
1536
  * import { tempo } from 'tempo.ts/chains'
1537
- * import * as actions from 'tempo.ts/viem/actions'
1537
+ * import { Actions } from 'tempo.ts/viem'
1538
1538
  *
1539
1539
  * const client = createClient({
1540
- * chain: tempo,
1540
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1541
1541
  * transport: http(),
1542
1542
  * }).extend(walletActions)
1543
1543
  *
@@ -1590,16 +1590,16 @@ export async function renounceRoles(client, parameters) {
1590
1590
  * ```ts
1591
1591
  * import { createClient, http } from 'viem'
1592
1592
  * import { tempo } from 'tempo.ts/chains'
1593
- * import * as actions from 'tempo.ts/viem/actions'
1593
+ * import { Actions } from 'tempo.ts/viem'
1594
1594
  * import { privateKeyToAccount } from 'viem/accounts'
1595
1595
  *
1596
1596
  * const client = createClient({
1597
1597
  * account: privateKeyToAccount('0x...'),
1598
- * chain: tempo,
1598
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1599
1599
  * transport: http(),
1600
1600
  * })
1601
1601
  *
1602
- * const result = await actions.token.renounceRolesSync(client, {
1602
+ * const result = await Actions.token.renounceRolesSync(client, {
1603
1603
  * token: '0x...',
1604
1604
  * roles: ['minter'],
1605
1605
  * })
@@ -1629,16 +1629,16 @@ export async function renounceRolesSync(client, parameters) {
1629
1629
  * ```ts
1630
1630
  * import { createClient, http } from 'viem'
1631
1631
  * import { tempo } from 'tempo.ts/chains'
1632
- * import * as actions from 'tempo.ts/viem/actions'
1632
+ * import { Actions } from 'tempo.ts/viem'
1633
1633
  * import { privateKeyToAccount } from 'viem/accounts'
1634
1634
  *
1635
1635
  * const client = createClient({
1636
1636
  * account: privateKeyToAccount('0x...'),
1637
- * chain: tempo,
1637
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1638
1638
  * transport: http(),
1639
1639
  * })
1640
1640
  *
1641
- * const result = await actions.token.revokeRoles(client, {
1641
+ * const result = await Actions.token.revokeRoles(client, {
1642
1642
  * token: '0x...',
1643
1643
  * from: '0x...',
1644
1644
  * roles: ['minter'],
@@ -1679,10 +1679,10 @@ export async function revokeRoles(client, parameters) {
1679
1679
  * ```ts
1680
1680
  * import { createClient, http, walletActions } from 'viem'
1681
1681
  * import { tempo } from 'tempo.ts/chains'
1682
- * import * as actions from 'tempo.ts/viem/actions'
1682
+ * import { Actions } from 'tempo.ts/viem'
1683
1683
  *
1684
1684
  * const client = createClient({
1685
- * chain: tempo,
1685
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1686
1686
  * transport: http(),
1687
1687
  * }).extend(walletActions)
1688
1688
  *
@@ -1736,16 +1736,16 @@ export async function revokeRoles(client, parameters) {
1736
1736
  * ```ts
1737
1737
  * import { createClient, http } from 'viem'
1738
1738
  * import { tempo } from 'tempo.ts/chains'
1739
- * import * as actions from 'tempo.ts/viem/actions'
1739
+ * import { Actions } from 'tempo.ts/viem'
1740
1740
  * import { privateKeyToAccount } from 'viem/accounts'
1741
1741
  *
1742
1742
  * const client = createClient({
1743
1743
  * account: privateKeyToAccount('0x...'),
1744
- * chain: tempo,
1744
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1745
1745
  * transport: http(),
1746
1746
  * })
1747
1747
  *
1748
- * const result = await actions.token.revokeRolesSync(client, {
1748
+ * const result = await Actions.token.revokeRolesSync(client, {
1749
1749
  * token: '0x...',
1750
1750
  * from: '0x...',
1751
1751
  * roles: ['minter'],
@@ -1776,16 +1776,16 @@ export async function revokeRolesSync(client, parameters) {
1776
1776
  * ```ts
1777
1777
  * import { createClient, http } from 'viem'
1778
1778
  * import { tempo } from 'tempo.ts/chains'
1779
- * import * as actions from 'tempo.ts/viem/actions'
1779
+ * import { Actions } from 'tempo.ts/viem'
1780
1780
  * import { privateKeyToAccount } from 'viem/accounts'
1781
1781
  *
1782
1782
  * const client = createClient({
1783
1783
  * account: privateKeyToAccount('0x...'),
1784
- * chain: tempo,
1784
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1785
1785
  * transport: http(),
1786
1786
  * })
1787
1787
  *
1788
- * const result = await actions.token.setSupplyCap(client, {
1788
+ * const result = await Actions.token.setSupplyCap(client, {
1789
1789
  * token: '0x...',
1790
1790
  * supplyCap: 1000000n,
1791
1791
  * })
@@ -1821,10 +1821,10 @@ export async function setSupplyCap(client, parameters) {
1821
1821
  * ```ts
1822
1822
  * import { createClient, http, walletActions } from 'viem'
1823
1823
  * import { tempo } from 'tempo.ts/chains'
1824
- * import * as actions from 'tempo.ts/viem/actions'
1824
+ * import { Actions } from 'tempo.ts/viem'
1825
1825
  *
1826
1826
  * const client = createClient({
1827
- * chain: tempo,
1827
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1828
1828
  * transport: http(),
1829
1829
  * }).extend(walletActions)
1830
1830
  *
@@ -1876,16 +1876,16 @@ export async function setSupplyCap(client, parameters) {
1876
1876
  * ```ts
1877
1877
  * import { createClient, http } from 'viem'
1878
1878
  * import { tempo } from 'tempo.ts/chains'
1879
- * import * as actions from 'tempo.ts/viem/actions'
1879
+ * import { Actions } from 'tempo.ts/viem'
1880
1880
  * import { privateKeyToAccount } from 'viem/accounts'
1881
1881
  *
1882
1882
  * const client = createClient({
1883
1883
  * account: privateKeyToAccount('0x...'),
1884
- * chain: tempo,
1884
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1885
1885
  * transport: http(),
1886
1886
  * })
1887
1887
  *
1888
- * const result = await actions.token.setSupplyCapSync(client, {
1888
+ * const result = await Actions.token.setSupplyCapSync(client, {
1889
1889
  * token: '0x...',
1890
1890
  * supplyCap: 1000000n,
1891
1891
  * })
@@ -1914,16 +1914,16 @@ export async function setSupplyCapSync(client, parameters) {
1914
1914
  * ```ts
1915
1915
  * import { createClient, http } from 'viem'
1916
1916
  * import { tempo } from 'tempo.ts/chains'
1917
- * import * as actions from 'tempo.ts/viem/actions'
1917
+ * import { Actions } from 'tempo.ts/viem'
1918
1918
  * import { privateKeyToAccount } from 'viem/accounts'
1919
1919
  *
1920
1920
  * const client = createClient({
1921
1921
  * account: privateKeyToAccount('0x...'),
1922
- * chain: tempo,
1922
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1923
1923
  * transport: http(),
1924
1924
  * })
1925
1925
  *
1926
- * const result = await actions.token.setRoleAdmin(client, {
1926
+ * const result = await Actions.token.setRoleAdmin(client, {
1927
1927
  * token: '0x...',
1928
1928
  * role: 'minter',
1929
1929
  * adminRole: 'admin',
@@ -1960,10 +1960,10 @@ export async function setRoleAdmin(client, parameters) {
1960
1960
  * ```ts
1961
1961
  * import { createClient, http, walletActions } from 'viem'
1962
1962
  * import { tempo } from 'tempo.ts/chains'
1963
- * import * as actions from 'tempo.ts/viem/actions'
1963
+ * import { Actions } from 'tempo.ts/viem'
1964
1964
  *
1965
1965
  * const client = createClient({
1966
- * chain: tempo,
1966
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1967
1967
  * transport: http(),
1968
1968
  * }).extend(walletActions)
1969
1969
  *
@@ -2018,16 +2018,16 @@ export async function setRoleAdmin(client, parameters) {
2018
2018
  * ```ts
2019
2019
  * import { createClient, http } from 'viem'
2020
2020
  * import { tempo } from 'tempo.ts/chains'
2021
- * import * as actions from 'tempo.ts/viem/actions'
2021
+ * import { Actions } from 'tempo.ts/viem'
2022
2022
  * import { privateKeyToAccount } from 'viem/accounts'
2023
2023
  *
2024
2024
  * const client = createClient({
2025
2025
  * account: privateKeyToAccount('0x...'),
2026
- * chain: tempo,
2026
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2027
2027
  * transport: http(),
2028
2028
  * })
2029
2029
  *
2030
- * const result = await actions.token.setRoleAdminSync(client, {
2030
+ * const result = await Actions.token.setRoleAdminSync(client, {
2031
2031
  * token: '0x...',
2032
2032
  * role: 'minter',
2033
2033
  * adminRole: 'admin',
@@ -2057,16 +2057,16 @@ export async function setRoleAdminSync(client, parameters) {
2057
2057
  * ```ts
2058
2058
  * import { createClient, http } from 'viem'
2059
2059
  * import { tempo } from 'tempo.ts/chains'
2060
- * import * as actions from 'tempo.ts/viem/actions'
2060
+ * import { Actions } from 'tempo.ts/viem'
2061
2061
  * import { privateKeyToAccount } from 'viem/accounts'
2062
2062
  *
2063
2063
  * const client = createClient({
2064
2064
  * account: privateKeyToAccount('0x...'),
2065
- * chain: tempo,
2065
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2066
2066
  * transport: http(),
2067
2067
  * })
2068
2068
  *
2069
- * const result = await actions.token.transfer(client, {
2069
+ * const result = await Actions.token.transfer(client, {
2070
2070
  * to: '0x...',
2071
2071
  * amount: 100n,
2072
2072
  * })
@@ -2102,10 +2102,10 @@ export async function transfer(client, parameters) {
2102
2102
  * ```ts
2103
2103
  * import { createClient, http, walletActions } from 'viem'
2104
2104
  * import { tempo } from 'tempo.ts/chains'
2105
- * import * as actions from 'tempo.ts/viem/actions'
2105
+ * import { Actions } from 'tempo.ts/viem'
2106
2106
  *
2107
2107
  * const client = createClient({
2108
- * chain: tempo,
2108
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2109
2109
  * transport: http(),
2110
2110
  * }).extend(walletActions)
2111
2111
  *
@@ -2178,16 +2178,16 @@ export async function transfer(client, parameters) {
2178
2178
  * ```ts
2179
2179
  * import { createClient, http } from 'viem'
2180
2180
  * import { tempo } from 'tempo.ts/chains'
2181
- * import * as actions from 'tempo.ts/viem/actions'
2181
+ * import { Actions } from 'tempo.ts/viem'
2182
2182
  * import { privateKeyToAccount } from 'viem/accounts'
2183
2183
  *
2184
2184
  * const client = createClient({
2185
2185
  * account: privateKeyToAccount('0x...'),
2186
- * chain: tempo,
2186
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2187
2187
  * transport: http(),
2188
2188
  * })
2189
2189
  *
2190
- * const result = await actions.token.transferSync(client, {
2190
+ * const result = await Actions.token.transferSync(client, {
2191
2191
  * to: '0x...',
2192
2192
  * amount: 100n,
2193
2193
  * })
@@ -2216,16 +2216,16 @@ export async function transferSync(client, parameters) {
2216
2216
  * ```ts
2217
2217
  * import { createClient, http } from 'viem'
2218
2218
  * import { tempo } from 'tempo.ts/chains'
2219
- * import * as actions from 'tempo.ts/viem/actions'
2219
+ * import { Actions } from 'tempo.ts/viem'
2220
2220
  * import { privateKeyToAccount } from 'viem/accounts'
2221
2221
  *
2222
2222
  * const client = createClient({
2223
2223
  * account: privateKeyToAccount('0x...'),
2224
- * chain: tempo,
2224
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2225
2225
  * transport: http(),
2226
2226
  * })
2227
2227
  *
2228
- * const result = await actions.token.unpause(client, {
2228
+ * const result = await Actions.token.unpause(client, {
2229
2229
  * token: '0x...',
2230
2230
  * })
2231
2231
  * ```
@@ -2260,10 +2260,10 @@ export async function unpause(client, parameters) {
2260
2260
  * ```ts
2261
2261
  * import { createClient, http, walletActions } from 'viem'
2262
2262
  * import { tempo } from 'tempo.ts/chains'
2263
- * import * as actions from 'tempo.ts/viem/actions'
2263
+ * import { Actions } from 'tempo.ts/viem'
2264
2264
  *
2265
2265
  * const client = createClient({
2266
- * chain: tempo,
2266
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2267
2267
  * transport: http(),
2268
2268
  * }).extend(walletActions)
2269
2269
  *
@@ -2314,16 +2314,16 @@ export async function unpause(client, parameters) {
2314
2314
  * ```ts
2315
2315
  * import { createClient, http } from 'viem'
2316
2316
  * import { tempo } from 'tempo.ts/chains'
2317
- * import * as actions from 'tempo.ts/viem/actions'
2317
+ * import { Actions } from 'tempo.ts/viem'
2318
2318
  * import { privateKeyToAccount } from 'viem/accounts'
2319
2319
  *
2320
2320
  * const client = createClient({
2321
2321
  * account: privateKeyToAccount('0x...'),
2322
- * chain: tempo,
2322
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2323
2323
  * transport: http(),
2324
2324
  * })
2325
2325
  *
2326
- * const result = await actions.token.unpauseSync(client, {
2326
+ * const result = await Actions.token.unpauseSync(client, {
2327
2327
  * token: '0x...',
2328
2328
  * })
2329
2329
  * ```
@@ -2351,16 +2351,16 @@ export async function unpauseSync(client, parameters) {
2351
2351
  * ```ts
2352
2352
  * import { createClient, http } from 'viem'
2353
2353
  * import { tempo } from 'tempo.ts/chains'
2354
- * import * as actions from 'tempo.ts/viem/actions'
2354
+ * import { Actions } from 'tempo.ts/viem'
2355
2355
  * import { privateKeyToAccount } from 'viem/accounts'
2356
2356
  *
2357
2357
  * const client = createClient({
2358
2358
  * account: privateKeyToAccount('0x...'),
2359
- * chain: tempo,
2359
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2360
2360
  * transport: http(),
2361
2361
  * })
2362
2362
  *
2363
- * const result = await actions.token.prepareUpdateQuoteToken(client, {
2363
+ * const result = await Actions.token.prepareUpdateQuoteToken(client, {
2364
2364
  * token: '0x...',
2365
2365
  * quoteToken: '0x...',
2366
2366
  * })
@@ -2396,10 +2396,10 @@ export async function prepareUpdateQuoteToken(client, parameters) {
2396
2396
  * ```ts
2397
2397
  * import { createClient, http, walletActions } from 'viem'
2398
2398
  * import { tempo } from 'tempo.ts/chains'
2399
- * import * as actions from 'tempo.ts/viem/actions'
2399
+ * import { Actions } from 'tempo.ts/viem'
2400
2400
  *
2401
2401
  * const client = createClient({
2402
- * chain: tempo,
2402
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2403
2403
  * transport: http(),
2404
2404
  * }).extend(walletActions)
2405
2405
  *
@@ -2451,16 +2451,16 @@ export async function prepareUpdateQuoteToken(client, parameters) {
2451
2451
  * ```ts
2452
2452
  * import { createClient, http } from 'viem'
2453
2453
  * import { tempo } from 'tempo.ts/chains'
2454
- * import * as actions from 'tempo.ts/viem/actions'
2454
+ * import { Actions } from 'tempo.ts/viem'
2455
2455
  * import { privateKeyToAccount } from 'viem/accounts'
2456
2456
  *
2457
2457
  * const client = createClient({
2458
2458
  * account: privateKeyToAccount('0x...'),
2459
- * chain: tempo,
2459
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2460
2460
  * transport: http(),
2461
2461
  * })
2462
2462
  *
2463
- * const result = await actions.token.prepareUpdateQuoteTokenSync(client, {
2463
+ * const result = await Actions.token.prepareUpdateQuoteTokenSync(client, {
2464
2464
  * token: '0x...',
2465
2465
  * quoteToken: '0x...',
2466
2466
  * })
@@ -2485,16 +2485,16 @@ export async function prepareUpdateQuoteTokenSync(client, parameters) {
2485
2485
  * ```ts
2486
2486
  * import { createClient, http } from 'viem'
2487
2487
  * import { tempo } from 'tempo.ts/chains'
2488
- * import * as actions from 'tempo.ts/viem/actions'
2488
+ * import { Actions } from 'tempo.ts/viem'
2489
2489
  * import { privateKeyToAccount } from 'viem/accounts'
2490
2490
  *
2491
2491
  * const client = createClient({
2492
2492
  * account: privateKeyToAccount('0x...'),
2493
- * chain: tempo,
2493
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2494
2494
  * transport: http(),
2495
2495
  * })
2496
2496
  *
2497
- * const result = await actions.token.updateQuoteToken(client, {
2497
+ * const result = await Actions.token.updateQuoteToken(client, {
2498
2498
  * token: '0x...',
2499
2499
  * })
2500
2500
  * ```
@@ -2529,10 +2529,10 @@ export async function updateQuoteToken(client, parameters) {
2529
2529
  * ```ts
2530
2530
  * import { createClient, http, walletActions } from 'viem'
2531
2531
  * import { tempo } from 'tempo.ts/chains'
2532
- * import * as actions from 'tempo.ts/viem/actions'
2532
+ * import { Actions } from 'tempo.ts/viem'
2533
2533
  *
2534
2534
  * const client = createClient({
2535
- * chain: tempo,
2535
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2536
2536
  * transport: http(),
2537
2537
  * }).extend(walletActions)
2538
2538
  *
@@ -2583,16 +2583,16 @@ export async function updateQuoteToken(client, parameters) {
2583
2583
  * ```ts
2584
2584
  * import { createClient, http } from 'viem'
2585
2585
  * import { tempo } from 'tempo.ts/chains'
2586
- * import * as actions from 'tempo.ts/viem/actions'
2586
+ * import { Actions } from 'tempo.ts/viem'
2587
2587
  * import { privateKeyToAccount } from 'viem/accounts'
2588
2588
  *
2589
2589
  * const client = createClient({
2590
2590
  * account: privateKeyToAccount('0x...'),
2591
- * chain: tempo,
2591
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2592
2592
  * transport: http(),
2593
2593
  * })
2594
2594
  *
2595
- * const result = await actions.token.updateQuoteTokenSync(client, {
2595
+ * const result = await Actions.token.updateQuoteTokenSync(client, {
2596
2596
  * token: '0x...',
2597
2597
  * })
2598
2598
  * ```
@@ -2616,10 +2616,10 @@ export async function updateQuoteTokenSync(client, parameters) {
2616
2616
  * ```ts
2617
2617
  * import { createClient, http } from 'viem'
2618
2618
  * import { tempo } from 'tempo.ts/chains'
2619
- * import * as actions from 'tempo.ts/viem/actions'
2619
+ * import { Actions } from 'tempo.ts/viem'
2620
2620
  *
2621
2621
  * const client = createClient({
2622
- * chain: tempo,
2622
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2623
2623
  * transport: http(),
2624
2624
  * })
2625
2625
  *
@@ -2655,10 +2655,10 @@ export function watchApprove(client, parameters) {
2655
2655
  * ```ts
2656
2656
  * import { createClient, http } from 'viem'
2657
2657
  * import { tempo } from 'tempo.ts/chains'
2658
- * import * as actions from 'tempo.ts/viem/actions'
2658
+ * import { Actions } from 'tempo.ts/viem'
2659
2659
  *
2660
2660
  * const client = createClient({
2661
- * chain: tempo,
2661
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2662
2662
  * transport: http(),
2663
2663
  * })
2664
2664
  *
@@ -2694,10 +2694,10 @@ export function watchBurn(client, parameters) {
2694
2694
  * ```ts
2695
2695
  * import { createClient, http } from 'viem'
2696
2696
  * import { tempo } from 'tempo.ts/chains'
2697
- * import * as actions from 'tempo.ts/viem/actions'
2697
+ * import { Actions } from 'tempo.ts/viem'
2698
2698
  *
2699
2699
  * const client = createClient({
2700
- * chain: tempo,
2700
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2701
2701
  * transport: http(),
2702
2702
  * })
2703
2703
  *
@@ -2733,10 +2733,10 @@ export function watchCreate(client, parameters) {
2733
2733
  * ```ts
2734
2734
  * import { createClient, http } from 'viem'
2735
2735
  * import { tempo } from 'tempo.ts/chains'
2736
- * import * as actions from 'tempo.ts/viem/actions'
2736
+ * import { Actions } from 'tempo.ts/viem'
2737
2737
  *
2738
2738
  * const client = createClient({
2739
- * chain: tempo,
2739
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2740
2740
  * transport: http(),
2741
2741
  * })
2742
2742
  *
@@ -2772,10 +2772,10 @@ export function watchMint(client, parameters) {
2772
2772
  * ```ts
2773
2773
  * import { createClient, http } from 'viem'
2774
2774
  * import { tempo } from 'tempo.ts/chains'
2775
- * import * as actions from 'tempo.ts/viem/actions'
2775
+ * import { Actions } from 'tempo.ts/viem'
2776
2776
  *
2777
2777
  * const client = createClient({
2778
- * chain: tempo,
2778
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2779
2779
  * transport: http(),
2780
2780
  * })
2781
2781
  *
@@ -2811,10 +2811,10 @@ export function watchAdminRole(client, parameters) {
2811
2811
  * ```ts
2812
2812
  * import { createClient, http } from 'viem'
2813
2813
  * import { tempo } from 'tempo.ts/chains'
2814
- * import * as actions from 'tempo.ts/viem/actions'
2814
+ * import { Actions } from 'tempo.ts/viem'
2815
2815
  *
2816
2816
  * const client = createClient({
2817
- * chain: tempo,
2817
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2818
2818
  * transport: http(),
2819
2819
  * })
2820
2820
  *
@@ -2852,11 +2852,11 @@ export function watchRole(client, parameters) {
2852
2852
  * ```ts
2853
2853
  * import { createClient, http } from 'viem'
2854
2854
  * import { tempo } from 'tempo.ts/chains'
2855
- * import * as actions from 'tempo.ts/viem/actions'
2855
+ * import { Actions } from 'tempo.ts/viem'
2856
2856
  *
2857
2857
  * const client = createClient({
2858
2858
  * account: privateKeyToAccount('0x...'),
2859
- * chain: tempo,
2859
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2860
2860
  * transport: http(),
2861
2861
  * })
2862
2862
  *
@@ -2892,10 +2892,10 @@ export function watchTransfer(client, parameters) {
2892
2892
  * ```ts
2893
2893
  * import { createClient, http } from 'viem'
2894
2894
  * import { tempo } from 'tempo.ts/chains'
2895
- * import * as actions from 'tempo.ts/viem/actions'
2895
+ * import { Actions } from 'tempo.ts/viem'
2896
2896
  *
2897
2897
  * const client = createClient({
2898
- * chain: tempo,
2898
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
2899
2899
  * transport: http(),
2900
2900
  * })
2901
2901
  *