viem 2.48.3 → 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.
- package/CHANGELOG.md +6 -0
- package/_cjs/errors/version.js +1 -1
- package/_cjs/tempo/Addresses.js +2 -1
- package/_cjs/tempo/Addresses.js.map +1 -1
- package/_cjs/tempo/Decorator.js +7 -0
- package/_cjs/tempo/Decorator.js.map +1 -1
- package/_cjs/tempo/actions/index.js +2 -1
- package/_cjs/tempo/actions/index.js.map +1 -1
- package/_cjs/tempo/actions/virtualAddress.js +95 -0
- package/_cjs/tempo/actions/virtualAddress.js.map +1 -0
- package/_cjs/tempo/index.js +3 -1
- package/_cjs/tempo/index.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/tempo/Addresses.js +1 -0
- package/_esm/tempo/Addresses.js.map +1 -1
- package/_esm/tempo/Decorator.js +7 -0
- package/_esm/tempo/Decorator.js.map +1 -1
- package/_esm/tempo/actions/accessKey.js +10 -10
- package/_esm/tempo/actions/amm.js +14 -14
- package/_esm/tempo/actions/dex.js +34 -34
- package/_esm/tempo/actions/faucet.js +2 -2
- package/_esm/tempo/actions/fee.js +10 -10
- package/_esm/tempo/actions/index.js +1 -0
- package/_esm/tempo/actions/index.js.map +1 -1
- package/_esm/tempo/actions/nonce.js +2 -2
- package/_esm/tempo/actions/policy.js +18 -18
- package/_esm/tempo/actions/reward.js +14 -14
- package/_esm/tempo/actions/token.js +61 -61
- package/_esm/tempo/actions/validator.js +27 -27
- package/_esm/tempo/actions/virtualAddress.js +228 -0
- package/_esm/tempo/actions/virtualAddress.js.map +1 -0
- package/_esm/tempo/index.js +1 -1
- package/_esm/tempo/index.js.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/tempo/Addresses.d.ts +1 -0
- package/_types/tempo/Addresses.d.ts.map +1 -1
- package/_types/tempo/Decorator.d.ts +101 -1
- package/_types/tempo/Decorator.d.ts.map +1 -1
- package/_types/tempo/actions/accessKey.d.ts +10 -10
- package/_types/tempo/actions/amm.d.ts +14 -14
- package/_types/tempo/actions/dex.d.ts +34 -34
- package/_types/tempo/actions/faucet.d.ts +2 -2
- package/_types/tempo/actions/fee.d.ts +10 -10
- package/_types/tempo/actions/index.d.ts +1 -0
- package/_types/tempo/actions/index.d.ts.map +1 -1
- package/_types/tempo/actions/nonce.d.ts +2 -2
- package/_types/tempo/actions/policy.d.ts +18 -18
- package/_types/tempo/actions/reward.d.ts +14 -14
- package/_types/tempo/actions/token.d.ts +61 -61
- package/_types/tempo/actions/validator.d.ts +27 -27
- package/_types/tempo/actions/virtualAddress.d.ts +350 -0
- package/_types/tempo/actions/virtualAddress.d.ts.map +1 -0
- package/_types/tempo/index.d.ts +1 -1
- package/_types/tempo/index.d.ts.map +1 -1
- package/errors/version.ts +1 -1
- package/package.json +2 -2
- package/tempo/Addresses.ts +1 -0
- package/tempo/Decorator.ts +125 -1
- package/tempo/actions/accessKey.ts +10 -10
- package/tempo/actions/amm.ts +14 -14
- package/tempo/actions/dex.ts +34 -34
- package/tempo/actions/faucet.ts +2 -2
- package/tempo/actions/fee.ts +10 -10
- package/tempo/actions/index.ts +1 -0
- package/tempo/actions/nonce.ts +2 -2
- package/tempo/actions/policy.ts +18 -18
- package/tempo/actions/reward.ts +14 -14
- package/tempo/actions/token.ts +61 -61
- package/tempo/actions/validator.ts +27 -27
- package/tempo/actions/virtualAddress.ts +337 -0
- package/tempo/index.ts +8 -1
package/tempo/actions/fee.ts
CHANGED
|
@@ -39,7 +39,7 @@ import type { TransactionReceipt } from '../Transaction.js'
|
|
|
39
39
|
*
|
|
40
40
|
* const client = createClient({
|
|
41
41
|
* account: privateKeyToAccount('0x...'),
|
|
42
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
42
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
43
43
|
* transport: http(),
|
|
44
44
|
* })
|
|
45
45
|
*
|
|
@@ -117,7 +117,7 @@ export namespace getUserToken {
|
|
|
117
117
|
*
|
|
118
118
|
* const client = createClient({
|
|
119
119
|
* account: privateKeyToAccount('0x...'),
|
|
120
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
120
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
121
121
|
* transport: http(),
|
|
122
122
|
* })
|
|
123
123
|
*
|
|
@@ -189,7 +189,7 @@ export namespace setUserToken {
|
|
|
189
189
|
* import { Actions } from 'viem/tempo'
|
|
190
190
|
*
|
|
191
191
|
* const client = createClient({
|
|
192
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
192
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
193
193
|
* transport: http(),
|
|
194
194
|
* }).extend(walletActions)
|
|
195
195
|
*
|
|
@@ -242,7 +242,7 @@ export namespace setUserToken {
|
|
|
242
242
|
*
|
|
243
243
|
* const client = createClient({
|
|
244
244
|
* account: privateKeyToAccount('0x...'),
|
|
245
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
245
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
246
246
|
* transport: http(),
|
|
247
247
|
* })
|
|
248
248
|
*
|
|
@@ -306,7 +306,7 @@ export namespace setUserTokenSync {
|
|
|
306
306
|
* import { Actions } from 'viem/tempo'
|
|
307
307
|
*
|
|
308
308
|
* const client = createClient({
|
|
309
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
309
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
310
310
|
* transport: http(),
|
|
311
311
|
* })
|
|
312
312
|
*
|
|
@@ -375,7 +375,7 @@ export declare namespace watchSetUserToken {
|
|
|
375
375
|
* import { Actions } from 'viem/tempo'
|
|
376
376
|
*
|
|
377
377
|
* const client = createClient({
|
|
378
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
378
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
379
379
|
* transport: http(),
|
|
380
380
|
* })
|
|
381
381
|
*
|
|
@@ -449,7 +449,7 @@ export namespace getValidatorToken {
|
|
|
449
449
|
*
|
|
450
450
|
* const client = createClient({
|
|
451
451
|
* account: privateKeyToAccount('0x...'),
|
|
452
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
452
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
453
453
|
* transport: http(),
|
|
454
454
|
* })
|
|
455
455
|
*
|
|
@@ -521,7 +521,7 @@ export namespace setValidatorToken {
|
|
|
521
521
|
* import { Actions } from 'viem/tempo'
|
|
522
522
|
*
|
|
523
523
|
* const client = createClient({
|
|
524
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
524
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
525
525
|
* transport: http(),
|
|
526
526
|
* }).extend(walletActions)
|
|
527
527
|
*
|
|
@@ -574,7 +574,7 @@ export namespace setValidatorToken {
|
|
|
574
574
|
*
|
|
575
575
|
* const client = createClient({
|
|
576
576
|
* account: privateKeyToAccount('0x...'),
|
|
577
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
577
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
578
578
|
* transport: http(),
|
|
579
579
|
* })
|
|
580
580
|
*
|
|
@@ -638,7 +638,7 @@ export namespace setValidatorTokenSync {
|
|
|
638
638
|
* import { Actions } from 'viem/tempo'
|
|
639
639
|
*
|
|
640
640
|
* const client = createClient({
|
|
641
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
641
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
642
642
|
* transport: http(),
|
|
643
643
|
* })
|
|
644
644
|
*
|
package/tempo/actions/index.ts
CHANGED
package/tempo/actions/nonce.ts
CHANGED
|
@@ -25,7 +25,7 @@ import { defineCall } from '../internal/utils.js'
|
|
|
25
25
|
* import { Actions } from 'viem/tempo'
|
|
26
26
|
*
|
|
27
27
|
* const client = createClient({
|
|
28
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
|
|
28
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' }),
|
|
29
29
|
* transport: http(),
|
|
30
30
|
* })
|
|
31
31
|
*
|
|
@@ -84,7 +84,7 @@ export namespace getNonce {
|
|
|
84
84
|
* import { Actions } from 'viem/tempo'
|
|
85
85
|
*
|
|
86
86
|
* const client = createClient({
|
|
87
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
|
|
87
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' }),
|
|
88
88
|
* transport: http(),
|
|
89
89
|
* })
|
|
90
90
|
*
|
package/tempo/actions/policy.ts
CHANGED
|
@@ -41,7 +41,7 @@ const policyTypeMap = {
|
|
|
41
41
|
*
|
|
42
42
|
* const client = createClient({
|
|
43
43
|
* account: privateKeyToAccount('0x...'),
|
|
44
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
44
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
45
45
|
* transport: http(),
|
|
46
46
|
* })
|
|
47
47
|
*
|
|
@@ -135,7 +135,7 @@ export namespace create {
|
|
|
135
135
|
* import { Actions } from 'viem/tempo'
|
|
136
136
|
*
|
|
137
137
|
* const client = createClient({
|
|
138
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
138
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
139
139
|
* transport: http(),
|
|
140
140
|
* }).extend(walletActions)
|
|
141
141
|
*
|
|
@@ -207,7 +207,7 @@ export namespace create {
|
|
|
207
207
|
*
|
|
208
208
|
* const client = createClient({
|
|
209
209
|
* account: privateKeyToAccount('0x...'),
|
|
210
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
210
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
211
211
|
* transport: http(),
|
|
212
212
|
* })
|
|
213
213
|
*
|
|
@@ -274,7 +274,7 @@ export namespace createSync {
|
|
|
274
274
|
*
|
|
275
275
|
* const client = createClient({
|
|
276
276
|
* account: privateKeyToAccount('0x...'),
|
|
277
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
277
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
278
278
|
* transport: http(),
|
|
279
279
|
* })
|
|
280
280
|
*
|
|
@@ -349,7 +349,7 @@ export namespace setAdmin {
|
|
|
349
349
|
* import { Actions } from 'viem/tempo'
|
|
350
350
|
*
|
|
351
351
|
* const client = createClient({
|
|
352
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
352
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
353
353
|
* transport: http(),
|
|
354
354
|
* }).extend(walletActions)
|
|
355
355
|
*
|
|
@@ -410,7 +410,7 @@ export namespace setAdmin {
|
|
|
410
410
|
*
|
|
411
411
|
* const client = createClient({
|
|
412
412
|
* account: privateKeyToAccount('0x...'),
|
|
413
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
413
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
414
414
|
* transport: http(),
|
|
415
415
|
* })
|
|
416
416
|
*
|
|
@@ -477,7 +477,7 @@ export namespace setAdminSync {
|
|
|
477
477
|
*
|
|
478
478
|
* const client = createClient({
|
|
479
479
|
* account: privateKeyToAccount('0x...'),
|
|
480
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
480
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
481
481
|
* transport: http(),
|
|
482
482
|
* })
|
|
483
483
|
*
|
|
@@ -559,7 +559,7 @@ export namespace modifyWhitelist {
|
|
|
559
559
|
* import { Actions } from 'viem/tempo'
|
|
560
560
|
*
|
|
561
561
|
* const client = createClient({
|
|
562
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
562
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
563
563
|
* transport: http(),
|
|
564
564
|
* }).extend(walletActions)
|
|
565
565
|
*
|
|
@@ -622,7 +622,7 @@ export namespace modifyWhitelist {
|
|
|
622
622
|
*
|
|
623
623
|
* const client = createClient({
|
|
624
624
|
* account: privateKeyToAccount('0x...'),
|
|
625
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
625
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
626
626
|
* transport: http(),
|
|
627
627
|
* })
|
|
628
628
|
*
|
|
@@ -690,7 +690,7 @@ export namespace modifyWhitelistSync {
|
|
|
690
690
|
*
|
|
691
691
|
* const client = createClient({
|
|
692
692
|
* account: privateKeyToAccount('0x...'),
|
|
693
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
693
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
694
694
|
* transport: http(),
|
|
695
695
|
* })
|
|
696
696
|
*
|
|
@@ -772,7 +772,7 @@ export namespace modifyBlacklist {
|
|
|
772
772
|
* import { Actions } from 'viem/tempo'
|
|
773
773
|
*
|
|
774
774
|
* const client = createClient({
|
|
775
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
775
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
776
776
|
* transport: http(),
|
|
777
777
|
* }).extend(walletActions)
|
|
778
778
|
*
|
|
@@ -835,7 +835,7 @@ export namespace modifyBlacklist {
|
|
|
835
835
|
*
|
|
836
836
|
* const client = createClient({
|
|
837
837
|
* account: privateKeyToAccount('0x...'),
|
|
838
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
838
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
839
839
|
* transport: http(),
|
|
840
840
|
* })
|
|
841
841
|
*
|
|
@@ -901,7 +901,7 @@ export namespace modifyBlacklistSync {
|
|
|
901
901
|
* import { Actions } from 'viem/tempo'
|
|
902
902
|
*
|
|
903
903
|
* const client = createClient({
|
|
904
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
904
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
905
905
|
* transport: http(),
|
|
906
906
|
* })
|
|
907
907
|
*
|
|
@@ -971,7 +971,7 @@ export namespace getData {
|
|
|
971
971
|
* import { Actions } from 'viem/tempo'
|
|
972
972
|
*
|
|
973
973
|
* const client = createClient({
|
|
974
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
974
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
975
975
|
* transport: http(),
|
|
976
976
|
* })
|
|
977
977
|
*
|
|
@@ -1039,7 +1039,7 @@ export namespace isAuthorized {
|
|
|
1039
1039
|
* import { Actions } from 'viem/tempo'
|
|
1040
1040
|
*
|
|
1041
1041
|
* const client = createClient({
|
|
1042
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1042
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1043
1043
|
* transport: http(),
|
|
1044
1044
|
* })
|
|
1045
1045
|
*
|
|
@@ -1119,7 +1119,7 @@ export declare namespace watchCreate {
|
|
|
1119
1119
|
* import { Actions } from 'viem/tempo'
|
|
1120
1120
|
*
|
|
1121
1121
|
* const client = createClient({
|
|
1122
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1122
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1123
1123
|
* transport: http(),
|
|
1124
1124
|
* })
|
|
1125
1125
|
*
|
|
@@ -1192,7 +1192,7 @@ export declare namespace watchAdminUpdated {
|
|
|
1192
1192
|
* import { Actions } from 'viem/tempo'
|
|
1193
1193
|
*
|
|
1194
1194
|
* const client = createClient({
|
|
1195
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1195
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1196
1196
|
* transport: http(),
|
|
1197
1197
|
* })
|
|
1198
1198
|
*
|
|
@@ -1265,7 +1265,7 @@ export declare namespace watchWhitelistUpdated {
|
|
|
1265
1265
|
* import { Actions } from 'viem/tempo'
|
|
1266
1266
|
*
|
|
1267
1267
|
* const client = createClient({
|
|
1268
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1268
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1269
1269
|
* transport: http(),
|
|
1270
1270
|
* })
|
|
1271
1271
|
*
|
package/tempo/actions/reward.ts
CHANGED
|
@@ -48,7 +48,7 @@ import { defineCall } from '../internal/utils.js'
|
|
|
48
48
|
*
|
|
49
49
|
* const client = createClient({
|
|
50
50
|
* account: privateKeyToAccount('0x...'),
|
|
51
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
51
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
52
52
|
* transport: http(),
|
|
53
53
|
* })
|
|
54
54
|
*
|
|
@@ -120,7 +120,7 @@ export namespace claim {
|
|
|
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
|
*
|
|
@@ -171,7 +171,7 @@ export namespace claim {
|
|
|
171
171
|
*
|
|
172
172
|
* const client = createClient({
|
|
173
173
|
* account: privateKeyToAccount('0x...'),
|
|
174
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
174
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
175
175
|
* transport: http(),
|
|
176
176
|
* })
|
|
177
177
|
*
|
|
@@ -235,7 +235,7 @@ export namespace claimSync {
|
|
|
235
235
|
*
|
|
236
236
|
* const client = createClient({
|
|
237
237
|
* account: privateKeyToAccount('0x...'),
|
|
238
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
238
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
239
239
|
* transport: http(),
|
|
240
240
|
* })
|
|
241
241
|
*
|
|
@@ -279,7 +279,7 @@ export async function distribute<
|
|
|
279
279
|
*
|
|
280
280
|
* const client = createClient({
|
|
281
281
|
* account: privateKeyToAccount('0x...'),
|
|
282
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
282
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
283
283
|
* transport: http(),
|
|
284
284
|
* })
|
|
285
285
|
*
|
|
@@ -363,7 +363,7 @@ export namespace distribute {
|
|
|
363
363
|
* import { Actions } from 'viem/tempo'
|
|
364
364
|
*
|
|
365
365
|
* const client = createClient({
|
|
366
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
366
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
367
367
|
* transport: http(),
|
|
368
368
|
* }).extend(walletActions)
|
|
369
369
|
*
|
|
@@ -437,7 +437,7 @@ export declare namespace distributeSync {
|
|
|
437
437
|
* import { Actions } from 'viem/tempo'
|
|
438
438
|
*
|
|
439
439
|
* const client = createClient({
|
|
440
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
440
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
441
441
|
* transport: http(),
|
|
442
442
|
* })
|
|
443
443
|
*
|
|
@@ -503,7 +503,7 @@ export namespace getGlobalRewardPerToken {
|
|
|
503
503
|
* import { Actions } from 'viem/tempo'
|
|
504
504
|
*
|
|
505
505
|
* const client = createClient({
|
|
506
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
506
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
507
507
|
* transport: http(),
|
|
508
508
|
* })
|
|
509
509
|
*
|
|
@@ -576,7 +576,7 @@ export namespace getPendingRewards {
|
|
|
576
576
|
* import { Actions } from 'viem/tempo'
|
|
577
577
|
*
|
|
578
578
|
* const client = createClient({
|
|
579
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
579
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
580
580
|
* transport: http(),
|
|
581
581
|
* })
|
|
582
582
|
*
|
|
@@ -654,7 +654,7 @@ export namespace getUserRewardInfo {
|
|
|
654
654
|
*
|
|
655
655
|
* const client = createClient({
|
|
656
656
|
* account: privateKeyToAccount('0x...'),
|
|
657
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
657
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
658
658
|
* transport: http(),
|
|
659
659
|
* })
|
|
660
660
|
*
|
|
@@ -699,7 +699,7 @@ export async function setRecipient<
|
|
|
699
699
|
*
|
|
700
700
|
* const client = createClient({
|
|
701
701
|
* account: privateKeyToAccount('0x...'),
|
|
702
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
702
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
703
703
|
* transport: http(),
|
|
704
704
|
* })
|
|
705
705
|
*
|
|
@@ -783,7 +783,7 @@ export namespace setRecipient {
|
|
|
783
783
|
* import { Actions } from 'viem/tempo'
|
|
784
784
|
*
|
|
785
785
|
* const client = createClient({
|
|
786
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
786
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
787
787
|
* transport: http(),
|
|
788
788
|
* }).extend(walletActions)
|
|
789
789
|
*
|
|
@@ -854,7 +854,7 @@ export declare namespace setRecipientSync {
|
|
|
854
854
|
* import { Actions } from 'viem/tempo'
|
|
855
855
|
*
|
|
856
856
|
* const client = createClient({
|
|
857
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
857
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
858
858
|
* transport: http(),
|
|
859
859
|
* })
|
|
860
860
|
*
|
|
@@ -928,7 +928,7 @@ export declare namespace watchRewardDistributed {
|
|
|
928
928
|
* import { Actions } from 'viem/tempo'
|
|
929
929
|
*
|
|
930
930
|
* const client = createClient({
|
|
931
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
931
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
932
932
|
* transport: http(),
|
|
933
933
|
* })
|
|
934
934
|
*
|