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.
- package/CHANGELOG.md +12 -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 +7 -2
- 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 +3 -3
- 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 +2 -2
- 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 +10 -3
- package/_cjs/tempo/Secp256k1.js +0 -6
- package/_cjs/tempo/Secp256k1.js.map +0 -1
- package/_esm/tempo/Secp256k1.js +0 -3
- package/_esm/tempo/Secp256k1.js.map +0 -1
- package/_types/tempo/Secp256k1.d.ts +0 -2
- package/_types/tempo/Secp256k1.d.ts.map +0 -1
- package/tempo/Secp256k1.ts +0 -2
|
@@ -27,7 +27,7 @@ import type { TransactionReceipt } from '../Transaction.js';
|
|
|
27
27
|
*
|
|
28
28
|
* const client = createClient({
|
|
29
29
|
* account: privateKeyToAccount('0x...'),
|
|
30
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
30
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
31
31
|
* transport: http(),
|
|
32
32
|
* })
|
|
33
33
|
*
|
|
@@ -90,7 +90,7 @@ export declare namespace getUserToken {
|
|
|
90
90
|
*
|
|
91
91
|
* const client = createClient({
|
|
92
92
|
* account: privateKeyToAccount('0x...'),
|
|
93
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
93
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
94
94
|
* transport: http(),
|
|
95
95
|
* })
|
|
96
96
|
*
|
|
@@ -129,7 +129,7 @@ export declare namespace setUserToken {
|
|
|
129
129
|
* import { Actions } from 'viem/tempo'
|
|
130
130
|
*
|
|
131
131
|
* const client = createClient({
|
|
132
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
132
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
133
133
|
* transport: http(),
|
|
134
134
|
* }).extend(walletActions)
|
|
135
135
|
*
|
|
@@ -323,7 +323,7 @@ export declare namespace setUserToken {
|
|
|
323
323
|
*
|
|
324
324
|
* const client = createClient({
|
|
325
325
|
* account: privateKeyToAccount('0x...'),
|
|
326
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
326
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
327
327
|
* transport: http(),
|
|
328
328
|
* })
|
|
329
329
|
*
|
|
@@ -358,7 +358,7 @@ export declare namespace setUserTokenSync {
|
|
|
358
358
|
* import { Actions } from 'viem/tempo'
|
|
359
359
|
*
|
|
360
360
|
* const client = createClient({
|
|
361
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
361
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
362
362
|
* transport: http(),
|
|
363
363
|
* })
|
|
364
364
|
*
|
|
@@ -395,7 +395,7 @@ export declare namespace watchSetUserToken {
|
|
|
395
395
|
* import { Actions } from 'viem/tempo'
|
|
396
396
|
*
|
|
397
397
|
* const client = createClient({
|
|
398
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
398
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
399
399
|
* transport: http(),
|
|
400
400
|
* })
|
|
401
401
|
*
|
|
@@ -460,7 +460,7 @@ export declare namespace getValidatorToken {
|
|
|
460
460
|
*
|
|
461
461
|
* const client = createClient({
|
|
462
462
|
* account: privateKeyToAccount('0x...'),
|
|
463
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
463
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
464
464
|
* transport: http(),
|
|
465
465
|
* })
|
|
466
466
|
*
|
|
@@ -499,7 +499,7 @@ export declare namespace setValidatorToken {
|
|
|
499
499
|
* import { Actions } from 'viem/tempo'
|
|
500
500
|
*
|
|
501
501
|
* const client = createClient({
|
|
502
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
502
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
503
503
|
* transport: http(),
|
|
504
504
|
* }).extend(walletActions)
|
|
505
505
|
*
|
|
@@ -693,7 +693,7 @@ export declare namespace setValidatorToken {
|
|
|
693
693
|
*
|
|
694
694
|
* const client = createClient({
|
|
695
695
|
* account: privateKeyToAccount('0x...'),
|
|
696
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
696
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
697
697
|
* transport: http(),
|
|
698
698
|
* })
|
|
699
699
|
*
|
|
@@ -728,7 +728,7 @@ export declare namespace setValidatorTokenSync {
|
|
|
728
728
|
* import { Actions } from 'viem/tempo'
|
|
729
729
|
*
|
|
730
730
|
* const client = createClient({
|
|
731
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
731
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
732
732
|
* transport: http(),
|
|
733
733
|
* })
|
|
734
734
|
*
|
|
@@ -9,5 +9,6 @@ export * as reward from './reward.js';
|
|
|
9
9
|
export * as simulate from './simulate.js';
|
|
10
10
|
export * as token from './token.js';
|
|
11
11
|
export * as validator from './validator.js';
|
|
12
|
+
export * as virtualAddress from './virtualAddress.js';
|
|
12
13
|
export * as zone from './zone.js';
|
|
13
14
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../tempo/actions/index.ts"],"names":[],"mappings":"AACA,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.d.ts","sourceRoot":"","sources":["../../../tempo/actions/index.ts"],"names":[],"mappings":"AACA,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"}
|
|
@@ -20,7 +20,7 @@ import type { ReadParameters } from '../internal/types.js';
|
|
|
20
20
|
* import { Actions } from 'viem/tempo'
|
|
21
21
|
*
|
|
22
22
|
* const client = createClient({
|
|
23
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
|
|
23
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' }),
|
|
24
24
|
* transport: http(),
|
|
25
25
|
* })
|
|
26
26
|
*
|
|
@@ -59,7 +59,7 @@ export declare namespace getNonce {
|
|
|
59
59
|
* import { Actions } from 'viem/tempo'
|
|
60
60
|
*
|
|
61
61
|
* const client = createClient({
|
|
62
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' }),
|
|
62
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' }),
|
|
63
63
|
* transport: http(),
|
|
64
64
|
* })
|
|
65
65
|
*
|
|
@@ -28,7 +28,7 @@ export type PolicyType = 'whitelist' | 'blacklist';
|
|
|
28
28
|
*
|
|
29
29
|
* const client = createClient({
|
|
30
30
|
* account: privateKeyToAccount('0x...'),
|
|
31
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
31
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
32
32
|
* transport: http(),
|
|
33
33
|
* })
|
|
34
34
|
*
|
|
@@ -75,7 +75,7 @@ export declare namespace create {
|
|
|
75
75
|
* import { Actions } from 'viem/tempo'
|
|
76
76
|
*
|
|
77
77
|
* const client = createClient({
|
|
78
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
78
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
79
79
|
* transport: http(),
|
|
80
80
|
* }).extend(walletActions)
|
|
81
81
|
*
|
|
@@ -471,7 +471,7 @@ export declare namespace create {
|
|
|
471
471
|
*
|
|
472
472
|
* const client = createClient({
|
|
473
473
|
* account: privateKeyToAccount('0x...'),
|
|
474
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
474
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
475
475
|
* transport: http(),
|
|
476
476
|
* })
|
|
477
477
|
*
|
|
@@ -509,7 +509,7 @@ export declare namespace createSync {
|
|
|
509
509
|
*
|
|
510
510
|
* const client = createClient({
|
|
511
511
|
* account: privateKeyToAccount('0x...'),
|
|
512
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
512
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
513
513
|
* transport: http(),
|
|
514
514
|
* })
|
|
515
515
|
*
|
|
@@ -551,7 +551,7 @@ export declare namespace setAdmin {
|
|
|
551
551
|
* import { Actions } from 'viem/tempo'
|
|
552
552
|
*
|
|
553
553
|
* const client = createClient({
|
|
554
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
554
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
555
555
|
* transport: http(),
|
|
556
556
|
* }).extend(walletActions)
|
|
557
557
|
*
|
|
@@ -927,7 +927,7 @@ export declare namespace setAdmin {
|
|
|
927
927
|
*
|
|
928
928
|
* const client = createClient({
|
|
929
929
|
* account: privateKeyToAccount('0x...'),
|
|
930
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
930
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
931
931
|
* transport: http(),
|
|
932
932
|
* })
|
|
933
933
|
*
|
|
@@ -965,7 +965,7 @@ export declare namespace setAdminSync {
|
|
|
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
|
*
|
|
@@ -1010,7 +1010,7 @@ export declare namespace modifyWhitelist {
|
|
|
1010
1010
|
* import { Actions } from 'viem/tempo'
|
|
1011
1011
|
*
|
|
1012
1012
|
* const client = createClient({
|
|
1013
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1013
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1014
1014
|
* transport: http(),
|
|
1015
1015
|
* }).extend(walletActions)
|
|
1016
1016
|
*
|
|
@@ -1391,7 +1391,7 @@ export declare namespace modifyWhitelist {
|
|
|
1391
1391
|
*
|
|
1392
1392
|
* const client = createClient({
|
|
1393
1393
|
* account: privateKeyToAccount('0x...'),
|
|
1394
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1394
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1395
1395
|
* transport: http(),
|
|
1396
1396
|
* })
|
|
1397
1397
|
*
|
|
@@ -1430,7 +1430,7 @@ export declare namespace modifyWhitelistSync {
|
|
|
1430
1430
|
*
|
|
1431
1431
|
* const client = createClient({
|
|
1432
1432
|
* account: privateKeyToAccount('0x...'),
|
|
1433
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1433
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1434
1434
|
* transport: http(),
|
|
1435
1435
|
* })
|
|
1436
1436
|
*
|
|
@@ -1475,7 +1475,7 @@ export declare namespace modifyBlacklist {
|
|
|
1475
1475
|
* import { Actions } from 'viem/tempo'
|
|
1476
1476
|
*
|
|
1477
1477
|
* const client = createClient({
|
|
1478
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1478
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1479
1479
|
* transport: http(),
|
|
1480
1480
|
* }).extend(walletActions)
|
|
1481
1481
|
*
|
|
@@ -1856,7 +1856,7 @@ export declare namespace modifyBlacklist {
|
|
|
1856
1856
|
*
|
|
1857
1857
|
* const client = createClient({
|
|
1858
1858
|
* account: privateKeyToAccount('0x...'),
|
|
1859
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1859
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1860
1860
|
* transport: http(),
|
|
1861
1861
|
* })
|
|
1862
1862
|
*
|
|
@@ -1893,7 +1893,7 @@ export declare namespace modifyBlacklistSync {
|
|
|
1893
1893
|
* import { Actions } from 'viem/tempo'
|
|
1894
1894
|
*
|
|
1895
1895
|
* const client = createClient({
|
|
1896
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1896
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1897
1897
|
* transport: http(),
|
|
1898
1898
|
* })
|
|
1899
1899
|
*
|
|
@@ -1962,7 +1962,7 @@ export declare namespace getData {
|
|
|
1962
1962
|
* import { Actions } from 'viem/tempo'
|
|
1963
1963
|
*
|
|
1964
1964
|
* const client = createClient({
|
|
1965
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1965
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1966
1966
|
* transport: http(),
|
|
1967
1967
|
* })
|
|
1968
1968
|
*
|
|
@@ -2028,7 +2028,7 @@ export declare namespace isAuthorized {
|
|
|
2028
2028
|
* import { Actions } from 'viem/tempo'
|
|
2029
2029
|
*
|
|
2030
2030
|
* const client = createClient({
|
|
2031
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2031
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2032
2032
|
* transport: http(),
|
|
2033
2033
|
* })
|
|
2034
2034
|
*
|
|
@@ -2066,7 +2066,7 @@ export declare namespace watchCreate {
|
|
|
2066
2066
|
* import { Actions } from 'viem/tempo'
|
|
2067
2067
|
*
|
|
2068
2068
|
* const client = createClient({
|
|
2069
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2069
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2070
2070
|
* transport: http(),
|
|
2071
2071
|
* })
|
|
2072
2072
|
*
|
|
@@ -2103,7 +2103,7 @@ export declare namespace watchAdminUpdated {
|
|
|
2103
2103
|
* import { Actions } from 'viem/tempo'
|
|
2104
2104
|
*
|
|
2105
2105
|
* const client = createClient({
|
|
2106
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2106
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2107
2107
|
* transport: http(),
|
|
2108
2108
|
* })
|
|
2109
2109
|
*
|
|
@@ -2140,7 +2140,7 @@ export declare namespace watchWhitelistUpdated {
|
|
|
2140
2140
|
* import { Actions } from 'viem/tempo'
|
|
2141
2141
|
*
|
|
2142
2142
|
* const client = createClient({
|
|
2143
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2143
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2144
2144
|
* transport: http(),
|
|
2145
2145
|
* })
|
|
2146
2146
|
*
|
|
@@ -40,7 +40,7 @@ import type { ReadParameters, WriteParameters } from '../internal/types.js';
|
|
|
40
40
|
*
|
|
41
41
|
* const client = createClient({
|
|
42
42
|
* account: privateKeyToAccount('0x...'),
|
|
43
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
43
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
44
44
|
* transport: http(),
|
|
45
45
|
* })
|
|
46
46
|
*
|
|
@@ -79,7 +79,7 @@ export declare namespace claim {
|
|
|
79
79
|
* import { Actions } from 'viem/tempo'
|
|
80
80
|
*
|
|
81
81
|
* const client = createClient({
|
|
82
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
82
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
83
83
|
* transport: http(),
|
|
84
84
|
* }).extend(walletActions)
|
|
85
85
|
*
|
|
@@ -139,7 +139,7 @@ export declare namespace claim {
|
|
|
139
139
|
*
|
|
140
140
|
* const client = createClient({
|
|
141
141
|
* account: privateKeyToAccount('0x...'),
|
|
142
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
142
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
143
143
|
* transport: http(),
|
|
144
144
|
* })
|
|
145
145
|
*
|
|
@@ -181,7 +181,7 @@ export declare namespace claimSync {
|
|
|
181
181
|
*
|
|
182
182
|
* const client = createClient({
|
|
183
183
|
* account: privateKeyToAccount('0x...'),
|
|
184
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
184
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
185
185
|
* transport: http(),
|
|
186
186
|
* })
|
|
187
187
|
*
|
|
@@ -216,7 +216,7 @@ export declare function distribute<chain extends Chain | undefined, account exte
|
|
|
216
216
|
*
|
|
217
217
|
* const client = createClient({
|
|
218
218
|
* account: privateKeyToAccount('0x...'),
|
|
219
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
219
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
220
220
|
* transport: http(),
|
|
221
221
|
* })
|
|
222
222
|
*
|
|
@@ -258,7 +258,7 @@ export declare namespace distribute {
|
|
|
258
258
|
* import { Actions } from 'viem/tempo'
|
|
259
259
|
*
|
|
260
260
|
* const client = createClient({
|
|
261
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
261
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
262
262
|
* transport: http(),
|
|
263
263
|
* }).extend(walletActions)
|
|
264
264
|
*
|
|
@@ -1134,7 +1134,7 @@ export declare namespace distributeSync {
|
|
|
1134
1134
|
* import { Actions } from 'viem/tempo'
|
|
1135
1135
|
*
|
|
1136
1136
|
* const client = createClient({
|
|
1137
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1137
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1138
1138
|
* transport: http(),
|
|
1139
1139
|
* })
|
|
1140
1140
|
*
|
|
@@ -1193,7 +1193,7 @@ export declare namespace getGlobalRewardPerToken {
|
|
|
1193
1193
|
* import { Actions } from 'viem/tempo'
|
|
1194
1194
|
*
|
|
1195
1195
|
* const client = createClient({
|
|
1196
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1196
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1197
1197
|
* transport: http(),
|
|
1198
1198
|
* })
|
|
1199
1199
|
*
|
|
@@ -1262,7 +1262,7 @@ export declare namespace getPendingRewards {
|
|
|
1262
1262
|
* import { Actions } from 'viem/tempo'
|
|
1263
1263
|
*
|
|
1264
1264
|
* const client = createClient({
|
|
1265
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1265
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1266
1266
|
* transport: http(),
|
|
1267
1267
|
* })
|
|
1268
1268
|
*
|
|
@@ -1346,7 +1346,7 @@ export declare namespace getUserRewardInfo {
|
|
|
1346
1346
|
*
|
|
1347
1347
|
* const client = createClient({
|
|
1348
1348
|
* account: privateKeyToAccount('0x...'),
|
|
1349
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1349
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1350
1350
|
* transport: http(),
|
|
1351
1351
|
* })
|
|
1352
1352
|
*
|
|
@@ -1382,7 +1382,7 @@ export declare function setRecipient<chain extends Chain | undefined, account ex
|
|
|
1382
1382
|
*
|
|
1383
1383
|
* const client = createClient({
|
|
1384
1384
|
* account: privateKeyToAccount('0x...'),
|
|
1385
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1385
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1386
1386
|
* transport: http(),
|
|
1387
1387
|
* })
|
|
1388
1388
|
*
|
|
@@ -1424,7 +1424,7 @@ export declare namespace setRecipient {
|
|
|
1424
1424
|
* import { Actions } from 'viem/tempo'
|
|
1425
1425
|
*
|
|
1426
1426
|
* const client = createClient({
|
|
1427
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1427
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
1428
1428
|
* transport: http(),
|
|
1429
1429
|
* }).extend(walletActions)
|
|
1430
1430
|
*
|
|
@@ -2297,7 +2297,7 @@ export declare namespace setRecipientSync {
|
|
|
2297
2297
|
* import { Actions } from 'viem/tempo'
|
|
2298
2298
|
*
|
|
2299
2299
|
* const client = createClient({
|
|
2300
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2300
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2301
2301
|
* transport: http(),
|
|
2302
2302
|
* })
|
|
2303
2303
|
*
|
|
@@ -2338,7 +2338,7 @@ export declare namespace watchRewardDistributed {
|
|
|
2338
2338
|
* import { Actions } from 'viem/tempo'
|
|
2339
2339
|
*
|
|
2340
2340
|
* const client = createClient({
|
|
2341
|
-
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2341
|
+
* chain: tempo.extend({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
2342
2342
|
* transport: http(),
|
|
2343
2343
|
* })
|
|
2344
2344
|
*
|