viem 2.48.2 → 2.48.4

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 (78) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/_cjs/errors/version.js +1 -1
  3. package/_cjs/tempo/Addresses.js +2 -1
  4. package/_cjs/tempo/Addresses.js.map +1 -1
  5. package/_cjs/tempo/Decorator.js +7 -0
  6. package/_cjs/tempo/Decorator.js.map +1 -1
  7. package/_cjs/tempo/actions/index.js +2 -1
  8. package/_cjs/tempo/actions/index.js.map +1 -1
  9. package/_cjs/tempo/actions/virtualAddress.js +95 -0
  10. package/_cjs/tempo/actions/virtualAddress.js.map +1 -0
  11. package/_cjs/tempo/index.js +7 -2
  12. package/_cjs/tempo/index.js.map +1 -1
  13. package/_esm/errors/version.js +1 -1
  14. package/_esm/tempo/Addresses.js +1 -0
  15. package/_esm/tempo/Addresses.js.map +1 -1
  16. package/_esm/tempo/Decorator.js +7 -0
  17. package/_esm/tempo/Decorator.js.map +1 -1
  18. package/_esm/tempo/actions/accessKey.js +10 -10
  19. package/_esm/tempo/actions/amm.js +14 -14
  20. package/_esm/tempo/actions/dex.js +34 -34
  21. package/_esm/tempo/actions/faucet.js +2 -2
  22. package/_esm/tempo/actions/fee.js +10 -10
  23. package/_esm/tempo/actions/index.js +1 -0
  24. package/_esm/tempo/actions/index.js.map +1 -1
  25. package/_esm/tempo/actions/nonce.js +2 -2
  26. package/_esm/tempo/actions/policy.js +18 -18
  27. package/_esm/tempo/actions/reward.js +14 -14
  28. package/_esm/tempo/actions/token.js +61 -61
  29. package/_esm/tempo/actions/validator.js +27 -27
  30. package/_esm/tempo/actions/virtualAddress.js +228 -0
  31. package/_esm/tempo/actions/virtualAddress.js.map +1 -0
  32. package/_esm/tempo/index.js +3 -3
  33. package/_esm/tempo/index.js.map +1 -1
  34. package/_types/errors/version.d.ts +1 -1
  35. package/_types/tempo/Addresses.d.ts +1 -0
  36. package/_types/tempo/Addresses.d.ts.map +1 -1
  37. package/_types/tempo/Decorator.d.ts +101 -1
  38. package/_types/tempo/Decorator.d.ts.map +1 -1
  39. package/_types/tempo/actions/accessKey.d.ts +10 -10
  40. package/_types/tempo/actions/amm.d.ts +14 -14
  41. package/_types/tempo/actions/dex.d.ts +34 -34
  42. package/_types/tempo/actions/faucet.d.ts +2 -2
  43. package/_types/tempo/actions/fee.d.ts +10 -10
  44. package/_types/tempo/actions/index.d.ts +1 -0
  45. package/_types/tempo/actions/index.d.ts.map +1 -1
  46. package/_types/tempo/actions/nonce.d.ts +2 -2
  47. package/_types/tempo/actions/policy.d.ts +18 -18
  48. package/_types/tempo/actions/reward.d.ts +14 -14
  49. package/_types/tempo/actions/token.d.ts +61 -61
  50. package/_types/tempo/actions/validator.d.ts +27 -27
  51. package/_types/tempo/actions/virtualAddress.d.ts +350 -0
  52. package/_types/tempo/actions/virtualAddress.d.ts.map +1 -0
  53. package/_types/tempo/index.d.ts +2 -2
  54. package/_types/tempo/index.d.ts.map +1 -1
  55. package/errors/version.ts +1 -1
  56. package/package.json +2 -2
  57. package/tempo/Addresses.ts +1 -0
  58. package/tempo/Decorator.ts +125 -1
  59. package/tempo/actions/accessKey.ts +10 -10
  60. package/tempo/actions/amm.ts +14 -14
  61. package/tempo/actions/dex.ts +34 -34
  62. package/tempo/actions/faucet.ts +2 -2
  63. package/tempo/actions/fee.ts +10 -10
  64. package/tempo/actions/index.ts +1 -0
  65. package/tempo/actions/nonce.ts +2 -2
  66. package/tempo/actions/policy.ts +18 -18
  67. package/tempo/actions/reward.ts +14 -14
  68. package/tempo/actions/token.ts +61 -61
  69. package/tempo/actions/validator.ts +27 -27
  70. package/tempo/actions/virtualAddress.ts +337 -0
  71. package/tempo/index.ts +10 -3
  72. package/_cjs/tempo/Secp256k1.js +0 -6
  73. package/_cjs/tempo/Secp256k1.js.map +0 -1
  74. package/_esm/tempo/Secp256k1.js +0 -3
  75. package/_esm/tempo/Secp256k1.js.map +0 -1
  76. package/_types/tempo/Secp256k1.d.ts +0 -2
  77. package/_types/tempo/Secp256k1.d.ts.map +0 -1
  78. package/tempo/Secp256k1.ts +0 -2
