viem 2.27.1-canary-20250417045626 → 2.27.1
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 +1 -1
- package/_cjs/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js.map +1 -1
- package/_cjs/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js +313 -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/getUserOperationHash.js +70 -0
- package/_cjs/account-abstraction/utils/userOperation/getUserOperationHash.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/_esm/account-abstraction/accounts/implementations/toCoinbaseSmartAccount.js.map +1 -1
- package/_esm/account-abstraction/accounts/implementations/toSimple7702SmartAccount.js +327 -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/getUserOperationHash.js +70 -0
- package/_esm/account-abstraction/utils/userOperation/getUserOperationHash.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/_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/getUserOperationHash.d.ts.map +1 -1
- 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/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/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 +382 -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/getUserOperationHash.ts +79 -0
- package/constants/address.ts +2 -0
- package/errors/version.ts +1 -1
- package/package.json +1 -1
- package/types/authorization.ts +1 -1
- package/types/misc.ts +7 -7
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"abis.d.ts","sourceRoot":"","sources":["../../../account-abstraction/constants/abis.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAirBlB,CAAA"}
|
@@ -1,3 +1,4 @@
|
|
1
1
|
export declare const entryPoint06Address: "0x5FF137D4b0FDCD49DcA30c7CF57E578a026d2789";
|
2
2
|
export declare const entryPoint07Address: "0x0000000071727De22E5E9d8BAf0edAc6f37da032";
|
3
|
+
export declare const entryPoint08Address: "0x4337084D9E255Ff0702461CF8895CE9E3b5Ff108";
|
3
4
|
//# sourceMappingURL=address.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../../account-abstraction/constants/address.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB,EAC9B,4CAAqD,CAAA;AACvD,eAAO,MAAM,mBAAmB,EAC9B,4CAAqD,CAAA"}
|
1
|
+
{"version":3,"file":"address.d.ts","sourceRoot":"","sources":["../../../account-abstraction/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"}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
export { type CreateWebAuthnCredentialParameters, type CreateWebAuthnCredentialReturnType, type P256Credential, createWebAuthnCredential, } from './accounts/createWebAuthnCredential.js';
|
2
2
|
export { type CoinbaseSmartAccountImplementation, type ToCoinbaseSmartAccountParameters, type ToCoinbaseSmartAccountReturnType, toCoinbaseSmartAccount, } from './accounts/implementations/toCoinbaseSmartAccount.js';
|
3
3
|
export { type SoladySmartAccountImplementation, type ToSoladySmartAccountParameters, type ToSoladySmartAccountReturnType, toSoladySmartAccount, } from './accounts/implementations/toSoladySmartAccount.js';
|
4
|
+
export { type Simple7702SmartAccountImplementation, type ToSimple7702SmartAccountParameters, type ToSimple7702SmartAccountReturnType, toSimple7702SmartAccount, } from './accounts/implementations/toSimple7702SmartAccount.js';
|
4
5
|
export { type ToSmartAccountParameters, type ToSmartAccountReturnType, toSmartAccount, } from './accounts/toSmartAccount.js';
|
5
6
|
export { type ToWebAuthnAccountParameters, type ToWebAuthnAccountReturnType, type ToWebAuthnAccountErrorType, toWebAuthnAccount, } from './accounts/toWebAuthnAccount.js';
|
6
7
|
export type { SmartAccount, SmartAccountImplementation, WebAuthnAccount, } from './accounts/types.js';
|
@@ -17,8 +18,8 @@ export { type BundlerActions, bundlerActions, } from './clients/decorators/bundl
|
|
17
18
|
export { type PaymasterActions, paymasterActions, } from './clients/decorators/paymaster.js';
|
18
19
|
export { type BundlerClient, type BundlerClientConfig, type CreateBundlerClientErrorType, createBundlerClient, } from './clients/createBundlerClient.js';
|
19
20
|
export { type PaymasterClient, type PaymasterClientConfig, type CreatePaymasterClientErrorType, createPaymasterClient, } from './clients/createPaymasterClient.js';
|
20
|
-
export { entryPoint06Abi, entryPoint07Abi } from './constants/abis.js';
|
21
|
-
export { entryPoint06Address, entryPoint07Address, } from './constants/address.js';
|
21
|
+
export { entryPoint06Abi, entryPoint07Abi, entryPoint08Abi, } from './constants/abis.js';
|
22
|
+
export { entryPoint06Address, entryPoint07Address, entryPoint08Address, } from './constants/address.js';
|
22
23
|
export { AccountNotDeployedError, type AccountNotDeployedErrorType, FailedToSendToBeneficiaryError, type FailedToSendToBeneficiaryErrorType, GasValuesOverflowError, type GasValuesOverflowErrorType, HandleOpsOutOfGasError, type HandleOpsOutOfGasErrorType, InitCodeMustCreateSenderError, type InitCodeMustCreateSenderErrorType, InitCodeMustReturnSenderError, type InitCodeMustReturnSenderErrorType, InsufficientPrefundError, type InsufficientPrefundErrorType, InternalCallOnlyError, type InternalCallOnlyErrorType, InitCodeFailedError, type InitCodeFailedErrorType, InvalidAggregatorError, type InvalidAggregatorErrorType, InvalidBeneficiaryError, type InvalidBeneficiaryErrorType, InvalidPaymasterAndDataError, type InvalidPaymasterAndDataErrorType, PaymasterDepositTooLowError, type PaymasterDepositTooLowErrorType, PaymasterFunctionRevertedError, type PaymasterFunctionRevertedErrorType, PaymasterNotDeployedError, type PaymasterNotDeployedErrorType, PaymasterPostOpFunctionRevertedError, type PaymasterPostOpFunctionRevertedErrorType, SenderAlreadyConstructedError, type SenderAlreadyConstructedErrorType, SmartAccountFunctionRevertedError, type SmartAccountFunctionRevertedErrorType, UserOperationExpiredError, type UserOperationExpiredErrorType, UserOperationPaymasterExpiredError, type UserOperationPaymasterExpiredErrorType, UserOperationPaymasterSignatureError, type UserOperationPaymasterSignatureErrorType, UserOperationSignatureError, type UserOperationSignatureErrorType, VerificationGasLimitExceededError, type VerificationGasLimitExceededErrorType, VerificationGasLimitTooLowError, type VerificationGasLimitTooLowErrorType, UnknownBundlerError, type UnknownBundlerErrorType, } from './errors/bundler.js';
|
23
24
|
export { UserOperationExecutionError, type UserOperationExecutionErrorType, UserOperationNotFoundError, type UserOperationNotFoundErrorType, UserOperationReceiptNotFoundError, type UserOperationReceiptNotFoundErrorType, WaitForUserOperationReceiptTimeoutError, type WaitForUserOperationReceiptTimeoutErrorType, } from './errors/userOperation.js';
|
24
25
|
export type { DeriveSmartAccount, GetSmartAccountParameter, } from './types/account.js';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../account-abstraction/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,kCAAkC,EACvC,KAAK,kCAAkC,EACvC,KAAK,cAAc,EACnB,wBAAwB,GACzB,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EACL,KAAK,kCAAkC,EACvC,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EACrC,sBAAsB,GACvB,MAAM,sDAAsD,CAAA;AAC7D,OAAO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K,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,gBAAgB,GACjB,MAAM,yCAAyC,CAAA;AAChD,OAAO,EACL,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,KAAK,6BAA6B,EAClC,oBAAoB,GACrB,MAAM,6CAA6C,CAAA;AAEpD,OAAO,EACL,KAAK,cAAc,EACnB,cAAc,GACf,MAAM,iCAAiC,CAAA;AACxC,OAAO,EACL,KAAK,gBAAgB,EACrB,gBAAgB,GACjB,MAAM,mCAAmC,CAAA;AAC1C,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,mBAAmB,EACxB,KAAK,4BAA4B,EACjC,mBAAmB,GACpB,MAAM,kCAAkC,CAAA;AACzC,OAAO,EACL,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,8BAA8B,EACnC,qBAAqB,GACtB,MAAM,oCAAoC,CAAA;AAE3C,OAAO,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../account-abstraction/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,kCAAkC,EACvC,KAAK,kCAAkC,EACvC,KAAK,cAAc,EACnB,wBAAwB,GACzB,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EACL,KAAK,kCAAkC,EACvC,KAAK,gCAAgC,EACrC,KAAK,gCAAgC,EACrC,sBAAsB,GACvB,MAAM,sDAAsD,CAAA;AAC7D,OAAO,EACL,KAAK,gCAAgC,EACrC,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,oBAAoB,GACrB,MAAM,oDAAoD,CAAA;AAC3D,OAAO,EACL,KAAK,oCAAoC,EACzC,KAAK,kCAAkC,EACvC,KAAK,kCAAkC,EACvC,wBAAwB,GACzB,MAAM,wDAAwD,CAAA;AAC/D,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,cAAc,GACf,MAAM,8BAA8B,CAAA;AACrC,OAAO,EACL,KAAK,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CAA4C,CAAA;AACnD,OAAO,EACL,KAAK,8BAA8B,EACnC,KAAK,8BAA8B,EACnC,oBAAoB,GACrB,MAAM,+CAA+C,CAAA;AACtD,OAAO,EAAE,qBAAqB,EAAE,MAAM,gDAAgD,CAAA"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import type { SmartAccount } from '../accounts/types.js';
|
2
2
|
/** @link https://github.com/eth-infinitism/account-abstraction/releases */
|
3
|
-
export type EntryPointVersion = '0.6' | '0.7';
|
3
|
+
export type EntryPointVersion = '0.6' | '0.7' | '0.8';
|
4
4
|
export type DeriveEntryPointVersion<account extends SmartAccount | undefined> = account extends SmartAccount ? account['entryPoint']['version'] : EntryPointVersion;
|
5
5
|
/** @internal */
|
6
6
|
export type GetEntryPointVersionParameter<version extends EntryPointVersion | undefined, versionOverride extends EntryPointVersion | undefined = EntryPointVersion | undefined> = {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"entryPointVersion.d.ts","sourceRoot":"","sources":["../../../account-abstraction/types/entryPointVersion.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAExD,2EAA2E;AAC3E,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,KAAK,CAAA;
|
1
|
+
{"version":3,"file":"entryPointVersion.d.ts","sourceRoot":"","sources":["../../../account-abstraction/types/entryPointVersion.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAExD,2EAA2E;AAC3E,MAAM,MAAM,iBAAiB,GAAG,KAAK,GAAG,KAAK,GAAG,KAAK,CAAA;AAErD,MAAM,MAAM,uBAAuB,CAAC,OAAO,SAAS,YAAY,GAAG,SAAS,IAC1E,OAAO,SAAS,YAAY,GACxB,OAAO,CAAC,YAAY,CAAC,CAAC,SAAS,CAAC,GAChC,iBAAiB,CAAA;AAEvB,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,CACvC,OAAO,SAAS,iBAAiB,GAAG,SAAS,EAC7C,eAAe,SAAS,iBAAiB,GAAG,SAAS,GACjD,iBAAiB,GACjB,SAAS,IACX;IACF,iBAAiB,CAAC,EACd,OAAO,GACP,eAAe,GACf,iBAAiB,GACjB,IAAI,GACJ,SAAS,CAAA;CACd,CAAA"}
|
@@ -1,9 +1,12 @@
|
|
1
1
|
import type { Hex } from '../../types/misc.js';
|
2
|
+
import type { RpcAuthorization } from '../../types/rpc.js';
|
2
3
|
import type { EntryPointVersion } from './entryPointVersion.js';
|
3
4
|
import type { EstimateUserOperationGasReturnType, GetUserOperationByHashReturnType, UserOperation, UserOperationReceipt, UserOperationRequest } from './userOperation.js';
|
4
5
|
export type RpcEstimateUserOperationGasReturnType<entryPointVersion extends EntryPointVersion = EntryPointVersion> = EstimateUserOperationGasReturnType<entryPointVersion, Hex>;
|
5
|
-
export type RpcGetUserOperationByHashReturnType<entryPointVersion extends EntryPointVersion = EntryPointVersion> = GetUserOperationByHashReturnType<entryPointVersion, Hex>;
|
6
|
-
export type RpcUserOperation<entryPointVersion extends EntryPointVersion = EntryPointVersion> = UserOperation<entryPointVersion, Hex
|
6
|
+
export type RpcGetUserOperationByHashReturnType<entryPointVersion extends EntryPointVersion = EntryPointVersion> = GetUserOperationByHashReturnType<entryPointVersion, Hex, Hex>;
|
7
|
+
export type RpcUserOperation<entryPointVersion extends EntryPointVersion = EntryPointVersion> = UserOperation<entryPointVersion, Hex, Hex> & {
|
8
|
+
eip7702Auth?: RpcAuthorization;
|
9
|
+
};
|
7
10
|
export type RpcUserOperationReceipt<entryPointVersion extends EntryPointVersion = EntryPointVersion> = UserOperationReceipt<entryPointVersion, Hex, Hex, Hex>;
|
8
|
-
export type RpcUserOperationRequest<entryPointVersion extends EntryPointVersion = EntryPointVersion> = UserOperationRequest<entryPointVersion, Hex>;
|
11
|
+
export type RpcUserOperationRequest<entryPointVersion extends EntryPointVersion = EntryPointVersion> = UserOperationRequest<entryPointVersion, Hex, Hex>;
|
9
12
|
//# sourceMappingURL=rpc.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../../../account-abstraction/types/rpc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,KAAK,EACV,kCAAkC,EAClC,gCAAgC,EAChC,aAAa,EACb,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,oBAAoB,CAAA;AAE3B,MAAM,MAAM,qCAAqC,CAC/C,iBAAiB,SAAS,iBAAiB,GAAG,iBAAiB,IAC7D,kCAAkC,CAAC,iBAAiB,EAAE,GAAG,CAAC,CAAA;AAE9D,MAAM,MAAM,mCAAmC,CAC7C,iBAAiB,SAAS,iBAAiB,GAAG,iBAAiB,IAC7D,gCAAgC,CAAC,iBAAiB,EAAE,GAAG,CAAC,CAAA;
|
1
|
+
{"version":3,"file":"rpc.d.ts","sourceRoot":"","sources":["../../../account-abstraction/types/rpc.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAC/D,OAAO,KAAK,EACV,kCAAkC,EAClC,gCAAgC,EAChC,aAAa,EACb,oBAAoB,EACpB,oBAAoB,EACrB,MAAM,oBAAoB,CAAA;AAE3B,MAAM,MAAM,qCAAqC,CAC/C,iBAAiB,SAAS,iBAAiB,GAAG,iBAAiB,IAC7D,kCAAkC,CAAC,iBAAiB,EAAE,GAAG,CAAC,CAAA;AAE9D,MAAM,MAAM,mCAAmC,CAC7C,iBAAiB,SAAS,iBAAiB,GAAG,iBAAiB,IAC7D,gCAAgC,CAAC,iBAAiB,EAAE,GAAG,EAAE,GAAG,CAAC,CAAA;AAEjE,MAAM,MAAM,gBAAgB,CAC1B,iBAAiB,SAAS,iBAAiB,GAAG,iBAAiB,IAC7D,aAAa,CAAC,iBAAiB,EAAE,GAAG,EAAE,GAAG,CAAC,GAAG;IAC/C,WAAW,CAAC,EAAE,gBAAgB,CAAA;CAC/B,CAAA;AAED,MAAM,MAAM,uBAAuB,CACjC,iBAAiB,SAAS,iBAAiB,GAAG,iBAAiB,IAC7D,oBAAoB,CAAC,iBAAiB,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAA;AAE1D,MAAM,MAAM,uBAAuB,CACjC,iBAAiB,SAAS,iBAAiB,GAAG,iBAAiB,IAC7D,oBAAoB,CAAC,iBAAiB,EAAE,GAAG,EAAE,GAAG,CAAC,CAAA"}
|
@@ -1,11 +1,18 @@
|
|
1
1
|
import type { Address } from 'abitype';
|
2
|
+
import type { SignedAuthorization } from '../../types/authorization.js';
|
2
3
|
import type { Log } from '../../types/log.js';
|
3
4
|
import type { Hash, Hex } from '../../types/misc.js';
|
4
5
|
import type { TransactionReceipt } from '../../types/transaction.js';
|
5
6
|
import type { OneOf, UnionPartialBy } from '../../types/utils.js';
|
6
7
|
import type { EntryPointVersion } from './entryPointVersion.js';
|
7
8
|
/** @link https://eips.ethereum.org/EIPS/eip-4337#-eth_estimateuseroperationgas */
|
8
|
-
export type EstimateUserOperationGasReturnType<entryPointVersion extends EntryPointVersion = EntryPointVersion, uint256 = bigint> = OneOf<(entryPointVersion extends '0.
|
9
|
+
export type EstimateUserOperationGasReturnType<entryPointVersion extends EntryPointVersion = EntryPointVersion, uint256 = bigint> = OneOf<(entryPointVersion extends '0.8' ? {
|
10
|
+
preVerificationGas: uint256;
|
11
|
+
verificationGasLimit: uint256;
|
12
|
+
callGasLimit: uint256;
|
13
|
+
paymasterVerificationGasLimit?: uint256 | undefined;
|
14
|
+
paymasterPostOpGasLimit?: uint256 | undefined;
|
15
|
+
} : never) | (entryPointVersion extends '0.7' ? {
|
9
16
|
preVerificationGas: uint256;
|
10
17
|
verificationGasLimit: uint256;
|
11
18
|
callGasLimit: uint256;
|
@@ -17,12 +24,12 @@ export type EstimateUserOperationGasReturnType<entryPointVersion extends EntryPo
|
|
17
24
|
callGasLimit: uint256;
|
18
25
|
} : never)>;
|
19
26
|
/** @link https://eips.ethereum.org/EIPS/eip-4337#-eth_getuseroperationbyhash */
|
20
|
-
export type GetUserOperationByHashReturnType<entryPointVersion extends EntryPointVersion = EntryPointVersion, uint256 = bigint> = {
|
27
|
+
export type GetUserOperationByHashReturnType<entryPointVersion extends EntryPointVersion = EntryPointVersion, uint256 = bigint, uint32 = number> = {
|
21
28
|
blockHash: Hash;
|
22
29
|
blockNumber: uint256;
|
23
30
|
entryPoint: Address;
|
24
31
|
transactionHash: Hash;
|
25
|
-
userOperation: UserOperation<entryPointVersion, uint256>;
|
32
|
+
userOperation: UserOperation<entryPointVersion, uint256, uint32>;
|
26
33
|
};
|
27
34
|
/** @link https://eips.ethereum.org/EIPS/eip-4337#entrypoint-definition */
|
28
35
|
export type PackedUserOperation = {
|
@@ -46,7 +53,42 @@ export type PackedUserOperation = {
|
|
46
53
|
signature: Hex;
|
47
54
|
};
|
48
55
|
/** @link https://eips.ethereum.org/EIPS/eip-4337#useroperation */
|
49
|
-
export type UserOperation<entryPointVersion extends EntryPointVersion = EntryPointVersion, uint256 = bigint> = OneOf<(entryPointVersion extends '0.
|
56
|
+
export type UserOperation<entryPointVersion extends EntryPointVersion = EntryPointVersion, uint256 = bigint, uint32 = number> = OneOf<(entryPointVersion extends '0.8' ? {
|
57
|
+
/** Authorization data. */
|
58
|
+
authorization?: SignedAuthorization<uint32> | undefined;
|
59
|
+
/** The data to pass to the `sender` during the main execution call. */
|
60
|
+
callData: Hex;
|
61
|
+
/** The amount of gas to allocate the main execution call */
|
62
|
+
callGasLimit: uint256;
|
63
|
+
/** Account factory. Only for new accounts. */
|
64
|
+
factory?: Address | undefined;
|
65
|
+
/** Data for account factory. */
|
66
|
+
factoryData?: Hex | undefined;
|
67
|
+
/** Maximum fee per gas. */
|
68
|
+
maxFeePerGas: uint256;
|
69
|
+
/** Maximum priority fee per gas. */
|
70
|
+
maxPriorityFeePerGas: uint256;
|
71
|
+
/** Anti-replay parameter. */
|
72
|
+
nonce: uint256;
|
73
|
+
/** Address of paymaster contract. */
|
74
|
+
paymaster?: Address | undefined;
|
75
|
+
/** Data for paymaster. */
|
76
|
+
paymasterData?: Hex | undefined;
|
77
|
+
/** The amount of gas to allocate for the paymaster post-operation code. */
|
78
|
+
paymasterPostOpGasLimit?: uint256 | undefined;
|
79
|
+
/** The amount of gas to allocate for the paymaster validation code. */
|
80
|
+
paymasterVerificationGasLimit?: uint256 | undefined;
|
81
|
+
/** Extra gas to pay the Bundler. */
|
82
|
+
preVerificationGas: uint256;
|
83
|
+
/** The account making the operation. */
|
84
|
+
sender: Address;
|
85
|
+
/** Data passed into the account to verify authorization. */
|
86
|
+
signature: Hex;
|
87
|
+
/** The amount of gas to allocate for the verification step. */
|
88
|
+
verificationGasLimit: uint256;
|
89
|
+
} : never) | (entryPointVersion extends '0.7' ? {
|
90
|
+
/** Authorization data. */
|
91
|
+
authorization?: SignedAuthorization<uint32> | undefined;
|
50
92
|
/** The data to pass to the `sender` during the main execution call. */
|
51
93
|
callData: Hex;
|
52
94
|
/** The amount of gas to allocate the main execution call */
|
@@ -78,6 +120,8 @@ export type UserOperation<entryPointVersion extends EntryPointVersion = EntryPoi
|
|
78
120
|
/** The amount of gas to allocate for the verification step. */
|
79
121
|
verificationGasLimit: uint256;
|
80
122
|
} : never) | (entryPointVersion extends '0.6' ? {
|
123
|
+
/** Authorization data. */
|
124
|
+
authorization?: SignedAuthorization<uint32> | undefined;
|
81
125
|
/** The data to pass to the `sender` during the main execution call. */
|
82
126
|
callData: Hex;
|
83
127
|
/** The amount of gas to allocate the main execution call */
|
@@ -101,7 +145,7 @@ export type UserOperation<entryPointVersion extends EntryPointVersion = EntryPoi
|
|
101
145
|
/** The amount of gas to allocate for the verification step. */
|
102
146
|
verificationGasLimit: uint256;
|
103
147
|
} : never)>;
|
104
|
-
export type UserOperationRequest<entryPointVersion extends EntryPointVersion = EntryPointVersion, uint256 = bigint> = OneOf<(entryPointVersion extends '0.7' ? UnionPartialBy<UserOperation<'0.7', uint256>, keyof EstimateUserOperationGasReturnType<'0.7'> | 'callData' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'nonce' | 'sender' | 'signature'> : never) | (entryPointVersion extends '0.6' ? UnionPartialBy<UserOperation<'0.6', uint256>, keyof EstimateUserOperationGasReturnType<'0.6'> | 'callData' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'nonce' | 'sender' | 'signature'> : never)>;
|
148
|
+
export type UserOperationRequest<entryPointVersion extends EntryPointVersion = EntryPointVersion, uint256 = bigint, uint32 = number> = OneOf<(entryPointVersion extends '0.8' ? UnionPartialBy<UserOperation<'0.8', uint256, uint32>, keyof EstimateUserOperationGasReturnType<'0.8'> | 'callData' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'nonce' | 'sender' | 'signature'> : never) | (entryPointVersion extends '0.7' ? UnionPartialBy<UserOperation<'0.7', uint256, uint32>, keyof EstimateUserOperationGasReturnType<'0.7'> | 'callData' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'nonce' | 'sender' | 'signature'> : never) | (entryPointVersion extends '0.6' ? UnionPartialBy<UserOperation<'0.6', uint256, uint32>, keyof EstimateUserOperationGasReturnType<'0.6'> | 'callData' | 'maxFeePerGas' | 'maxPriorityFeePerGas' | 'nonce' | 'sender' | 'signature'> : never)>;
|
105
149
|
/** @link https://eips.ethereum.org/EIPS/eip-4337#-eth_getuseroperationreceipt */
|
106
150
|
export type UserOperationReceipt<_entryPointVersion extends EntryPointVersion = EntryPointVersion, uint256 = bigint, int32 = number, status = 'success' | 'reverted'> = {
|
107
151
|
/** Actual gas cost. */
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"userOperation.d.ts","sourceRoot":"","sources":["../../../account-abstraction/types/userOperation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,oBAAoB,CAAA;AAC7C,OAAO,KAAK,EAAE,IAAI,EAAE,GAAG,EAAE,MAAM,qBAAqB,CAAA;AACpD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAA;AACpE,OAAO,KAAK,EAAE,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAA;AAE/D,kFAAkF;AAClF,MAAM,MAAM,kCAAkC,CAC5C,iBAAiB,SAAS,iBAAiB,GAAG,iBAAiB,EAC/D,OAAO,GAAG,MAAM,IACd,KAAK,CACL,CAAC,iBAAiB,SAAS,KAAK,GAC5B;IACE,kBAAkB,EAAE,OAAO,CAAA;IAC3B,oBAAoB,EAAE,OAAO,CAAA;IAC7B,YAAY,EAAE,OAAO,CAAA;IACrB,6BAA6B,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;IACnD,uBAAuB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAC9C,GACD,KAAK,CAAC,GACV,CAAC,iBAAiB,SAAS,KAAK,GAC5B;IACE,kBAAkB,EAAE,OAAO,CAAA;IAC3B,oBAAoB,EAAE,OAAO,CAAA;IAC7B,YAAY,EAAE,OAAO,CAAA;CACtB,GACD,KAAK,CAAC,CACb,CAAA;AAED,gFAAgF;AAChF,MAAM,MAAM,gCAAgC,CAC1C,iBAAiB,SAAS,iBAAiB,GAAG,iBAAiB,EAC/D,OAAO,GAAG,MAAM,
|
1
|
+
{"version":3,"file":"userOperation.d.ts","sourceRoot":"","sources":["../../../account-abstraction/types/userOperation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAC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OAAO,EAAE,kBAAkB,CAAC,OAAO,EAAE,KAAK,EAAE,MAAM,CAAC,CAAA;IACnD,MAAM,EAAE,OAAO,CAAA;IACf,sDAAsD;IACtD,OAAO,EAAE,OAAO,CAAA;IAChB,kCAAkC;IAClC,UAAU,EAAE,IAAI,CAAA;CACjB,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"userOperationRequest.d.ts","sourceRoot":"","sources":["../../../../account-abstraction/utils/formatters/userOperationRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;
|
1
|
+
{"version":3,"file":"userOperationRequest.d.ts","sourceRoot":"","sources":["../../../../account-abstraction/utils/formatters/userOperationRequest.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAA;AAEzD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAG3D,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAC1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAEjE,MAAM,MAAM,mCAAmC,GAAG,SAAS,CAAA;AAE3D,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,YAAY,CAAC,aAAa,CAAC,oBA6CrC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"getUserOperationHash.d.ts","sourceRoot":"","sources":["../../../../account-abstraction/utils/userOperation/getUserOperationHash.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;
|
1
|
+
{"version":3,"file":"getUserOperationHash.d.ts","sourceRoot":"","sources":["../../../../account-abstraction/utils/userOperation/getUserOperationHash.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AACtC,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAA;AAQlD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AACzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAEjE,MAAM,MAAM,8BAA8B,CACxC,iBAAiB,SAAS,iBAAiB,GAAG,iBAAiB,IAC7D;IACF,OAAO,EAAE,MAAM,CAAA;IACf,iBAAiB,EAAE,OAAO,CAAA;IAC1B,iBAAiB,EAAE,iBAAiB,GAAG,iBAAiB,CAAA;IACxD,aAAa,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAA;CAChD,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG,IAAI,CAAA;AAEjD,wBAAgB,oBAAoB,CAClC,iBAAiB,SAAS,iBAAiB,EAE3C,UAAU,EAAE,8BAA8B,CAAC,iBAAiB,CAAC,GAC5D,8BAA8B,CA6LhC"}
|
@@ -240,8 +240,8 @@ export declare const chainConfig: {
|
|
240
240
|
gatewayFee: bigint | null;
|
241
241
|
gatewayFeeRecipient: import("abitype").Address | null;
|
242
242
|
type: "cip42";
|
243
|
-
authorizationList?: undefined;
|
244
243
|
blobVersionedHashes?: undefined;
|
244
|
+
authorizationList?: undefined;
|
245
245
|
mint?: undefined;
|
246
246
|
isSystemTx?: undefined;
|
247
247
|
sourceHash?: undefined;
|
@@ -269,8 +269,8 @@ export declare const chainConfig: {
|
|
269
269
|
chainId: number;
|
270
270
|
feeCurrency: import("abitype").Address | null;
|
271
271
|
type: "cip64";
|
272
|
-
authorizationList?: undefined;
|
273
272
|
blobVersionedHashes?: undefined;
|
273
|
+
authorizationList?: undefined;
|
274
274
|
mint?: undefined;
|
275
275
|
isSystemTx?: undefined;
|
276
276
|
sourceHash?: undefined;
|
@@ -301,8 +301,8 @@ export declare const chainConfig: {
|
|
301
301
|
sourceHash: import("../index.js").Hex;
|
302
302
|
type: "deposit";
|
303
303
|
accessList?: undefined;
|
304
|
-
authorizationList?: undefined;
|
305
304
|
blobVersionedHashes?: undefined;
|
305
|
+
authorizationList?: undefined;
|
306
306
|
chainId?: undefined;
|
307
307
|
feeCurrency?: undefined;
|
308
308
|
gatewayFee?: undefined;
|
@@ -326,10 +326,10 @@ export declare const chainConfig: {
|
|
326
326
|
maxPriorityFeePerGas?: undefined | undefined;
|
327
327
|
blobs?: undefined;
|
328
328
|
accessList?: undefined;
|
329
|
-
authorizationList?: undefined;
|
330
329
|
blobVersionedHashes?: undefined;
|
331
330
|
kzg?: undefined;
|
332
331
|
sidecars?: undefined;
|
332
|
+
authorizationList?: undefined;
|
333
333
|
feeCurrency?: `0x${string}` | undefined;
|
334
334
|
} | {
|
335
335
|
data?: `0x${string}` | undefined;
|
@@ -345,10 +345,10 @@ export declare const chainConfig: {
|
|
345
345
|
maxPriorityFeePerGas?: undefined | undefined;
|
346
346
|
accessList?: import("../index.js").AccessList | undefined;
|
347
347
|
blobs?: undefined;
|
348
|
-
authorizationList?: undefined;
|
349
348
|
blobVersionedHashes?: undefined;
|
350
349
|
kzg?: undefined;
|
351
350
|
sidecars?: undefined;
|
351
|
+
authorizationList?: undefined;
|
352
352
|
feeCurrency?: `0x${string}` | undefined;
|
353
353
|
} | {
|
354
354
|
data?: `0x${string}` | undefined;
|
@@ -364,10 +364,10 @@ export declare const chainConfig: {
|
|
364
364
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
365
365
|
accessList?: import("../index.js").AccessList | undefined;
|
366
366
|
blobs?: undefined;
|
367
|
-
authorizationList?: undefined;
|
368
367
|
blobVersionedHashes?: undefined;
|
369
368
|
kzg?: undefined;
|
370
369
|
sidecars?: undefined;
|
370
|
+
authorizationList?: undefined;
|
371
371
|
feeCurrency?: `0x${string}` | undefined;
|
372
372
|
} | {
|
373
373
|
type?: "0x3" | undefined;
|
@@ -422,10 +422,10 @@ export declare const chainConfig: {
|
|
422
422
|
maxFeePerGas?: `0x${string}` | undefined;
|
423
423
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
424
424
|
blobs?: undefined;
|
425
|
-
authorizationList?: undefined;
|
426
425
|
blobVersionedHashes?: undefined;
|
427
426
|
kzg?: undefined;
|
428
427
|
sidecars?: undefined;
|
428
|
+
authorizationList?: undefined;
|
429
429
|
}) & {};
|
430
430
|
type: "transactionRequest";
|
431
431
|
};
|
@@ -654,8 +654,8 @@ export declare const chainConfig: {
|
|
654
654
|
gatewayFee: bigint | null;
|
655
655
|
gatewayFeeRecipient: import("abitype").Address | null;
|
656
656
|
type: "cip42";
|
657
|
-
authorizationList?: undefined;
|
658
657
|
blobVersionedHashes?: undefined;
|
658
|
+
authorizationList?: undefined;
|
659
659
|
mint?: undefined;
|
660
660
|
isSystemTx?: undefined;
|
661
661
|
sourceHash?: undefined;
|
@@ -683,8 +683,8 @@ export declare const chainConfig: {
|
|
683
683
|
chainId: number;
|
684
684
|
feeCurrency: import("abitype").Address | null;
|
685
685
|
type: "cip64";
|
686
|
-
authorizationList?: undefined;
|
687
686
|
blobVersionedHashes?: undefined;
|
687
|
+
authorizationList?: undefined;
|
688
688
|
mint?: undefined;
|
689
689
|
isSystemTx?: undefined;
|
690
690
|
sourceHash?: undefined;
|
@@ -715,8 +715,8 @@ export declare const chainConfig: {
|
|
715
715
|
sourceHash: import("../index.js").Hex;
|
716
716
|
type: "deposit";
|
717
717
|
accessList?: undefined;
|
718
|
-
authorizationList?: undefined;
|
719
718
|
blobVersionedHashes?: undefined;
|
719
|
+
authorizationList?: undefined;
|
720
720
|
chainId?: undefined;
|
721
721
|
feeCurrency?: undefined;
|
722
722
|
gatewayFee?: undefined;
|
@@ -740,10 +740,10 @@ export declare const chainConfig: {
|
|
740
740
|
maxPriorityFeePerGas?: undefined | undefined;
|
741
741
|
blobs?: undefined;
|
742
742
|
accessList?: undefined;
|
743
|
-
authorizationList?: undefined;
|
744
743
|
blobVersionedHashes?: undefined;
|
745
744
|
kzg?: undefined;
|
746
745
|
sidecars?: undefined;
|
746
|
+
authorizationList?: undefined;
|
747
747
|
feeCurrency?: `0x${string}` | undefined;
|
748
748
|
} | {
|
749
749
|
data?: `0x${string}` | undefined;
|
@@ -759,10 +759,10 @@ export declare const chainConfig: {
|
|
759
759
|
maxPriorityFeePerGas?: undefined | undefined;
|
760
760
|
accessList?: import("../index.js").AccessList | undefined;
|
761
761
|
blobs?: undefined;
|
762
|
-
authorizationList?: undefined;
|
763
762
|
blobVersionedHashes?: undefined;
|
764
763
|
kzg?: undefined;
|
765
764
|
sidecars?: undefined;
|
765
|
+
authorizationList?: undefined;
|
766
766
|
feeCurrency?: `0x${string}` | undefined;
|
767
767
|
} | {
|
768
768
|
data?: `0x${string}` | undefined;
|
@@ -778,10 +778,10 @@ export declare const chainConfig: {
|
|
778
778
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
779
779
|
accessList?: import("../index.js").AccessList | undefined;
|
780
780
|
blobs?: undefined;
|
781
|
-
authorizationList?: undefined;
|
782
781
|
blobVersionedHashes?: undefined;
|
783
782
|
kzg?: undefined;
|
784
783
|
sidecars?: undefined;
|
784
|
+
authorizationList?: undefined;
|
785
785
|
feeCurrency?: `0x${string}` | undefined;
|
786
786
|
} | {
|
787
787
|
type?: "0x3" | undefined;
|
@@ -836,10 +836,10 @@ export declare const chainConfig: {
|
|
836
836
|
maxFeePerGas?: `0x${string}` | undefined;
|
837
837
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
838
838
|
blobs?: undefined;
|
839
|
-
authorizationList?: undefined;
|
840
839
|
blobVersionedHashes?: undefined;
|
841
840
|
kzg?: undefined;
|
842
841
|
sidecars?: undefined;
|
842
|
+
authorizationList?: undefined;
|
843
843
|
}) & {};
|
844
844
|
type: "transactionRequest";
|
845
845
|
};
|
@@ -220,8 +220,8 @@ export declare const formatters: {
|
|
220
220
|
gatewayFee: bigint | null;
|
221
221
|
gatewayFeeRecipient: import("abitype").Address | null;
|
222
222
|
type: "cip42";
|
223
|
-
authorizationList?: undefined;
|
224
223
|
blobVersionedHashes?: undefined;
|
224
|
+
authorizationList?: undefined;
|
225
225
|
mint?: undefined;
|
226
226
|
isSystemTx?: undefined;
|
227
227
|
sourceHash?: undefined;
|
@@ -249,8 +249,8 @@ export declare const formatters: {
|
|
249
249
|
chainId: number;
|
250
250
|
feeCurrency: import("abitype").Address | null;
|
251
251
|
type: "cip64";
|
252
|
-
authorizationList?: undefined;
|
253
252
|
blobVersionedHashes?: undefined;
|
253
|
+
authorizationList?: undefined;
|
254
254
|
mint?: undefined;
|
255
255
|
isSystemTx?: undefined;
|
256
256
|
sourceHash?: undefined;
|
@@ -281,8 +281,8 @@ export declare const formatters: {
|
|
281
281
|
sourceHash: import("../index.js").Hex;
|
282
282
|
type: "deposit";
|
283
283
|
accessList?: undefined;
|
284
|
-
authorizationList?: undefined;
|
285
284
|
blobVersionedHashes?: undefined;
|
285
|
+
authorizationList?: undefined;
|
286
286
|
chainId?: undefined;
|
287
287
|
feeCurrency?: undefined;
|
288
288
|
gatewayFee?: undefined;
|
@@ -306,10 +306,10 @@ export declare const formatters: {
|
|
306
306
|
maxPriorityFeePerGas?: undefined | undefined;
|
307
307
|
blobs?: undefined;
|
308
308
|
accessList?: undefined;
|
309
|
-
authorizationList?: undefined;
|
310
309
|
blobVersionedHashes?: undefined;
|
311
310
|
kzg?: undefined;
|
312
311
|
sidecars?: undefined;
|
312
|
+
authorizationList?: undefined;
|
313
313
|
feeCurrency?: `0x${string}` | undefined;
|
314
314
|
} | {
|
315
315
|
data?: `0x${string}` | undefined;
|
@@ -325,10 +325,10 @@ export declare const formatters: {
|
|
325
325
|
maxPriorityFeePerGas?: undefined | undefined;
|
326
326
|
accessList?: import("../index.js").AccessList | undefined;
|
327
327
|
blobs?: undefined;
|
328
|
-
authorizationList?: undefined;
|
329
328
|
blobVersionedHashes?: undefined;
|
330
329
|
kzg?: undefined;
|
331
330
|
sidecars?: undefined;
|
331
|
+
authorizationList?: undefined;
|
332
332
|
feeCurrency?: `0x${string}` | undefined;
|
333
333
|
} | {
|
334
334
|
data?: `0x${string}` | undefined;
|
@@ -344,10 +344,10 @@ export declare const formatters: {
|
|
344
344
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
345
345
|
accessList?: import("../index.js").AccessList | undefined;
|
346
346
|
blobs?: undefined;
|
347
|
-
authorizationList?: undefined;
|
348
347
|
blobVersionedHashes?: undefined;
|
349
348
|
kzg?: undefined;
|
350
349
|
sidecars?: undefined;
|
350
|
+
authorizationList?: undefined;
|
351
351
|
feeCurrency?: `0x${string}` | undefined;
|
352
352
|
} | {
|
353
353
|
type?: "0x3" | undefined;
|
@@ -402,10 +402,10 @@ export declare const formatters: {
|
|
402
402
|
maxFeePerGas?: `0x${string}` | undefined;
|
403
403
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
404
404
|
blobs?: undefined;
|
405
|
-
authorizationList?: undefined;
|
406
405
|
blobVersionedHashes?: undefined;
|
407
406
|
kzg?: undefined;
|
408
407
|
sidecars?: undefined;
|
408
|
+
authorizationList?: undefined;
|
409
409
|
}) & {};
|
410
410
|
type: "transactionRequest";
|
411
411
|
};
|
@@ -303,10 +303,10 @@ export declare const abstract: {
|
|
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 abstract: {
|
|
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 abstract: {
|
|
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;
|
@@ -302,10 +302,10 @@ export declare const abstractTestnet: {
|
|
302
302
|
maxPriorityFeePerGas?: undefined | undefined;
|
303
303
|
blobs?: undefined;
|
304
304
|
accessList?: undefined;
|
305
|
-
authorizationList?: undefined;
|
306
305
|
blobVersionedHashes?: undefined;
|
307
306
|
kzg?: undefined;
|
308
307
|
sidecars?: undefined;
|
308
|
+
authorizationList?: undefined;
|
309
309
|
eip712Meta?: undefined | undefined;
|
310
310
|
} | {
|
311
311
|
data?: `0x${string}` | undefined;
|
@@ -321,10 +321,10 @@ export declare const abstractTestnet: {
|
|
321
321
|
maxPriorityFeePerGas?: undefined | undefined;
|
322
322
|
accessList?: import("../../index.js").AccessList | undefined;
|
323
323
|
blobs?: undefined;
|
324
|
-
authorizationList?: undefined;
|
325
324
|
blobVersionedHashes?: undefined;
|
326
325
|
kzg?: undefined;
|
327
326
|
sidecars?: undefined;
|
327
|
+
authorizationList?: undefined;
|
328
328
|
eip712Meta?: undefined | undefined;
|
329
329
|
} | {
|
330
330
|
data?: `0x${string}` | undefined;
|
@@ -340,10 +340,10 @@ export declare const abstractTestnet: {
|
|
340
340
|
maxPriorityFeePerGas?: `0x${string}` | undefined;
|
341
341
|
accessList?: import("../../index.js").AccessList | undefined;
|
342
342
|
blobs?: undefined;
|
343
|
-
authorizationList?: undefined;
|
344
343
|
blobVersionedHashes?: undefined;
|
345
344
|
kzg?: undefined;
|
346
345
|
sidecars?: undefined;
|
346
|
+
authorizationList?: undefined;
|
347
347
|
eip712Meta?: undefined | undefined;
|
348
348
|
} | {
|
349
349
|
type?: "0x3" | undefined;
|