@account-kit/wallet-client 4.52.0 → 4.52.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/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/version.d.ts +1 -1
- package/package.json +6 -11
- package/src/version.ts +1 -1
- package/dist/esm/abi/LightAccountFactoryAbi_V1_0_1.d.ts +0 -55
- package/dist/esm/abi/LightAccountFactoryAbi_V1_0_1.js +0 -45
- package/dist/esm/abi/LightAccountFactoryAbi_V1_0_1.js.map +0 -1
- package/dist/esm/abi/LightAccountFactoryAbi_V1_0_2.d.ts +0 -55
- package/dist/esm/abi/LightAccountFactoryAbi_V1_0_2.js +0 -45
- package/dist/esm/abi/LightAccountFactoryAbi_V1_0_2.js.map +0 -1
- package/dist/esm/abi/LightAccountFactoryAbi_V1_1_0.d.ts +0 -55
- package/dist/esm/abi/LightAccountFactoryAbi_V1_1_0.js +0 -45
- package/dist/esm/abi/LightAccountFactoryAbi_V1_1_0.js.map +0 -1
- package/dist/esm/abi/LightAccountFactoryAbi_V2_0_0.d.ts +0 -256
- package/dist/esm/abi/LightAccountFactoryAbi_V2_0_0.js +0 -202
- package/dist/esm/abi/LightAccountFactoryAbi_V2_0_0.js.map +0 -1
- package/dist/esm/abi/ModularAccountFactoryAbi_V2_0_0.d.ts +0 -492
- package/dist/esm/abi/ModularAccountFactoryAbi_V2_0_0.js +0 -399
- package/dist/esm/abi/ModularAccountFactoryAbi_V2_0_0.js.map +0 -1
- package/dist/esm/abi/MultiOwnerLightAccountFactoryAbi_V2_0_0.d.ts +0 -286
- package/dist/esm/abi/MultiOwnerLightAccountFactoryAbi_V2_0_0.js +0 -225
- package/dist/esm/abi/MultiOwnerLightAccountFactoryAbi_V2_0_0.js.map +0 -1
- package/dist/esm/abi/MultiOwnerModularAccountFactoryAbi_V1_0_0.d.ts +0 -234
- package/dist/esm/abi/MultiOwnerModularAccountFactoryAbi_V1_0_0.js +0 -179
- package/dist/esm/abi/MultiOwnerModularAccountFactoryAbi_V1_0_0.js.map +0 -1
- package/dist/esm/abi/MultisigModularAccountFactoryAbi_V1_0_0.d.ts +0 -246
- package/dist/esm/abi/MultisigModularAccountFactoryAbi_V1_0_0.js +0 -182
- package/dist/esm/abi/MultisigModularAccountFactoryAbi_V1_0_0.js.map +0 -1
- package/dist/esm/abi/index.d.ts +0 -8
- package/dist/esm/abi/index.js +0 -9
- package/dist/esm/abi/index.js.map +0 -1
- package/dist/types/abi/LightAccountFactoryAbi_V1_0_1.d.ts +0 -56
- package/dist/types/abi/LightAccountFactoryAbi_V1_0_1.d.ts.map +0 -1
- package/dist/types/abi/LightAccountFactoryAbi_V1_0_2.d.ts +0 -56
- package/dist/types/abi/LightAccountFactoryAbi_V1_0_2.d.ts.map +0 -1
- package/dist/types/abi/LightAccountFactoryAbi_V1_1_0.d.ts +0 -56
- package/dist/types/abi/LightAccountFactoryAbi_V1_1_0.d.ts.map +0 -1
- package/dist/types/abi/LightAccountFactoryAbi_V2_0_0.d.ts +0 -257
- package/dist/types/abi/LightAccountFactoryAbi_V2_0_0.d.ts.map +0 -1
- package/dist/types/abi/ModularAccountFactoryAbi_V2_0_0.d.ts +0 -493
- package/dist/types/abi/ModularAccountFactoryAbi_V2_0_0.d.ts.map +0 -1
- package/dist/types/abi/MultiOwnerLightAccountFactoryAbi_V2_0_0.d.ts +0 -287
- package/dist/types/abi/MultiOwnerLightAccountFactoryAbi_V2_0_0.d.ts.map +0 -1
- package/dist/types/abi/MultiOwnerModularAccountFactoryAbi_V1_0_0.d.ts +0 -235
- package/dist/types/abi/MultiOwnerModularAccountFactoryAbi_V1_0_0.d.ts.map +0 -1
- package/dist/types/abi/MultisigModularAccountFactoryAbi_V1_0_0.d.ts +0 -247
- package/dist/types/abi/MultisigModularAccountFactoryAbi_V1_0_0.d.ts.map +0 -1
- package/dist/types/abi/index.d.ts +0 -9
- package/dist/types/abi/index.d.ts.map +0 -1
- package/src/abi/LightAccountFactoryAbi_V1_0_1.ts +0 -44
- package/src/abi/LightAccountFactoryAbi_V1_0_2.ts +0 -44
- package/src/abi/LightAccountFactoryAbi_V1_1_0.ts +0 -44
- package/src/abi/LightAccountFactoryAbi_V2_0_0.ts +0 -201
- package/src/abi/ModularAccountFactoryAbi_V2_0_0.ts +0 -398
- package/src/abi/MultiOwnerLightAccountFactoryAbi_V2_0_0.ts +0 -224
- package/src/abi/MultiOwnerModularAccountFactoryAbi_V1_0_0.ts +0 -178
- package/src/abi/MultisigModularAccountFactoryAbi_V1_0_0.ts +0 -181
- package/src/abi/index.ts +0 -8
package/dist/esm/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const VERSION = "4.52.
|
|
1
|
+
export declare const VERSION = "4.52.1";
|
package/dist/esm/version.js
CHANGED
package/dist/esm/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,yBAAyB;AACzB,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC","sourcesContent":["// This file is autogenerated by inject-version.ts. Any changes will be\n// overwritten on commit!\nexport const VERSION = \"4.52.
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA,uEAAuE;AACvE,yBAAyB;AACzB,MAAM,CAAC,MAAM,OAAO,GAAG,QAAQ,CAAC","sourcesContent":["// This file is autogenerated by inject-version.ts. Any changes will be\n// overwritten on commit!\nexport const VERSION = \"4.52.1\";\n"]}
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "4.52.
|
|
1
|
+
export declare const VERSION = "4.52.1";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@account-kit/wallet-client",
|
|
3
|
-
"version": "4.52.
|
|
3
|
+
"version": "4.52.1",
|
|
4
4
|
"description": "Wallet Client for Alchemy Account Kit",
|
|
5
5
|
"author": "Alchemy",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,11 +28,6 @@
|
|
|
28
28
|
"require": "./dist/esm/exports/index.js",
|
|
29
29
|
"import": "./dist/esm/exports/index.js"
|
|
30
30
|
},
|
|
31
|
-
"./abi": {
|
|
32
|
-
"types": "./dist/types/abi/index.d.ts",
|
|
33
|
-
"require": "./dist/esm/abi/index.js",
|
|
34
|
-
"import": "./dist/esm/abi/index.js"
|
|
35
|
-
},
|
|
36
31
|
"./package.json": "./package.json"
|
|
37
32
|
},
|
|
38
33
|
"scripts": {
|
|
@@ -45,10 +40,10 @@
|
|
|
45
40
|
"test:e2e": "bun test ./src/**/*.e2e.test.*"
|
|
46
41
|
},
|
|
47
42
|
"dependencies": {
|
|
48
|
-
"@aa-sdk/core": "^4.52.
|
|
49
|
-
"@account-kit/infra": "^4.52.
|
|
50
|
-
"@account-kit/smart-contracts": "^4.52.
|
|
51
|
-
"@alchemy/wallet-api-types": "0.1.0-alpha.
|
|
43
|
+
"@aa-sdk/core": "^4.52.1",
|
|
44
|
+
"@account-kit/infra": "^4.52.1",
|
|
45
|
+
"@account-kit/smart-contracts": "^4.52.1",
|
|
46
|
+
"@alchemy/wallet-api-types": "0.1.0-alpha.14",
|
|
52
47
|
"@sinclair/typebox": "^0.34.33",
|
|
53
48
|
"deep-equal": "^2.2.3",
|
|
54
49
|
"ox": "^0.6.12"
|
|
@@ -74,5 +69,5 @@
|
|
|
74
69
|
"url": "https://github.com/alchemyplatform/aa-sdk/issues"
|
|
75
70
|
},
|
|
76
71
|
"homepage": "https://github.com/alchemyplatform/aa-sdk#readme",
|
|
77
|
-
"gitHead": "
|
|
72
|
+
"gitHead": "21ef58b794a949cace863cacc97862ade99259b8"
|
|
78
73
|
}
|
package/src/version.ts
CHANGED
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
export declare const LightAccountFactoryAbi_V1_0_1: readonly [{
|
|
2
|
-
readonly inputs: readonly [{
|
|
3
|
-
readonly internalType: "contract IEntryPoint";
|
|
4
|
-
readonly name: "_entryPoint";
|
|
5
|
-
readonly type: "address";
|
|
6
|
-
}];
|
|
7
|
-
readonly stateMutability: "nonpayable";
|
|
8
|
-
readonly type: "constructor";
|
|
9
|
-
}, {
|
|
10
|
-
readonly inputs: readonly [];
|
|
11
|
-
readonly name: "accountImplementation";
|
|
12
|
-
readonly outputs: readonly [{
|
|
13
|
-
readonly internalType: "contract LightAccount";
|
|
14
|
-
readonly name: "";
|
|
15
|
-
readonly type: "address";
|
|
16
|
-
}];
|
|
17
|
-
readonly stateMutability: "view";
|
|
18
|
-
readonly type: "function";
|
|
19
|
-
}, {
|
|
20
|
-
readonly inputs: readonly [{
|
|
21
|
-
readonly internalType: "address";
|
|
22
|
-
readonly name: "owner";
|
|
23
|
-
readonly type: "address";
|
|
24
|
-
}, {
|
|
25
|
-
readonly internalType: "uint256";
|
|
26
|
-
readonly name: "salt";
|
|
27
|
-
readonly type: "uint256";
|
|
28
|
-
}];
|
|
29
|
-
readonly name: "createAccount";
|
|
30
|
-
readonly outputs: readonly [{
|
|
31
|
-
readonly internalType: "contract LightAccount";
|
|
32
|
-
readonly name: "ret";
|
|
33
|
-
readonly type: "address";
|
|
34
|
-
}];
|
|
35
|
-
readonly stateMutability: "nonpayable";
|
|
36
|
-
readonly type: "function";
|
|
37
|
-
}, {
|
|
38
|
-
readonly inputs: readonly [{
|
|
39
|
-
readonly internalType: "address";
|
|
40
|
-
readonly name: "owner";
|
|
41
|
-
readonly type: "address";
|
|
42
|
-
}, {
|
|
43
|
-
readonly internalType: "uint256";
|
|
44
|
-
readonly name: "salt";
|
|
45
|
-
readonly type: "uint256";
|
|
46
|
-
}];
|
|
47
|
-
readonly name: "getAddress";
|
|
48
|
-
readonly outputs: readonly [{
|
|
49
|
-
readonly internalType: "address";
|
|
50
|
-
readonly name: "";
|
|
51
|
-
readonly type: "address";
|
|
52
|
-
}];
|
|
53
|
-
readonly stateMutability: "view";
|
|
54
|
-
readonly type: "function";
|
|
55
|
-
}];
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export const LightAccountFactoryAbi_V1_0_1 = [
|
|
2
|
-
{
|
|
3
|
-
inputs: [
|
|
4
|
-
{
|
|
5
|
-
internalType: "contract IEntryPoint",
|
|
6
|
-
name: "_entryPoint",
|
|
7
|
-
type: "address",
|
|
8
|
-
},
|
|
9
|
-
],
|
|
10
|
-
stateMutability: "nonpayable",
|
|
11
|
-
type: "constructor",
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
inputs: [],
|
|
15
|
-
name: "accountImplementation",
|
|
16
|
-
outputs: [
|
|
17
|
-
{ internalType: "contract LightAccount", name: "", type: "address" },
|
|
18
|
-
],
|
|
19
|
-
stateMutability: "view",
|
|
20
|
-
type: "function",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
inputs: [
|
|
24
|
-
{ internalType: "address", name: "owner", type: "address" },
|
|
25
|
-
{ internalType: "uint256", name: "salt", type: "uint256" },
|
|
26
|
-
],
|
|
27
|
-
name: "createAccount",
|
|
28
|
-
outputs: [
|
|
29
|
-
{ internalType: "contract LightAccount", name: "ret", type: "address" },
|
|
30
|
-
],
|
|
31
|
-
stateMutability: "nonpayable",
|
|
32
|
-
type: "function",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
inputs: [
|
|
36
|
-
{ internalType: "address", name: "owner", type: "address" },
|
|
37
|
-
{ internalType: "uint256", name: "salt", type: "uint256" },
|
|
38
|
-
],
|
|
39
|
-
name: "getAddress",
|
|
40
|
-
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
41
|
-
stateMutability: "view",
|
|
42
|
-
type: "function",
|
|
43
|
-
},
|
|
44
|
-
];
|
|
45
|
-
//# sourceMappingURL=LightAccountFactoryAbi_V1_0_1.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LightAccountFactoryAbi_V1_0_1.js","sourceRoot":"","sources":["../../../src/abi/LightAccountFactoryAbi_V1_0_1.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,sBAAsB;gBACpC,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,uBAAuB;QAC7B,OAAO,EAAE;YACP,EAAE,YAAY,EAAE,uBAAuB,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;SACrE;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE;YAC3D,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE;SAC3D;QACD,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE;YACP,EAAE,YAAY,EAAE,uBAAuB,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE;SACxE;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE;YAC3D,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE;SAC3D;QACD,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QACjE,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC","sourcesContent":["export const LightAccountFactoryAbi_V1_0_1 = [\n {\n inputs: [\n {\n internalType: \"contract IEntryPoint\",\n name: \"_entryPoint\",\n type: \"address\",\n },\n ],\n stateMutability: \"nonpayable\",\n type: \"constructor\",\n },\n {\n inputs: [],\n name: \"accountImplementation\",\n outputs: [\n { internalType: \"contract LightAccount\", name: \"\", type: \"address\" },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address\", name: \"owner\", type: \"address\" },\n { internalType: \"uint256\", name: \"salt\", type: \"uint256\" },\n ],\n name: \"createAccount\",\n outputs: [\n { internalType: \"contract LightAccount\", name: \"ret\", type: \"address\" },\n ],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address\", name: \"owner\", type: \"address\" },\n { internalType: \"uint256\", name: \"salt\", type: \"uint256\" },\n ],\n name: \"getAddress\",\n outputs: [{ internalType: \"address\", name: \"\", type: \"address\" }],\n stateMutability: \"view\",\n type: \"function\",\n },\n] as const;\n"]}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
export declare const LightAccountFactoryAbi_V1_0_2: readonly [{
|
|
2
|
-
readonly inputs: readonly [{
|
|
3
|
-
readonly internalType: "contract IEntryPoint";
|
|
4
|
-
readonly name: "_entryPoint";
|
|
5
|
-
readonly type: "address";
|
|
6
|
-
}];
|
|
7
|
-
readonly stateMutability: "nonpayable";
|
|
8
|
-
readonly type: "constructor";
|
|
9
|
-
}, {
|
|
10
|
-
readonly inputs: readonly [];
|
|
11
|
-
readonly name: "accountImplementation";
|
|
12
|
-
readonly outputs: readonly [{
|
|
13
|
-
readonly internalType: "contract LightAccount";
|
|
14
|
-
readonly name: "";
|
|
15
|
-
readonly type: "address";
|
|
16
|
-
}];
|
|
17
|
-
readonly stateMutability: "view";
|
|
18
|
-
readonly type: "function";
|
|
19
|
-
}, {
|
|
20
|
-
readonly inputs: readonly [{
|
|
21
|
-
readonly internalType: "address";
|
|
22
|
-
readonly name: "owner";
|
|
23
|
-
readonly type: "address";
|
|
24
|
-
}, {
|
|
25
|
-
readonly internalType: "uint256";
|
|
26
|
-
readonly name: "salt";
|
|
27
|
-
readonly type: "uint256";
|
|
28
|
-
}];
|
|
29
|
-
readonly name: "createAccount";
|
|
30
|
-
readonly outputs: readonly [{
|
|
31
|
-
readonly internalType: "contract LightAccount";
|
|
32
|
-
readonly name: "ret";
|
|
33
|
-
readonly type: "address";
|
|
34
|
-
}];
|
|
35
|
-
readonly stateMutability: "nonpayable";
|
|
36
|
-
readonly type: "function";
|
|
37
|
-
}, {
|
|
38
|
-
readonly inputs: readonly [{
|
|
39
|
-
readonly internalType: "address";
|
|
40
|
-
readonly name: "owner";
|
|
41
|
-
readonly type: "address";
|
|
42
|
-
}, {
|
|
43
|
-
readonly internalType: "uint256";
|
|
44
|
-
readonly name: "salt";
|
|
45
|
-
readonly type: "uint256";
|
|
46
|
-
}];
|
|
47
|
-
readonly name: "getAddress";
|
|
48
|
-
readonly outputs: readonly [{
|
|
49
|
-
readonly internalType: "address";
|
|
50
|
-
readonly name: "";
|
|
51
|
-
readonly type: "address";
|
|
52
|
-
}];
|
|
53
|
-
readonly stateMutability: "view";
|
|
54
|
-
readonly type: "function";
|
|
55
|
-
}];
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export const LightAccountFactoryAbi_V1_0_2 = [
|
|
2
|
-
{
|
|
3
|
-
inputs: [
|
|
4
|
-
{
|
|
5
|
-
internalType: "contract IEntryPoint",
|
|
6
|
-
name: "_entryPoint",
|
|
7
|
-
type: "address",
|
|
8
|
-
},
|
|
9
|
-
],
|
|
10
|
-
stateMutability: "nonpayable",
|
|
11
|
-
type: "constructor",
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
inputs: [],
|
|
15
|
-
name: "accountImplementation",
|
|
16
|
-
outputs: [
|
|
17
|
-
{ internalType: "contract LightAccount", name: "", type: "address" },
|
|
18
|
-
],
|
|
19
|
-
stateMutability: "view",
|
|
20
|
-
type: "function",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
inputs: [
|
|
24
|
-
{ internalType: "address", name: "owner", type: "address" },
|
|
25
|
-
{ internalType: "uint256", name: "salt", type: "uint256" },
|
|
26
|
-
],
|
|
27
|
-
name: "createAccount",
|
|
28
|
-
outputs: [
|
|
29
|
-
{ internalType: "contract LightAccount", name: "ret", type: "address" },
|
|
30
|
-
],
|
|
31
|
-
stateMutability: "nonpayable",
|
|
32
|
-
type: "function",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
inputs: [
|
|
36
|
-
{ internalType: "address", name: "owner", type: "address" },
|
|
37
|
-
{ internalType: "uint256", name: "salt", type: "uint256" },
|
|
38
|
-
],
|
|
39
|
-
name: "getAddress",
|
|
40
|
-
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
41
|
-
stateMutability: "view",
|
|
42
|
-
type: "function",
|
|
43
|
-
},
|
|
44
|
-
];
|
|
45
|
-
//# sourceMappingURL=LightAccountFactoryAbi_V1_0_2.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LightAccountFactoryAbi_V1_0_2.js","sourceRoot":"","sources":["../../../src/abi/LightAccountFactoryAbi_V1_0_2.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,sBAAsB;gBACpC,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,uBAAuB;QAC7B,OAAO,EAAE;YACP,EAAE,YAAY,EAAE,uBAAuB,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;SACrE;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE;YAC3D,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE;SAC3D;QACD,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE;YACP,EAAE,YAAY,EAAE,uBAAuB,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE;SACxE;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE;YAC3D,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE;SAC3D;QACD,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QACjE,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC","sourcesContent":["export const LightAccountFactoryAbi_V1_0_2 = [\n {\n inputs: [\n {\n internalType: \"contract IEntryPoint\",\n name: \"_entryPoint\",\n type: \"address\",\n },\n ],\n stateMutability: \"nonpayable\",\n type: \"constructor\",\n },\n {\n inputs: [],\n name: \"accountImplementation\",\n outputs: [\n { internalType: \"contract LightAccount\", name: \"\", type: \"address\" },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address\", name: \"owner\", type: \"address\" },\n { internalType: \"uint256\", name: \"salt\", type: \"uint256\" },\n ],\n name: \"createAccount\",\n outputs: [\n { internalType: \"contract LightAccount\", name: \"ret\", type: \"address\" },\n ],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address\", name: \"owner\", type: \"address\" },\n { internalType: \"uint256\", name: \"salt\", type: \"uint256\" },\n ],\n name: \"getAddress\",\n outputs: [{ internalType: \"address\", name: \"\", type: \"address\" }],\n stateMutability: \"view\",\n type: \"function\",\n },\n] as const;\n"]}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
export declare const LightAccountFactoryAbi_V1_1_0: readonly [{
|
|
2
|
-
readonly inputs: readonly [{
|
|
3
|
-
readonly internalType: "contract IEntryPoint";
|
|
4
|
-
readonly name: "_entryPoint";
|
|
5
|
-
readonly type: "address";
|
|
6
|
-
}];
|
|
7
|
-
readonly stateMutability: "nonpayable";
|
|
8
|
-
readonly type: "constructor";
|
|
9
|
-
}, {
|
|
10
|
-
readonly inputs: readonly [];
|
|
11
|
-
readonly name: "accountImplementation";
|
|
12
|
-
readonly outputs: readonly [{
|
|
13
|
-
readonly internalType: "contract LightAccount";
|
|
14
|
-
readonly name: "";
|
|
15
|
-
readonly type: "address";
|
|
16
|
-
}];
|
|
17
|
-
readonly stateMutability: "view";
|
|
18
|
-
readonly type: "function";
|
|
19
|
-
}, {
|
|
20
|
-
readonly inputs: readonly [{
|
|
21
|
-
readonly internalType: "address";
|
|
22
|
-
readonly name: "owner";
|
|
23
|
-
readonly type: "address";
|
|
24
|
-
}, {
|
|
25
|
-
readonly internalType: "uint256";
|
|
26
|
-
readonly name: "salt";
|
|
27
|
-
readonly type: "uint256";
|
|
28
|
-
}];
|
|
29
|
-
readonly name: "createAccount";
|
|
30
|
-
readonly outputs: readonly [{
|
|
31
|
-
readonly internalType: "contract LightAccount";
|
|
32
|
-
readonly name: "ret";
|
|
33
|
-
readonly type: "address";
|
|
34
|
-
}];
|
|
35
|
-
readonly stateMutability: "nonpayable";
|
|
36
|
-
readonly type: "function";
|
|
37
|
-
}, {
|
|
38
|
-
readonly inputs: readonly [{
|
|
39
|
-
readonly internalType: "address";
|
|
40
|
-
readonly name: "owner";
|
|
41
|
-
readonly type: "address";
|
|
42
|
-
}, {
|
|
43
|
-
readonly internalType: "uint256";
|
|
44
|
-
readonly name: "salt";
|
|
45
|
-
readonly type: "uint256";
|
|
46
|
-
}];
|
|
47
|
-
readonly name: "getAddress";
|
|
48
|
-
readonly outputs: readonly [{
|
|
49
|
-
readonly internalType: "address";
|
|
50
|
-
readonly name: "";
|
|
51
|
-
readonly type: "address";
|
|
52
|
-
}];
|
|
53
|
-
readonly stateMutability: "view";
|
|
54
|
-
readonly type: "function";
|
|
55
|
-
}];
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export const LightAccountFactoryAbi_V1_1_0 = [
|
|
2
|
-
{
|
|
3
|
-
inputs: [
|
|
4
|
-
{
|
|
5
|
-
internalType: "contract IEntryPoint",
|
|
6
|
-
name: "_entryPoint",
|
|
7
|
-
type: "address",
|
|
8
|
-
},
|
|
9
|
-
],
|
|
10
|
-
stateMutability: "nonpayable",
|
|
11
|
-
type: "constructor",
|
|
12
|
-
},
|
|
13
|
-
{
|
|
14
|
-
inputs: [],
|
|
15
|
-
name: "accountImplementation",
|
|
16
|
-
outputs: [
|
|
17
|
-
{ internalType: "contract LightAccount", name: "", type: "address" },
|
|
18
|
-
],
|
|
19
|
-
stateMutability: "view",
|
|
20
|
-
type: "function",
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
inputs: [
|
|
24
|
-
{ internalType: "address", name: "owner", type: "address" },
|
|
25
|
-
{ internalType: "uint256", name: "salt", type: "uint256" },
|
|
26
|
-
],
|
|
27
|
-
name: "createAccount",
|
|
28
|
-
outputs: [
|
|
29
|
-
{ internalType: "contract LightAccount", name: "ret", type: "address" },
|
|
30
|
-
],
|
|
31
|
-
stateMutability: "nonpayable",
|
|
32
|
-
type: "function",
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
inputs: [
|
|
36
|
-
{ internalType: "address", name: "owner", type: "address" },
|
|
37
|
-
{ internalType: "uint256", name: "salt", type: "uint256" },
|
|
38
|
-
],
|
|
39
|
-
name: "getAddress",
|
|
40
|
-
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
41
|
-
stateMutability: "view",
|
|
42
|
-
type: "function",
|
|
43
|
-
},
|
|
44
|
-
];
|
|
45
|
-
//# sourceMappingURL=LightAccountFactoryAbi_V1_1_0.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"LightAccountFactoryAbi_V1_1_0.js","sourceRoot":"","sources":["../../../src/abi/LightAccountFactoryAbi_V1_1_0.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,6BAA6B,GAAG;IAC3C;QACE,MAAM,EAAE;YACN;gBACE,YAAY,EAAE,sBAAsB;gBACpC,IAAI,EAAE,aAAa;gBACnB,IAAI,EAAE,SAAS;aAChB;SACF;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,aAAa;KACpB;IACD;QACE,MAAM,EAAE,EAAE;QACV,IAAI,EAAE,uBAAuB;QAC7B,OAAO,EAAE;YACP,EAAE,YAAY,EAAE,uBAAuB,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;SACrE;QACD,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE;YAC3D,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE;SAC3D;QACD,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE;YACP,EAAE,YAAY,EAAE,uBAAuB,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE;SACxE;QACD,eAAe,EAAE,YAAY;QAC7B,IAAI,EAAE,UAAU;KACjB;IACD;QACE,MAAM,EAAE;YACN,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,SAAS,EAAE;YAC3D,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,SAAS,EAAE;SAC3D;QACD,IAAI,EAAE,YAAY;QAClB,OAAO,EAAE,CAAC,EAAE,YAAY,EAAE,SAAS,EAAE,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC;QACjE,eAAe,EAAE,MAAM;QACvB,IAAI,EAAE,UAAU;KACjB;CACO,CAAC","sourcesContent":["export const LightAccountFactoryAbi_V1_1_0 = [\n {\n inputs: [\n {\n internalType: \"contract IEntryPoint\",\n name: \"_entryPoint\",\n type: \"address\",\n },\n ],\n stateMutability: \"nonpayable\",\n type: \"constructor\",\n },\n {\n inputs: [],\n name: \"accountImplementation\",\n outputs: [\n { internalType: \"contract LightAccount\", name: \"\", type: \"address\" },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address\", name: \"owner\", type: \"address\" },\n { internalType: \"uint256\", name: \"salt\", type: \"uint256\" },\n ],\n name: \"createAccount\",\n outputs: [\n { internalType: \"contract LightAccount\", name: \"ret\", type: \"address\" },\n ],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n { internalType: \"address\", name: \"owner\", type: \"address\" },\n { internalType: \"uint256\", name: \"salt\", type: \"uint256\" },\n ],\n name: \"getAddress\",\n outputs: [{ internalType: \"address\", name: \"\", type: \"address\" }],\n stateMutability: \"view\",\n type: \"function\",\n },\n] as const;\n"]}
|
|
@@ -1,256 +0,0 @@
|
|
|
1
|
-
export declare const LightAccountFactoryAbi_V2_0_0: readonly [{
|
|
2
|
-
readonly inputs: readonly [{
|
|
3
|
-
readonly internalType: "address";
|
|
4
|
-
readonly name: "owner";
|
|
5
|
-
readonly type: "address";
|
|
6
|
-
}, {
|
|
7
|
-
readonly internalType: "contract IEntryPoint";
|
|
8
|
-
readonly name: "entryPoint";
|
|
9
|
-
readonly type: "address";
|
|
10
|
-
}];
|
|
11
|
-
readonly stateMutability: "nonpayable";
|
|
12
|
-
readonly type: "constructor";
|
|
13
|
-
}, {
|
|
14
|
-
readonly inputs: readonly [{
|
|
15
|
-
readonly internalType: "address";
|
|
16
|
-
readonly name: "target";
|
|
17
|
-
readonly type: "address";
|
|
18
|
-
}];
|
|
19
|
-
readonly name: "AddressEmptyCode";
|
|
20
|
-
readonly type: "error";
|
|
21
|
-
}, {
|
|
22
|
-
readonly inputs: readonly [{
|
|
23
|
-
readonly internalType: "address";
|
|
24
|
-
readonly name: "account";
|
|
25
|
-
readonly type: "address";
|
|
26
|
-
}];
|
|
27
|
-
readonly name: "AddressInsufficientBalance";
|
|
28
|
-
readonly type: "error";
|
|
29
|
-
}, {
|
|
30
|
-
readonly inputs: readonly [];
|
|
31
|
-
readonly name: "FailedInnerCall";
|
|
32
|
-
readonly type: "error";
|
|
33
|
-
}, {
|
|
34
|
-
readonly inputs: readonly [];
|
|
35
|
-
readonly name: "InvalidAction";
|
|
36
|
-
readonly type: "error";
|
|
37
|
-
}, {
|
|
38
|
-
readonly inputs: readonly [{
|
|
39
|
-
readonly internalType: "address";
|
|
40
|
-
readonly name: "entryPoint";
|
|
41
|
-
readonly type: "address";
|
|
42
|
-
}];
|
|
43
|
-
readonly name: "InvalidEntryPoint";
|
|
44
|
-
readonly type: "error";
|
|
45
|
-
}, {
|
|
46
|
-
readonly inputs: readonly [{
|
|
47
|
-
readonly internalType: "address";
|
|
48
|
-
readonly name: "owner";
|
|
49
|
-
readonly type: "address";
|
|
50
|
-
}];
|
|
51
|
-
readonly name: "OwnableInvalidOwner";
|
|
52
|
-
readonly type: "error";
|
|
53
|
-
}, {
|
|
54
|
-
readonly inputs: readonly [{
|
|
55
|
-
readonly internalType: "address";
|
|
56
|
-
readonly name: "account";
|
|
57
|
-
readonly type: "address";
|
|
58
|
-
}];
|
|
59
|
-
readonly name: "OwnableUnauthorizedAccount";
|
|
60
|
-
readonly type: "error";
|
|
61
|
-
}, {
|
|
62
|
-
readonly inputs: readonly [{
|
|
63
|
-
readonly internalType: "address";
|
|
64
|
-
readonly name: "token";
|
|
65
|
-
readonly type: "address";
|
|
66
|
-
}];
|
|
67
|
-
readonly name: "SafeERC20FailedOperation";
|
|
68
|
-
readonly type: "error";
|
|
69
|
-
}, {
|
|
70
|
-
readonly inputs: readonly [];
|
|
71
|
-
readonly name: "TransferFailed";
|
|
72
|
-
readonly type: "error";
|
|
73
|
-
}, {
|
|
74
|
-
readonly inputs: readonly [];
|
|
75
|
-
readonly name: "ZeroAddressNotAllowed";
|
|
76
|
-
readonly type: "error";
|
|
77
|
-
}, {
|
|
78
|
-
readonly anonymous: false;
|
|
79
|
-
readonly inputs: readonly [{
|
|
80
|
-
readonly indexed: true;
|
|
81
|
-
readonly internalType: "address";
|
|
82
|
-
readonly name: "previousOwner";
|
|
83
|
-
readonly type: "address";
|
|
84
|
-
}, {
|
|
85
|
-
readonly indexed: true;
|
|
86
|
-
readonly internalType: "address";
|
|
87
|
-
readonly name: "newOwner";
|
|
88
|
-
readonly type: "address";
|
|
89
|
-
}];
|
|
90
|
-
readonly name: "OwnershipTransferStarted";
|
|
91
|
-
readonly type: "event";
|
|
92
|
-
}, {
|
|
93
|
-
readonly anonymous: false;
|
|
94
|
-
readonly inputs: readonly [{
|
|
95
|
-
readonly indexed: true;
|
|
96
|
-
readonly internalType: "address";
|
|
97
|
-
readonly name: "previousOwner";
|
|
98
|
-
readonly type: "address";
|
|
99
|
-
}, {
|
|
100
|
-
readonly indexed: true;
|
|
101
|
-
readonly internalType: "address";
|
|
102
|
-
readonly name: "newOwner";
|
|
103
|
-
readonly type: "address";
|
|
104
|
-
}];
|
|
105
|
-
readonly name: "OwnershipTransferred";
|
|
106
|
-
readonly type: "event";
|
|
107
|
-
}, {
|
|
108
|
-
readonly inputs: readonly [];
|
|
109
|
-
readonly name: "ACCOUNT_IMPLEMENTATION";
|
|
110
|
-
readonly outputs: readonly [{
|
|
111
|
-
readonly internalType: "contract LightAccount";
|
|
112
|
-
readonly name: "";
|
|
113
|
-
readonly type: "address";
|
|
114
|
-
}];
|
|
115
|
-
readonly stateMutability: "view";
|
|
116
|
-
readonly type: "function";
|
|
117
|
-
}, {
|
|
118
|
-
readonly inputs: readonly [];
|
|
119
|
-
readonly name: "ENTRY_POINT";
|
|
120
|
-
readonly outputs: readonly [{
|
|
121
|
-
readonly internalType: "contract IEntryPoint";
|
|
122
|
-
readonly name: "";
|
|
123
|
-
readonly type: "address";
|
|
124
|
-
}];
|
|
125
|
-
readonly stateMutability: "view";
|
|
126
|
-
readonly type: "function";
|
|
127
|
-
}, {
|
|
128
|
-
readonly inputs: readonly [];
|
|
129
|
-
readonly name: "acceptOwnership";
|
|
130
|
-
readonly outputs: readonly [];
|
|
131
|
-
readonly stateMutability: "nonpayable";
|
|
132
|
-
readonly type: "function";
|
|
133
|
-
}, {
|
|
134
|
-
readonly inputs: readonly [{
|
|
135
|
-
readonly internalType: "uint32";
|
|
136
|
-
readonly name: "unstakeDelay";
|
|
137
|
-
readonly type: "uint32";
|
|
138
|
-
}, {
|
|
139
|
-
readonly internalType: "uint256";
|
|
140
|
-
readonly name: "amount";
|
|
141
|
-
readonly type: "uint256";
|
|
142
|
-
}];
|
|
143
|
-
readonly name: "addStake";
|
|
144
|
-
readonly outputs: readonly [];
|
|
145
|
-
readonly stateMutability: "payable";
|
|
146
|
-
readonly type: "function";
|
|
147
|
-
}, {
|
|
148
|
-
readonly inputs: readonly [{
|
|
149
|
-
readonly internalType: "address";
|
|
150
|
-
readonly name: "owner";
|
|
151
|
-
readonly type: "address";
|
|
152
|
-
}, {
|
|
153
|
-
readonly internalType: "uint256";
|
|
154
|
-
readonly name: "salt";
|
|
155
|
-
readonly type: "uint256";
|
|
156
|
-
}];
|
|
157
|
-
readonly name: "createAccount";
|
|
158
|
-
readonly outputs: readonly [{
|
|
159
|
-
readonly internalType: "contract LightAccount";
|
|
160
|
-
readonly name: "account";
|
|
161
|
-
readonly type: "address";
|
|
162
|
-
}];
|
|
163
|
-
readonly stateMutability: "nonpayable";
|
|
164
|
-
readonly type: "function";
|
|
165
|
-
}, {
|
|
166
|
-
readonly inputs: readonly [{
|
|
167
|
-
readonly internalType: "address";
|
|
168
|
-
readonly name: "owner";
|
|
169
|
-
readonly type: "address";
|
|
170
|
-
}, {
|
|
171
|
-
readonly internalType: "uint256";
|
|
172
|
-
readonly name: "salt";
|
|
173
|
-
readonly type: "uint256";
|
|
174
|
-
}];
|
|
175
|
-
readonly name: "getAddress";
|
|
176
|
-
readonly outputs: readonly [{
|
|
177
|
-
readonly internalType: "address";
|
|
178
|
-
readonly name: "";
|
|
179
|
-
readonly type: "address";
|
|
180
|
-
}];
|
|
181
|
-
readonly stateMutability: "view";
|
|
182
|
-
readonly type: "function";
|
|
183
|
-
}, {
|
|
184
|
-
readonly inputs: readonly [];
|
|
185
|
-
readonly name: "owner";
|
|
186
|
-
readonly outputs: readonly [{
|
|
187
|
-
readonly internalType: "address";
|
|
188
|
-
readonly name: "";
|
|
189
|
-
readonly type: "address";
|
|
190
|
-
}];
|
|
191
|
-
readonly stateMutability: "view";
|
|
192
|
-
readonly type: "function";
|
|
193
|
-
}, {
|
|
194
|
-
readonly inputs: readonly [];
|
|
195
|
-
readonly name: "pendingOwner";
|
|
196
|
-
readonly outputs: readonly [{
|
|
197
|
-
readonly internalType: "address";
|
|
198
|
-
readonly name: "";
|
|
199
|
-
readonly type: "address";
|
|
200
|
-
}];
|
|
201
|
-
readonly stateMutability: "view";
|
|
202
|
-
readonly type: "function";
|
|
203
|
-
}, {
|
|
204
|
-
readonly inputs: readonly [];
|
|
205
|
-
readonly name: "renounceOwnership";
|
|
206
|
-
readonly outputs: readonly [];
|
|
207
|
-
readonly stateMutability: "view";
|
|
208
|
-
readonly type: "function";
|
|
209
|
-
}, {
|
|
210
|
-
readonly inputs: readonly [{
|
|
211
|
-
readonly internalType: "address";
|
|
212
|
-
readonly name: "newOwner";
|
|
213
|
-
readonly type: "address";
|
|
214
|
-
}];
|
|
215
|
-
readonly name: "transferOwnership";
|
|
216
|
-
readonly outputs: readonly [];
|
|
217
|
-
readonly stateMutability: "nonpayable";
|
|
218
|
-
readonly type: "function";
|
|
219
|
-
}, {
|
|
220
|
-
readonly inputs: readonly [];
|
|
221
|
-
readonly name: "unlockStake";
|
|
222
|
-
readonly outputs: readonly [];
|
|
223
|
-
readonly stateMutability: "nonpayable";
|
|
224
|
-
readonly type: "function";
|
|
225
|
-
}, {
|
|
226
|
-
readonly inputs: readonly [{
|
|
227
|
-
readonly internalType: "address payable";
|
|
228
|
-
readonly name: "to";
|
|
229
|
-
readonly type: "address";
|
|
230
|
-
}, {
|
|
231
|
-
readonly internalType: "address";
|
|
232
|
-
readonly name: "token";
|
|
233
|
-
readonly type: "address";
|
|
234
|
-
}, {
|
|
235
|
-
readonly internalType: "uint256";
|
|
236
|
-
readonly name: "amount";
|
|
237
|
-
readonly type: "uint256";
|
|
238
|
-
}];
|
|
239
|
-
readonly name: "withdraw";
|
|
240
|
-
readonly outputs: readonly [];
|
|
241
|
-
readonly stateMutability: "nonpayable";
|
|
242
|
-
readonly type: "function";
|
|
243
|
-
}, {
|
|
244
|
-
readonly inputs: readonly [{
|
|
245
|
-
readonly internalType: "address payable";
|
|
246
|
-
readonly name: "to";
|
|
247
|
-
readonly type: "address";
|
|
248
|
-
}];
|
|
249
|
-
readonly name: "withdrawStake";
|
|
250
|
-
readonly outputs: readonly [];
|
|
251
|
-
readonly stateMutability: "nonpayable";
|
|
252
|
-
readonly type: "function";
|
|
253
|
-
}, {
|
|
254
|
-
readonly stateMutability: "payable";
|
|
255
|
-
readonly type: "receive";
|
|
256
|
-
}];
|