viem 2.44.2 → 2.45.0
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 +36 -0
- package/_cjs/account-abstraction/actions/bundler/prepareUserOperation.js +4 -2
- package/_cjs/account-abstraction/actions/bundler/prepareUserOperation.js.map +1 -1
- package/_cjs/account-abstraction/actions/bundler/sendUserOperation.js.map +1 -1
- package/_cjs/account-abstraction/clients/createBundlerClient.js +8 -2
- package/_cjs/account-abstraction/clients/createBundlerClient.js.map +1 -1
- package/_cjs/actions/public/estimateContractGas.js +3 -1
- package/_cjs/actions/public/estimateContractGas.js.map +1 -1
- package/_cjs/actions/public/simulateContract.js +3 -1
- package/_cjs/actions/public/simulateContract.js.map +1 -1
- package/_cjs/actions/wallet/sendCalls.js +17 -1
- package/_cjs/actions/wallet/sendCalls.js.map +1 -1
- package/_cjs/actions/wallet/sendTransaction.js +11 -7
- package/_cjs/actions/wallet/sendTransaction.js.map +1 -1
- package/_cjs/actions/wallet/sendTransactionSync.js +11 -7
- package/_cjs/actions/wallet/sendTransactionSync.js.map +1 -1
- package/_cjs/actions/wallet/writeContract.js +2 -2
- package/_cjs/actions/wallet/writeContract.js.map +1 -1
- package/_cjs/chains/definitions/megaeth.js +33 -0
- package/_cjs/chains/definitions/megaeth.js.map +1 -0
- package/_cjs/chains/definitions/megaethTestnet.js +6 -1
- package/_cjs/chains/definitions/megaethTestnet.js.map +1 -1
- package/_cjs/chains/definitions/rise.js +28 -0
- package/_cjs/chains/definitions/rise.js.map +1 -0
- package/_cjs/chains/definitions/stable.js +35 -0
- package/_cjs/chains/definitions/stable.js.map +1 -0
- package/_cjs/chains/definitions/stableTestnet.js +10 -3
- package/_cjs/chains/definitions/stableTestnet.js.map +1 -1
- package/_cjs/chains/index.js +13 -7
- package/_cjs/chains/index.js.map +1 -1
- package/_cjs/clients/createClient.js +2 -1
- package/_cjs/clients/createClient.js.map +1 -1
- package/_cjs/clients/createWalletClient.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/index.js.map +1 -1
- package/_cjs/op-stack/index.js +9 -1
- package/_cjs/op-stack/index.js.map +1 -1
- package/_cjs/tempo/Abis.js +2 -2
- package/_cjs/tempo/Abis.js.map +1 -1
- package/_cjs/tempo/Addresses.js +2 -1
- package/_cjs/tempo/Addresses.js.map +1 -1
- package/_cjs/tempo/Decorator.js +19 -0
- package/_cjs/tempo/Decorator.js.map +1 -1
- package/_cjs/tempo/Transport.js +1 -1
- package/_cjs/tempo/Transport.js.map +1 -1
- package/_cjs/tempo/actions/fee.js +91 -0
- package/_cjs/tempo/actions/fee.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/validator.js +308 -0
- package/_cjs/tempo/actions/validator.js.map +1 -0
- package/_cjs/types/dataSuffix.js +3 -0
- package/_cjs/types/dataSuffix.js.map +1 -0
- package/_cjs/utils/abi/decodeEventLog.js +29 -12
- package/_cjs/utils/abi/decodeEventLog.js.map +1 -1
- package/_esm/account-abstraction/actions/bundler/prepareUserOperation.js +4 -2
- package/_esm/account-abstraction/actions/bundler/prepareUserOperation.js.map +1 -1
- package/_esm/account-abstraction/actions/bundler/sendUserOperation.js.map +1 -1
- package/_esm/account-abstraction/clients/createBundlerClient.js +8 -2
- package/_esm/account-abstraction/clients/createBundlerClient.js.map +1 -1
- package/_esm/actions/public/estimateContractGas.js +3 -1
- package/_esm/actions/public/estimateContractGas.js.map +1 -1
- package/_esm/actions/public/simulateContract.js +3 -1
- package/_esm/actions/public/simulateContract.js.map +1 -1
- package/_esm/actions/wallet/sendCalls.js +17 -1
- package/_esm/actions/wallet/sendCalls.js.map +1 -1
- package/_esm/actions/wallet/sendTransaction.js +11 -7
- package/_esm/actions/wallet/sendTransaction.js.map +1 -1
- package/_esm/actions/wallet/sendTransactionSync.js +11 -7
- package/_esm/actions/wallet/sendTransactionSync.js.map +1 -1
- package/_esm/actions/wallet/writeContract.js +2 -2
- package/_esm/actions/wallet/writeContract.js.map +1 -1
- package/_esm/chains/definitions/megaeth.js +30 -0
- package/_esm/chains/definitions/megaeth.js.map +1 -0
- package/_esm/chains/definitions/megaethTestnet.js +6 -1
- package/_esm/chains/definitions/megaethTestnet.js.map +1 -1
- package/_esm/chains/definitions/rise.js +25 -0
- package/_esm/chains/definitions/rise.js.map +1 -0
- package/_esm/chains/definitions/stable.js +32 -0
- package/_esm/chains/definitions/stable.js.map +1 -0
- package/_esm/chains/definitions/stableTestnet.js +10 -3
- package/_esm/chains/definitions/stableTestnet.js.map +1 -1
- package/_esm/chains/index.js +3 -0
- package/_esm/chains/index.js.map +1 -1
- package/_esm/clients/createClient.js +2 -1
- package/_esm/clients/createClient.js.map +1 -1
- package/_esm/clients/createWalletClient.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/index.js.map +1 -1
- package/_esm/op-stack/index.js +4 -0
- package/_esm/op-stack/index.js.map +1 -1
- package/_esm/tempo/Abis.js +1 -1
- package/_esm/tempo/Abis.js.map +1 -1
- package/_esm/tempo/Account.js +6 -6
- package/_esm/tempo/Addresses.js +1 -0
- package/_esm/tempo/Addresses.js.map +1 -1
- package/_esm/tempo/Decorator.js +19 -0
- package/_esm/tempo/Decorator.js.map +1 -1
- package/_esm/tempo/Transport.js +1 -1
- package/_esm/tempo/Transport.js.map +1 -1
- package/_esm/tempo/WebAuthnP256.js +2 -2
- package/_esm/tempo/actions/amm.js +28 -28
- package/_esm/tempo/actions/dex.js +68 -68
- package/_esm/tempo/actions/faucet.js +4 -4
- package/_esm/tempo/actions/fee.js +236 -10
- package/_esm/tempo/actions/fee.js.map +1 -1
- package/_esm/tempo/actions/index.js +1 -0
- package/_esm/tempo/actions/index.js.map +1 -1
- package/_esm/tempo/actions/nonce.js +4 -4
- package/_esm/tempo/actions/policy.js +36 -36
- package/_esm/tempo/actions/reward.js +28 -28
- package/_esm/tempo/actions/token.js +122 -122
- package/_esm/tempo/actions/validator.js +1017 -0
- package/_esm/tempo/actions/validator.js.map +1 -0
- package/_esm/types/dataSuffix.js +2 -0
- package/_esm/types/dataSuffix.js.map +1 -0
- package/_esm/utils/abi/decodeEventLog.js +34 -13
- package/_esm/utils/abi/decodeEventLog.js.map +1 -1
- package/_types/account-abstraction/actions/bundler/prepareUserOperation.d.ts +2 -0
- package/_types/account-abstraction/actions/bundler/prepareUserOperation.d.ts.map +1 -1
- package/_types/account-abstraction/actions/bundler/sendUserOperation.d.ts +2 -0
- package/_types/account-abstraction/actions/bundler/sendUserOperation.d.ts.map +1 -1
- package/_types/account-abstraction/clients/createBundlerClient.d.ts +4 -0
- package/_types/account-abstraction/clients/createBundlerClient.d.ts.map +1 -1
- package/_types/actions/public/estimateContractGas.d.ts.map +1 -1
- package/_types/actions/public/simulateContract.d.ts.map +1 -1
- package/_types/actions/wallet/sendCalls.d.ts.map +1 -1
- package/_types/actions/wallet/sendTransaction.d.ts +7 -2
- package/_types/actions/wallet/sendTransaction.d.ts.map +1 -1
- package/_types/actions/wallet/sendTransactionSync.d.ts +5 -0
- package/_types/actions/wallet/sendTransactionSync.d.ts.map +1 -1
- package/_types/actions/wallet/writeContract.d.ts.map +1 -1
- package/_types/chains/definitions/megaeth.d.ts +46 -0
- package/_types/chains/definitions/megaeth.d.ts.map +1 -0
- package/_types/chains/definitions/megaethTestnet.d.ts +6 -1
- package/_types/chains/definitions/megaethTestnet.d.ts.map +1 -1
- package/_types/chains/definitions/rise.d.ts +46 -0
- package/_types/chains/definitions/rise.d.ts.map +1 -0
- package/_types/chains/definitions/stable.d.ts +47 -0
- package/_types/chains/definitions/stable.d.ts.map +1 -0
- package/_types/chains/definitions/stableTestnet.d.ts +10 -13
- package/_types/chains/definitions/stableTestnet.d.ts.map +1 -1
- package/_types/chains/index.d.ts +3 -0
- package/_types/chains/index.d.ts.map +1 -1
- package/_types/clients/createClient.d.ts +5 -0
- package/_types/clients/createClient.d.ts.map +1 -1
- package/_types/clients/createWalletClient.d.ts +1 -1
- package/_types/clients/createWalletClient.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/index.d.ts +2 -1
- package/_types/index.d.ts.map +1 -1
- package/_types/op-stack/index.d.ts +4 -0
- package/_types/op-stack/index.d.ts.map +1 -1
- package/_types/tempo/Abis.d.ts +1 -1
- package/_types/tempo/Abis.d.ts.map +1 -1
- package/_types/tempo/Account.d.ts +6 -6
- package/_types/tempo/Addresses.d.ts +1 -0
- package/_types/tempo/Addresses.d.ts.map +1 -1
- package/_types/tempo/Decorator.d.ts +607 -208
- package/_types/tempo/Decorator.d.ts.map +1 -1
- package/_types/tempo/Transport.d.ts.map +1 -1
- package/_types/tempo/WebAuthnP256.d.ts +2 -2
- package/_types/tempo/actions/amm.d.ts +28 -28
- package/_types/tempo/actions/dex.d.ts +68 -68
- package/_types/tempo/actions/faucet.d.ts +4 -4
- package/_types/tempo/actions/fee.d.ts +380 -10
- package/_types/tempo/actions/fee.d.ts.map +1 -1
- 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 +4 -4
- package/_types/tempo/actions/policy.d.ts +36 -36
- package/_types/tempo/actions/reward.d.ts +28 -28
- package/_types/tempo/actions/token.d.ts +122 -122
- package/_types/tempo/actions/validator.d.ts +1174 -0
- package/_types/tempo/actions/validator.d.ts.map +1 -0
- package/_types/types/dataSuffix.d.ts +16 -0
- package/_types/types/dataSuffix.d.ts.map +1 -0
- package/_types/utils/abi/decodeEventLog.d.ts.map +1 -1
- package/account-abstraction/actions/bundler/prepareUserOperation.ts +7 -1
- package/account-abstraction/actions/bundler/sendUserOperation.ts +2 -0
- package/account-abstraction/clients/createBundlerClient.ts +12 -1
- package/actions/public/estimateContractGas.ts +11 -2
- package/actions/public/simulateContract.ts +11 -2
- package/actions/wallet/sendCalls.ts +18 -1
- package/actions/wallet/sendTransaction.ts +19 -8
- package/actions/wallet/sendTransactionSync.ts +17 -7
- package/actions/wallet/writeContract.ts +1 -2
- package/chains/definitions/megaeth.ts +30 -0
- package/chains/definitions/megaethTestnet.ts +6 -1
- package/chains/definitions/rise.ts +25 -0
- package/chains/definitions/stable.ts +32 -0
- package/chains/definitions/stableTestnet.ts +10 -3
- package/chains/index.ts +3 -0
- package/clients/createClient.ts +7 -0
- package/clients/createWalletClient.ts +1 -0
- package/errors/version.ts +1 -1
- package/index.ts +2 -0
- package/op-stack/index.ts +24 -0
- package/package.json +1 -1
- package/tempo/Abis.ts +1 -1
- package/tempo/Account.ts +6 -6
- package/tempo/Addresses.ts +1 -0
- package/tempo/Decorator.ts +672 -208
- package/tempo/Transport.ts +4 -1
- package/tempo/WebAuthnP256.ts +2 -2
- package/tempo/actions/amm.ts +28 -28
- package/tempo/actions/dex.ts +68 -68
- package/tempo/actions/faucet.ts +4 -4
- package/tempo/actions/fee.ts +346 -10
- package/tempo/actions/index.ts +1 -0
- package/tempo/actions/nonce.ts +4 -4
- package/tempo/actions/policy.ts +36 -36
- package/tempo/actions/reward.ts +28 -28
- package/tempo/actions/token.ts +122 -122
- package/tempo/actions/validator.ts +1417 -0
- package/types/dataSuffix.ts +18 -0
- package/utils/abi/decodeEventLog.ts +38 -14
|
@@ -19,8 +19,8 @@ import { defineCall } from '../internal/utils.js';
|
|
|
19
19
|
* @example
|
|
20
20
|
* ```ts
|
|
21
21
|
* import { createClient, http } from 'viem'
|
|
22
|
-
* import { tempo } from '
|
|
23
|
-
* import { Actions } from 'tempo
|
|
22
|
+
* import { tempo } from 'viem/chains'
|
|
23
|
+
* import { Actions } from 'viem/tempo'
|
|
24
24
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
25
25
|
*
|
|
26
26
|
* const client = createClient({
|
|
@@ -64,8 +64,8 @@ export async function approve(client, parameters) {
|
|
|
64
64
|
* @example
|
|
65
65
|
* ```ts
|
|
66
66
|
* import { createClient, http, walletActions } from 'viem'
|
|
67
|
-
* import { tempo } from '
|
|
68
|
-
* import { Actions } from 'tempo
|
|
67
|
+
* import { tempo } from 'viem/chains'
|
|
68
|
+
* import { Actions } from 'viem/tempo'
|
|
69
69
|
*
|
|
70
70
|
* const client = createClient({
|
|
71
71
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -114,8 +114,8 @@ export async function approve(client, parameters) {
|
|
|
114
114
|
* @example
|
|
115
115
|
* ```ts
|
|
116
116
|
* import { createClient, http } from 'viem'
|
|
117
|
-
* import { tempo } from '
|
|
118
|
-
* import { Actions } from 'tempo
|
|
117
|
+
* import { tempo } from 'viem/chains'
|
|
118
|
+
* import { Actions } from 'viem/tempo'
|
|
119
119
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
120
120
|
*
|
|
121
121
|
* const client = createClient({
|
|
@@ -149,8 +149,8 @@ export async function approveSync(client, parameters) {
|
|
|
149
149
|
* @example
|
|
150
150
|
* ```ts
|
|
151
151
|
* import { createClient, http } from 'viem'
|
|
152
|
-
* import { tempo } from '
|
|
153
|
-
* import { Actions } from 'tempo
|
|
152
|
+
* import { tempo } from 'viem/chains'
|
|
153
|
+
* import { Actions } from 'viem/tempo'
|
|
154
154
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
155
155
|
*
|
|
156
156
|
* const client = createClient({
|
|
@@ -195,8 +195,8 @@ export async function burnBlocked(client, parameters) {
|
|
|
195
195
|
* @example
|
|
196
196
|
* ```ts
|
|
197
197
|
* import { createClient, http, walletActions } from 'viem'
|
|
198
|
-
* import { tempo } from '
|
|
199
|
-
* import { Actions } from 'tempo
|
|
198
|
+
* import { tempo } from 'viem/chains'
|
|
199
|
+
* import { Actions } from 'viem/tempo'
|
|
200
200
|
*
|
|
201
201
|
* const client = createClient({
|
|
202
202
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -251,8 +251,8 @@ export async function burnBlocked(client, parameters) {
|
|
|
251
251
|
* @example
|
|
252
252
|
* ```ts
|
|
253
253
|
* import { createClient, http } from 'viem'
|
|
254
|
-
* import { tempo } from '
|
|
255
|
-
* import { Actions } from 'tempo
|
|
254
|
+
* import { tempo } from 'viem/chains'
|
|
255
|
+
* import { Actions } from 'viem/tempo'
|
|
256
256
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
257
257
|
*
|
|
258
258
|
* const client = createClient({
|
|
@@ -290,8 +290,8 @@ export async function burnBlockedSync(client, parameters) {
|
|
|
290
290
|
* @example
|
|
291
291
|
* ```ts
|
|
292
292
|
* import { createClient, http } from 'viem'
|
|
293
|
-
* import { tempo } from '
|
|
294
|
-
* import { Actions } from 'tempo
|
|
293
|
+
* import { tempo } from 'viem/chains'
|
|
294
|
+
* import { Actions } from 'viem/tempo'
|
|
295
295
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
296
296
|
*
|
|
297
297
|
* const client = createClient({
|
|
@@ -335,8 +335,8 @@ export async function burn(client, parameters) {
|
|
|
335
335
|
* @example
|
|
336
336
|
* ```ts
|
|
337
337
|
* import { createClient, http, walletActions } from 'viem'
|
|
338
|
-
* import { tempo } from '
|
|
339
|
-
* import { Actions } from 'tempo
|
|
338
|
+
* import { tempo } from 'viem/chains'
|
|
339
|
+
* import { Actions } from 'viem/tempo'
|
|
340
340
|
*
|
|
341
341
|
* const client = createClient({
|
|
342
342
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -398,8 +398,8 @@ export async function burn(client, parameters) {
|
|
|
398
398
|
* @example
|
|
399
399
|
* ```ts
|
|
400
400
|
* import { createClient, http } from 'viem'
|
|
401
|
-
* import { tempo } from '
|
|
402
|
-
* import { Actions } from 'tempo
|
|
401
|
+
* import { tempo } from 'viem/chains'
|
|
402
|
+
* import { Actions } from 'viem/tempo'
|
|
403
403
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
404
404
|
*
|
|
405
405
|
* const client = createClient({
|
|
@@ -436,8 +436,8 @@ export async function burnSync(client, parameters) {
|
|
|
436
436
|
* @example
|
|
437
437
|
* ```ts
|
|
438
438
|
* import { createClient, http } from 'viem'
|
|
439
|
-
* import { tempo } from '
|
|
440
|
-
* import { Actions } from 'tempo
|
|
439
|
+
* import { tempo } from 'viem/chains'
|
|
440
|
+
* import { Actions } from 'viem/tempo'
|
|
441
441
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
442
442
|
*
|
|
443
443
|
* const client = createClient({
|
|
@@ -481,8 +481,8 @@ export async function changeTransferPolicy(client, parameters) {
|
|
|
481
481
|
* @example
|
|
482
482
|
* ```ts
|
|
483
483
|
* import { createClient, http, walletActions } from 'viem'
|
|
484
|
-
* import { tempo } from '
|
|
485
|
-
* import { Actions } from 'tempo
|
|
484
|
+
* import { tempo } from 'viem/chains'
|
|
485
|
+
* import { Actions } from 'viem/tempo'
|
|
486
486
|
*
|
|
487
487
|
* const client = createClient({
|
|
488
488
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -536,8 +536,8 @@ export async function changeTransferPolicy(client, parameters) {
|
|
|
536
536
|
* @example
|
|
537
537
|
* ```ts
|
|
538
538
|
* import { createClient, http } from 'viem'
|
|
539
|
-
* import { tempo } from '
|
|
540
|
-
* import { Actions } from 'tempo
|
|
539
|
+
* import { tempo } from 'viem/chains'
|
|
540
|
+
* import { Actions } from 'viem/tempo'
|
|
541
541
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
542
542
|
*
|
|
543
543
|
* const client = createClient({
|
|
@@ -574,8 +574,8 @@ export async function changeTransferPolicySync(client, parameters) {
|
|
|
574
574
|
* @example
|
|
575
575
|
* ```ts
|
|
576
576
|
* import { createClient, http } from 'viem'
|
|
577
|
-
* import { tempo } from '
|
|
578
|
-
* import { Actions } from 'tempo
|
|
577
|
+
* import { tempo } from 'viem/chains'
|
|
578
|
+
* import { Actions } from 'viem/tempo'
|
|
579
579
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
580
580
|
*
|
|
581
581
|
* const client = createClient({
|
|
@@ -625,8 +625,8 @@ export async function create(client, parameters) {
|
|
|
625
625
|
* @example
|
|
626
626
|
* ```ts
|
|
627
627
|
* import { createClient, http, walletActions } from 'viem'
|
|
628
|
-
* import { tempo } from '
|
|
629
|
-
* import { Actions } from 'tempo
|
|
628
|
+
* import { tempo } from 'viem/chains'
|
|
629
|
+
* import { Actions } from 'viem/tempo'
|
|
630
630
|
*
|
|
631
631
|
* const client = createClient({
|
|
632
632
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -690,8 +690,8 @@ export async function create(client, parameters) {
|
|
|
690
690
|
* @example
|
|
691
691
|
* ```ts
|
|
692
692
|
* import { createClient, http } from 'viem'
|
|
693
|
-
* import { tempo } from '
|
|
694
|
-
* import { Actions } from 'tempo
|
|
693
|
+
* import { tempo } from 'viem/chains'
|
|
694
|
+
* import { Actions } from 'viem/tempo'
|
|
695
695
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
696
696
|
*
|
|
697
697
|
* const client = createClient({
|
|
@@ -731,8 +731,8 @@ export async function createSync(client, parameters) {
|
|
|
731
731
|
* @example
|
|
732
732
|
* ```ts
|
|
733
733
|
* import { createClient, http } from 'viem'
|
|
734
|
-
* import { tempo } from '
|
|
735
|
-
* import { Actions } from 'tempo
|
|
734
|
+
* import { tempo } from 'viem/chains'
|
|
735
|
+
* import { Actions } from 'viem/tempo'
|
|
736
736
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
737
737
|
*
|
|
738
738
|
* const client = createClient({
|
|
@@ -784,8 +784,8 @@ export async function getAllowance(client, parameters) {
|
|
|
784
784
|
* @example
|
|
785
785
|
* ```ts
|
|
786
786
|
* import { createClient, http } from 'viem'
|
|
787
|
-
* import { tempo } from '
|
|
788
|
-
* import { Actions } from 'tempo
|
|
787
|
+
* import { tempo } from 'viem/chains'
|
|
788
|
+
* import { Actions } from 'viem/tempo'
|
|
789
789
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
790
790
|
*
|
|
791
791
|
* const client = createClient({
|
|
@@ -837,8 +837,8 @@ export async function getBalance(client, parameters) {
|
|
|
837
837
|
* @example
|
|
838
838
|
* ```ts
|
|
839
839
|
* import { createClient, http } from 'viem'
|
|
840
|
-
* import { tempo } from '
|
|
841
|
-
* import { Actions } from 'tempo
|
|
840
|
+
* import { tempo } from 'viem/chains'
|
|
841
|
+
* import { Actions } from 'viem/tempo'
|
|
842
842
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
843
843
|
*
|
|
844
844
|
* const client = createClient({
|
|
@@ -968,8 +968,8 @@ export async function getMetadata(client, parameters) {
|
|
|
968
968
|
* @example
|
|
969
969
|
* ```ts
|
|
970
970
|
* import { createClient, http } from 'viem'
|
|
971
|
-
* import { tempo } from '
|
|
972
|
-
* import { Actions } from 'tempo
|
|
971
|
+
* import { tempo } from 'viem/chains'
|
|
972
|
+
* import { Actions } from 'viem/tempo'
|
|
973
973
|
*
|
|
974
974
|
* const client = createClient({
|
|
975
975
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -1016,8 +1016,8 @@ export async function getRoleAdmin(client, parameters) {
|
|
|
1016
1016
|
* @example
|
|
1017
1017
|
* ```ts
|
|
1018
1018
|
* import { createClient, http } from 'viem'
|
|
1019
|
-
* import { tempo } from '
|
|
1020
|
-
* import { Actions } from 'tempo
|
|
1019
|
+
* import { tempo } from 'viem/chains'
|
|
1020
|
+
* import { Actions } from 'viem/tempo'
|
|
1021
1021
|
*
|
|
1022
1022
|
* const client = createClient({
|
|
1023
1023
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -1069,8 +1069,8 @@ export async function hasRole(client, parameters) {
|
|
|
1069
1069
|
* @example
|
|
1070
1070
|
* ```ts
|
|
1071
1071
|
* import { createClient, http } from 'viem'
|
|
1072
|
-
* import { tempo } from '
|
|
1073
|
-
* import { Actions } from 'tempo
|
|
1072
|
+
* import { tempo } from 'viem/chains'
|
|
1073
|
+
* import { Actions } from 'viem/tempo'
|
|
1074
1074
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1075
1075
|
*
|
|
1076
1076
|
* const client = createClient({
|
|
@@ -1119,8 +1119,8 @@ export async function grantRoles(client, parameters) {
|
|
|
1119
1119
|
* @example
|
|
1120
1120
|
* ```ts
|
|
1121
1121
|
* import { createClient, http, walletActions } from 'viem'
|
|
1122
|
-
* import { tempo } from '
|
|
1123
|
-
* import { Actions } from 'tempo
|
|
1122
|
+
* import { tempo } from 'viem/chains'
|
|
1123
|
+
* import { Actions } from 'viem/tempo'
|
|
1124
1124
|
*
|
|
1125
1125
|
* const client = createClient({
|
|
1126
1126
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -1176,8 +1176,8 @@ export async function grantRoles(client, parameters) {
|
|
|
1176
1176
|
* @example
|
|
1177
1177
|
* ```ts
|
|
1178
1178
|
* import { createClient, http } from 'viem'
|
|
1179
|
-
* import { tempo } from '
|
|
1180
|
-
* import { Actions } from 'tempo
|
|
1179
|
+
* import { tempo } from 'viem/chains'
|
|
1180
|
+
* import { Actions } from 'viem/tempo'
|
|
1181
1181
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1182
1182
|
*
|
|
1183
1183
|
* const client = createClient({
|
|
@@ -1216,8 +1216,8 @@ export async function grantRolesSync(client, parameters) {
|
|
|
1216
1216
|
* @example
|
|
1217
1217
|
* ```ts
|
|
1218
1218
|
* import { createClient, http } from 'viem'
|
|
1219
|
-
* import { tempo } from '
|
|
1220
|
-
* import { Actions } from 'tempo
|
|
1219
|
+
* import { tempo } from 'viem/chains'
|
|
1220
|
+
* import { Actions } from 'viem/tempo'
|
|
1221
1221
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1222
1222
|
*
|
|
1223
1223
|
* const client = createClient({
|
|
@@ -1261,8 +1261,8 @@ export async function mint(client, parameters) {
|
|
|
1261
1261
|
* @example
|
|
1262
1262
|
* ```ts
|
|
1263
1263
|
* import { createClient, http, walletActions } from 'viem'
|
|
1264
|
-
* import { tempo } from '
|
|
1265
|
-
* import { Actions } from 'tempo
|
|
1264
|
+
* import { tempo } from 'viem/chains'
|
|
1265
|
+
* import { Actions } from 'viem/tempo'
|
|
1266
1266
|
*
|
|
1267
1267
|
* const client = createClient({
|
|
1268
1268
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -1325,8 +1325,8 @@ export async function mint(client, parameters) {
|
|
|
1325
1325
|
* @example
|
|
1326
1326
|
* ```ts
|
|
1327
1327
|
* import { createClient, http } from 'viem'
|
|
1328
|
-
* import { tempo } from '
|
|
1329
|
-
* import { Actions } from 'tempo
|
|
1328
|
+
* import { tempo } from 'viem/chains'
|
|
1329
|
+
* import { Actions } from 'viem/tempo'
|
|
1330
1330
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1331
1331
|
*
|
|
1332
1332
|
* const client = createClient({
|
|
@@ -1364,8 +1364,8 @@ export async function mintSync(client, parameters) {
|
|
|
1364
1364
|
* @example
|
|
1365
1365
|
* ```ts
|
|
1366
1366
|
* import { createClient, http } from 'viem'
|
|
1367
|
-
* import { tempo } from '
|
|
1368
|
-
* import { Actions } from 'tempo
|
|
1367
|
+
* import { tempo } from 'viem/chains'
|
|
1368
|
+
* import { Actions } from 'viem/tempo'
|
|
1369
1369
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1370
1370
|
*
|
|
1371
1371
|
* const client = createClient({
|
|
@@ -1408,8 +1408,8 @@ export async function pause(client, parameters) {
|
|
|
1408
1408
|
* @example
|
|
1409
1409
|
* ```ts
|
|
1410
1410
|
* import { createClient, http, walletActions } from 'viem'
|
|
1411
|
-
* import { tempo } from '
|
|
1412
|
-
* import { Actions } from 'tempo
|
|
1411
|
+
* import { tempo } from 'viem/chains'
|
|
1412
|
+
* import { Actions } from 'viem/tempo'
|
|
1413
1413
|
*
|
|
1414
1414
|
* const client = createClient({
|
|
1415
1415
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -1462,8 +1462,8 @@ export async function pause(client, parameters) {
|
|
|
1462
1462
|
* @example
|
|
1463
1463
|
* ```ts
|
|
1464
1464
|
* import { createClient, http } from 'viem'
|
|
1465
|
-
* import { tempo } from '
|
|
1466
|
-
* import { Actions } from 'tempo
|
|
1465
|
+
* import { tempo } from 'viem/chains'
|
|
1466
|
+
* import { Actions } from 'viem/tempo'
|
|
1467
1467
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1468
1468
|
*
|
|
1469
1469
|
* const client = createClient({
|
|
@@ -1499,8 +1499,8 @@ export async function pauseSync(client, parameters) {
|
|
|
1499
1499
|
* @example
|
|
1500
1500
|
* ```ts
|
|
1501
1501
|
* import { createClient, http } from 'viem'
|
|
1502
|
-
* import { tempo } from '
|
|
1503
|
-
* import { Actions } from 'tempo
|
|
1502
|
+
* import { tempo } from 'viem/chains'
|
|
1503
|
+
* import { Actions } from 'viem/tempo'
|
|
1504
1504
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1505
1505
|
*
|
|
1506
1506
|
* const client = createClient({
|
|
@@ -1548,8 +1548,8 @@ export async function renounceRoles(client, parameters) {
|
|
|
1548
1548
|
* @example
|
|
1549
1549
|
* ```ts
|
|
1550
1550
|
* import { createClient, http, walletActions } from 'viem'
|
|
1551
|
-
* import { tempo } from '
|
|
1552
|
-
* import { Actions } from 'tempo
|
|
1551
|
+
* import { tempo } from 'viem/chains'
|
|
1552
|
+
* import { Actions } from 'viem/tempo'
|
|
1553
1553
|
*
|
|
1554
1554
|
* const client = createClient({
|
|
1555
1555
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -1604,8 +1604,8 @@ export async function renounceRoles(client, parameters) {
|
|
|
1604
1604
|
* @example
|
|
1605
1605
|
* ```ts
|
|
1606
1606
|
* import { createClient, http } from 'viem'
|
|
1607
|
-
* import { tempo } from '
|
|
1608
|
-
* import { Actions } from 'tempo
|
|
1607
|
+
* import { tempo } from 'viem/chains'
|
|
1608
|
+
* import { Actions } from 'viem/tempo'
|
|
1609
1609
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1610
1610
|
*
|
|
1611
1611
|
* const client = createClient({
|
|
@@ -1643,8 +1643,8 @@ export async function renounceRolesSync(client, parameters) {
|
|
|
1643
1643
|
* @example
|
|
1644
1644
|
* ```ts
|
|
1645
1645
|
* import { createClient, http } from 'viem'
|
|
1646
|
-
* import { tempo } from '
|
|
1647
|
-
* import { Actions } from 'tempo
|
|
1646
|
+
* import { tempo } from 'viem/chains'
|
|
1647
|
+
* import { Actions } from 'viem/tempo'
|
|
1648
1648
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1649
1649
|
*
|
|
1650
1650
|
* const client = createClient({
|
|
@@ -1693,8 +1693,8 @@ export async function revokeRoles(client, parameters) {
|
|
|
1693
1693
|
* @example
|
|
1694
1694
|
* ```ts
|
|
1695
1695
|
* import { createClient, http, walletActions } from 'viem'
|
|
1696
|
-
* import { tempo } from '
|
|
1697
|
-
* import { Actions } from 'tempo
|
|
1696
|
+
* import { tempo } from 'viem/chains'
|
|
1697
|
+
* import { Actions } from 'viem/tempo'
|
|
1698
1698
|
*
|
|
1699
1699
|
* const client = createClient({
|
|
1700
1700
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -1750,8 +1750,8 @@ export async function revokeRoles(client, parameters) {
|
|
|
1750
1750
|
* @example
|
|
1751
1751
|
* ```ts
|
|
1752
1752
|
* import { createClient, http } from 'viem'
|
|
1753
|
-
* import { tempo } from '
|
|
1754
|
-
* import { Actions } from 'tempo
|
|
1753
|
+
* import { tempo } from 'viem/chains'
|
|
1754
|
+
* import { Actions } from 'viem/tempo'
|
|
1755
1755
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1756
1756
|
*
|
|
1757
1757
|
* const client = createClient({
|
|
@@ -1790,8 +1790,8 @@ export async function revokeRolesSync(client, parameters) {
|
|
|
1790
1790
|
* @example
|
|
1791
1791
|
* ```ts
|
|
1792
1792
|
* import { createClient, http } from 'viem'
|
|
1793
|
-
* import { tempo } from '
|
|
1794
|
-
* import { Actions } from 'tempo
|
|
1793
|
+
* import { tempo } from 'viem/chains'
|
|
1794
|
+
* import { Actions } from 'viem/tempo'
|
|
1795
1795
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1796
1796
|
*
|
|
1797
1797
|
* const client = createClient({
|
|
@@ -1835,8 +1835,8 @@ export async function setSupplyCap(client, parameters) {
|
|
|
1835
1835
|
* @example
|
|
1836
1836
|
* ```ts
|
|
1837
1837
|
* import { createClient, http, walletActions } from 'viem'
|
|
1838
|
-
* import { tempo } from '
|
|
1839
|
-
* import { Actions } from 'tempo
|
|
1838
|
+
* import { tempo } from 'viem/chains'
|
|
1839
|
+
* import { Actions } from 'viem/tempo'
|
|
1840
1840
|
*
|
|
1841
1841
|
* const client = createClient({
|
|
1842
1842
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -1890,8 +1890,8 @@ export async function setSupplyCap(client, parameters) {
|
|
|
1890
1890
|
* @example
|
|
1891
1891
|
* ```ts
|
|
1892
1892
|
* import { createClient, http } from 'viem'
|
|
1893
|
-
* import { tempo } from '
|
|
1894
|
-
* import { Actions } from 'tempo
|
|
1893
|
+
* import { tempo } from 'viem/chains'
|
|
1894
|
+
* import { Actions } from 'viem/tempo'
|
|
1895
1895
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1896
1896
|
*
|
|
1897
1897
|
* const client = createClient({
|
|
@@ -1928,8 +1928,8 @@ export async function setSupplyCapSync(client, parameters) {
|
|
|
1928
1928
|
* @example
|
|
1929
1929
|
* ```ts
|
|
1930
1930
|
* import { createClient, http } from 'viem'
|
|
1931
|
-
* import { tempo } from '
|
|
1932
|
-
* import { Actions } from 'tempo
|
|
1931
|
+
* import { tempo } from 'viem/chains'
|
|
1932
|
+
* import { Actions } from 'viem/tempo'
|
|
1933
1933
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
1934
1934
|
*
|
|
1935
1935
|
* const client = createClient({
|
|
@@ -1974,8 +1974,8 @@ export async function setRoleAdmin(client, parameters) {
|
|
|
1974
1974
|
* @example
|
|
1975
1975
|
* ```ts
|
|
1976
1976
|
* import { createClient, http, walletActions } from 'viem'
|
|
1977
|
-
* import { tempo } from '
|
|
1978
|
-
* import { Actions } from 'tempo
|
|
1977
|
+
* import { tempo } from 'viem/chains'
|
|
1978
|
+
* import { Actions } from 'viem/tempo'
|
|
1979
1979
|
*
|
|
1980
1980
|
* const client = createClient({
|
|
1981
1981
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -2032,8 +2032,8 @@ export async function setRoleAdmin(client, parameters) {
|
|
|
2032
2032
|
* @example
|
|
2033
2033
|
* ```ts
|
|
2034
2034
|
* import { createClient, http } from 'viem'
|
|
2035
|
-
* import { tempo } from '
|
|
2036
|
-
* import { Actions } from 'tempo
|
|
2035
|
+
* import { tempo } from 'viem/chains'
|
|
2036
|
+
* import { Actions } from 'viem/tempo'
|
|
2037
2037
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2038
2038
|
*
|
|
2039
2039
|
* const client = createClient({
|
|
@@ -2071,8 +2071,8 @@ export async function setRoleAdminSync(client, parameters) {
|
|
|
2071
2071
|
* @example
|
|
2072
2072
|
* ```ts
|
|
2073
2073
|
* import { createClient, http } from 'viem'
|
|
2074
|
-
* import { tempo } from '
|
|
2075
|
-
* import { Actions } from 'tempo
|
|
2074
|
+
* import { tempo } from 'viem/chains'
|
|
2075
|
+
* import { Actions } from 'viem/tempo'
|
|
2076
2076
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2077
2077
|
*
|
|
2078
2078
|
* const client = createClient({
|
|
@@ -2116,8 +2116,8 @@ export async function transfer(client, parameters) {
|
|
|
2116
2116
|
* @example
|
|
2117
2117
|
* ```ts
|
|
2118
2118
|
* import { createClient, http, walletActions } from 'viem'
|
|
2119
|
-
* import { tempo } from '
|
|
2120
|
-
* import { Actions } from 'tempo
|
|
2119
|
+
* import { tempo } from 'viem/chains'
|
|
2120
|
+
* import { Actions } from 'viem/tempo'
|
|
2121
2121
|
*
|
|
2122
2122
|
* const client = createClient({
|
|
2123
2123
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -2192,8 +2192,8 @@ export async function transfer(client, parameters) {
|
|
|
2192
2192
|
* @example
|
|
2193
2193
|
* ```ts
|
|
2194
2194
|
* import { createClient, http } from 'viem'
|
|
2195
|
-
* import { tempo } from '
|
|
2196
|
-
* import { Actions } from 'tempo
|
|
2195
|
+
* import { tempo } from 'viem/chains'
|
|
2196
|
+
* import { Actions } from 'viem/tempo'
|
|
2197
2197
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2198
2198
|
*
|
|
2199
2199
|
* const client = createClient({
|
|
@@ -2230,8 +2230,8 @@ export async function transferSync(client, parameters) {
|
|
|
2230
2230
|
* @example
|
|
2231
2231
|
* ```ts
|
|
2232
2232
|
* import { createClient, http } from 'viem'
|
|
2233
|
-
* import { tempo } from '
|
|
2234
|
-
* import { Actions } from 'tempo
|
|
2233
|
+
* import { tempo } from 'viem/chains'
|
|
2234
|
+
* import { Actions } from 'viem/tempo'
|
|
2235
2235
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2236
2236
|
*
|
|
2237
2237
|
* const client = createClient({
|
|
@@ -2274,8 +2274,8 @@ export async function unpause(client, parameters) {
|
|
|
2274
2274
|
* @example
|
|
2275
2275
|
* ```ts
|
|
2276
2276
|
* import { createClient, http, walletActions } from 'viem'
|
|
2277
|
-
* import { tempo } from '
|
|
2278
|
-
* import { Actions } from 'tempo
|
|
2277
|
+
* import { tempo } from 'viem/chains'
|
|
2278
|
+
* import { Actions } from 'viem/tempo'
|
|
2279
2279
|
*
|
|
2280
2280
|
* const client = createClient({
|
|
2281
2281
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -2328,8 +2328,8 @@ export async function unpause(client, parameters) {
|
|
|
2328
2328
|
* @example
|
|
2329
2329
|
* ```ts
|
|
2330
2330
|
* import { createClient, http } from 'viem'
|
|
2331
|
-
* import { tempo } from '
|
|
2332
|
-
* import { Actions } from 'tempo
|
|
2331
|
+
* import { tempo } from 'viem/chains'
|
|
2332
|
+
* import { Actions } from 'viem/tempo'
|
|
2333
2333
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2334
2334
|
*
|
|
2335
2335
|
* const client = createClient({
|
|
@@ -2365,8 +2365,8 @@ export async function unpauseSync(client, parameters) {
|
|
|
2365
2365
|
* @example
|
|
2366
2366
|
* ```ts
|
|
2367
2367
|
* import { createClient, http } from 'viem'
|
|
2368
|
-
* import { tempo } from '
|
|
2369
|
-
* import { Actions } from 'tempo
|
|
2368
|
+
* import { tempo } from 'viem/chains'
|
|
2369
|
+
* import { Actions } from 'viem/tempo'
|
|
2370
2370
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2371
2371
|
*
|
|
2372
2372
|
* const client = createClient({
|
|
@@ -2410,8 +2410,8 @@ export async function prepareUpdateQuoteToken(client, parameters) {
|
|
|
2410
2410
|
* @example
|
|
2411
2411
|
* ```ts
|
|
2412
2412
|
* import { createClient, http, walletActions } from 'viem'
|
|
2413
|
-
* import { tempo } from '
|
|
2414
|
-
* import { Actions } from 'tempo
|
|
2413
|
+
* import { tempo } from 'viem/chains'
|
|
2414
|
+
* import { Actions } from 'viem/tempo'
|
|
2415
2415
|
*
|
|
2416
2416
|
* const client = createClient({
|
|
2417
2417
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -2465,8 +2465,8 @@ export async function prepareUpdateQuoteToken(client, parameters) {
|
|
|
2465
2465
|
* @example
|
|
2466
2466
|
* ```ts
|
|
2467
2467
|
* import { createClient, http } from 'viem'
|
|
2468
|
-
* import { tempo } from '
|
|
2469
|
-
* import { Actions } from 'tempo
|
|
2468
|
+
* import { tempo } from 'viem/chains'
|
|
2469
|
+
* import { Actions } from 'viem/tempo'
|
|
2470
2470
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2471
2471
|
*
|
|
2472
2472
|
* const client = createClient({
|
|
@@ -2499,8 +2499,8 @@ export async function prepareUpdateQuoteTokenSync(client, parameters) {
|
|
|
2499
2499
|
* @example
|
|
2500
2500
|
* ```ts
|
|
2501
2501
|
* import { createClient, http } from 'viem'
|
|
2502
|
-
* import { tempo } from '
|
|
2503
|
-
* import { Actions } from 'tempo
|
|
2502
|
+
* import { tempo } from 'viem/chains'
|
|
2503
|
+
* import { Actions } from 'viem/tempo'
|
|
2504
2504
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2505
2505
|
*
|
|
2506
2506
|
* const client = createClient({
|
|
@@ -2543,8 +2543,8 @@ export async function updateQuoteToken(client, parameters) {
|
|
|
2543
2543
|
* @example
|
|
2544
2544
|
* ```ts
|
|
2545
2545
|
* import { createClient, http, walletActions } from 'viem'
|
|
2546
|
-
* import { tempo } from '
|
|
2547
|
-
* import { Actions } from 'tempo
|
|
2546
|
+
* import { tempo } from 'viem/chains'
|
|
2547
|
+
* import { Actions } from 'viem/tempo'
|
|
2548
2548
|
*
|
|
2549
2549
|
* const client = createClient({
|
|
2550
2550
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -2597,8 +2597,8 @@ export async function updateQuoteToken(client, parameters) {
|
|
|
2597
2597
|
* @example
|
|
2598
2598
|
* ```ts
|
|
2599
2599
|
* import { createClient, http } from 'viem'
|
|
2600
|
-
* import { tempo } from '
|
|
2601
|
-
* import { Actions } from 'tempo
|
|
2600
|
+
* import { tempo } from 'viem/chains'
|
|
2601
|
+
* import { Actions } from 'viem/tempo'
|
|
2602
2602
|
* import { privateKeyToAccount } from 'viem/accounts'
|
|
2603
2603
|
*
|
|
2604
2604
|
* const client = createClient({
|
|
@@ -2630,8 +2630,8 @@ export async function updateQuoteTokenSync(client, parameters) {
|
|
|
2630
2630
|
* @example
|
|
2631
2631
|
* ```ts
|
|
2632
2632
|
* import { createClient, http } from 'viem'
|
|
2633
|
-
* import { tempo } from '
|
|
2634
|
-
* import { Actions } from 'tempo
|
|
2633
|
+
* import { tempo } from 'viem/chains'
|
|
2634
|
+
* import { Actions } from 'viem/tempo'
|
|
2635
2635
|
*
|
|
2636
2636
|
* const client = createClient({
|
|
2637
2637
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -2669,8 +2669,8 @@ export function watchApprove(client, parameters) {
|
|
|
2669
2669
|
* @example
|
|
2670
2670
|
* ```ts
|
|
2671
2671
|
* import { createClient, http } from 'viem'
|
|
2672
|
-
* import { tempo } from '
|
|
2673
|
-
* import { Actions } from 'tempo
|
|
2672
|
+
* import { tempo } from 'viem/chains'
|
|
2673
|
+
* import { Actions } from 'viem/tempo'
|
|
2674
2674
|
*
|
|
2675
2675
|
* const client = createClient({
|
|
2676
2676
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -2708,8 +2708,8 @@ export function watchBurn(client, parameters) {
|
|
|
2708
2708
|
* @example
|
|
2709
2709
|
* ```ts
|
|
2710
2710
|
* import { createClient, http } from 'viem'
|
|
2711
|
-
* import { tempo } from '
|
|
2712
|
-
* import { Actions } from 'tempo
|
|
2711
|
+
* import { tempo } from 'viem/chains'
|
|
2712
|
+
* import { Actions } from 'viem/tempo'
|
|
2713
2713
|
*
|
|
2714
2714
|
* const client = createClient({
|
|
2715
2715
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -2747,8 +2747,8 @@ export function watchCreate(client, parameters) {
|
|
|
2747
2747
|
* @example
|
|
2748
2748
|
* ```ts
|
|
2749
2749
|
* import { createClient, http } from 'viem'
|
|
2750
|
-
* import { tempo } from '
|
|
2751
|
-
* import { Actions } from 'tempo
|
|
2750
|
+
* import { tempo } from 'viem/chains'
|
|
2751
|
+
* import { Actions } from 'viem/tempo'
|
|
2752
2752
|
*
|
|
2753
2753
|
* const client = createClient({
|
|
2754
2754
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -2786,8 +2786,8 @@ export function watchMint(client, parameters) {
|
|
|
2786
2786
|
* @example
|
|
2787
2787
|
* ```ts
|
|
2788
2788
|
* import { createClient, http } from 'viem'
|
|
2789
|
-
* import { tempo } from '
|
|
2790
|
-
* import { Actions } from 'tempo
|
|
2789
|
+
* import { tempo } from 'viem/chains'
|
|
2790
|
+
* import { Actions } from 'viem/tempo'
|
|
2791
2791
|
*
|
|
2792
2792
|
* const client = createClient({
|
|
2793
2793
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -2825,8 +2825,8 @@ export function watchAdminRole(client, parameters) {
|
|
|
2825
2825
|
* @example
|
|
2826
2826
|
* ```ts
|
|
2827
2827
|
* import { createClient, http } from 'viem'
|
|
2828
|
-
* import { tempo } from '
|
|
2829
|
-
* import { Actions } from 'tempo
|
|
2828
|
+
* import { tempo } from 'viem/chains'
|
|
2829
|
+
* import { Actions } from 'viem/tempo'
|
|
2830
2830
|
*
|
|
2831
2831
|
* const client = createClient({
|
|
2832
2832
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|
|
@@ -2866,8 +2866,8 @@ export function watchRole(client, parameters) {
|
|
|
2866
2866
|
* @example
|
|
2867
2867
|
* ```ts
|
|
2868
2868
|
* import { createClient, http } from 'viem'
|
|
2869
|
-
* import { tempo } from '
|
|
2870
|
-
* import { Actions } from 'tempo
|
|
2869
|
+
* import { tempo } from 'viem/chains'
|
|
2870
|
+
* import { Actions } from 'viem/tempo'
|
|
2871
2871
|
*
|
|
2872
2872
|
* const client = createClient({
|
|
2873
2873
|
* account: privateKeyToAccount('0x...'),
|
|
@@ -2906,8 +2906,8 @@ export function watchTransfer(client, parameters) {
|
|
|
2906
2906
|
* @example
|
|
2907
2907
|
* ```ts
|
|
2908
2908
|
* import { createClient, http } from 'viem'
|
|
2909
|
-
* import { tempo } from '
|
|
2910
|
-
* import { Actions } from 'tempo
|
|
2909
|
+
* import { tempo } from 'viem/chains'
|
|
2910
|
+
* import { Actions } from 'viem/tempo'
|
|
2911
2911
|
*
|
|
2912
2912
|
* const client = createClient({
|
|
2913
2913
|
* chain: tempo({ feeToken: '0x20c0000000000000000000000000000000000001' })
|