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
@@ -41,16 +41,16 @@ const policyTypeMap = {
41
41
  * ```ts
42
42
  * import { createClient, http } from 'viem'
43
43
  * import { tempo } from 'tempo.ts/chains'
44
- * import * as actions from 'tempo.ts/viem/actions'
44
+ * import { Actions } from 'tempo.ts/viem'
45
45
  * import { privateKeyToAccount } from 'viem/accounts'
46
46
  *
47
47
  * const client = createClient({
48
48
  * account: privateKeyToAccount('0x...'),
49
- * chain: tempo,
49
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
50
50
  * transport: http(),
51
51
  * })
52
52
  *
53
- * const { hash, policyId } = await actions.policy.create(client, {
53
+ * const { hash, policyId } = await Actions.policy.create(client, {
54
54
  * admin: '0x...',
55
55
  * type: 'whitelist',
56
56
  * })
@@ -134,10 +134,10 @@ export namespace create {
134
134
  * ```ts
135
135
  * import { createClient, http, walletActions } from 'viem'
136
136
  * import { tempo } from 'tempo.ts/chains'
137
- * import * as actions from 'tempo.ts/viem/actions'
137
+ * import { Actions } from 'tempo.ts/viem'
138
138
  *
139
139
  * const client = createClient({
140
- * chain: tempo,
140
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
141
141
  * transport: http(),
142
142
  * }).extend(walletActions)
143
143
  *
@@ -204,16 +204,16 @@ export namespace create {
204
204
  * ```ts
205
205
  * import { createClient, http } from 'viem'
206
206
  * import { tempo } from 'tempo.ts/chains'
207
- * import * as actions from 'tempo.ts/viem/actions'
207
+ * import { Actions } from 'tempo.ts/viem'
208
208
  * import { privateKeyToAccount } from 'viem/accounts'
209
209
  *
210
210
  * const client = createClient({
211
211
  * account: privateKeyToAccount('0x...'),
212
- * chain: tempo,
212
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
213
213
  * transport: http(),
214
214
  * })
215
215
  *
216
- * const result = await actions.policy.createSync(client, {
216
+ * const result = await Actions.policy.createSync(client, {
217
217
  * admin: '0x...',
218
218
  * type: 'whitelist',
219
219
  * })
@@ -268,16 +268,16 @@ export namespace createSync {
268
268
  * ```ts
269
269
  * import { createClient, http } from 'viem'
270
270
  * import { tempo } from 'tempo.ts/chains'
271
- * import * as actions from 'tempo.ts/viem/actions'
271
+ * import { Actions } from 'tempo.ts/viem'
272
272
  * import { privateKeyToAccount } from 'viem/accounts'
273
273
  *
274
274
  * const client = createClient({
275
275
  * account: privateKeyToAccount('0x...'),
276
- * chain: tempo,
276
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
277
277
  * transport: http(),
278
278
  * })
279
279
  *
280
- * const hash = await actions.policy.setAdmin(client, {
280
+ * const hash = await Actions.policy.setAdmin(client, {
281
281
  * policyId: 2n,
282
282
  * admin: '0x...',
283
283
  * })
@@ -342,10 +342,10 @@ export namespace setAdmin {
342
342
  * ```ts
343
343
  * import { createClient, http, walletActions } from 'viem'
344
344
  * import { tempo } from 'tempo.ts/chains'
345
- * import * as actions from 'tempo.ts/viem/actions'
345
+ * import { Actions } from 'tempo.ts/viem'
346
346
  *
347
347
  * const client = createClient({
348
- * chain: tempo,
348
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
349
349
  * transport: http(),
350
350
  * }).extend(walletActions)
351
351
  *
@@ -401,16 +401,16 @@ export namespace setAdmin {
401
401
  * ```ts
402
402
  * import { createClient, http } from 'viem'
403
403
  * import { tempo } from 'tempo.ts/chains'
404
- * import * as actions from 'tempo.ts/viem/actions'
404
+ * import { Actions } from 'tempo.ts/viem'
405
405
  * import { privateKeyToAccount } from 'viem/accounts'
406
406
  *
407
407
  * const client = createClient({
408
408
  * account: privateKeyToAccount('0x...'),
409
- * chain: tempo,
409
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
410
410
  * transport: http(),
411
411
  * })
412
412
  *
413
- * const result = await actions.policy.setAdminSync(client, {
413
+ * const result = await Actions.policy.setAdminSync(client, {
414
414
  * policyId: 2n,
415
415
  * admin: '0x...',
416
416
  * })
@@ -465,16 +465,16 @@ export namespace setAdminSync {
465
465
  * ```ts
466
466
  * import { createClient, http } from 'viem'
467
467
  * import { tempo } from 'tempo.ts/chains'
468
- * import * as actions from 'tempo.ts/viem/actions'
468
+ * import { Actions } from 'tempo.ts/viem'
469
469
  * import { privateKeyToAccount } from 'viem/accounts'
470
470
  *
471
471
  * const client = createClient({
472
472
  * account: privateKeyToAccount('0x...'),
473
- * chain: tempo,
473
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
474
474
  * transport: http(),
475
475
  * })
476
476
  *
477
- * const hash = await actions.policy.modifyWhitelist(client, {
477
+ * const hash = await Actions.policy.modifyWhitelist(client, {
478
478
  * policyId: 2n,
479
479
  * account: '0x...',
480
480
  * allowed: true,
@@ -546,10 +546,10 @@ export namespace modifyWhitelist {
546
546
  * ```ts
547
547
  * import { createClient, http, walletActions } from 'viem'
548
548
  * import { tempo } from 'tempo.ts/chains'
549
- * import * as actions from 'tempo.ts/viem/actions'
549
+ * import { Actions } from 'tempo.ts/viem'
550
550
  *
551
551
  * const client = createClient({
552
- * chain: tempo,
552
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
553
553
  * transport: http(),
554
554
  * }).extend(walletActions)
555
555
  *
@@ -607,16 +607,16 @@ export namespace modifyWhitelist {
607
607
  * ```ts
608
608
  * import { createClient, http } from 'viem'
609
609
  * import { tempo } from 'tempo.ts/chains'
610
- * import * as actions from 'tempo.ts/viem/actions'
610
+ * import { Actions } from 'tempo.ts/viem'
611
611
  * import { privateKeyToAccount } from 'viem/accounts'
612
612
  *
613
613
  * const client = createClient({
614
614
  * account: privateKeyToAccount('0x...'),
615
- * chain: tempo,
615
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
616
616
  * transport: http(),
617
617
  * })
618
618
  *
619
- * const result = await actions.policy.modifyWhitelistSync(client, {
619
+ * const result = await Actions.policy.modifyWhitelistSync(client, {
620
620
  * policyId: 2n,
621
621
  * account: '0x...',
622
622
  * allowed: true,
@@ -672,16 +672,16 @@ export namespace modifyWhitelistSync {
672
672
  * ```ts
673
673
  * import { createClient, http } from 'viem'
674
674
  * import { tempo } from 'tempo.ts/chains'
675
- * import * as actions from 'tempo.ts/viem/actions'
675
+ * import { Actions } from 'tempo.ts/viem'
676
676
  * import { privateKeyToAccount } from 'viem/accounts'
677
677
  *
678
678
  * const client = createClient({
679
679
  * account: privateKeyToAccount('0x...'),
680
- * chain: tempo,
680
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
681
681
  * transport: http(),
682
682
  * })
683
683
  *
684
- * const hash = await actions.policy.modifyBlacklist(client, {
684
+ * const hash = await Actions.policy.modifyBlacklist(client, {
685
685
  * policyId: 2n,
686
686
  * account: '0x...',
687
687
  * restricted: true,
@@ -753,10 +753,10 @@ export namespace modifyBlacklist {
753
753
  * ```ts
754
754
  * import { createClient, http, walletActions } from 'viem'
755
755
  * import { tempo } from 'tempo.ts/chains'
756
- * import * as actions from 'tempo.ts/viem/actions'
756
+ * import { Actions } from 'tempo.ts/viem'
757
757
  *
758
758
  * const client = createClient({
759
- * chain: tempo,
759
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
760
760
  * transport: http(),
761
761
  * }).extend(walletActions)
762
762
  *
@@ -814,16 +814,16 @@ export namespace modifyBlacklist {
814
814
  * ```ts
815
815
  * import { createClient, http } from 'viem'
816
816
  * import { tempo } from 'tempo.ts/chains'
817
- * import * as actions from 'tempo.ts/viem/actions'
817
+ * import { Actions } from 'tempo.ts/viem'
818
818
  * import { privateKeyToAccount } from 'viem/accounts'
819
819
  *
820
820
  * const client = createClient({
821
821
  * account: privateKeyToAccount('0x...'),
822
- * chain: tempo,
822
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
823
823
  * transport: http(),
824
824
  * })
825
825
  *
826
- * const result = await actions.policy.modifyBlacklistSync(client, {
826
+ * const result = await Actions.policy.modifyBlacklistSync(client, {
827
827
  * policyId: 2n,
828
828
  * account: '0x...',
829
829
  * restricted: true,
@@ -879,14 +879,14 @@ export namespace modifyBlacklistSync {
879
879
  * ```ts
880
880
  * import { createClient, http } from 'viem'
881
881
  * import { tempo } from 'tempo.ts/chains'
882
- * import * as actions from 'tempo.ts/viem/actions'
882
+ * import { Actions } from 'tempo.ts/viem'
883
883
  *
884
884
  * const client = createClient({
885
- * chain: tempo,
885
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
886
886
  * transport: http(),
887
887
  * })
888
888
  *
889
- * const data = await actions.policy.getData(client, {
889
+ * const data = await Actions.policy.getData(client, {
890
890
  * policyId: 2n,
891
891
  * })
892
892
  * ```
@@ -949,14 +949,14 @@ export namespace getData {
949
949
  * ```ts
950
950
  * import { createClient, http } from 'viem'
951
951
  * import { tempo } from 'tempo.ts/chains'
952
- * import * as actions from 'tempo.ts/viem/actions'
952
+ * import { Actions } from 'tempo.ts/viem'
953
953
  *
954
954
  * const client = createClient({
955
- * chain: tempo,
955
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
956
956
  * transport: http(),
957
957
  * })
958
958
  *
959
- * const authorized = await actions.policy.isAuthorized(client, {
959
+ * const authorized = await Actions.policy.isAuthorized(client, {
960
960
  * policyId: 2n,
961
961
  * user: '0x...',
962
962
  * })
@@ -1017,10 +1017,10 @@ export namespace isAuthorized {
1017
1017
  * ```ts
1018
1018
  * import { createClient, http } from 'viem'
1019
1019
  * import { tempo } from 'tempo.ts/chains'
1020
- * import * as actions from 'tempo.ts/viem/actions'
1020
+ * import { Actions } from 'tempo.ts/viem'
1021
1021
  *
1022
1022
  * const client = createClient({
1023
- * chain: tempo,
1023
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1024
1024
  * transport: http(),
1025
1025
  * })
1026
1026
  *
@@ -1097,10 +1097,10 @@ export declare namespace watchCreate {
1097
1097
  * ```ts
1098
1098
  * import { createClient, http } from 'viem'
1099
1099
  * import { tempo } from 'tempo.ts/chains'
1100
- * import * as actions from 'tempo.ts/viem/actions'
1100
+ * import { Actions } from 'tempo.ts/viem'
1101
1101
  *
1102
1102
  * const client = createClient({
1103
- * chain: tempo,
1103
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1104
1104
  * transport: http(),
1105
1105
  * })
1106
1106
  *
@@ -1170,10 +1170,10 @@ export declare namespace watchAdminUpdated {
1170
1170
  * ```ts
1171
1171
  * import { createClient, http } from 'viem'
1172
1172
  * import { tempo } from 'tempo.ts/chains'
1173
- * import * as actions from 'tempo.ts/viem/actions'
1173
+ * import { Actions } from 'tempo.ts/viem'
1174
1174
  *
1175
1175
  * const client = createClient({
1176
- * chain: tempo,
1176
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1177
1177
  * transport: http(),
1178
1178
  * })
1179
1179
  *
@@ -1243,10 +1243,10 @@ export declare namespace watchWhitelistUpdated {
1243
1243
  * ```ts
1244
1244
  * import { createClient, http } from 'viem'
1245
1245
  * import { tempo } from 'tempo.ts/chains'
1246
- * import * as actions from 'tempo.ts/viem/actions'
1246
+ * import { Actions } from 'tempo.ts/viem'
1247
1247
  *
1248
1248
  * const client = createClient({
1249
- * chain: tempo,
1249
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1250
1250
  * transport: http(),
1251
1251
  * })
1252
1252
  *
@@ -29,16 +29,16 @@ import { defineCall } from '../internal/utils.js'
29
29
  * ```ts
30
30
  * import { createClient, http } from 'viem'
31
31
  * import { tempo } from 'tempo.ts/chains'
32
- * import * as actions from 'tempo.ts/viem/actions'
32
+ * import { Actions } from 'tempo.ts/viem'
33
33
  * import { privateKeyToAccount } from 'viem/accounts'
34
34
  *
35
35
  * const client = createClient({
36
36
  * account: privateKeyToAccount('0x...'),
37
- * chain: tempo,
37
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
38
38
  * transport: http(),
39
39
  * })
40
40
  *
41
- * const hash = await actions.rewards.cancel(client, {
41
+ * const hash = await Actions.rewards.cancel(client, {
42
42
  * id: 1n,
43
43
  * token: '0x20c0000000000000000000000000000000000001',
44
44
  * })
@@ -72,16 +72,16 @@ export async function cancel<
72
72
  * ```ts
73
73
  * import { createClient, http } from 'viem'
74
74
  * import { tempo } from 'tempo.ts/chains'
75
- * import * as actions from 'tempo.ts/viem/actions'
75
+ * import { Actions } from 'tempo.ts/viem'
76
76
  * import { privateKeyToAccount } from 'viem/accounts'
77
77
  *
78
78
  * const client = createClient({
79
79
  * account: privateKeyToAccount('0x...'),
80
- * chain: tempo,
80
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
81
81
  * transport: http(),
82
82
  * })
83
83
  *
84
- * const { funder, id, refund, receipt } = await actions.rewards.cancelSync(client, {
84
+ * const { funder, id, refund, receipt } = await Actions.rewards.cancelSync(client, {
85
85
  * id: 1n,
86
86
  * token: '0x20c0000000000000000000000000000000000001',
87
87
  * })
@@ -158,10 +158,10 @@ export namespace cancel {
158
158
  * ```ts
159
159
  * import { createClient, http, walletActions } from 'viem'
160
160
  * import { tempo } from 'tempo.ts/chains'
161
- * import * as actions from 'tempo.ts/viem/actions'
161
+ * import { Actions } from 'tempo.ts/viem'
162
162
  *
163
163
  * const client = createClient({
164
- * chain: tempo,
164
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
165
165
  * transport: http(),
166
166
  * }).extend(walletActions)
167
167
  *
@@ -245,16 +245,16 @@ export declare namespace cancelSync {
245
245
  * ```ts
246
246
  * import { createClient, http } from 'viem'
247
247
  * import { tempo } from 'tempo.ts/chains'
248
- * import * as actions from 'tempo.ts/viem/actions'
248
+ * import { Actions } from 'tempo.ts/viem'
249
249
  * import { privateKeyToAccount } from 'viem/accounts'
250
250
  *
251
251
  * const client = createClient({
252
252
  * account: privateKeyToAccount('0x...'),
253
- * chain: tempo,
253
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
254
254
  * transport: http(),
255
255
  * })
256
256
  *
257
- * const hash = await actions.reward.claim(client, {
257
+ * const hash = await Actions.reward.claim(client, {
258
258
  * token: '0x20c0000000000000000000000000000000000001',
259
259
  * })
260
260
  * ```
@@ -319,10 +319,10 @@ export namespace claim {
319
319
  * ```ts
320
320
  * import { createClient, http, walletActions } from 'viem'
321
321
  * import { tempo } from 'tempo.ts/chains'
322
- * import * as actions from 'tempo.ts/viem/actions'
322
+ * import { Actions } from 'tempo.ts/viem'
323
323
  *
324
324
  * const client = createClient({
325
- * chain: tempo,
325
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
326
326
  * transport: http(),
327
327
  * }).extend(walletActions)
328
328
  *
@@ -368,16 +368,16 @@ export namespace claim {
368
368
  * ```ts
369
369
  * import { createClient, http } from 'viem'
370
370
  * import { tempo } from 'tempo.ts/chains'
371
- * import * as actions from 'tempo.ts/viem/actions'
371
+ * import { Actions } from 'tempo.ts/viem'
372
372
  * import { privateKeyToAccount } from 'viem/accounts'
373
373
  *
374
374
  * const client = createClient({
375
375
  * account: privateKeyToAccount('0x...'),
376
- * chain: tempo,
376
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
377
377
  * transport: http(),
378
378
  * })
379
379
  *
380
- * const { receipt } = await actions.reward.claimSync(client, {
380
+ * const { receipt } = await Actions.reward.claimSync(client, {
381
381
  * token: '0x20c0000000000000000000000000000000000001',
382
382
  * })
383
383
  * ```
@@ -433,14 +433,14 @@ export namespace claimSync {
433
433
  * ```ts
434
434
  * import { createClient, http } from 'viem'
435
435
  * import { tempo } from 'tempo.ts/chains'
436
- * import * as actions from 'tempo.ts/viem/actions'
436
+ * import { Actions } from 'tempo.ts/viem'
437
437
  *
438
438
  * const client = createClient({
439
- * chain: tempo,
439
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
440
440
  * transport: http(),
441
441
  * })
442
442
  *
443
- * const stream = await actions.rewards.getStream(client, {
443
+ * const stream = await Actions.rewards.getStream(client, {
444
444
  * id: 1n,
445
445
  * token: '0x20c0000000000000000000000000000000000001',
446
446
  * })
@@ -504,14 +504,14 @@ export namespace getStream {
504
504
  * ```ts
505
505
  * import { createClient, http } from 'viem'
506
506
  * import { tempo } from 'tempo.ts/chains'
507
- * import * as actions from 'tempo.ts/viem/actions'
507
+ * import { Actions } from 'tempo.ts/viem'
508
508
  *
509
509
  * const client = createClient({
510
- * chain: tempo,
510
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
511
511
  * transport: http(),
512
512
  * })
513
513
  *
514
- * const rate = await actions.rewards.getTotalPerSecond(client, {
514
+ * const rate = await Actions.rewards.getTotalPerSecond(client, {
515
515
  * token: '0x20c0000000000000000000000000000000000001',
516
516
  * })
517
517
  * ```
@@ -577,16 +577,16 @@ export namespace getTotalPerSecond {
577
577
  * ```ts
578
578
  * import { createClient, http } from 'viem'
579
579
  * import { tempo } from 'tempo.ts/chains'
580
- * import * as actions from 'tempo.ts/viem/actions'
580
+ * import { Actions } from 'tempo.ts/viem'
581
581
  * import { privateKeyToAccount } from 'viem/accounts'
582
582
  *
583
583
  * const client = createClient({
584
584
  * account: privateKeyToAccount('0x...'),
585
- * chain: tempo,
585
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
586
586
  * transport: http(),
587
587
  * })
588
588
  *
589
- * const hash = await actions.rewards.setRecipient(client, {
589
+ * const hash = await Actions.rewards.setRecipient(client, {
590
590
  * recipient: '0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC',
591
591
  * token: '0x20c0000000000000000000000000000000000001',
592
592
  * })
@@ -622,16 +622,16 @@ export async function setRecipient<
622
622
  * ```ts
623
623
  * import { createClient, http } from 'viem'
624
624
  * import { tempo } from 'tempo.ts/chains'
625
- * import * as actions from 'tempo.ts/viem/actions'
625
+ * import { Actions } from 'tempo.ts/viem'
626
626
  * import { privateKeyToAccount } from 'viem/accounts'
627
627
  *
628
628
  * const client = createClient({
629
629
  * account: privateKeyToAccount('0x...'),
630
- * chain: tempo,
630
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
631
631
  * transport: http(),
632
632
  * })
633
633
  *
634
- * const { holder, recipient, receipt } = await actions.rewards.setRecipientSync(client, {
634
+ * const { holder, recipient, receipt } = await Actions.rewards.setRecipientSync(client, {
635
635
  * recipient: '0xa5cc3c03994DB5b0d9A5eEdD10CabaB0813678AC',
636
636
  * token: '0x20c0000000000000000000000000000000000001',
637
637
  * })
@@ -708,10 +708,10 @@ export namespace setRecipient {
708
708
  * ```ts
709
709
  * import { createClient, http, walletActions } from 'viem'
710
710
  * import { tempo } from 'tempo.ts/chains'
711
- * import * as actions from 'tempo.ts/viem/actions'
711
+ * import { Actions } from 'tempo.ts/viem'
712
712
  *
713
713
  * const client = createClient({
714
- * chain: tempo,
714
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
715
715
  * transport: http(),
716
716
  * }).extend(walletActions)
717
717
  *
@@ -791,16 +791,16 @@ export declare namespace setRecipientSync {
791
791
  * ```ts
792
792
  * import { createClient, http } from 'viem'
793
793
  * import { tempo } from 'tempo.ts/chains'
794
- * import * as actions from 'tempo.ts/viem/actions'
794
+ * import { Actions } from 'tempo.ts/viem'
795
795
  * import { privateKeyToAccount } from 'viem/accounts'
796
796
  *
797
797
  * const client = createClient({
798
798
  * account: privateKeyToAccount('0x...'),
799
- * chain: tempo,
799
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
800
800
  * transport: http(),
801
801
  * })
802
802
  *
803
- * const hash = await actions.rewards.start(client, {
803
+ * const hash = await Actions.rewards.start(client, {
804
804
  * amount: 100000000000000000000n,
805
805
  * seconds: 86400,
806
806
  * token: '0x20c0000000000000000000000000000000000001',
@@ -840,16 +840,16 @@ export async function start<
840
840
  * ```ts
841
841
  * import { createClient, http } from 'viem'
842
842
  * import { tempo } from 'tempo.ts/chains'
843
- * import * as actions from 'tempo.ts/viem/actions'
843
+ * import { Actions } from 'tempo.ts/viem'
844
844
  * import { privateKeyToAccount } from 'viem/accounts'
845
845
  *
846
846
  * const client = createClient({
847
847
  * account: privateKeyToAccount('0x...'),
848
- * chain: tempo,
848
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
849
849
  * transport: http(),
850
850
  * })
851
851
  *
852
- * const { id, receipt } = await actions.rewards.startSync(client, {
852
+ * const { id, receipt } = await Actions.rewards.startSync(client, {
853
853
  * amount: 100000000000000000000n,
854
854
  * seconds: 86400,
855
855
  * token: '0x20c0000000000000000000000000000000000001',
@@ -929,10 +929,10 @@ export namespace start {
929
929
  * ```ts
930
930
  * import { createClient, http, walletActions } from 'viem'
931
931
  * import { tempo } from 'tempo.ts/chains'
932
- * import * as actions from 'tempo.ts/viem/actions'
932
+ * import { Actions } from 'tempo.ts/viem'
933
933
  *
934
934
  * const client = createClient({
935
- * chain: tempo,
935
+ * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
936
936
  * transport: http(),
937
937
  * }).extend(walletActions)
938
938
  *