@@ -21,7 +21,7 @@ import { defineCall } from '../internal/utils.js';
21
21
  *
22
22
  * const client = createClient({
23
23
  * account: privateKeyToAccount('0x...'),
24
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
24
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
25
25
  * transport: http(),
26
26
  * })
27
27
  *
@@ -66,7 +66,7 @@ export async function buy(client, parameters) {
66
66
  * import { Actions } from 'viem/tempo'
67
67
  *
68
68
  * const client = createClient({
69
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
69
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
70
70
  * transport: http(),
71
71
  * }).extend(walletActions)
72
72
  *
@@ -108,7 +108,7 @@ export async function buy(client, parameters) {
108
108
  *
109
109
  * const client = createClient({
110
110
  * account: privateKeyToAccount('0x...'),
111
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
111
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
112
112
  * transport: http(),
113
113
  * })
114
114
  *
@@ -144,7 +144,7 @@ export async function buySync(client, parameters) {
144
144
  *
145
145
  * const client = createClient({
146
146
  * account: privateKeyToAccount('0x...'),
147
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
147
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
148
148
  * transport: http(),
149
149
  * })
150
150
  *
@@ -186,7 +186,7 @@ export async function cancel(client, parameters) {
186
186
  * import { Actions } from 'viem/tempo'
187
187
  *
188
188
  * const client = createClient({
189
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
189
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
190
190
  * transport: http(),
191
191
  * }).extend(walletActions)
192
192
  *
@@ -243,7 +243,7 @@ export async function cancel(client, parameters) {
243
243
  *
244
244
  * const client = createClient({
245
245
  * account: privateKeyToAccount('0x...'),
246
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
246
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
247
247
  * transport: http(),
248
248
  * })
249
249
  *
@@ -283,7 +283,7 @@ export async function cancelSync(client, parameters) {
283
283
  *
284
284
  * const client = createClient({
285
285
  * account: privateKeyToAccount('0x...'),
286
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
286
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
287
287
  * transport: http(),
288
288
  * })
289
289
  *
@@ -325,7 +325,7 @@ export async function cancelStale(client, parameters) {
325
325
  * import { Actions } from 'viem/tempo'
326
326
  *
327
327
  * const client = createClient({
328
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
328
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
329
329
  * transport: http(),
330
330
  * }).extend(walletActions)
331
331
  *
@@ -385,7 +385,7 @@ export async function cancelStale(client, parameters) {
385
385
  *
386
386
  * const client = createClient({
387
387
  * account: privateKeyToAccount('0x...'),
388
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
388
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
389
389
  * transport: http(),
390
390
  * })
391
391
  *
@@ -422,7 +422,7 @@ export async function cancelStaleSync(client, parameters) {
422
422
  *
423
423
  * const client = createClient({
424
424
  * account: privateKeyToAccount('0x...'),
425
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
425
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
426
426
  * transport: http(),
427
427
  * })
428
428
  *
@@ -464,7 +464,7 @@ export async function createPair(client, parameters) {
464
464
  * import { Actions } from 'viem/tempo'
465
465
  *
466
466
  * const client = createClient({
467
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
467
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
468
468
  * transport: http(),
469
469
  * }).extend(walletActions)
470
470
  *
@@ -521,7 +521,7 @@ export async function createPair(client, parameters) {
521
521
  *
522
522
  * const client = createClient({
523
523
  * account: privateKeyToAccount('0x...'),
524
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
524
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
525
525
  * transport: http(),
526
526
  * })
527
527
  *
@@ -556,7 +556,7 @@ export async function createPairSync(client, parameters) {
556
556
  * import { Actions } from 'viem/tempo'
557
557
  *
558
558
  * const client = createClient({
559
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
559
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
560
560
  * transport: http(),
561
561
  * })
562
562
  *
@@ -608,7 +608,7 @@ export async function getBalance(client, parameters) {
608
608
  * import { Actions } from 'viem/tempo'
609
609
  *
610
610
  * const client = createClient({
611
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
611
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
612
612
  * transport: http(),
613
613
  * })
614
614
  *
@@ -658,7 +658,7 @@ export async function getBuyQuote(client, parameters) {
658
658
  * import { Actions } from 'viem/tempo'
659
659
  *
660
660
  * const client = createClient({
661
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
661
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
662
662
  * transport: http(),
663
663
  * })
664
664
  *
@@ -706,7 +706,7 @@ export async function getOrder(client, parameters) {
706
706
  * import { Actions } from 'viem/tempo'
707
707
  *
708
708
  * const client = createClient({
709
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
709
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
710
710
  * transport: http(),
711
711
  * })
712
712
  *
@@ -756,7 +756,7 @@ export async function getOrderbook(client, parameters) {
756
756
  * import { Actions, Tick } from 'viem/tempo'
757
757
  *
758
758
  * const client = createClient({
759
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
759
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
760
760
  * transport: http(),
761
761
  * })
762
762
  *
@@ -807,7 +807,7 @@ export async function getTickLevel(client, parameters) {
807
807
  * import { Actions } from 'viem/tempo'
808
808
  *
809
809
  * const client = createClient({
810
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
810
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
811
811
  * transport: http(),
812
812
  * })
813
813
  *
@@ -859,7 +859,7 @@ export async function getSellQuote(client, parameters) {
859
859
  *
860
860
  * const client = createClient({
861
861
  * account: privateKeyToAccount('0x...'),
862
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
862
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
863
863
  * transport: http(),
864
864
  * })
865
865
  *
@@ -904,7 +904,7 @@ export async function place(client, parameters) {
904
904
  * import { Actions, Tick } from 'viem/tempo'
905
905
  *
906
906
  * const client = createClient({
907
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
907
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
908
908
  * transport: http(),
909
909
  * }).extend(walletActions)
910
910
  *
@@ -965,7 +965,7 @@ export async function place(client, parameters) {
965
965
  *
966
966
  * const client = createClient({
967
967
  * account: privateKeyToAccount('0x...'),
968
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
968
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
969
969
  * transport: http(),
970
970
  * })
971
971
  *
@@ -1011,7 +1011,7 @@ export async function placeFlip(client, parameters) {
1011
1011
  * import { Actions, Tick } from 'viem/tempo'
1012
1012
  *
1013
1013
  * const client = createClient({
1014
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1014
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
1015
1015
  * transport: http(),
1016
1016
  * }).extend(walletActions)
1017
1017
  *
@@ -1074,7 +1074,7 @@ export async function placeFlip(client, parameters) {
1074
1074
  *
1075
1075
  * const client = createClient({
1076
1076
  * account: privateKeyToAccount('0x...'),
1077
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1077
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
1078
1078
  * transport: http(),
1079
1079
  * })
1080
1080
  *
@@ -1115,7 +1115,7 @@ export async function placeFlipSync(client, parameters) {
1115
1115
  *
1116
1116
  * const client = createClient({
1117
1117
  * account: privateKeyToAccount('0x...'),
1118
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1118
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
1119
1119
  * transport: http(),
1120
1120
  * })
1121
1121
  *
@@ -1155,7 +1155,7 @@ export async function placeSync(client, parameters) {
1155
1155
  *
1156
1156
  * const client = createClient({
1157
1157
  * account: privateKeyToAccount('0x...'),
1158
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1158
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
1159
1159
  * transport: http(),
1160
1160
  * })
1161
1161
  *
@@ -1200,7 +1200,7 @@ export async function sell(client, parameters) {
1200
1200
  * import { Actions } from 'viem/tempo'
1201
1201
  *
1202
1202
  * const client = createClient({
1203
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1203
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
1204
1204
  * transport: http(),
1205
1205
  * }).extend(walletActions)
1206
1206
  *
@@ -1242,7 +1242,7 @@ export async function sell(client, parameters) {
1242
1242
  *
1243
1243
  * const client = createClient({
1244
1244
  * account: privateKeyToAccount('0x...'),
1245
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1245
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
1246
1246
  * transport: http(),
1247
1247
  * })
1248
1248
  *
@@ -1276,7 +1276,7 @@ export async function sellSync(client, parameters) {
1276
1276
  * import { Actions } from 'viem/tempo'
1277
1277
  *
1278
1278
  * const client = createClient({
1279
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1279
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
1280
1280
  * transport: http(),
1281
1281
  * })
1282
1282
  *
@@ -1321,7 +1321,7 @@ export function watchFlipOrderPlaced(client, parameters) {
1321
1321
  * import { Actions } from 'viem/tempo'
1322
1322
  *
1323
1323
  * const client = createClient({
1324
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1324
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
1325
1325
  * transport: http(),
1326
1326
  * })
1327
1327
  *
@@ -1361,7 +1361,7 @@ export function watchOrderCancelled(client, parameters) {
1361
1361
  * import { Actions } from 'viem/tempo'
1362
1362
  *
1363
1363
  * const client = createClient({
1364
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1364
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
1365
1365
  * transport: http(),
1366
1366
  * })
1367
1367
  *
@@ -1405,7 +1405,7 @@ export function watchOrderFilled(client, parameters) {
1405
1405
  * import { Actions } from 'viem/tempo'
1406
1406
  *
1407
1407
  * const client = createClient({
1408
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1408
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
1409
1409
  * transport: http(),
1410
1410
  * })
1411
1411
  *
@@ -1450,7 +1450,7 @@ export function watchOrderPlaced(client, parameters) {
1450
1450
  *
1451
1451
  * const client = createClient({
1452
1452
  * account: privateKeyToAccount('0x...'),
1453
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1453
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
1454
1454
  * transport: http(),
1455
1455
  * })
1456
1456
  *
@@ -1493,7 +1493,7 @@ export async function withdraw(client, parameters) {
1493
1493
  * import { Actions } from 'viem/tempo'
1494
1494
  *
1495
1495
  * const client = createClient({
1496
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1496
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
1497
1497
  * transport: http(),
1498
1498
  * }).extend(walletActions)
1499
1499
  *
@@ -1533,7 +1533,7 @@ export async function withdraw(client, parameters) {
1533
1533
  *
1534
1534
  * const client = createClient({
1535
1535
  * account: privateKeyToAccount('0x...'),
1536
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
1536
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
1537
1537
  * transport: http(),
1538
1538
  * })
1539
1539
  *
@@ -11,7 +11,7 @@ import { waitForTransactionReceipt } from '../../actions/public/waitForTransacti
11
11
  * import { Actions } from 'viem/tempo'
12
12
  *
13
13
  * const client = createClient({
14
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
14
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' }),
15
15
  * transport: http(),
16
16
  * })
17
17
  *
@@ -43,7 +43,7 @@ export async function fund(client, parameters) {
43
43
  * import { Actions } from 'viem/tempo'
44
44
  *
45
45
  * const client = createClient({
46
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
46
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' }),
47
47
  * transport: http(),
48
48
  * })
49
49
  *
@@ -21,7 +21,7 @@ import { defineCall } from '../internal/utils.js';
21
21
  *
22
22
  * const client = createClient({
23
23
  * account: privateKeyToAccount('0x...'),
24
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
24
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
25
25
  * transport: http(),
26
26
  * })
27
27
  *
@@ -78,7 +78,7 @@ export async function getUserToken(client, ...parameters) {
78
78
  *
79
79
  * const client = createClient({
80
80
  * account: privateKeyToAccount('0x...'),
81
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
81
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
82
82
  * transport: http(),
83
83
  * })
84
84
  *
@@ -120,7 +120,7 @@ export async function setUserToken(client, parameters) {
120
120
  * import { Actions } from 'viem/tempo'
121
121
  *
122
122
  * const client = createClient({
123
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
123
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
124
124
  * transport: http(),
125
125
  * }).extend(walletActions)
126
126
  *
@@ -174,7 +174,7 @@ export async function setUserToken(client, parameters) {
174
174
  *
175
175
  * const client = createClient({
176
176
  * account: privateKeyToAccount('0x...'),
177
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
177
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
178
178
  * transport: http(),
179
179
  * })
180
180
  *
@@ -209,7 +209,7 @@ export async function setUserTokenSync(client, parameters) {
209
209
  * import { Actions } from 'viem/tempo'
210
210
  *
211
211
  * const client = createClient({
212
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
212
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
213
213
  * transport: http(),
214
214
  * })
215
215
  *
@@ -248,7 +248,7 @@ export function watchSetUserToken(client, parameters) {
248
248
  * import { Actions } from 'viem/tempo'
249
249
  *
250
250
  * const client = createClient({
251
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
251
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
252
252
  * transport: http(),
253
253
  * })
254
254
  *
@@ -304,7 +304,7 @@ export async function getValidatorToken(client, parameters) {
304
304
  *
305
305
  * const client = createClient({
306
306
  * account: privateKeyToAccount('0x...'),
307
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
307
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
308
308
  * transport: http(),
309
309
  * })
310
310
  *
@@ -346,7 +346,7 @@ export async function setValidatorToken(client, parameters) {
346
346
  * import { Actions } from 'viem/tempo'
347
347
  *
348
348
  * const client = createClient({
349
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
349
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
350
350
  * transport: http(),
351
351
  * }).extend(walletActions)
352
352
  *
@@ -400,7 +400,7 @@ export async function setValidatorToken(client, parameters) {
400
400
  *
401
401
  * const client = createClient({
402
402
  * account: privateKeyToAccount('0x...'),
403
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
403
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
404
404
  * transport: http(),
405
405
  * })
406
406
  *
@@ -435,7 +435,7 @@ export async function setValidatorTokenSync(client, parameters) {
435
435
  * import { Actions } from 'viem/tempo'
436
436
  *
437
437
  * const client = createClient({
438
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
438
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
439
439
  * transport: http(),
440
440
  * })
441
441
  *
@@ -10,5 +10,6 @@ export * as reward from './reward.js';
10
10
  export * as simulate from './simulate.js';
11
11
  export * as token from './token.js';
12
12
  export * as validator from './validator.js';
13
+ export * as virtualAddress from './virtualAddress.js';
13
14
  export * as zone from './zone.js';
14
15
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../tempo/actions/index.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA;AAC/B,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA;AAC/B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA;AAC/B,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAA;AACzC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,IAAI,MAAM,WAAW,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../tempo/actions/index.ts"],"names":[],"mappings":"AAAA,gDAAgD;AAChD,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA;AAC/B,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA;AAC/B,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,GAAG,MAAM,UAAU,CAAA;AAC/B,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,MAAM,MAAM,aAAa,CAAA;AACrC,OAAO,KAAK,QAAQ,MAAM,eAAe,CAAA;AACzC,OAAO,KAAK,KAAK,MAAM,YAAY,CAAA;AACnC,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAA;AAC3C,OAAO,KAAK,cAAc,MAAM,qBAAqB,CAAA;AACrD,OAAO,KAAK,IAAI,MAAM,WAAW,CAAA"}
@@ -13,7 +13,7 @@ import { defineCall } from '../internal/utils.js';
13
13
  * import { Actions } from 'viem/tempo'
14
14
  *
15
15
  * const client = createClient({
16
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
16
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' }),
17
17
  * transport: http(),
18
18
  * })
19
19
  *
@@ -50,7 +50,7 @@ export async function getNonce(client, parameters) {
50
50
  * import { Actions } from 'viem/tempo'
51
51
  *
52
52
  * const client = createClient({
53
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
53
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' }),
54
54
  * transport: http(),
55
55
  * })
56
56
  *
@@ -23,7 +23,7 @@ const policyTypeMap = {
23
23
  *
24
24
  * const client = createClient({
25
25
  * account: privateKeyToAccount('0x...'),
26
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
26
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
27
27
  * transport: http(),
28
28
  * })
29
29
  *
@@ -71,7 +71,7 @@ export async function create(client, parameters) {
71
71
  * import { Actions } from 'viem/tempo'
72
72
  *
73
73
  * const client = createClient({
74
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
74
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
75
75
  * transport: http(),
76
76
  * }).extend(walletActions)
77
77
  *
@@ -144,7 +144,7 @@ export async function create(client, parameters) {
144
144
  *
145
145
  * const client = createClient({
146
146
  * account: privateKeyToAccount('0x...'),
147
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
147
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
148
148
  * transport: http(),
149
149
  * })
150
150
  *
@@ -182,7 +182,7 @@ export async function createSync(client, parameters) {
182
182
  *
183
183
  * const client = createClient({
184
184
  * account: privateKeyToAccount('0x...'),
185
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
185
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
186
186
  * transport: http(),
187
187
  * })
188
188
  *
@@ -225,7 +225,7 @@ export async function setAdmin(client, parameters) {
225
225
  * import { Actions } from 'viem/tempo'
226
226
  *
227
227
  * const client = createClient({
228
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
228
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
229
229
  * transport: http(),
230
230
  * }).extend(walletActions)
231
231
  *
@@ -287,7 +287,7 @@ export async function setAdmin(client, parameters) {
287
287
  *
288
288
  * const client = createClient({
289
289
  * account: privateKeyToAccount('0x...'),
290
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
290
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
291
291
  * transport: http(),
292
292
  * })
293
293
  *
@@ -325,7 +325,7 @@ export async function setAdminSync(client, parameters) {
325
325
  *
326
326
  * const client = createClient({
327
327
  * account: privateKeyToAccount('0x...'),
328
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
328
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
329
329
  * transport: http(),
330
330
  * })
331
331
  *
@@ -373,7 +373,7 @@ export async function modifyWhitelist(client, parameters) {
373
373
  * import { Actions } from 'viem/tempo'
374
374
  *
375
375
  * const client = createClient({
376
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
376
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
377
377
  * transport: http(),
378
378
  * }).extend(walletActions)
379
379
  *
@@ -437,7 +437,7 @@ export async function modifyWhitelist(client, parameters) {
437
437
  *
438
438
  * const client = createClient({
439
439
  * account: privateKeyToAccount('0x...'),
440
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
440
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
441
441
  * transport: http(),
442
442
  * })
443
443
  *
@@ -476,7 +476,7 @@ export async function modifyWhitelistSync(client, parameters) {
476
476
  *
477
477
  * const client = createClient({
478
478
  * account: privateKeyToAccount('0x...'),
479
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
479
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
480
480
  * transport: http(),
481
481
  * })
482
482
  *
@@ -524,7 +524,7 @@ export async function modifyBlacklist(client, parameters) {
524
524
  * import { Actions } from 'viem/tempo'
525
525
  *
526
526
  * const client = createClient({
527
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
527
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
528
528
  * transport: http(),
529
529
  * }).extend(walletActions)
530
530
  *
@@ -588,7 +588,7 @@ export async function modifyBlacklist(client, parameters) {
588
588
  *
589
589
  * const client = createClient({
590
590
  * account: privateKeyToAccount('0x...'),
591
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
591
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
592
592
  * transport: http(),
593
593
  * })
594
594
  *
@@ -625,7 +625,7 @@ export async function modifyBlacklistSync(client, parameters) {
625
625
  * import { Actions } from 'viem/tempo'
626
626
  *
627
627
  * const client = createClient({
628
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
628
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
629
629
  * transport: http(),
630
630
  * })
631
631
  *
@@ -677,7 +677,7 @@ export async function getData(client, parameters) {
677
677
  * import { Actions } from 'viem/tempo'
678
678
  *
679
679
  * const client = createClient({
680
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
680
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
681
681
  * transport: http(),
682
682
  * })
683
683
  *
@@ -726,7 +726,7 @@ export async function isAuthorized(client, parameters) {
726
726
  * import { Actions } from 'viem/tempo'
727
727
  *
728
728
  * const client = createClient({
729
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
729
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
730
730
  * transport: http(),
731
731
  * })
732
732
  *
@@ -768,7 +768,7 @@ export function watchCreate(client, parameters) {
768
768
  * import { Actions } from 'viem/tempo'
769
769
  *
770
770
  * const client = createClient({
771
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
771
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
772
772
  * transport: http(),
773
773
  * })
774
774
  *
@@ -807,7 +807,7 @@ export function watchAdminUpdated(client, parameters) {
807
807
  * import { Actions } from 'viem/tempo'
808
808
  *
809
809
  * const client = createClient({
810
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
810
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
811
811
  * transport: http(),
812
812
  * })
813
813
  *
@@ -846,7 +846,7 @@ export function watchWhitelistUpdated(client, parameters) {
846
846
  * import { Actions } from 'viem/tempo'
847
847
  *
848
848
  * const client = createClient({
849
- * chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
849
+ * chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
850
850
  * transport: http(),
851
851
  * })
852
852
  *