@alchemy/smart-accounts 0.0.0-alpha.2 → 0.0.0-alpha.21
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/dist/esm/index.d.ts +4 -3
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/light-account/accounts/account.d.ts +9 -4
- package/dist/esm/light-account/accounts/account.js +29 -18
- package/dist/esm/light-account/accounts/account.js.map +1 -1
- package/dist/esm/light-account/accounts/base.d.ts +4 -4
- package/dist/esm/light-account/accounts/base.js +51 -24
- package/dist/esm/light-account/accounts/base.js.map +1 -1
- package/dist/esm/light-account/accounts/multi-owner-account.d.ts +9 -4
- package/dist/esm/light-account/accounts/multi-owner-account.js +23 -14
- package/dist/esm/light-account/accounts/multi-owner-account.js.map +1 -1
- package/dist/esm/light-account/decorators/multiOwner.js +2 -1
- package/dist/esm/light-account/decorators/multiOwner.js.map +1 -1
- package/dist/esm/light-account/decorators/singleOwner.js +1 -1
- package/dist/esm/light-account/decorators/singleOwner.js.map +1 -1
- package/dist/esm/light-account/lightAccountStaticImpl.d.ts +3 -1
- package/dist/esm/light-account/lightAccountStaticImpl.js +57 -7
- package/dist/esm/light-account/lightAccountStaticImpl.js.map +1 -1
- package/dist/esm/light-account/predictAddress.d.ts +40 -2
- package/dist/esm/light-account/predictAddress.js +83 -3
- package/dist/esm/light-account/predictAddress.js.map +1 -1
- package/dist/esm/light-account/registry.d.ts +3411 -1
- package/dist/esm/light-account/registry.js +33 -1
- package/dist/esm/light-account/registry.js.map +1 -1
- package/dist/esm/light-account/utils.js +1 -1
- package/dist/esm/light-account/utils.js.map +1 -1
- package/dist/esm/ma-v1/accounts/base.d.ts +4 -4
- package/dist/esm/ma-v1/accounts/base.js +1 -1
- package/dist/esm/ma-v1/accounts/base.js.map +1 -1
- package/dist/esm/ma-v1/accounts/multi-owner-account.d.ts +9 -4
- package/dist/esm/ma-v1/accounts/multi-owner-account.js +26 -14
- package/dist/esm/ma-v1/accounts/multi-owner-account.js.map +1 -1
- package/dist/esm/ma-v1/decorators/multiOwner.js +2 -1
- package/dist/esm/ma-v1/decorators/multiOwner.js.map +1 -1
- package/dist/esm/ma-v1/predictAddress.d.ts +20 -1
- package/dist/esm/ma-v1/predictAddress.js +37 -1
- package/dist/esm/ma-v1/predictAddress.js.map +1 -1
- package/dist/esm/ma-v2/accounts/account.d.ts +10 -7
- package/dist/esm/ma-v2/accounts/account.js +24 -43
- package/dist/esm/ma-v2/accounts/account.js.map +1 -1
- package/dist/esm/ma-v2/accounts/base.d.ts +5 -5
- package/dist/esm/ma-v2/accounts/base.js +18 -60
- package/dist/esm/ma-v2/accounts/base.js.map +1 -1
- package/dist/esm/ma-v2/mav2StaticImpl.d.ts +1 -15
- package/dist/esm/ma-v2/mav2StaticImpl.js +0 -33
- package/dist/esm/ma-v2/mav2StaticImpl.js.map +1 -1
- package/dist/esm/ma-v2/predictAddress.d.ts +22 -6
- package/dist/esm/ma-v2/predictAddress.js +46 -12
- package/dist/esm/ma-v2/predictAddress.js.map +1 -1
- package/dist/esm/ma-v2/utils/account.d.ts +0 -3
- package/dist/esm/ma-v2/utils/account.js +2 -4
- package/dist/esm/ma-v2/utils/account.js.map +1 -1
- package/dist/esm/ma-v2/utils/signature.d.ts +1 -12
- package/dist/esm/ma-v2/utils/signature.js +1 -34
- package/dist/esm/ma-v2/utils/signature.js.map +1 -1
- package/dist/esm/types.d.ts +8 -1
- package/dist/esm/types.js.map +1 -1
- package/dist/esm/utils.d.ts +32 -2
- package/dist/esm/utils.js +75 -5
- package/dist/esm/utils.js.map +1 -1
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/esm/version.js.map +1 -1
- package/dist/types/index.d.ts +4 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/light-account/accounts/account.d.ts +9 -4
- package/dist/types/light-account/accounts/account.d.ts.map +1 -1
- package/dist/types/light-account/accounts/base.d.ts +4 -4
- package/dist/types/light-account/accounts/base.d.ts.map +1 -1
- package/dist/types/light-account/accounts/multi-owner-account.d.ts +9 -4
- package/dist/types/light-account/accounts/multi-owner-account.d.ts.map +1 -1
- package/dist/types/light-account/decorators/multiOwner.d.ts.map +1 -1
- package/dist/types/light-account/decorators/singleOwner.d.ts.map +1 -1
- package/dist/types/light-account/lightAccountStaticImpl.d.ts +3 -1
- package/dist/types/light-account/lightAccountStaticImpl.d.ts.map +1 -1
- package/dist/types/light-account/predictAddress.d.ts +40 -2
- package/dist/types/light-account/predictAddress.d.ts.map +1 -1
- package/dist/types/light-account/registry.d.ts +3411 -1
- package/dist/types/light-account/registry.d.ts.map +1 -1
- package/dist/types/ma-v1/accounts/base.d.ts +4 -4
- package/dist/types/ma-v1/accounts/base.d.ts.map +1 -1
- package/dist/types/ma-v1/accounts/multi-owner-account.d.ts +9 -4
- package/dist/types/ma-v1/accounts/multi-owner-account.d.ts.map +1 -1
- package/dist/types/ma-v1/decorators/multiOwner.d.ts.map +1 -1
- package/dist/types/ma-v1/predictAddress.d.ts +20 -1
- package/dist/types/ma-v1/predictAddress.d.ts.map +1 -1
- package/dist/types/ma-v2/accounts/account.d.ts +10 -7
- package/dist/types/ma-v2/accounts/account.d.ts.map +1 -1
- package/dist/types/ma-v2/accounts/base.d.ts +5 -5
- package/dist/types/ma-v2/accounts/base.d.ts.map +1 -1
- package/dist/types/ma-v2/mav2StaticImpl.d.ts +1 -15
- package/dist/types/ma-v2/mav2StaticImpl.d.ts.map +1 -1
- package/dist/types/ma-v2/predictAddress.d.ts +22 -6
- package/dist/types/ma-v2/predictAddress.d.ts.map +1 -1
- package/dist/types/ma-v2/utils/account.d.ts +0 -3
- package/dist/types/ma-v2/utils/account.d.ts.map +1 -1
- package/dist/types/ma-v2/utils/signature.d.ts +1 -12
- package/dist/types/ma-v2/utils/signature.d.ts.map +1 -1
- package/dist/types/types.d.ts +8 -1
- package/dist/types/types.d.ts.map +1 -1
- package/dist/types/utils.d.ts +32 -2
- package/dist/types/utils.d.ts.map +1 -1
- package/dist/types/version.d.ts +1 -1
- package/dist/types/version.d.ts.map +1 -1
- package/package.json +5 -6
- package/src/index.ts +4 -3
- package/src/light-account/accounts/account.ts +42 -26
- package/src/light-account/accounts/base.ts +66 -27
- package/src/light-account/accounts/multi-owner-account.ts +33 -16
- package/src/light-account/decorators/multiOwner.ts +4 -1
- package/src/light-account/decorators/singleOwner.ts +3 -1
- package/src/light-account/lightAccountStaticImpl.ts +84 -11
- package/src/light-account/predictAddress.ts +124 -3
- package/src/light-account/registry.ts +47 -1
- package/src/light-account/utils.ts +1 -1
- package/src/ma-v1/accounts/base.ts +8 -5
- package/src/ma-v1/accounts/multi-owner-account.ts +37 -18
- package/src/ma-v1/decorators/multiOwner.ts +4 -1
- package/src/ma-v1/predictAddress.ts +59 -2
- package/src/ma-v2/accounts/account.ts +42 -55
- package/src/ma-v2/accounts/base.ts +24 -88
- package/src/ma-v2/mav2StaticImpl.ts +1 -52
- package/src/ma-v2/predictAddress.ts +68 -30
- package/src/ma-v2/utils/account.ts +4 -4
- package/src/ma-v2/utils/signature.ts +2 -51
- package/src/types.ts +15 -1
- package/src/utils.ts +119 -6
- package/src/version.ts +1 -1
- package/dist/esm/ma-v2/abis/webAuthnFactoryAbi.d.ts +0 -330
- package/dist/esm/ma-v2/abis/webAuthnFactoryAbi.js +0 -260
- package/dist/esm/ma-v2/abis/webAuthnFactoryAbi.js.map +0 -1
- package/dist/esm/ma-v2/modules/webauthn-validation/abis/webauthnValidationAbi.d.ts +0 -287
- package/dist/esm/ma-v2/modules/webauthn-validation/abis/webauthnValidationAbi.js +0 -374
- package/dist/esm/ma-v2/modules/webauthn-validation/abis/webauthnValidationAbi.js.map +0 -1
- package/dist/esm/ma-v2/modules/webauthn-validation/module.d.ts +0 -11
- package/dist/esm/ma-v2/modules/webauthn-validation/module.js +0 -16
- package/dist/esm/ma-v2/modules/webauthn-validation/module.js.map +0 -1
- package/dist/types/ma-v2/abis/webAuthnFactoryAbi.d.ts +0 -331
- package/dist/types/ma-v2/abis/webAuthnFactoryAbi.d.ts.map +0 -1
- package/dist/types/ma-v2/modules/webauthn-validation/abis/webauthnValidationAbi.d.ts +0 -288
- package/dist/types/ma-v2/modules/webauthn-validation/abis/webauthnValidationAbi.d.ts.map +0 -1
- package/dist/types/ma-v2/modules/webauthn-validation/module.d.ts +0 -12
- package/dist/types/ma-v2/modules/webauthn-validation/module.d.ts.map +0 -1
- package/src/ma-v2/abis/webAuthnFactoryAbi.ts +0 -259
- package/src/ma-v2/modules/webauthn-validation/abis/webauthnValidationAbi.ts +0 -373
- package/src/ma-v2/modules/webauthn-validation/module.ts +0 -28
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../src/light-account/registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AACzC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAQ3D,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,aAAa,CAAC;AAEpE;;;;GAIG;AACH,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AC,CAAC,eAAe,CAAC,SAAS,gCAAgC,GACrG,CAAC,OAAO,sBAAsB,CAAC,CAAC,YAAY,CAAC,CAAC,eAAe,CAAC,CAAC,YAAY,CAAC,GAC5E,KAAK,GACP,KAAK,CAAC;AAEV;;GAEG;AACH,MAAM,MAAM,6BAA6B,CACvC,iBAAiB,SAAS,gBAAgB,EAC1C,oBAAoB,SAClB,mBAAmB,CAAC,iBAAiB,CAAC,GAAG,mBAAmB,CAAC,iBAAiB,CAAC,IAEjF,CAAC,OAAO,sBAAsB,CAAC,CAAC,iBAAiB,CAAC,CAAC,oBAAoB,CAAC,SAAS,gCAAgC,CAE/G,MAAM,KAAK,EACX,MAAM,iBAAiB,EAEvB,MAAM,YAAY,EAClB,MAAM,aAAa,SAAS,GAAG,CAChC,GACG,CAAC,OAAO,sBAAsB,CAAC,CAAC,iBAAiB,CAAC,CAAC,oBAAoB,CAAC,CAAC,YAAY,CAAC,SAAS;IAC7F,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC;IACpC,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;IAC1B,QAAQ,CAAC,GAAG,EAAE,aAAa,CAAC;CAC7B,GACC,CAAC,OAAO,sBAAsB,CAAC,CAAC,iBAAiB,CAAC,CAAC,oBAAoB,CAAC,CAAC,YAAY,CAAC,GACtF,KAAK,GACP,KAAK,CAAC"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { type Address, type Chain, type Client, type Hex, type JsonRpcAccount, type LocalAccount, type Transport, type Hash, type TypedDataDefinition } from "viem";
|
|
2
|
-
import { entryPoint06Abi, type
|
|
3
|
-
import type { SignatureRequest } from "../../types.js";
|
|
2
|
+
import { entryPoint06Abi, type SmartAccountImplementation } from "viem/account-abstraction";
|
|
3
|
+
import type { SignatureRequest, SmartAccountWithDecodeCalls } from "../../types.js";
|
|
4
4
|
type MaV1AccountType = "MultiOwnerModularAccountV1";
|
|
5
5
|
export type BaseMaV1AccountImplementation = SmartAccountImplementation<typeof entryPoint06Abi, "0.6", {
|
|
6
|
-
|
|
6
|
+
smartAccountType: MaV1AccountType;
|
|
7
7
|
prepareSignature: (request: SignatureRequest) => Promise<SignatureRequest>;
|
|
8
8
|
formatSignature: (signature: Hex) => Promise<Hex>;
|
|
9
9
|
}, false>;
|
|
10
|
-
export type ModularAccountV1Base =
|
|
10
|
+
export type ModularAccountV1Base = SmartAccountWithDecodeCalls<BaseMaV1AccountImplementation>;
|
|
11
11
|
export type ToModularAccountV1BaseParams<TTransport extends Transport = Transport> = {
|
|
12
12
|
client: Client<TTransport, Chain, JsonRpcAccount | LocalAccount | undefined>;
|
|
13
13
|
accountAddress: Address;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/ma-v1/accounts/base.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,MAAM,EACX,KAAK,GAAG,EACR,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,IAAI,EACT,KAAK,mBAAmB,EAEzB,MAAM,MAAM,CAAC;AACd,OAAO,EACL,eAAe,EAEf,KAAK,
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/ma-v1/accounts/base.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,MAAM,EACX,KAAK,GAAG,EACR,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,SAAS,EACd,KAAK,IAAI,EACT,KAAK,mBAAmB,EAEzB,MAAM,MAAM,CAAC;AACd,OAAO,EACL,eAAe,EAEf,KAAK,0BAA0B,EAGhC,MAAM,0BAA0B,CAAC;AAClC,OAAO,KAAK,EACV,gBAAgB,EAChB,2BAA2B,EAC5B,MAAM,gBAAgB,CAAC;AAYxB,KAAK,eAAe,GAAG,4BAA4B,CAAC;AAEpD,MAAM,M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}[]];
|
|
12
|
-
salt?: bigint;
|
|
13
12
|
accountAddress?: Address;
|
|
14
|
-
|
|
15
|
-
}
|
|
13
|
+
factory?: Address;
|
|
14
|
+
} & ({
|
|
15
|
+
salt?: bigint;
|
|
16
|
+
factoryData?: never;
|
|
17
|
+
} | {
|
|
18
|
+
salt?: never;
|
|
19
|
+
factoryData?: Hex;
|
|
20
|
+
});
|
|
16
21
|
/**
|
|
17
22
|
* Creates a multi-owner MAv1 account.
|
|
18
23
|
*
|
|
19
24
|
* @param {ToMultiOwnerModularAccountV1Params} param0 - The parameters for creating a multi-owner MAv1 account.
|
|
20
25
|
* @returns {Promise<MultiOwnerModularAccountV1<TSigner>>} A multi-owner MAv1 account.
|
|
21
26
|
*/
|
|
22
|
-
export declare function toMultiOwnerModularAccountV1({ client, salt, owners, accountAddress: accountAddress_,
|
|
27
|
+
export declare function toMultiOwnerModularAccountV1({ client, salt, owners, accountAddress: accountAddress_, factory, factoryData: factoryData_, }: ToMultiOwnerModularAccountV1Params): Promise<MultiOwnerModularAccountV1>;
|
|
23
28
|
//# sourceMappingURL=multi-owner-account.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"multi-owner-account.d.ts","sourceRoot":"","sources":["../../../../src/ma-v1/accounts/multi-owner-account.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"multi-owner-account.d.ts","sourceRoot":"","sources":["../../../../src/ma-v1/accounts/multi-owner-account.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,MAAM,EAEX,KAAK,GAAG,EACR,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,KAAK,EACV,KAAK,SAAS,EAEf,MAAM,MAAM,CAAC;AACd,OAAO,EAA0B,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAc9E,MAAM,MAAM,0BAA0B,GAAG,oBAAoB,GAAG;IAC9D,kBAAkB,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,SAAS,YAAY,GAAG,SAAS,GAAG,YAAY,GAAG,SAAS,EAEpE,MAAM,EAAE,MAAM,CAAC,UAAU,EAAE,MAAM,EAAE,QAAQ,CAAC,GAC3C,iCAAiC,CAClC,WAAW,CAAC,QAAQ,CAAC,SAAS,IAAI,GAAG,SAAS,GAAG,0BAA0B,CAC5E,CA4BA"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { type Address } from "viem";
|
|
1
|
+
import { type Address, type Client, type Hex } from "viem";
|
|
2
|
+
import type { EntryPointVersion } from "viem/account-abstraction";
|
|
2
3
|
export type PredictMultiOwnerModularAccountV1AddressParams = {
|
|
3
4
|
salt: bigint;
|
|
4
5
|
ownerAddresses: Address[];
|
|
@@ -26,4 +27,22 @@ export type PredictMultiOwnerModularAccountV1AddressParams = {
|
|
|
26
27
|
* ```
|
|
27
28
|
*/
|
|
28
29
|
export declare const predictMultiOwnerModularAccountV1Address: ({ salt, ownerAddresses, factoryAddress, }: PredictMultiOwnerModularAccountV1AddressParams) => Address;
|
|
30
|
+
export type GetMultiOwnerModularAccountV1AddressFromFactoryDataParams = {
|
|
31
|
+
client: Client;
|
|
32
|
+
factoryAddress: Address;
|
|
33
|
+
factoryData: Hex;
|
|
34
|
+
entryPoint: {
|
|
35
|
+
version: EntryPointVersion;
|
|
36
|
+
address: Address;
|
|
37
|
+
};
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Gets the multi-owner modular account v1 address from factory data.
|
|
41
|
+
* If the factory is a known default, decodes the args and predicts without RPC.
|
|
42
|
+
* Otherwise falls back to calling the entry point's getSenderAddress.
|
|
43
|
+
*
|
|
44
|
+
* @param {GetMultiOwnerModularAccountV1AddressFromFactoryDataParams} params - The parameters
|
|
45
|
+
* @returns {Promise<Address>} The account address
|
|
46
|
+
*/
|
|
47
|
+
export declare function getMultiOwnerModularAccountV1AddressFromFactoryData({ client, factoryAddress, factoryData, entryPoint, }: GetMultiOwnerModularAccountV1AddressFromFactoryDataParams): Promise<Address>;
|
|
29
48
|
//# sourceMappingURL=predictAddress.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"predictAddress.d.ts","sourceRoot":"","sources":["../../../src/ma-v1/predictAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,
|
|
1
|
+
{"version":3,"file":"predictAddress.d.ts","sourceRoot":"","sources":["../../../src/ma-v1/predictAddress.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,MAAM,EAOX,KAAK,GAAG,EACT,MAAM,MAAM,CAAC;AACd,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAMlE,MAAM,MAAM,8CAA8C,GAAG;IAC3D,IAAI,EAAE,MAAM,CAAC;IAEb,cAAc,EAAE,OAAO,EAAE,CAAC;IAC1B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,wCAAwC,GAAI,2CAItD,8CAA8C,KAAG,OAoBnD,CAAC;AAuBF,MAAM,MAAM,yDAAyD,GAAG;IACtE,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,EAAE,GAAG,CAAC;IACjB,UAAU,EAAE;QACV,OAAO,EAAE,iBAAiB,CAAC;QAC3B,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC;CACH,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAsB,mDAAmD,CAAC,EACxE,MAAM,EACN,cAAc,EACd,WAAW,EACX,UAAU,GACX,EAAE,yDAAyD,GAAG,OAAO,CAAC,OAAO,CAAC,CA0B9E"}
|
|
@@ -1,33 +1,36 @@
|
|
|
1
1
|
import { type Address, type Chain, type Client, type Hex, type JsonRpcAccount, type LocalAccount, type Transport } from "viem";
|
|
2
|
-
import type { WebAuthnAccount } from "viem/account-abstraction";
|
|
3
2
|
import { type ModularAccountV2Base } from "./base.js";
|
|
4
3
|
import type { SignerEntity } from "../types.js";
|
|
5
4
|
type Mode = "default" | "7702";
|
|
6
5
|
export type ModularAccountV2 = ModularAccountV2Base & {};
|
|
7
6
|
export type ToModularAccountV2Params<TMode extends Mode | undefined = Mode | undefined> = {
|
|
8
7
|
client: Client<Transport, Chain, JsonRpcAccount | LocalAccount | undefined>;
|
|
9
|
-
owner: JsonRpcAccount | LocalAccount
|
|
8
|
+
owner: JsonRpcAccount | LocalAccount;
|
|
10
9
|
deferredAction?: Hex;
|
|
11
10
|
signerEntity?: SignerEntity;
|
|
12
11
|
accountAddress?: Address;
|
|
13
12
|
mode?: TMode;
|
|
14
13
|
} & (TMode extends "7702" ? {
|
|
15
14
|
salt?: never;
|
|
16
|
-
|
|
15
|
+
factory?: never;
|
|
17
16
|
factoryData?: never;
|
|
18
17
|
implementationAddress?: never;
|
|
19
18
|
} : {
|
|
19
|
+
factory?: Address;
|
|
20
|
+
implementationAddress?: Address;
|
|
21
|
+
} & ({
|
|
20
22
|
salt?: bigint;
|
|
21
|
-
|
|
23
|
+
factoryData?: never;
|
|
24
|
+
} | {
|
|
25
|
+
salt?: never;
|
|
22
26
|
factoryData?: Hex;
|
|
23
|
-
|
|
24
|
-
});
|
|
27
|
+
}));
|
|
25
28
|
/**
|
|
26
29
|
* Creates a MAv2 account.
|
|
27
30
|
*
|
|
28
31
|
* @param {ToModularAccountV2Params} param0 - The parameters for creating a MAv2 account.
|
|
29
32
|
* @returns {Promise<ModularAccountV2>} A MAv2 account.
|
|
30
33
|
*/
|
|
31
|
-
export declare function toModularAccountV2<TMode extends Mode = Mode>({ client, owner, deferredAction, signerEntity, accountAddress: accountAddress_, salt,
|
|
34
|
+
export declare function toModularAccountV2<TMode extends Mode = Mode>({ client, owner, deferredAction, signerEntity, accountAddress: accountAddress_, salt, factory, factoryData: factoryData_, implementationAddress: implementationAddress_, mode, }: ToModularAccountV2Params<TMode>): Promise<ModularAccountV2>;
|
|
32
35
|
export {};
|
|
33
36
|
//# sourceMappingURL=account.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../src/ma-v2/accounts/account.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,MAAM,EACX,KAAK,GAAG,EACR,KAAK,cAAc,EACnB,KAAK,YAAY,EAEjB,KAAK,SAAS,EACf,MAAM,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../src/ma-v2/accounts/account.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,MAAM,EACX,KAAK,GAAG,EACR,KAAK,cAAc,EACnB,KAAK,YAAY,EAEjB,KAAK,SAAS,EACf,MAAM,MAAM,CAAC;AAKd,OAAO,EAA0B,KAAK,oBAAoB,EAAE,MAAM,WAAW,CAAC;AAC9E,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAC;AAWhD,KAAK,IAAI,GAAG,SAAS,GAAG,MAAM,CAAC;AAG/B,MAAM,MAAM,gBAAgB,GAAG,oBAAoB,GAAG,EAAE,CAAC;AAEzD,MAAM,MAAM,wBAAwB,CAClC,KAAK,SAAS,IAAI,GAAG,SAAS,GAAG,IAAI,GAAG,SAAS,IAC/C;IACF,MAAM,EAAE,MAAM,CAAC,SAAS,EAAE,KAAK,EAAE,cAAc,GAAG,YAAY,GAAG,SAAS,CAAC,CAAC;IAC5E,KAAK,EAAE,cAAc,GAAG,YAAY,CAAC;IACrC,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,IAAI,CAAC,EAAE,KAAK,CAAC;CACd,GAAG,CAAC,KAAK,SAAS,MAAM,GACrB;IACE,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,OAAO,CAAC,EAAE,KAAK,CAAC;IAChB,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,qBAAqB,CAAC,EAAE,KAAK,CAAC;CAC/B,GACD;IACE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,qBAAqB,CAAC,EAAE,OAAO,CAAC;CACjC,GAAG,CACA;IACE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,KAAK,CAAC;CACrB,GACD;IACE,IAAI,CAAC,EAAE,KAAK,CAAC;IACb,WAAW,CAAC,EAAE,GAAG,CAAC;CACnB,CACJ,CAAC,CAAC;AAEP;;;;;GAKG;AACH,wBAAsB,kBAAkB,CAAC,KAAK,SAAS,IAAI,GAAG,IAAI,EAAE,EAClE,MAAM,EACN,KAAK,EACL,cAAc,EACd,YAAY,EACZ,cAAc,EAAE,eAAe,EAC/B,IAAS,EACT,OAAO,EACP,WAAW,EAAE,YAAY,EACzB,qBAAqB,EAAE,sBAAsB,EAC7C,IAAI,GACL,EAAE,wBAAwB,CAAC,KAAK,CAAC,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAsH7D"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type Address, type Hex, type Chain, type Client, type JsonRpcAccount, type LocalAccount, type Transport } from "viem";
|
|
2
|
-
import { entryPoint07Abi, type SmartAccountImplementation, type
|
|
2
|
+
import { entryPoint07Abi, type SmartAccountImplementation, type ToSmartAccountParameters } from "viem/account-abstraction";
|
|
3
3
|
import { type ExecutionDataView, type SignerEntity, type ValidationDataView } from "../types.js";
|
|
4
|
-
import type { SignatureRequest } from "../../types.js";
|
|
4
|
+
import type { SignatureRequest, SmartAccountWithDecodeCalls } from "../../types.js";
|
|
5
5
|
export type ValidationDataParams = {
|
|
6
6
|
validationModuleAddress: Address;
|
|
7
7
|
entityId?: never;
|
|
@@ -10,7 +10,7 @@ export type ValidationDataParams = {
|
|
|
10
10
|
entityId: number;
|
|
11
11
|
};
|
|
12
12
|
export type BaseModularAccountV2Implementation = SmartAccountImplementation<typeof entryPoint07Abi, "0.7", {
|
|
13
|
-
|
|
13
|
+
smartAccountType: "ModularAccountV2";
|
|
14
14
|
signerEntity: SignerEntity;
|
|
15
15
|
encodeCallData: (callData: Hex) => Promise<Hex>;
|
|
16
16
|
getExecutionData: (selector: Hex) => Promise<ExecutionDataView>;
|
|
@@ -18,10 +18,10 @@ export type BaseModularAccountV2Implementation = SmartAccountImplementation<type
|
|
|
18
18
|
prepareSignature: (request: SignatureRequest) => Promise<SignatureRequest>;
|
|
19
19
|
formatSignature: (signature: Hex) => Promise<Hex>;
|
|
20
20
|
}, boolean>;
|
|
21
|
-
export type ModularAccountV2Base =
|
|
21
|
+
export type ModularAccountV2Base = SmartAccountWithDecodeCalls<BaseModularAccountV2Implementation>;
|
|
22
22
|
export type ToModularAccountV2BaseParams<TTransport extends Transport = Transport> = {
|
|
23
23
|
client: Client<TTransport, Chain, JsonRpcAccount | LocalAccount | undefined>;
|
|
24
|
-
owner: JsonRpcAccount | LocalAccount
|
|
24
|
+
owner: JsonRpcAccount | LocalAccount;
|
|
25
25
|
accountAddress: Address;
|
|
26
26
|
getFactoryArgs: () => Promise<{
|
|
27
27
|
factory?: Address | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/ma-v2/accounts/base.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,GAAG,EACR,KAAK,KAAK,EACV,KAAK,MAAM,EACX,KAAK,cAAc,EACnB,KAAK,YAAY,EACjB,KAAK,SAAS,EAUf,MAAM,MAAM,CAAC;AACd,OAAO,EACL,eAAe,EACf,KAAK,0BAA0B,
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../../../src/ma-v2/accounts/base.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,GAAG,EACR,KAAK,KAAK,EACV,KA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SAAS,SAAS,GAAG,SAAS,IACtC;IACF,MAAM,EAAE,MAAM,CAAC,UAAU,EAAE,KAAK,EAAE,cAAc,GAAG,YAAY,GAAG,SAAS,CAAC,CAAC;IAC7E,KAAK,EAAE,cAAc,GAAG,YAAY,CAAC;IACrC,cAAc,EAAE,OAAO,CAAC;IACxB,cAAc,EAAE,MAAM,OAAO,CAAC;QAC5B,OAAO,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;QAC9B,WAAW,CAAC,EAAE,GAAG,GAAG,SAAS,CAAC;KAC/B,CAAC,CAAC;IACH,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,cAAc,CAAC,EAAE,GAAG,CAAC;IACrB,aAAa,CAAC,EAAE,wBAAwB,CAAC,eAAe,CAAC,CAAC;CAC3D,CAAC;AAEF;;;;;GAKG;AACH,wBAAsB,sBAAsB,CAC1C,UAAU,SAAS,SAAS,GAAG,SAAS,EACxC,EACA,MAAM,EACN,KAAK,EACL,cAAc,EACd,cAAc,EACd,YAGC,EACD,cAAc,EACd,aAAa,GACd,EAAE,4BAA4B,CAAC,UAAU,CAAC,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAqX1E"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { type Address
|
|
1
|
+
import { type Address } from "viem";
|
|
2
2
|
import { entryPoint07Abi } from "viem/account-abstraction";
|
|
3
3
|
import type { StaticSmartAccountImplementation } from "../types.js";
|
|
4
4
|
import { semiModularAccountBytecodeAbi } from "./abis/semiModularAccountBytecodeAbi.js";
|
|
5
5
|
import { accountFactoryAbi } from "./abis/accountFactoryAbi.js";
|
|
6
|
-
import { webAuthnFactoryAbi } from "./abis/webAuthnFactoryAbi.js";
|
|
7
|
-
import { modularAccountAbi } from "./abis/modularAccountAbi.js";
|
|
8
6
|
export type SemiModularAccountV2FactoryArgs = {
|
|
9
7
|
owner: Address;
|
|
10
8
|
salt: bigint;
|
|
@@ -23,16 +21,4 @@ export type SemiModularAccount7702StaticImpl = StaticSmartAccountImplementation<
|
|
|
23
21
|
* TODO(v5): update JSDoc format when doc-gen supports structs or records.
|
|
24
22
|
*/
|
|
25
23
|
export declare const semiModularAccount7702StaticImpl: SemiModularAccount7702StaticImpl;
|
|
26
|
-
export type WebAuthnModularAccountV2FactoryArgs = {
|
|
27
|
-
ownerPublicKey: Hex;
|
|
28
|
-
salt: bigint;
|
|
29
|
-
entityId: number;
|
|
30
|
-
};
|
|
31
|
-
export type WebAuthnModularAccountV2StaticImpl = StaticSmartAccountImplementation<false, "0.7", WebAuthnModularAccountV2FactoryArgs, typeof entryPoint07Abi, typeof modularAccountAbi, typeof webAuthnFactoryAbi>;
|
|
32
|
-
/**
|
|
33
|
-
* Static implementation logic for WebAuthnModularAccountV2.
|
|
34
|
-
*
|
|
35
|
-
* TODO(v5): update JSDoc format when doc-gen supports structs or records.
|
|
36
|
-
*/
|
|
37
|
-
export declare const webAuthnModularAccountV2StaticImpl: WebAuthnModularAccountV2StaticImpl;
|
|
38
24
|
//# sourceMappingURL=mav2StaticImpl.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mav2StaticImpl.d.ts","sourceRoot":"","sources":["../../../src/ma-v2/mav2StaticImpl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"mav2StaticImpl.d.ts","sourceRoot":"","sources":["../../../src/ma-v2/mav2StaticImpl.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,KAAK,OAAO,EAAE,MAAM,MAAM,CAAC;AACxD,OAAO,EAAE,eAAe,EAAuB,MAAM,0BAA0B,CAAC;AAEhF,OAAO,KAAK,EAAE,gCAAgC,EAAE,MAAM,aAAa,CAAC;AACpE,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AACxF,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAIhE,MAAM,MAAM,+BAA+B,GAAG;IAC5C,KAAK,EAAE,OAAO,CAAC;IACf,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,8BAA8B,GAAG,gCAAgC,CAC3E,KAAK,EACL,KAAK,EACL,+BAA+B,EAC/B,OAAO,eAAe,EACtB,OAAO,6BAA6B,EACpC,OAAO,iBAAiB,CACzB,CAAC;AAeF;;;;GAIG;AACH,eAAO,MAAM,8BAA8B,EAAE,8BAqB5C,CAAC;AAEF,MAAM,MAAM,gCAAgC,GAAG,gCAAgC,CAC7E,IAAI,EACJ,KAAK,EACL,+BAA+B,EAC/B,OAAO,eAAe,EACtB,OAAO,6BAA6B,EACpC,OAAO,iBAAiB,CACzB,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,gCAAgC,EAAE,gCAI5C,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import { type Address, type Hex } from "viem";
|
|
1
|
+
import { type Address, type Client, type Hex } from "viem";
|
|
2
|
+
import { type EntryPointVersion } from "viem/account-abstraction";
|
|
2
3
|
export type PredictModularAccountV2AddressParams = {
|
|
3
4
|
factoryAddress: Address;
|
|
4
5
|
implementationAddress: Address;
|
|
@@ -10,13 +11,9 @@ export type PredictModularAccountV2AddressParams = {
|
|
|
10
11
|
} | {
|
|
11
12
|
type: "SMA";
|
|
12
13
|
ownerAddress: Address;
|
|
13
|
-
} | {
|
|
14
|
-
type: "WebAuthn";
|
|
15
|
-
ownerPublicKey: Hex;
|
|
16
|
-
entityId: number;
|
|
17
14
|
});
|
|
18
15
|
/**
|
|
19
|
-
* Predicts the address of a modular account V2 based on the provided parameters, which include factory address, salt, and implementation address. This function supports different types of accounts including "SMA"
|
|
16
|
+
* Predicts the address of a modular account V2 based on the provided parameters, which include factory address, salt, and implementation address. This function supports different types of accounts including "SMA" and "MA".
|
|
20
17
|
*
|
|
21
18
|
* @example
|
|
22
19
|
* ```ts
|
|
@@ -35,4 +32,23 @@ export type PredictModularAccountV2AddressParams = {
|
|
|
35
32
|
* @returns {Address} The predicted address for the modular account V2.
|
|
36
33
|
*/
|
|
37
34
|
export declare function predictModularAccountV2Address(params: PredictModularAccountV2AddressParams): Address;
|
|
35
|
+
export type GetModularAccountV2AddressFromFactoryDataParams = {
|
|
36
|
+
client: Client;
|
|
37
|
+
factoryAddress: Address;
|
|
38
|
+
factoryData: Hex;
|
|
39
|
+
implementationAddress: Address;
|
|
40
|
+
entryPoint?: {
|
|
41
|
+
version: EntryPointVersion;
|
|
42
|
+
address: Address;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
* Gets the modular account v2 address from factory data.
|
|
47
|
+
* If the factory is a known default (SMA), decodes the args and predicts without RPC.
|
|
48
|
+
* Otherwise falls back to calling the entry point's getSenderAddress.
|
|
49
|
+
*
|
|
50
|
+
* @param {GetModularAccountV2AddressFromFactoryDataParams} params - The parameters
|
|
51
|
+
* @returns {Promise<Address>} The account address
|
|
52
|
+
*/
|
|
53
|
+
export declare function getModularAccountV2AddressFromFactoryData({ client, factoryAddress, factoryData, implementationAddress, entryPoint, }: GetModularAccountV2AddressFromFactoryDataParams): Promise<Address>;
|
|
38
54
|
//# sourceMappingURL=predictAddress.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"predictAddress.d.ts","sourceRoot":"","sources":["../../../src/ma-v2/predictAddress.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"predictAddress.d.ts","sourceRoot":"","sources":["../../../src/ma-v2/predictAddress.ts"],"names":[],"mappings":"AACA,OAAO,EAOL,KAAK,OAAO,EACZ,KAAK,MAAM,EACX,KAAK,GAAG,EACT,MAAM,MAAM,CAAC;AACd,OAAO,EAEL,KAAK,iBAAiB,EACvB,MAAM,0BAA0B,CAAC;AAKlC,MAAM,MAAM,oCAAoC,GAAG;IACjD,cAAc,EAAE,OAAO,CAAC;IACxB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,IAAI,EAAE,MAAM,CAAC;CACd,GAAG,CACA;IACE,IAAI,EAAE,IAAI,CAAC;IACX,YAAY,EAAE,OAAO,CAAC;IACtB,QAAQ,EAAE,MAAM,CAAC;CAClB,GACD;IACE,IAAI,EAAE,KAAK,CAAC;IACZ,YAAY,EAAE,OAAO,CAAC;CACvB,CACJ,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,oCAAoC,GAC3C,OAAO,CAwCT;AAkCD,MAAM,MAAM,+CAA+C,GAAG;IAC5D,MAAM,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,OAAO,CAAC;IACxB,WAAW,EAAE,GAAG,CAAC;IACjB,qBAAqB,EAAE,OAAO,CAAC;IAC/B,UAAU,CAAC,EAAE;QACX,OAAO,EAAE,iBAAiB,CAAC;QAC3B,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC;CACH,CAAC;AAEF;;;;;;;GAOG;AACH,wBAAsB,yCAAyC,CAAC,EAC9D,MAAM,EACN,cAAc,EACd,WAAW,EACX,qBAAqB,EACrB,UAGC,GACF,EAAE,+CAA+C,GAAG,OAAO,CAAC,OAAO,CAAC,CA2BpE"}
|
|
@@ -8,18 +8,15 @@ import type { ModularAccountV2Base } from "../accounts/base.js";
|
|
|
8
8
|
*/
|
|
9
9
|
export declare const DefaultAddress: {
|
|
10
10
|
MAV2_FACTORY: "0x00000000000017c61b5bEe81050EC8eFc9c6fecd";
|
|
11
|
-
MAV2_FACTORY_WEBAUTHN: "0x55010E571dCf07e254994bfc88b9C1C8FAe31960";
|
|
12
11
|
SMAV2_BYTECODE: "0x000000000000c5A9089039570Dd36455b5C07383";
|
|
13
12
|
SMAV2_STORAGE: "0x0000000000006E2f9d80CaEc0Da6500f005EB25A";
|
|
14
13
|
SMAV2_7702: "0x69007702764179f14F51cdce752f4f775d74E139";
|
|
15
|
-
MAV2: "0x00000000000002377B26b1EdA7b0BC371C60DD4f";
|
|
16
14
|
};
|
|
17
15
|
/**
|
|
18
16
|
* A mapping of default addresses for the ModularAccountV2 modules.
|
|
19
17
|
*/
|
|
20
18
|
export declare const DefaultModuleAddress: {
|
|
21
19
|
SINGLE_SIGNER_VALIDATION: "0x00000000000099DE0BF6fA90dEB851E2A2df7d83";
|
|
22
|
-
WEBAUTHN_VALIDATION: "0x0000000000001D9d34E07D9834274dF9ae575217";
|
|
23
20
|
TIME_RANGE: "0x00000000000082B8e2012be914dFA4f62A0573eA";
|
|
24
21
|
PAYMASTER_GUARD: "0x0000000000001aA7A7F7E29abe0be06c72FD42A1";
|
|
25
22
|
NATIVE_TOKEN_LIMIT: "0x00000000000001e541f0D090868FBe24b59Fbe06";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../src/ma-v2/utils/account.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,OAAO,EACZ,KAAK,GAAG,EACT,MAAM,MAAM,CAAC;AACd,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE/D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"account.d.ts","sourceRoot":"","sources":["../../../../src/ma-v2/utils/account.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,OAAO,EACZ,KAAK,GAAG,EACT,MAAM,MAAM,CAAC;AACd,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAC7D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gBAAgB,CAAC;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAE/D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qBAAqB,CAAC;AAEhE;;GAEG;AACH,eAAO,MAAM,cAAc;;;;;CAKQ,CAAC;AAEpC;;GAEG;AACH,eAAO,MAAM,oBAAoB;;;;;;CAME,CAAC;AAEpC;;GAEG;AACH,eAAO,MAAM,uBAAuB,IAAI,CAAC;AAEzC;;GAEG;AACH,eAAO,MAAM,wBAAwB,EAAE,GAAkB,CAAC;AAE1D,MAAM,MAAM,oBAAoB,CAC9B,QAAQ,SAAS,YAAY,GAAG,SAAS,GAAG,YAAY,GAAG,SAAS,IAClE,mBAAmB,CAAC,QAAQ,CAAC,CAAC;AAElC;;;;;GAKG;AACH,wBAAsB,oBAAoB,CACxC,YAAY,EAAE,OAAO,GACpB,OAAO,CAAC,aAAa,CAAC,CAaxB;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,GAAI,+DAK/B,gBAAgB,KAAG,MAOrB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,wBAAgB,qBAAqB,CAAC,MAAM,EAAE,YAAY,GAAG,GAAG,CAE/D;AAED;;;;;GAKG;AACH,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,YAAY,GACpB,OAAO,IAAI,oBAAoB,CAKjC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { type Address, type Hash, type Hex } from "viem";
|
|
2
2
|
import { SignaturePrefix } from "../types.js";
|
|
3
|
-
import { type WebAuthnP256 } from "ox";
|
|
4
3
|
export type PackUOSignatureParams = {
|
|
5
4
|
validationSignature: Hex;
|
|
6
5
|
};
|
|
@@ -13,7 +12,7 @@ export type PackUOSignatureParams = {
|
|
|
13
12
|
export declare const packUOSignature: ({ validationSignature, }: PackUOSignatureParams) => Hex;
|
|
14
13
|
export type Pack1271SignatureParams = {
|
|
15
14
|
entityId: number;
|
|
16
|
-
validationSignaturePrefix: SignaturePrefix
|
|
15
|
+
validationSignaturePrefix: SignaturePrefix;
|
|
17
16
|
validationSignature: Hex;
|
|
18
17
|
};
|
|
19
18
|
/**
|
|
@@ -51,14 +50,4 @@ export declare function toReplaySafeTypedData({ address, chainId, hash, salt, }:
|
|
|
51
50
|
};
|
|
52
51
|
primaryType: "ReplaySafeHash";
|
|
53
52
|
};
|
|
54
|
-
/**
|
|
55
|
-
* Wraps a P256 signature with the webauthn metadata.
|
|
56
|
-
*
|
|
57
|
-
* @param {ToWebAuthnSignatureParams} params - The parameters for wrapping a P256 signature with the webauthn metadata.
|
|
58
|
-
* @returns {object} The wrapped P256 signature.
|
|
59
|
-
*/
|
|
60
|
-
export declare function toWebAuthnSignature({ webauthn, signature, }: {
|
|
61
|
-
webauthn: WebAuthnP256.SignMetadata;
|
|
62
|
-
signature: Hex;
|
|
63
|
-
}): `0x${string}`;
|
|
64
53
|
//# sourceMappingURL=signature.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"signature.d.ts","sourceRoot":"","sources":["../../../../src/ma-v2/utils/signature.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"signature.d.ts","sourceRoot":"","sources":["../../../../src/ma-v2/utils/signature.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,OAAO,EAAE,KAAK,IAAI,EAAE,KAAK,GAAG,EAAE,MAAM,MAAM,CAAC;AAC3E,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9C,MAAM,MAAM,qBAAqB,GAAG;IAElC,mBAAmB,EAAE,GAAG,CAAC;CAC1B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,eAAe,GAAI,0BAG7B,qBAAqB,KAAG,GAE1B,CAAC;AAGF,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,MAAM,CAAC;IACjB,yBAAyB,EAAE,eAAe,CAAC;IAC3C,mBAAmB,EAAE,GAAG,CAAC;CAC1B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,GAAI,+DAI/B,uBAAuB,KAAG,GAQ5B,CAAC;AAEF;;;;;GAKG;AACH,wBAAgB,qBAAqB,CAAC,EACpC,OAAO,EACP,OAAO,EACP,IAAI,EACJ,IAAI,GACL,EAAE;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,IAAI,CAAC;IACX,IAAI,CAAC,EAAE,GAAG,CAAC;CACZ;;;;;;;;;;;;;;;;EAeA"}
|
package/dist/types/types.d.ts
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
import type { Abi, Address, Hex, IsUndefined, SignableMessage, TypedDataDefinition } from "viem";
|
|
2
|
-
import type { EntryPointVersion, SmartAccount } from "viem/account-abstraction";
|
|
2
|
+
import type { EntryPointVersion, SmartAccount, SmartAccountImplementation } from "viem/account-abstraction";
|
|
3
3
|
export type GetAccountParameter<TAccount extends SmartAccount | undefined = SmartAccount | undefined, TAccountOverride extends SmartAccount = SmartAccount> = IsUndefined<TAccount> extends true ? {
|
|
4
4
|
account: TAccountOverride;
|
|
5
5
|
} : {
|
|
6
6
|
account?: TAccountOverride;
|
|
7
7
|
};
|
|
8
|
+
/**
|
|
9
|
+
* Helper type that converts a SmartAccount type to have a required `decodeCalls` function.
|
|
10
|
+
* This is useful for account implementations that always provide the `decodeCalls` functionality.
|
|
11
|
+
*/
|
|
12
|
+
export type SmartAccountWithDecodeCalls<TImplementation extends SmartAccountImplementation> = SmartAccount<TImplementation> & {
|
|
13
|
+
decodeCalls: NonNullable<SmartAccount<TImplementation>["decodeCalls"]>;
|
|
14
|
+
};
|
|
8
15
|
export type SignatureRequest = {
|
|
9
16
|
type: "personal_sign";
|
|
10
17
|
data: SignableMessage;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,GAAG,EACH,OAAO,EACP,GAAG,EACH,WAAW,EACX,eAAe,EACf,mBAAmB,EACpB,MAAM,MAAM,CAAC;AACd,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,GAAG,EACH,OAAO,EACP,GAAG,EACH,WAAW,EACX,eAAe,EACf,mBAAmB,EACpB,MAAM,MAAM,CAAC;AACd,OAAO,KAAK,EACV,iBAAiB,EACjB,YAAY,EACZ,0BAA0B,EAC3B,MAAM,0BAA0B,CAAC;AAElC,MAAM,MAAM,mBAAmB,CAC7B,QAAQ,SAAS,YAAY,GAAG,SAAS,GAAG,YAAY,GAAG,SAAS,EACpE,gBAAgB,SAAS,YAAY,GAAG,YAAY,IAEpD,WAAW,CAAC,QAAQ,CAAC,SAAS,IAAI,GAC9B;IAAE,OAAO,EAAE,gBAAgB,CAAA;CAAE,GAC7B;IAAE,OAAO,CAAC,EAAE,gBAAgB,CAAA;CAAE,CAAC;AAErC;;;GAGG;AACH,MAAM,MAAM,2BAA2B,CACrC,eAAe,SAAS,0BAA0B,IAChD,YAAY,CAAC,eAAe,CAAC,GAAG;IAClC,WAAW,EAAE,WAAW,CAAC,YAAY,CAAC,eAAe,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC;CACxE,CAAC;AAEF,MAAM,MAAM,gBAAgB,GACxB;IACE,IAAI,EAAE,eAAe,CAAC;IACtB,IAAI,EAAE,eAAe,CAAC;CACvB,GACD;IACE,IAAI,EAAE,sBAAsB,CAAC;IAC7B,IAAI,EAAE,mBAAmB,CAAC;CAC3B,CAAC;AAEN,MAAM,MAAM,gCAAgC,CAC1C,OAAO,SAAS,OAAO,GAAG,OAAO,EACjC,iBAAiB,SAAS,iBAAiB,GAAG,iBAAiB,EAC/D,WAAW,SAAS,EAAE,GAAG,EAAE,EAC3B,aAAa,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,GAAG,GAAG,EACpD,UAAU,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,GAAG,GAAG,EACjD,UAAU,SAAS,GAAG,GAAG,SAAS,OAAO,EAAE,GAAG,GAAG,IAC/C;IACF,QAAQ,CAAC,UAAU,EAAE;QACnB,QAAQ,CAAC,GAAG,EAAE,aAAa,CAAC;QAC5B,QAAQ,CAAC,OAAO,EAAE,OAAO,CAAC;QAC1B,QAAQ,CAAC,OAAO,EAAE,iBAAiB,CAAC;KACrC,CAAC;IACF,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;CACjC,GAAG,CAAC,OAAO,SAAS,KAAK,GACtB;IAEE,QAAQ,CAAC,qBAAqB,EAAE,OAAO,CAAC;IACxC,QAAQ,CAAC,cAAc,EAAE,CAAC,WAAW,EAAE,WAAW,KAAK,GAAG,CAAC;IAC3D,QAAQ,CAAC,qBAAqB,EAAE,CAAC,WAAW,EAAE,WAAW,KAAK,OAAO,CAAC;IACtE,QAAQ,CAAC,cAAc,EAAE,OAAO,CAAC;IACjC,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;CACjC,GACD,EAAE,CAAC,GACL,CAAC,OAAO,SAAS,IAAI,GACjB;IAEE,QAAQ,CAAC,iBAAiB,EAAE,OAAO,CAAC;CACrC,GACD,EAAE,CAAC,CAAC"}
|
package/dist/types/utils.d.ts
CHANGED
|
@@ -1,7 +1,37 @@
|
|
|
1
|
-
import { type Client, type Hex } from "viem";
|
|
2
|
-
import type
|
|
1
|
+
import { type Address, type Client, type Hex } from "viem";
|
|
2
|
+
import { type EntryPointVersion, type UserOperation } from "viem/account-abstraction";
|
|
3
|
+
/**
|
|
4
|
+
* Checks if the current chain supports RIP-7212 (precompiled contract for secp256r1 curve operations).
|
|
5
|
+
* This is used to determine if the chain has native support for P256 signature verification,
|
|
6
|
+
* which is commonly used in WebAuthn/passkey implementations.
|
|
7
|
+
*
|
|
8
|
+
* @param {Client} client - The viem client to use for the check
|
|
9
|
+
* @returns {Promise<boolean>} True if the chain supports RIP-7212, false otherwise
|
|
10
|
+
*/
|
|
3
11
|
export declare const chainHas7212: (client: Client) => Promise<boolean>;
|
|
4
12
|
export declare function packAccountGasLimits(data: Pick<UserOperation, "verificationGasLimit" | "callGasLimit"> | Pick<UserOperation, "maxPriorityFeePerGas" | "maxFeePerGas">): Hex;
|
|
5
13
|
export declare function packPaymasterData({ paymaster, paymasterVerificationGasLimit, paymasterPostOpGasLimit, paymasterData, }: Pick<UserOperation, "paymaster" | "paymasterVerificationGasLimit" | "paymasterPostOpGasLimit" | "paymasterData">): Hex;
|
|
6
14
|
export declare const bigIntMultiply: (base: number | bigint | Hex, multiplier: number, roundingMode?: "ROUND" | "FLOOR" | "CEIL") => bigint;
|
|
15
|
+
/**
|
|
16
|
+
* Derives the counterfactual smart account address from init code by calling
|
|
17
|
+
* the entry point's `getSenderAddress` function.
|
|
18
|
+
*
|
|
19
|
+
* @param {Client} client - The viem client to use for the call.
|
|
20
|
+
* @param {object} params - The parameters for deriving the sender address.
|
|
21
|
+
* @param {Hex} params.factory - The factory address for the account.
|
|
22
|
+
* @param {Hex} params.factoryData - The factory data for the account.
|
|
23
|
+
* @param {object} params.entryPoint - The entry point contract details.
|
|
24
|
+
* @param {EntryPointVersion} [params.entryPoint.version] - The entry point version.
|
|
25
|
+
* @param {Address} params.entryPoint.address - The entry point contract address.
|
|
26
|
+
* @returns {Promise<Address>} The counterfactual address of the smart account.
|
|
27
|
+
*/
|
|
28
|
+
export declare const getSenderFromFactoryData: (client: Client, params: {
|
|
29
|
+
factory: Hex;
|
|
30
|
+
factoryData: Hex;
|
|
31
|
+
entryPoint: {
|
|
32
|
+
version: EntryPointVersion;
|
|
33
|
+
address: Address;
|
|
34
|
+
};
|
|
35
|
+
}) => Promise<Address>;
|
|
36
|
+
export declare function is7702Delegated(delegation: Address, code: Hex | undefined): boolean;
|
|
7
37
|
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,OAAO,EACZ,KAAK,MAAM,EAEX,KAAK,GAAG,EAIT,MAAM,MAAM,CAAC;AAQd,OAAO,EAEL,KAAK,iBAAiB,EACtB,KAAK,aAAa,EACnB,MAAM,0BAA0B,CAAC;AAOlC;;;;;;;GAOG;AACH,eAAO,MAAM,YAAY,GAAU,QAAQ,MAAM,KAAG,OAAO,CAAC,OAAO,CAQlE,CAAC;AAEF,wBAAgB,oBAAoB,CAClC,IAAI,EACA,IAAI,CAAC,aAAa,EAAE,sBAAsB,GAAG,cAAc,CAAC,GAC5D,IAAI,CAAC,aAAa,EAAE,sBAAsB,GAAG,cAAc,CAAC,GAC/D,GAAG,CAEL;AAED,wBAAgB,iBAAiB,CAAC,EAChC,SAAS,EACT,6BAA6B,EAC7B,uBAAuB,EACvB,aAAa,GACd,EAAE,IAAI,CACL,aAAa,EACX,WAAW,GACX,+BAA+B,GAC/B,yBAAyB,GACzB,eAAe,CAClB,GAAG,GAAG,CAeN;AAED,eAAO,MAAM,cAAc,GACzB,MAAM,MAAM,GAAG,MAAM,GAAG,GAAG,EAC3B,YAAY,MAAM,EAClB,eAAc,OAAO,GAAG,OAAO,GAAG,MAAe,WA0BlD,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,wBAAwB,GACnC,QAAQ,MAAM,EACd,QAAQ;IACN,OAAO,EAAE,GAAG,CAAC;IACb,WAAW,EAAE,GAAG,CAAC;IACjB,UAAU,EAAE;QACV,OAAO,EAAE,iBAAiB,CAAC;QAC3B,OAAO,EAAE,OAAO,CAAC;KAClB,CAAC;CACH,KACA,OAAO,CAAC,OAAO,CA8CjB,CAAC;AASF,wBAAgB,eAAe,CAC7B,UAAU,EAAE,OAAO,EACnB,IAAI,EAAE,GAAG,GAAG,SAAS,GACpB,OAAO,CAIT"}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.0.0";
|
|
1
|
+
export declare const VERSION = "0.0.0-alpha.20";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,mBAAmB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alchemy/smart-accounts",
|
|
3
|
-
"version": "0.0.0-alpha.
|
|
3
|
+
"version": "0.0.0-alpha.21",
|
|
4
4
|
"description": "This package contains all of the viem interfaces for Alchemy's Smart Contract Accounts",
|
|
5
5
|
"author": "Alchemy",
|
|
6
6
|
"license": "MIT",
|
|
@@ -39,13 +39,12 @@
|
|
|
39
39
|
"test:run": "vitest run"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@alchemy/aa-infra": "0.0.0-alpha.
|
|
42
|
+
"@alchemy/aa-infra": "^0.0.0-alpha.21",
|
|
43
43
|
"typescript-template": "*"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@alchemy/common": "0.0.0-alpha.
|
|
47
|
-
"
|
|
48
|
-
"viem": "^2.32.0"
|
|
46
|
+
"@alchemy/common": "^0.0.0-alpha.21",
|
|
47
|
+
"viem": "^2.44.2"
|
|
49
48
|
},
|
|
50
49
|
"publishConfig": {
|
|
51
50
|
"access": "public",
|
|
@@ -59,5 +58,5 @@
|
|
|
59
58
|
"url": "https://github.com/alchemyplatform/aa-sdk/issues"
|
|
60
59
|
},
|
|
61
60
|
"homepage": "https://github.com/alchemyplatform/aa-sdk#readme",
|
|
62
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "b253d0ee34fcb723a72d594d56b484188ac6867b"
|
|
63
62
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
export type * from "./types.js";
|
|
2
|
+
|
|
3
|
+
export { chainHas7212 } from "./utils.js";
|
|
4
|
+
|
|
1
5
|
// LightAccount
|
|
2
6
|
export type * from "./light-account/accounts/account.js";
|
|
3
7
|
export { toLightAccount } from "./light-account/accounts/account.js";
|
|
@@ -74,7 +78,6 @@ export { installValidationActions } from "./ma-v2/decorators/installValidation.j
|
|
|
74
78
|
export {
|
|
75
79
|
semiModularAccountV2StaticImpl,
|
|
76
80
|
semiModularAccount7702StaticImpl,
|
|
77
|
-
webAuthnModularAccountV2StaticImpl,
|
|
78
81
|
} from "./ma-v2/mav2StaticImpl.js";
|
|
79
82
|
export type * from "./ma-v2/mav2StaticImpl.js";
|
|
80
83
|
|
|
@@ -84,7 +87,6 @@ export { NativeTokenLimitModule } from "./ma-v2/modules/native-token-limit-modul
|
|
|
84
87
|
export { PaymasterGuardModule } from "./ma-v2/modules/paymaster-guard-module/module.js";
|
|
85
88
|
export { SingleSignerValidationModule } from "./ma-v2/modules/single-signer-validation/module.js";
|
|
86
89
|
export { TimeRangeModule } from "./ma-v2/modules/time-range-module/module.js";
|
|
87
|
-
export { WebAuthnValidationModule } from "./ma-v2/modules/webauthn-validation/module.js";
|
|
88
90
|
|
|
89
91
|
export type * from "./ma-v2/permissionBuilder.js";
|
|
90
92
|
export {
|
|
@@ -126,7 +128,6 @@ export {
|
|
|
126
128
|
packUOSignature,
|
|
127
129
|
pack1271Signature,
|
|
128
130
|
toReplaySafeTypedData,
|
|
129
|
-
toWebAuthnSignature,
|
|
130
131
|
} from "./ma-v2/utils/signature.js";
|
|
131
132
|
|
|
132
133
|
// Errors
|