viem 2.27.3 → 2.28.0-canary-20250422025603
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 +14 -0
- package/_cjs/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js.map +1 -1
- package/_cjs/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js +257 -0
- package/_cjs/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js.map +1 -0
- package/_cjs/account-abstraction/accounts/implementations/toSoladySmartAccount.js.map +1 -1
- package/_cjs/account-abstraction/accounts/toSmartAccount.js +2 -2
- package/_cjs/account-abstraction/accounts/toSmartAccount.js.map +1 -1
- package/_cjs/account-abstraction/actions/bundler/estimateUserOperationGas.js +7 -1
- package/_cjs/account-abstraction/actions/bundler/estimateUserOperationGas.js.map +1 -1
- package/_cjs/account-abstraction/actions/bundler/prepareUserOperation.js +21 -1
- package/_cjs/account-abstraction/actions/bundler/prepareUserOperation.js.map +1 -1
- package/_cjs/account-abstraction/actions/bundler/sendUserOperation.js +2 -2
- package/_cjs/account-abstraction/actions/bundler/sendUserOperation.js.map +1 -1
- package/_cjs/account-abstraction/actions/paymaster/getPaymasterData.js.map +1 -1
- package/_cjs/account-abstraction/constants/abis.js +691 -1
- package/_cjs/account-abstraction/constants/abis.js.map +1 -1
- package/_cjs/account-abstraction/constants/address.js +2 -1
- package/_cjs/account-abstraction/constants/address.js.map +1 -1
- package/_cjs/account-abstraction/index.js +6 -2
- package/_cjs/account-abstraction/index.js.map +1 -1
- package/_cjs/account-abstraction/utils/formatters/userOperationRequest.js +19 -0
- package/_cjs/account-abstraction/utils/formatters/userOperationRequest.js.map +1 -1
- package/_cjs/account-abstraction/utils/userOperation/getInitCode.js +18 -0
- package/_cjs/account-abstraction/utils/userOperation/getInitCode.js.map +1 -0
- package/_cjs/account-abstraction/utils/userOperation/getUserOperationHash.js +30 -39
- package/_cjs/account-abstraction/utils/userOperation/getUserOperationHash.js.map +1 -1
- package/_cjs/account-abstraction/utils/userOperation/getUserOperationTypedData.js +31 -0
- package/_cjs/account-abstraction/utils/userOperation/getUserOperationTypedData.js.map +1 -0
- package/_cjs/account-abstraction/utils/userOperation/toPackedUserOperation.js +3 -2
- package/_cjs/account-abstraction/utils/userOperation/toPackedUserOperation.js.map +1 -1
- package/_cjs/actions/index.js +12 -1
- package/_cjs/actions/index.js.map +1 -1
- package/_cjs/{experimental/eip5792/actions → actions/wallet}/getCallsStatus.js +3 -3
- package/_cjs/actions/wallet/getCallsStatus.js.map +1 -0
- package/_cjs/{experimental/eip5792/actions → actions/wallet}/getCapabilities.js +1 -1
- package/{_esm/experimental/eip5792/actions → _cjs/actions/wallet}/getCapabilities.js.map +1 -1
- package/_cjs/{experimental/eip5792/actions → actions/wallet}/sendCalls.js +6 -6
- package/_cjs/actions/wallet/sendCalls.js.map +1 -0
- package/_cjs/actions/wallet/showCallsStatus.js.map +1 -0
- package/_cjs/{experimental/eip5792/actions → actions/wallet}/waitForCallsStatus.js +5 -5
- package/_cjs/actions/wallet/waitForCallsStatus.js.map +1 -0
- package/_cjs/clients/decorators/wallet.js +10 -0
- package/_cjs/clients/decorators/wallet.js.map +1 -1
- package/_cjs/constants/address.js +2 -1
- package/_cjs/constants/address.js.map +1 -1
- package/_cjs/errors/version.js +1 -1
- package/_cjs/errors/version.js.map +1 -1
- package/_cjs/experimental/eip5792/actions/writeContracts.js +1 -1
- package/_cjs/experimental/eip5792/actions/writeContracts.js.map +1 -1
- package/_cjs/experimental/eip5792/decorators/eip5792.js +5 -5
- package/_cjs/experimental/eip5792/decorators/eip5792.js.map +1 -1
- package/_cjs/experimental/index.js +6 -7
- package/_cjs/experimental/index.js.map +1 -1
- package/_cjs/index.js +11 -9
- package/_cjs/index.js.map +1 -1
- package/_esm/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js.map +1 -1
- package/_esm/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js +271 -0
- package/_esm/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js.map +1 -0
- package/_esm/account-abstraction/accounts/implementations/toSoladySmartAccount.js.map +1 -1
- package/_esm/account-abstraction/accounts/toSmartAccount.js +2 -2
- package/_esm/account-abstraction/accounts/toSmartAccount.js.map +1 -1
- package/_esm/account-abstraction/actions/bundler/estimateUserOperationGas.js +7 -1
- package/_esm/account-abstraction/actions/bundler/estimateUserOperationGas.js.map +1 -1
- package/_esm/account-abstraction/actions/bundler/prepareUserOperation.js +21 -1
- package/_esm/account-abstraction/actions/bundler/prepareUserOperation.js.map +1 -1
- package/_esm/account-abstraction/actions/bundler/sendUserOperation.js +2 -2
- package/_esm/account-abstraction/actions/bundler/sendUserOperation.js.map +1 -1
- package/_esm/account-abstraction/actions/paymaster/getPaymasterData.js.map +1 -1
- package/_esm/account-abstraction/constants/abis.js +690 -0
- package/_esm/account-abstraction/constants/abis.js.map +1 -1
- package/_esm/account-abstraction/constants/address.js +1 -0
- package/_esm/account-abstraction/constants/address.js.map +1 -1
- package/_esm/account-abstraction/index.js +3 -2
- package/_esm/account-abstraction/index.js.map +1 -1
- package/_esm/account-abstraction/utils/formatters/userOperationRequest.js +19 -0
- package/_esm/account-abstraction/utils/formatters/userOperationRequest.js.map +1 -1
- package/_esm/account-abstraction/utils/userOperation/getInitCode.js +15 -0
- package/_esm/account-abstraction/utils/userOperation/getInitCode.js.map +1 -0
- package/_esm/account-abstraction/utils/userOperation/getUserOperationHash.js +30 -39
- package/_esm/account-abstraction/utils/userOperation/getUserOperationHash.js.map +1 -1
- package/_esm/account-abstraction/utils/userOperation/getUserOperationTypedData.js +28 -0
- package/_esm/account-abstraction/utils/userOperation/getUserOperationTypedData.js.map +1 -0
- package/_esm/account-abstraction/utils/userOperation/toPackedUserOperation.js +3 -2
- package/_esm/account-abstraction/utils/userOperation/toPackedUserOperation.js.map +1 -1
- package/_esm/actions/index.js +5 -0
- package/_esm/actions/index.js.map +1 -1
- package/_esm/{experimental/eip5792/actions → actions/wallet}/getCallsStatus.js +5 -5
- package/_esm/actions/wallet/getCallsStatus.js.map +1 -0
- package/_esm/{experimental/eip5792/actions → actions/wallet}/getCapabilities.js +3 -3
- package/_esm/actions/wallet/getCapabilities.js.map +1 -0
- package/_esm/{experimental/eip5792/actions → actions/wallet}/sendCalls.js +8 -8
- package/_esm/actions/wallet/sendCalls.js.map +1 -0
- package/_esm/{experimental/eip5792/actions → actions/wallet}/showCallsStatus.js +2 -2
- package/_esm/actions/wallet/showCallsStatus.js.map +1 -0
- package/_esm/{experimental/eip5792/actions → actions/wallet}/waitForCallsStatus.js +7 -7
- package/_esm/actions/wallet/waitForCallsStatus.js.map +1 -0
- package/_esm/clients/decorators/wallet.js +10 -0
- package/_esm/clients/decorators/wallet.js.map +1 -1
- package/_esm/constants/address.js +1 -0
- package/_esm/constants/address.js.map +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/errors/version.js.map +1 -1
- package/_esm/experimental/eip5792/actions/writeContracts.js +2 -3
- package/_esm/experimental/eip5792/actions/writeContracts.js.map +1 -1
- package/_esm/experimental/eip5792/decorators/eip5792.js +6 -5
- package/_esm/experimental/eip5792/decorators/eip5792.js.map +1 -1
- package/_esm/experimental/index.js +21 -7
- package/_esm/experimental/index.js.map +1 -1
- package/_esm/index.js +1 -0
- package/_esm/index.js.map +1 -1
- package/_types/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.d.ts +1 -2
- package/_types/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.d.ts.map +1 -1
- package/_types/account-abstraction/accounts/implementations/toSimple7702SmartAccount.d.ts +311 -0
- package/_types/account-abstraction/accounts/implementations/toSimple7702SmartAccount.d.ts.map +1 -0
- package/_types/account-abstraction/accounts/implementations/toSoladySmartAccount.d.ts +1 -2
- package/_types/account-abstraction/accounts/implementations/toSoladySmartAccount.d.ts.map +1 -1
- package/_types/account-abstraction/accounts/types.d.ts +16 -3
- package/_types/account-abstraction/accounts/types.d.ts.map +1 -1
- package/_types/account-abstraction/actions/bundler/estimateUserOperationGas.d.ts.map +1 -1
- package/_types/account-abstraction/actions/bundler/prepareUserOperation.d.ts +23 -6
- package/_types/account-abstraction/actions/bundler/prepareUserOperation.d.ts.map +1 -1
- package/_types/account-abstraction/actions/paymaster/getPaymasterData.d.ts +1 -1
- package/_types/account-abstraction/actions/paymaster/getPaymasterData.d.ts.map +1 -1
- package/_types/account-abstraction/constants/abis.d.ts +830 -0
- package/_types/account-abstraction/constants/abis.d.ts.map +1 -1
- package/_types/account-abstraction/constants/address.d.ts +1 -0
- package/_types/account-abstraction/constants/address.d.ts.map +1 -1
- package/_types/account-abstraction/index.d.ts +3 -2
- package/_types/account-abstraction/index.d.ts.map +1 -1
- package/_types/account-abstraction/types/entryPointVersion.d.ts +1 -1
- package/_types/account-abstraction/types/entryPointVersion.d.ts.map +1 -1
- package/_types/account-abstraction/types/rpc.d.ts +6 -3
- package/_types/account-abstraction/types/rpc.d.ts.map +1 -1
- package/_types/account-abstraction/types/userOperation.d.ts +49 -5
- package/_types/account-abstraction/types/userOperation.d.ts.map +1 -1
- package/_types/account-abstraction/utils/formatters/userOperationRequest.d.ts.map +1 -1
- package/_types/account-abstraction/utils/userOperation/getInitCode.d.ts +3 -0
- package/_types/account-abstraction/utils/userOperation/getInitCode.d.ts.map +1 -0
- package/_types/account-abstraction/utils/userOperation/getUserOperationHash.d.ts.map +1 -1
- package/_types/account-abstraction/utils/userOperation/getUserOperationTypedData.d.ts +45 -0
- package/_types/account-abstraction/utils/userOperation/getUserOperationTypedData.d.ts.map +1 -0
- package/_types/account-abstraction/utils/userOperation/toPackedUserOperation.d.ts.map +1 -1
- package/_types/actions/index.d.ts +5 -0
- package/_types/actions/index.d.ts.map +1 -1
- package/_types/{experimental/eip5792/actions → actions/wallet}/getCallsStatus.d.ts +10 -10
- package/_types/actions/wallet/getCallsStatus.d.ts.map +1 -0
- package/_types/{experimental/eip5792/actions → actions/wallet}/getCapabilities.d.ts +9 -9
- package/_types/actions/wallet/getCapabilities.d.ts.map +1 -0
- package/_types/{experimental/eip5792/actions → actions/wallet}/sendCalls.d.ts +10 -10
- package/_types/actions/wallet/sendCalls.d.ts.map +1 -0
- package/_types/{experimental/eip5792/actions → actions/wallet}/showCallsStatus.d.ts +8 -8
- package/_types/actions/wallet/showCallsStatus.d.ts.map +1 -0
- package/_types/{experimental/eip5792/actions → actions/wallet}/waitForCallsStatus.d.ts +9 -9
- package/_types/actions/wallet/waitForCallsStatus.d.ts.map +1 -0
- package/_types/celo/chainConfig.d.ts +14 -14
- package/_types/celo/formatters.d.ts +7 -7
- package/_types/chains/definitions/abstract.d.ts +3 -3
- package/_types/chains/definitions/abstractTestnet.d.ts +3 -3
- package/_types/chains/definitions/celo.d.ts +14 -14
- package/_types/chains/definitions/celoAlfajores.d.ts +14 -14
- package/_types/chains/definitions/playfiAlbireo.d.ts +3 -3
- package/_types/chains/definitions/sophon.d.ts +3 -3
- package/_types/chains/definitions/sophonTestnet.d.ts +3 -3
- package/_types/chains/definitions/treasure.d.ts +3 -3
- package/_types/chains/definitions/treasureTopaz.d.ts +3 -3
- package/_types/chains/definitions/zksync.d.ts +3 -3
- package/_types/chains/definitions/zksyncInMemoryNode.d.ts +3 -3
- package/_types/chains/definitions/zksyncLocalCustomHyperchain.d.ts +3 -3
- package/_types/chains/definitions/zksyncLocalHyperchain.d.ts +3 -3
- package/_types/chains/definitions/zksyncLocalNode.d.ts +3 -3
- package/_types/chains/definitions/zksyncSepoliaTestnet.d.ts +3 -3
- package/_types/clients/decorators/wallet.d.ts +126 -0
- package/_types/clients/decorators/wallet.d.ts.map +1 -1
- package/_types/constants/address.d.ts +1 -0
- package/_types/constants/address.d.ts.map +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/_types/errors/version.d.ts.map +1 -1
- package/_types/experimental/eip5792/actions/writeContracts.d.ts +1 -3
- package/_types/experimental/eip5792/actions/writeContracts.d.ts.map +1 -1
- package/_types/experimental/eip5792/decorators/eip5792.d.ts +5 -5
- package/_types/experimental/eip5792/decorators/eip5792.d.ts.map +1 -1
- package/_types/experimental/index.d.ts +63 -7
- package/_types/experimental/index.d.ts.map +1 -1
- package/_types/index.d.ts +6 -0
- package/_types/index.d.ts.map +1 -1
- package/_types/types/authorization.d.ts +1 -1
- package/_types/types/authorization.d.ts.map +1 -1
- package/_types/types/misc.d.ts +7 -7
- package/_types/types/misc.d.ts.map +1 -1
- package/_types/utils/formatters/transaction.d.ts +1 -1
- package/_types/utils/formatters/transactionRequest.d.ts +1 -1
- package/_types/zksync/chainConfig.d.ts +3 -3
- package/_types/zksync/formatters.d.ts +3 -3
- package/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.ts +1 -2
- package/account-abstraction/accounts/implementations/toSimple7702SmartAccount.ts +317 -0
- package/account-abstraction/accounts/implementations/toSoladySmartAccount.ts +1 -2
- package/account-abstraction/accounts/toSmartAccount.ts +2 -2
- package/account-abstraction/accounts/types.ts +26 -2
- package/account-abstraction/actions/bundler/estimateUserOperationGas.ts +8 -1
- package/account-abstraction/actions/bundler/prepareUserOperation.ts +56 -2
- package/account-abstraction/actions/bundler/sendUserOperation.ts +2 -2
- package/account-abstraction/actions/paymaster/getPaymasterData.ts +24 -0
- package/account-abstraction/constants/abis.ts +691 -0
- package/account-abstraction/constants/address.ts +2 -0
- package/account-abstraction/index.ts +12 -1
- package/account-abstraction/types/entryPointVersion.ts +1 -1
- package/account-abstraction/types/rpc.ts +6 -3
- package/account-abstraction/types/userOperation.ts +69 -3
- package/account-abstraction/utils/formatters/userOperationRequest.ts +21 -0
- package/account-abstraction/utils/userOperation/getInitCode.ts +21 -0
- package/account-abstraction/utils/userOperation/getUserOperationHash.ts +37 -50
- package/account-abstraction/utils/userOperation/getUserOperationTypedData.ts +42 -0
- package/account-abstraction/utils/userOperation/toPackedUserOperation.ts +2 -4
- package/actions/index.ts +31 -0
- package/{experimental/eip5792/actions → actions/wallet}/getCallsStatus.ts +13 -13
- package/{experimental/eip5792/actions → actions/wallet}/getCapabilities.ts +10 -10
- package/{experimental/eip5792/actions → actions/wallet}/sendCalls.ts +17 -17
- package/{experimental/eip5792/actions → actions/wallet}/showCallsStatus.ts +8 -8
- package/{experimental/eip5792/actions → actions/wallet}/waitForCallsStatus.ts +11 -11
- package/clients/decorators/wallet.ts +164 -0
- package/constants/address.ts +2 -0
- package/errors/version.ts +1 -1
- package/experimental/eip5792/actions/writeContracts.ts +8 -8
- package/experimental/eip5792/decorators/eip5792.ts +11 -9
- package/experimental/index.ts +33 -6
- package/index.ts +27 -0
- package/package.json +1 -1
- package/types/authorization.ts +1 -1
- package/types/misc.ts +7 -7
- package/_cjs/experimental/eip5792/actions/getCallsStatus.js.map +0 -1
- package/_cjs/experimental/eip5792/actions/getCapabilities.js.map +0 -1
- package/_cjs/experimental/eip5792/actions/sendCalls.js.map +0 -1
- package/_cjs/experimental/eip5792/actions/showCallsStatus.js.map +0 -1
- package/_cjs/experimental/eip5792/actions/waitForCallsStatus.js.map +0 -1
- package/_esm/experimental/eip5792/actions/getCallsStatus.js.map +0 -1
- package/_esm/experimental/eip5792/actions/sendCalls.js.map +0 -1
- package/_esm/experimental/eip5792/actions/showCallsStatus.js.map +0 -1
- package/_esm/experimental/eip5792/actions/waitForCallsStatus.js.map +0 -1
- package/_types/experimental/eip5792/actions/getCallsStatus.d.ts.map +0 -1
- package/_types/experimental/eip5792/actions/getCapabilities.d.ts.map +0 -1
- package/_types/experimental/eip5792/actions/sendCalls.d.ts.map +0 -1
- package/_types/experimental/eip5792/actions/showCallsStatus.d.ts.map +0 -1
- package/_types/experimental/eip5792/actions/waitForCallsStatus.d.ts.map +0 -1
- /package/_cjs/{experimental/eip5792/actions → actions/wallet}/showCallsStatus.js +0 -0
@@ -295,10 +295,10 @@ export declare const sophonTestnet: {
|
|
295
295
|
maxPriorityFeePerGas?: undefined | undefined;
|
296
296
|
blobs?: undefined;
|
297
297
|
accessList?: undefined;
|
298
|
-
authorizationList?: undefined;
|
299
298
|
blobVersionedHashes?: undefined;
|
300
299
|
kzg?: undefined;
|
301
300
|
sidecars?: undefined;
|
301
|
+
authorizationList?: undefined;
|
302
302
|
eip712Meta?: undefined | undefined;
|
303
303
|
} | {
|
304
304
|
data?: `0x${string}` | undefined;
|
@@ -314,10 +314,10 @@ export declare const sophonTestnet: {
|
|
314
314
|
maxPriorityFeePerGas?: undefined | undefined;
|
315
315
|
accessList?: import("../../index.js").AccessList | undefined;
|
316
316
|
blobs?: undefined;
|
317
|
-
authorizationList?: undefined;
|
318
317
|
blobVersionedHashes?: undefined;
|
319
318
|
kzg?: undefined;
|
320
319
|
sidecars?: undefined;
|
320
|
+
authorizationList?: undefined;
|
321
321
|
eip712Meta?: undefined | undefined;
|
322
322
|
} | {
|
323
323
|
data?: `0x${string}` | undefined;
|
@@ -333,10 +333,10 @@ export declare const sophonTestnet: {
|
|
333
333
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
334
334
|
accessList?: import("../../index.js").AccessList | undefined;
|
335
335
|
blobs?: undefined;
|
336
|
-
authorizationList?: undefined;
|
337
336
|
blobVersionedHashes?: undefined;
|
338
337
|
kzg?: undefined;
|
339
338
|
sidecars?: undefined;
|
339
|
+
authorizationList?: undefined;
|
340
340
|
eip712Meta?: undefined | undefined;
|
341
341
|
} | {
|
342
342
|
type?: "0x3" | undefined;
|
@@ -295,10 +295,10 @@ export declare const treasure: {
|
|
295
295
|
maxPriorityFeePerGas?: undefined | undefined;
|
296
296
|
blobs?: undefined;
|
297
297
|
accessList?: undefined;
|
298
|
-
authorizationList?: undefined;
|
299
298
|
blobVersionedHashes?: undefined;
|
300
299
|
kzg?: undefined;
|
301
300
|
sidecars?: undefined;
|
301
|
+
authorizationList?: undefined;
|
302
302
|
eip712Meta?: undefined | undefined;
|
303
303
|
} | {
|
304
304
|
data?: `0x${string}` | undefined;
|
@@ -314,10 +314,10 @@ export declare const treasure: {
|
|
314
314
|
maxPriorityFeePerGas?: undefined | undefined;
|
315
315
|
accessList?: import("../../index.js").AccessList | undefined;
|
316
316
|
blobs?: undefined;
|
317
|
-
authorizationList?: undefined;
|
318
317
|
blobVersionedHashes?: undefined;
|
319
318
|
kzg?: undefined;
|
320
319
|
sidecars?: undefined;
|
320
|
+
authorizationList?: undefined;
|
321
321
|
eip712Meta?: undefined | undefined;
|
322
322
|
} | {
|
323
323
|
data?: `0x${string}` | undefined;
|
@@ -333,10 +333,10 @@ export declare const treasure: {
|
|
333
333
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
334
334
|
accessList?: import("../../index.js").AccessList | undefined;
|
335
335
|
blobs?: undefined;
|
336
|
-
authorizationList?: undefined;
|
337
336
|
blobVersionedHashes?: undefined;
|
338
337
|
kzg?: undefined;
|
339
338
|
sidecars?: undefined;
|
339
|
+
authorizationList?: undefined;
|
340
340
|
eip712Meta?: undefined | undefined;
|
341
341
|
} | {
|
342
342
|
type?: "0x3" | undefined;
|
@@ -295,10 +295,10 @@ export declare const treasureTopaz: {
|
|
295
295
|
maxPriorityFeePerGas?: undefined | undefined;
|
296
296
|
blobs?: undefined;
|
297
297
|
accessList?: undefined;
|
298
|
-
authorizationList?: undefined;
|
299
298
|
blobVersionedHashes?: undefined;
|
300
299
|
kzg?: undefined;
|
301
300
|
sidecars?: undefined;
|
301
|
+
authorizationList?: undefined;
|
302
302
|
eip712Meta?: undefined | undefined;
|
303
303
|
} | {
|
304
304
|
data?: `0x${string}` | undefined;
|
@@ -314,10 +314,10 @@ export declare const treasureTopaz: {
|
|
314
314
|
maxPriorityFeePerGas?: undefined | undefined;
|
315
315
|
accessList?: import("../../index.js").AccessList | undefined;
|
316
316
|
blobs?: undefined;
|
317
|
-
authorizationList?: undefined;
|
318
317
|
blobVersionedHashes?: undefined;
|
319
318
|
kzg?: undefined;
|
320
319
|
sidecars?: undefined;
|
320
|
+
authorizationList?: undefined;
|
321
321
|
eip712Meta?: undefined | undefined;
|
322
322
|
} | {
|
323
323
|
data?: `0x${string}` | undefined;
|
@@ -333,10 +333,10 @@ export declare const treasureTopaz: {
|
|
333
333
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
334
334
|
accessList?: import("../../index.js").AccessList | undefined;
|
335
335
|
blobs?: undefined;
|
336
|
-
authorizationList?: undefined;
|
337
336
|
blobVersionedHashes?: undefined;
|
338
337
|
kzg?: undefined;
|
339
338
|
sidecars?: undefined;
|
339
|
+
authorizationList?: undefined;
|
340
340
|
eip712Meta?: undefined | undefined;
|
341
341
|
} | {
|
342
342
|
type?: "0x3" | undefined;
|
@@ -304,10 +304,10 @@ export declare const zksync: {
|
|
304
304
|
maxPriorityFeePerGas?: undefined | undefined;
|
305
305
|
blobs?: undefined;
|
306
306
|
accessList?: undefined;
|
307
|
-
authorizationList?: undefined;
|
308
307
|
blobVersionedHashes?: undefined;
|
309
308
|
kzg?: undefined;
|
310
309
|
sidecars?: undefined;
|
310
|
+
authorizationList?: undefined;
|
311
311
|
eip712Meta?: undefined | undefined;
|
312
312
|
} | {
|
313
313
|
data?: `0x${string}` | undefined;
|
@@ -323,10 +323,10 @@ export declare const zksync: {
|
|
323
323
|
maxPriorityFeePerGas?: undefined | undefined;
|
324
324
|
accessList?: import("../../index.js").AccessList | undefined;
|
325
325
|
blobs?: undefined;
|
326
|
-
authorizationList?: undefined;
|
327
326
|
blobVersionedHashes?: undefined;
|
328
327
|
kzg?: undefined;
|
329
328
|
sidecars?: undefined;
|
329
|
+
authorizationList?: undefined;
|
330
330
|
eip712Meta?: undefined | undefined;
|
331
331
|
} | {
|
332
332
|
data?: `0x${string}` | undefined;
|
@@ -342,10 +342,10 @@ export declare const zksync: {
|
|
342
342
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
343
343
|
accessList?: import("../../index.js").AccessList | undefined;
|
344
344
|
blobs?: undefined;
|
345
|
-
authorizationList?: undefined;
|
346
345
|
blobVersionedHashes?: undefined;
|
347
346
|
kzg?: undefined;
|
348
347
|
sidecars?: undefined;
|
348
|
+
authorizationList?: undefined;
|
349
349
|
eip712Meta?: undefined | undefined;
|
350
350
|
} | {
|
351
351
|
type?: "0x3" | undefined;
|
@@ -303,10 +303,10 @@ export declare const zksyncInMemoryNode: {
|
|
303
303
|
maxPriorityFeePerGas?: undefined | undefined;
|
304
304
|
blobs?: undefined;
|
305
305
|
accessList?: undefined;
|
306
|
-
authorizationList?: undefined;
|
307
306
|
blobVersionedHashes?: undefined;
|
308
307
|
kzg?: undefined;
|
309
308
|
sidecars?: undefined;
|
309
|
+
authorizationList?: undefined;
|
310
310
|
eip712Meta?: undefined | undefined;
|
311
311
|
} | {
|
312
312
|
data?: `0x${string}` | undefined;
|
@@ -322,10 +322,10 @@ export declare const zksyncInMemoryNode: {
|
|
322
322
|
maxPriorityFeePerGas?: undefined | undefined;
|
323
323
|
accessList?: import("../../index.js").AccessList | undefined;
|
324
324
|
blobs?: undefined;
|
325
|
-
authorizationList?: undefined;
|
326
325
|
blobVersionedHashes?: undefined;
|
327
326
|
kzg?: undefined;
|
328
327
|
sidecars?: undefined;
|
328
|
+
authorizationList?: undefined;
|
329
329
|
eip712Meta?: undefined | undefined;
|
330
330
|
} | {
|
331
331
|
data?: `0x${string}` | undefined;
|
@@ -341,10 +341,10 @@ export declare const zksyncInMemoryNode: {
|
|
341
341
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
342
342
|
accessList?: import("../../index.js").AccessList | undefined;
|
343
343
|
blobs?: undefined;
|
344
|
-
authorizationList?: undefined;
|
345
344
|
blobVersionedHashes?: undefined;
|
346
345
|
kzg?: undefined;
|
347
346
|
sidecars?: undefined;
|
347
|
+
authorizationList?: undefined;
|
348
348
|
eip712Meta?: undefined | undefined;
|
349
349
|
} | {
|
350
350
|
type?: "0x3" | undefined;
|
@@ -299,10 +299,10 @@ export declare const zksyncLocalCustomHyperchain: {
|
|
299
299
|
maxPriorityFeePerGas?: undefined | undefined;
|
300
300
|
blobs?: undefined;
|
301
301
|
accessList?: undefined;
|
302
|
-
authorizationList?: undefined;
|
303
302
|
blobVersionedHashes?: undefined;
|
304
303
|
kzg?: undefined;
|
305
304
|
sidecars?: undefined;
|
305
|
+
authorizationList?: undefined;
|
306
306
|
eip712Meta?: undefined | undefined;
|
307
307
|
} | {
|
308
308
|
data?: `0x${string}` | undefined;
|
@@ -318,10 +318,10 @@ export declare const zksyncLocalCustomHyperchain: {
|
|
318
318
|
maxPriorityFeePerGas?: undefined | undefined;
|
319
319
|
accessList?: import("../../index.js").AccessList | undefined;
|
320
320
|
blobs?: undefined;
|
321
|
-
authorizationList?: undefined;
|
322
321
|
blobVersionedHashes?: undefined;
|
323
322
|
kzg?: undefined;
|
324
323
|
sidecars?: undefined;
|
324
|
+
authorizationList?: undefined;
|
325
325
|
eip712Meta?: undefined | undefined;
|
326
326
|
} | {
|
327
327
|
data?: `0x${string}` | undefined;
|
@@ -337,10 +337,10 @@ export declare const zksyncLocalCustomHyperchain: {
|
|
337
337
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
338
338
|
accessList?: import("../../index.js").AccessList | undefined;
|
339
339
|
blobs?: undefined;
|
340
|
-
authorizationList?: undefined;
|
341
340
|
blobVersionedHashes?: undefined;
|
342
341
|
kzg?: undefined;
|
343
342
|
sidecars?: undefined;
|
343
|
+
authorizationList?: undefined;
|
344
344
|
eip712Meta?: undefined | undefined;
|
345
345
|
} | {
|
346
346
|
type?: "0x3" | undefined;
|
@@ -299,10 +299,10 @@ export declare const zksyncLocalHyperchain: {
|
|
299
299
|
maxPriorityFeePerGas?: undefined | undefined;
|
300
300
|
blobs?: undefined;
|
301
301
|
accessList?: undefined;
|
302
|
-
authorizationList?: undefined;
|
303
302
|
blobVersionedHashes?: undefined;
|
304
303
|
kzg?: undefined;
|
305
304
|
sidecars?: undefined;
|
305
|
+
authorizationList?: undefined;
|
306
306
|
eip712Meta?: undefined | undefined;
|
307
307
|
} | {
|
308
308
|
data?: `0x${string}` | undefined;
|
@@ -318,10 +318,10 @@ export declare const zksyncLocalHyperchain: {
|
|
318
318
|
maxPriorityFeePerGas?: undefined | undefined;
|
319
319
|
accessList?: import("../../index.js").AccessList | undefined;
|
320
320
|
blobs?: undefined;
|
321
|
-
authorizationList?: undefined;
|
322
321
|
blobVersionedHashes?: undefined;
|
323
322
|
kzg?: undefined;
|
324
323
|
sidecars?: undefined;
|
324
|
+
authorizationList?: undefined;
|
325
325
|
eip712Meta?: undefined | undefined;
|
326
326
|
} | {
|
327
327
|
data?: `0x${string}` | undefined;
|
@@ -337,10 +337,10 @@ export declare const zksyncLocalHyperchain: {
|
|
337
337
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
338
338
|
accessList?: import("../../index.js").AccessList | undefined;
|
339
339
|
blobs?: undefined;
|
340
|
-
authorizationList?: undefined;
|
341
340
|
blobVersionedHashes?: undefined;
|
342
341
|
kzg?: undefined;
|
343
342
|
sidecars?: undefined;
|
343
|
+
authorizationList?: undefined;
|
344
344
|
eip712Meta?: undefined | undefined;
|
345
345
|
} | {
|
346
346
|
type?: "0x3" | undefined;
|
@@ -303,10 +303,10 @@ export declare const zksyncLocalNode: {
|
|
303
303
|
maxPriorityFeePerGas?: undefined | undefined;
|
304
304
|
blobs?: undefined;
|
305
305
|
accessList?: undefined;
|
306
|
-
authorizationList?: undefined;
|
307
306
|
blobVersionedHashes?: undefined;
|
308
307
|
kzg?: undefined;
|
309
308
|
sidecars?: undefined;
|
309
|
+
authorizationList?: undefined;
|
310
310
|
eip712Meta?: undefined | undefined;
|
311
311
|
} | {
|
312
312
|
data?: `0x${string}` | undefined;
|
@@ -322,10 +322,10 @@ export declare const zksyncLocalNode: {
|
|
322
322
|
maxPriorityFeePerGas?: undefined | undefined;
|
323
323
|
accessList?: import("../../index.js").AccessList | undefined;
|
324
324
|
blobs?: undefined;
|
325
|
-
authorizationList?: undefined;
|
326
325
|
blobVersionedHashes?: undefined;
|
327
326
|
kzg?: undefined;
|
328
327
|
sidecars?: undefined;
|
328
|
+
authorizationList?: undefined;
|
329
329
|
eip712Meta?: undefined | undefined;
|
330
330
|
} | {
|
331
331
|
data?: `0x${string}` | undefined;
|
@@ -341,10 +341,10 @@ export declare const zksyncLocalNode: {
|
|
341
341
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
342
342
|
accessList?: import("../../index.js").AccessList | undefined;
|
343
343
|
blobs?: undefined;
|
344
|
-
authorizationList?: undefined;
|
345
344
|
blobVersionedHashes?: undefined;
|
346
345
|
kzg?: undefined;
|
347
346
|
sidecars?: undefined;
|
347
|
+
authorizationList?: undefined;
|
348
348
|
eip712Meta?: undefined | undefined;
|
349
349
|
} | {
|
350
350
|
type?: "0x3" | undefined;
|
@@ -304,10 +304,10 @@ export declare const zksyncSepoliaTestnet: {
|
|
304
304
|
maxPriorityFeePerGas?: undefined | undefined;
|
305
305
|
blobs?: undefined;
|
306
306
|
accessList?: undefined;
|
307
|
-
authorizationList?: undefined;
|
308
307
|
blobVersionedHashes?: undefined;
|
309
308
|
kzg?: undefined;
|
310
309
|
sidecars?: undefined;
|
310
|
+
authorizationList?: undefined;
|
311
311
|
eip712Meta?: undefined | undefined;
|
312
312
|
} | {
|
313
313
|
data?: `0x${string}` | undefined;
|
@@ -323,10 +323,10 @@ export declare const zksyncSepoliaTestnet: {
|
|
323
323
|
maxPriorityFeePerGas?: undefined | undefined;
|
324
324
|
accessList?: import("../../index.js").AccessList | undefined;
|
325
325
|
blobs?: undefined;
|
326
|
-
authorizationList?: undefined;
|
327
326
|
blobVersionedHashes?: undefined;
|
328
327
|
kzg?: undefined;
|
329
328
|
sidecars?: undefined;
|
329
|
+
authorizationList?: undefined;
|
330
330
|
eip712Meta?: undefined | undefined;
|
331
331
|
} | {
|
332
332
|
data?: `0x${string}` | undefined;
|
@@ -342,10 +342,10 @@ export declare const zksyncSepoliaTestnet: {
|
|
342
342
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
343
343
|
accessList?: import("../../index.js").AccessList | undefined;
|
344
344
|
blobs?: undefined;
|
345
|
-
authorizationList?: undefined;
|
346
345
|
blobVersionedHashes?: undefined;
|
347
346
|
kzg?: undefined;
|
348
347
|
sidecars?: undefined;
|
348
|
+
authorizationList?: undefined;
|
349
349
|
eip712Meta?: undefined | undefined;
|
350
350
|
} | {
|
351
351
|
type?: "0x3" | undefined;
|
@@ -4,18 +4,23 @@ import { type GetChainIdReturnType } from '../../actions/public/getChainId.js';
|
|
4
4
|
import { type AddChainParameters } from '../../actions/wallet/addChain.js';
|
5
5
|
import { type DeployContractParameters, type DeployContractReturnType } from '../../actions/wallet/deployContract.js';
|
6
6
|
import { type GetAddressesReturnType } from '../../actions/wallet/getAddresses.js';
|
7
|
+
import { type GetCallsStatusParameters, type GetCallsStatusReturnType } from '../../actions/wallet/getCallsStatus.js';
|
8
|
+
import { type GetCapabilitiesParameters, type GetCapabilitiesReturnType } from '../../actions/wallet/getCapabilities.js';
|
7
9
|
import { type GetPermissionsReturnType } from '../../actions/wallet/getPermissions.js';
|
8
10
|
import { type PrepareAuthorizationParameters, type PrepareAuthorizationReturnType } from '../../actions/wallet/prepareAuthorization.js';
|
9
11
|
import { type PrepareTransactionRequestParameters, type PrepareTransactionRequestRequest, type PrepareTransactionRequestReturnType } from '../../actions/wallet/prepareTransactionRequest.js';
|
10
12
|
import { type RequestAddressesReturnType } from '../../actions/wallet/requestAddresses.js';
|
11
13
|
import { type RequestPermissionsParameters, type RequestPermissionsReturnType } from '../../actions/wallet/requestPermissions.js';
|
14
|
+
import { type SendCallsParameters, type SendCallsReturnType } from '../../actions/wallet/sendCalls.js';
|
12
15
|
import { type SendRawTransactionParameters, type SendRawTransactionReturnType } from '../../actions/wallet/sendRawTransaction.js';
|
13
16
|
import { type SendTransactionParameters, type SendTransactionRequest, type SendTransactionReturnType } from '../../actions/wallet/sendTransaction.js';
|
17
|
+
import { type ShowCallsStatusParameters, type ShowCallsStatusReturnType } from '../../actions/wallet/showCallsStatus.js';
|
14
18
|
import { type SignAuthorizationParameters, type SignAuthorizationReturnType } from '../../actions/wallet/signAuthorization.js';
|
15
19
|
import { type SignMessageParameters, type SignMessageReturnType } from '../../actions/wallet/signMessage.js';
|
16
20
|
import { type SignTransactionParameters, type SignTransactionRequest, type SignTransactionReturnType } from '../../actions/wallet/signTransaction.js';
|
17
21
|
import { type SignTypedDataParameters, type SignTypedDataReturnType } from '../../actions/wallet/signTypedData.js';
|
18
22
|
import { type SwitchChainParameters } from '../../actions/wallet/switchChain.js';
|
23
|
+
import { type WaitForCallsStatusParameters, type WaitForCallsStatusReturnType } from '../../actions/wallet/waitForCallsStatus.js';
|
19
24
|
import { type WatchAssetParameters, type WatchAssetReturnType } from '../../actions/wallet/watchAsset.js';
|
20
25
|
import { type WriteContractParameters, type WriteContractReturnType } from '../../actions/wallet/writeContract.js';
|
21
26
|
import type { Chain } from '../../types/chain.js';
|
@@ -86,6 +91,50 @@ export type WalletActions<chain extends Chain | undefined = Chain | undefined, a
|
|
86
91
|
* const accounts = await client.getAddresses()
|
87
92
|
*/
|
88
93
|
getAddresses: () => Promise<GetAddressesReturnType>;
|
94
|
+
/**
|
95
|
+
* Returns the status of a call batch that was sent via `sendCalls`.
|
96
|
+
*
|
97
|
+
* - Docs: https://viem.sh/docs/actions/wallet/getCallsStatus
|
98
|
+
* - JSON-RPC Methods: [`wallet_getCallsStatus`](https://eips.ethereum.org/EIPS/eip-5792)
|
99
|
+
*
|
100
|
+
* @param client - Client to use
|
101
|
+
* @returns Status of the calls. {@link GetCallsStatusReturnType}
|
102
|
+
*
|
103
|
+
* @example
|
104
|
+
* import { createWalletClient, custom } from 'viem'
|
105
|
+
* import { mainnet } from 'viem/chains'
|
106
|
+
*
|
107
|
+
* const client = createWalletClient({
|
108
|
+
* chain: mainnet,
|
109
|
+
* transport: custom(window.ethereum),
|
110
|
+
* })
|
111
|
+
*
|
112
|
+
* const { receipts, status } = await client.getCallsStatus({ id: '0xdeadbeef' })
|
113
|
+
*/
|
114
|
+
getCallsStatus: (parameters: GetCallsStatusParameters) => Promise<GetCallsStatusReturnType>;
|
115
|
+
/**
|
116
|
+
* Extract capabilities that a connected wallet supports (e.g. paymasters, session keys, etc).
|
117
|
+
*
|
118
|
+
* - Docs: https://viem.sh/docs/actions/wallet/getCapabilities
|
119
|
+
* - JSON-RPC Methods: [`wallet_getCapabilities`](https://eips.ethereum.org/EIPS/eip-5792)
|
120
|
+
*
|
121
|
+
* @param client - Client to use
|
122
|
+
* @returns The wallet's capabilities. {@link GetCapabilitiesReturnType}
|
123
|
+
*
|
124
|
+
* @example
|
125
|
+
* import { createWalletClient, custom } from 'viem'
|
126
|
+
* import { mainnet } from 'viem/chains'
|
127
|
+
*
|
128
|
+
* const client = createWalletClient({
|
129
|
+
* chain: mainnet,
|
130
|
+
* transport: custom(window.ethereum),
|
131
|
+
* })
|
132
|
+
*
|
133
|
+
* const capabilities = await client.getCapabilities({
|
134
|
+
* account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
|
135
|
+
* })
|
136
|
+
*/
|
137
|
+
getCapabilities: (parameters?: GetCapabilitiesParameters) => Promise<GetCapabilitiesReturnType>;
|
89
138
|
/**
|
90
139
|
* Returns the chain ID associated with the current network.
|
91
140
|
*
|
@@ -251,6 +300,39 @@ export type WalletActions<chain extends Chain | undefined = Chain | undefined, a
|
|
251
300
|
* })
|
252
301
|
*/
|
253
302
|
requestPermissions: (args: RequestPermissionsParameters) => Promise<RequestPermissionsReturnType>;
|
303
|
+
/**
|
304
|
+
* Requests the connected wallet to send a batch of calls.
|
305
|
+
*
|
306
|
+
* - Docs: https://viem.sh/docs/actions/wallet/sendCalls
|
307
|
+
* - JSON-RPC Methods: [`wallet_sendCalls`](https://eips.ethereum.org/EIPS/eip-5792)
|
308
|
+
*
|
309
|
+
* @param client - Client to use
|
310
|
+
* @returns Transaction identifier. {@link SendCallsReturnType}
|
311
|
+
*
|
312
|
+
* @example
|
313
|
+
* import { createWalletClient, custom } from 'viem'
|
314
|
+
* import { mainnet } from 'viem/chains'
|
315
|
+
*
|
316
|
+
* const client = createWalletClient({
|
317
|
+
* chain: mainnet,
|
318
|
+
* transport: custom(window.ethereum),
|
319
|
+
* })
|
320
|
+
*
|
321
|
+
* const id = await client.sendCalls({
|
322
|
+
* account: '0xA0Cf798816D4b9b9866b5330EEa46a18382f251e',
|
323
|
+
* calls: [
|
324
|
+
* {
|
325
|
+
* data: '0xdeadbeef',
|
326
|
+
* to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8',
|
327
|
+
* },
|
328
|
+
* {
|
329
|
+
* to: '0x70997970c51812dc3a010c7d01b50e0d17dc79c8',
|
330
|
+
* value: 69420n,
|
331
|
+
* },
|
332
|
+
* ],
|
333
|
+
* })
|
334
|
+
*/
|
335
|
+
sendCalls: <const calls extends readonly unknown[], chainOverride extends Chain | undefined = undefined>(parameters: SendCallsParameters<chain, account, chainOverride, calls>) => Promise<SendCallsReturnType>;
|
254
336
|
/**
|
255
337
|
* Sends a **signed** transaction to the network
|
256
338
|
*
|
@@ -319,6 +401,28 @@ export type WalletActions<chain extends Chain | undefined = Chain | undefined, a
|
|
319
401
|
* })
|
320
402
|
*/
|
321
403
|
sendTransaction: <const request extends SendTransactionRequest<chain, chainOverride>, chainOverride extends Chain | undefined = undefined>(args: SendTransactionParameters<chain, account, chainOverride, request>) => Promise<SendTransactionReturnType>;
|
404
|
+
/**
|
405
|
+
* Requests for the wallet to show information about a call batch
|
406
|
+
* that was sent via `sendCalls`.
|
407
|
+
*
|
408
|
+
* - Docs: https://viem.sh/docs/actions/wallet/showCallsStatus
|
409
|
+
* - JSON-RPC Methods: [`wallet_showCallsStatus`](https://eips.ethereum.org/EIPS/eip-5792)
|
410
|
+
*
|
411
|
+
* @param client - Client to use
|
412
|
+
* @returns Displays status of the calls in wallet. {@link ShowCallsStatusReturnType}
|
413
|
+
*
|
414
|
+
* @example
|
415
|
+
* import { createWalletClient, custom } from 'viem'
|
416
|
+
* import { mainnet } from 'viem/chains'
|
417
|
+
*
|
418
|
+
* const client = createWalletClient({
|
419
|
+
* chain: mainnet,
|
420
|
+
* transport: custom(window.ethereum),
|
421
|
+
* })
|
422
|
+
*
|
423
|
+
* await client.showCallsStatus({ id: '0xdeadbeef' })
|
424
|
+
*/
|
425
|
+
showCallsStatus: (parameters: ShowCallsStatusParameters) => Promise<ShowCallsStatusReturnType>;
|
322
426
|
/**
|
323
427
|
* Signs an [EIP-7702 Authorization](https://eips.ethereum.org/EIPS/eip-7702) object.
|
324
428
|
*
|
@@ -568,6 +672,28 @@ export type WalletActions<chain extends Chain | undefined = Chain | undefined, a
|
|
568
672
|
* await client.switchChain({ id: optimism.id })
|
569
673
|
*/
|
570
674
|
switchChain: (args: SwitchChainParameters) => Promise<void>;
|
675
|
+
/**
|
676
|
+
* Waits for the status & receipts of a call bundle that was sent via `sendCalls`.
|
677
|
+
*
|
678
|
+
* - Docs: https://viem.sh/docs/actions/wallet/waitForCallsStatus
|
679
|
+
* - JSON-RPC Methods: [`wallet_getCallsStatus`](https://eips.ethereum.org/EIPS/eip-5792)
|
680
|
+
*
|
681
|
+
* @param client - Client to use
|
682
|
+
* @param parameters - {@link WaitForCallsStatusParameters}
|
683
|
+
* @returns Status & receipts of the call bundle. {@link WaitForCallsStatusReturnType}
|
684
|
+
*
|
685
|
+
* @example
|
686
|
+
* import { createWalletClient, custom } from 'viem'
|
687
|
+
* import { mainnet } from 'viem/chains'
|
688
|
+
*
|
689
|
+
* const client = createWalletClient({
|
690
|
+
* chain: mainnet,
|
691
|
+
* transport: custom(window.ethereum),
|
692
|
+
* })
|
693
|
+
*
|
694
|
+
* const { receipts, status } = await waitForCallsStatus(client, { id: '0xdeadbeef' })
|
695
|
+
*/
|
696
|
+
waitForCallsStatus: (parameters: WaitForCallsStatusParameters) => Promise<WaitForCallsStatusReturnType>;
|
571
697
|
/**
|
572
698
|
* Adds an EVM chain to the wallet.
|
573
699
|
*
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"wallet.d.ts","sourceRoot":"","sources":["../../../clients/decorators/wallet.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAEtD,OAAO,KAA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,oBAAoB,CAAC,GAAG,EAAE,SAAS,GAAG,YAAY,CAAC,EACxE,IAAI,SAAS,oBAAoB,CAC/B,GAAG,EACH,SAAS,GAAG,YAAY,EACxB,YAAY,CACb,EACD,aAAa,SAAS,KAAK,GAAG,SAAS,GAAG,SAAS,EAEnD,IAAI,EAAE,uBAAuB,CAC3B,GAAG,EACH,YAAY,EACZ,IAAI,EACJ,KAAK,EACL,OAAO,EACP,aAAa,CACd,KACE,OAAO,CAAC,uBAAuB,CAAC,CAAA;CACtC,CAAA;AAED,wBAAgB,aAAa,CAC3B,SAAS,SAAS,SAAS,EAC3B,KAAK,SAAS,KAAK,GAAG,SAAS,GAAG,KAAK,GAAG,SAAS,EACnD,OAAO,SAAS,OAAO,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,EACzD,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,OAAO,CAAC,GAAG,aAAa,CAAC,KAAK,EAAE,OAAO,CAAC,CA2B1E"}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
export declare const entryPoint06Address: "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789";
|
2
2
|
export declare const entryPoint07Address: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
3
|
+
export declare const entryPoint08Address: "0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108";
|
3
4
|
export declare const ethAddress: "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
|
4
5
|
export declare const zeroAddress: "0x0000000000000000000000000000000000000000";
|
5
6
|
//# sourceMappingURL=address.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../constants/address.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,EAC9B,4CAAqD,CAAA;AACvD,eAAO,MAAM,mBAAmB,EAC9B,4CAAqD,CAAA;AAEvD,eAAO,MAAM,UAAU,EAAG,4CAAqD,CAAA;AAE/E,eAAO,MAAM,WAAW,EAAG,4CAAqD,CAAA"}
|
1
|
+
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../constants/address.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,EAC9B,4CAAqD,CAAA;AACvD,eAAO,MAAM,mBAAmB,EAC9B,4CAAqD,CAAA;AACvD,eAAO,MAAM,mBAAmB,EAC9B,4CAAqD,CAAA;AAEvD,eAAO,MAAM,UAAU,EAAG,4CAAqD,CAAA;AAE/E,eAAO,MAAM,WAAW,EAAG,4CAAqD,CAAA"}
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export declare const version = "2.
|
1
|
+
export declare const version = "2.28.0-canary-20250422025603";
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../errors/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../errors/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,iCAAiC,CAAA"}
|
@@ -1,4 +1,5 @@
|
|
1
1
|
import type { Abi, AbiStateMutability, Address, Narrow } from 'abitype';
|
2
|
+
import { type SendCallsErrorType, type SendCallsParameters, type SendCallsReturnType } from '../../../actions/wallet/sendCalls.js';
|
2
3
|
import type { Client } from '../../../clients/createClient.js';
|
3
4
|
import type { Transport } from '../../../clients/transports/createTransport.js';
|
4
5
|
import type { ErrorType } from '../../../errors/utils.js';
|
@@ -7,7 +8,6 @@ import type { Chain, GetChainParameter } from '../../../types/chain.js';
|
|
7
8
|
import type { ContractFunctionArgs, ContractFunctionName, GetValue, UnionWiden, Widen } from '../../../types/contract.js';
|
8
9
|
import type { MulticallContracts } from '../../../types/multicall.js';
|
9
10
|
import { type EncodeFunctionDataErrorType } from '../../../utils/abi/encodeFunctionData.js';
|
10
|
-
import { type SendCallsErrorType, type SendCallsParameters, type SendCallsReturnType } from './sendCalls.js';
|
11
11
|
export type WriteContractsParameters<contracts extends readonly unknown[] = readonly WriteContractFunctionParameters[], chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined, chainOverride extends Chain | undefined = Chain | undefined> = Pick<SendCallsParameters<chain, account, chainOverride>, 'capabilities' | 'version'> & {
|
12
12
|
contracts: MulticallContracts<Narrow<contracts>, {
|
13
13
|
mutability: AbiStateMutability;
|
@@ -16,8 +16,6 @@ export type WriteContractsParameters<contracts extends readonly unknown[] = read
|
|
16
16
|
export type WriteContractsReturnType = SendCallsReturnType;
|
17
17
|
export type WriteContractsErrorType = EncodeFunctionDataErrorType | SendCallsErrorType | ErrorType;
|
18
18
|
/**
|
19
|
-
* @deprecated Use {@link sendCalls} instead. See https://viem.sh/experimental/eip5792/sendCalls#contract-calls.
|
20
|
-
*
|
21
19
|
* Requests for the wallet to sign and broadcast a batch of write contract calls (transactions) to the network.
|
22
20
|
*
|
23
21
|
* - Docs: https://viem.sh/experimental/eip5792/writeContracts
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"writeContracts.d.ts","sourceRoot":"","sources":["../../../../experimental/eip5792/actions/writeContracts.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"writeContracts.d.ts","sourceRoot":"","sources":["../../../../experimental/eip5792/actions/writeContracts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,GAAG,EAAE,kBAAkB,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,SAAS,CAAA;AAEvE,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EAEzB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,kCAAkC,CAAA;AAC9D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gDAAgD,CAAA;AAC/E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AACzD,OAAO,KAAK,EAAE,OA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Parameters, type GetCallsStatusReturnType } from '../../../actions/wallet/getCallsStatus.js';
|
2
|
+
import { type GetCapabilitiesParameters, type GetCapabilitiesReturnType } from '../../../actions/wallet/getCapabilities.js';
|
3
|
+
import { type SendCallsParameters, type SendCallsReturnType } from '../../../actions/wallet/sendCalls.js';
|
4
|
+
import { type ShowCallsStatusParameters, type ShowCallsStatusReturnType } from '../../../actions/wallet/showCallsStatus.js';
|
5
|
+
import { type WaitForCallsStatusParameters, type WaitForCallsStatusReturnType } from '../../../actions/wallet/waitForCallsStatus.js';
|
1
6
|
import type { Client } from '../../../clients/createClient.js';
|
2
7
|
import type { Transport } from '../../../clients/transports/createTransport.js';
|
3
8
|
import type { Account } from '../../../types/account.js';
|
4
9
|
import type { Chain } from '../../../types/chain.js';
|
5
|
-
import { type GetCallsStatusParameters, type GetCallsStatusReturnType } from '../actions/getCallsStatus.js';
|
6
|
-
import { type GetCapabilitiesParameters, type GetCapabilitiesReturnType } from '../actions/getCapabilities.js';
|
7
|
-
import { type SendCallsParameters, type SendCallsReturnType } from '../actions/sendCalls.js';
|
8
|
-
import { type ShowCallsStatusParameters, type ShowCallsStatusReturnType } from '../actions/showCallsStatus.js';
|
9
|
-
import { type WaitForCallsStatusParameters, type WaitForCallsStatusReturnType } from '../actions/waitForCallsStatus.js';
|
10
10
|
import { type WriteContractsParameters, type WriteContractsReturnType } from '../actions/writeContracts.js';
|
11
11
|
export type Eip5792Actions<chain extends Chain | undefined = Chain | undefined, account extends Account | undefined = Account | undefined> = {
|
12
12
|
/**
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"eip5792.d.ts","sourceRoot":"","sources":["../../../../experimental/eip5792/decorators/eip5792.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"eip5792.d.ts","sourceRoot":"","sources":["../../../../experimental/eip5792/decorators/eip5792.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAE9B,MAAM,2CAA2C,C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