@account-kit/wallet-client 4.51.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
|
@@ -1,247 +0,0 @@
|
|
|
1
|
-
export declare const MultisigModularAccountFactoryAbi_V1_0_0: readonly [{
|
|
2
|
-
readonly inputs: readonly [{
|
|
3
|
-
readonly internalType: "address";
|
|
4
|
-
readonly name: "owner";
|
|
5
|
-
readonly type: "address";
|
|
6
|
-
}, {
|
|
7
|
-
readonly internalType: "address";
|
|
8
|
-
readonly name: "multisigPlugin";
|
|
9
|
-
readonly type: "address";
|
|
10
|
-
}, {
|
|
11
|
-
readonly internalType: "address";
|
|
12
|
-
readonly name: "implementation";
|
|
13
|
-
readonly type: "address";
|
|
14
|
-
}, {
|
|
15
|
-
readonly internalType: "bytes32";
|
|
16
|
-
readonly name: "multisigPluginManifestHash";
|
|
17
|
-
readonly type: "bytes32";
|
|
18
|
-
}, {
|
|
19
|
-
readonly internalType: "contract IEntryPoint";
|
|
20
|
-
readonly name: "entryPoint";
|
|
21
|
-
readonly type: "address";
|
|
22
|
-
}];
|
|
23
|
-
readonly stateMutability: "nonpayable";
|
|
24
|
-
readonly type: "constructor";
|
|
25
|
-
}, {
|
|
26
|
-
readonly inputs: readonly [];
|
|
27
|
-
readonly name: "InvalidAction";
|
|
28
|
-
readonly type: "error";
|
|
29
|
-
}, {
|
|
30
|
-
readonly inputs: readonly [];
|
|
31
|
-
readonly name: "InvalidOwner";
|
|
32
|
-
readonly type: "error";
|
|
33
|
-
}, {
|
|
34
|
-
readonly inputs: readonly [];
|
|
35
|
-
readonly name: "InvalidThreshold";
|
|
36
|
-
readonly type: "error";
|
|
37
|
-
}, {
|
|
38
|
-
readonly inputs: readonly [];
|
|
39
|
-
readonly name: "OwnersArrayEmpty";
|
|
40
|
-
readonly type: "error";
|
|
41
|
-
}, {
|
|
42
|
-
readonly inputs: readonly [];
|
|
43
|
-
readonly name: "OwnersLimitExceeded";
|
|
44
|
-
readonly type: "error";
|
|
45
|
-
}, {
|
|
46
|
-
readonly inputs: readonly [];
|
|
47
|
-
readonly name: "TransferFailed";
|
|
48
|
-
readonly type: "error";
|
|
49
|
-
}, {
|
|
50
|
-
readonly anonymous: false;
|
|
51
|
-
readonly inputs: readonly [{
|
|
52
|
-
readonly indexed: true;
|
|
53
|
-
readonly internalType: "address";
|
|
54
|
-
readonly name: "previousOwner";
|
|
55
|
-
readonly type: "address";
|
|
56
|
-
}, {
|
|
57
|
-
readonly indexed: true;
|
|
58
|
-
readonly internalType: "address";
|
|
59
|
-
readonly name: "newOwner";
|
|
60
|
-
readonly type: "address";
|
|
61
|
-
}];
|
|
62
|
-
readonly name: "OwnershipTransferStarted";
|
|
63
|
-
readonly type: "event";
|
|
64
|
-
}, {
|
|
65
|
-
readonly anonymous: false;
|
|
66
|
-
readonly inputs: readonly [{
|
|
67
|
-
readonly indexed: true;
|
|
68
|
-
readonly internalType: "address";
|
|
69
|
-
readonly name: "previousOwner";
|
|
70
|
-
readonly type: "address";
|
|
71
|
-
}, {
|
|
72
|
-
readonly indexed: true;
|
|
73
|
-
readonly internalType: "address";
|
|
74
|
-
readonly name: "newOwner";
|
|
75
|
-
readonly type: "address";
|
|
76
|
-
}];
|
|
77
|
-
readonly name: "OwnershipTransferred";
|
|
78
|
-
readonly type: "event";
|
|
79
|
-
}, {
|
|
80
|
-
readonly inputs: readonly [];
|
|
81
|
-
readonly name: "ENTRYPOINT";
|
|
82
|
-
readonly outputs: readonly [{
|
|
83
|
-
readonly internalType: "contract IEntryPoint";
|
|
84
|
-
readonly name: "";
|
|
85
|
-
readonly type: "address";
|
|
86
|
-
}];
|
|
87
|
-
readonly stateMutability: "view";
|
|
88
|
-
readonly type: "function";
|
|
89
|
-
}, {
|
|
90
|
-
readonly inputs: readonly [];
|
|
91
|
-
readonly name: "IMPL";
|
|
92
|
-
readonly outputs: readonly [{
|
|
93
|
-
readonly internalType: "address";
|
|
94
|
-
readonly name: "";
|
|
95
|
-
readonly type: "address";
|
|
96
|
-
}];
|
|
97
|
-
readonly stateMutability: "view";
|
|
98
|
-
readonly type: "function";
|
|
99
|
-
}, {
|
|
100
|
-
readonly inputs: readonly [];
|
|
101
|
-
readonly name: "MULTISIG_PLUGIN";
|
|
102
|
-
readonly outputs: readonly [{
|
|
103
|
-
readonly internalType: "address";
|
|
104
|
-
readonly name: "";
|
|
105
|
-
readonly type: "address";
|
|
106
|
-
}];
|
|
107
|
-
readonly stateMutability: "view";
|
|
108
|
-
readonly type: "function";
|
|
109
|
-
}, {
|
|
110
|
-
readonly inputs: readonly [];
|
|
111
|
-
readonly name: "acceptOwnership";
|
|
112
|
-
readonly outputs: readonly [];
|
|
113
|
-
readonly stateMutability: "nonpayable";
|
|
114
|
-
readonly type: "function";
|
|
115
|
-
}, {
|
|
116
|
-
readonly inputs: readonly [{
|
|
117
|
-
readonly internalType: "uint32";
|
|
118
|
-
readonly name: "unstakeDelay";
|
|
119
|
-
readonly type: "uint32";
|
|
120
|
-
}, {
|
|
121
|
-
readonly internalType: "uint256";
|
|
122
|
-
readonly name: "amount";
|
|
123
|
-
readonly type: "uint256";
|
|
124
|
-
}];
|
|
125
|
-
readonly name: "addStake";
|
|
126
|
-
readonly outputs: readonly [];
|
|
127
|
-
readonly stateMutability: "payable";
|
|
128
|
-
readonly type: "function";
|
|
129
|
-
}, {
|
|
130
|
-
readonly inputs: readonly [{
|
|
131
|
-
readonly internalType: "uint256";
|
|
132
|
-
readonly name: "salt";
|
|
133
|
-
readonly type: "uint256";
|
|
134
|
-
}, {
|
|
135
|
-
readonly internalType: "address[]";
|
|
136
|
-
readonly name: "owners";
|
|
137
|
-
readonly type: "address[]";
|
|
138
|
-
}, {
|
|
139
|
-
readonly internalType: "uint128";
|
|
140
|
-
readonly name: "threshold";
|
|
141
|
-
readonly type: "uint128";
|
|
142
|
-
}];
|
|
143
|
-
readonly name: "createAccount";
|
|
144
|
-
readonly outputs: readonly [{
|
|
145
|
-
readonly internalType: "address";
|
|
146
|
-
readonly name: "addr";
|
|
147
|
-
readonly type: "address";
|
|
148
|
-
}];
|
|
149
|
-
readonly stateMutability: "nonpayable";
|
|
150
|
-
readonly type: "function";
|
|
151
|
-
}, {
|
|
152
|
-
readonly inputs: readonly [{
|
|
153
|
-
readonly internalType: "uint256";
|
|
154
|
-
readonly name: "salt";
|
|
155
|
-
readonly type: "uint256";
|
|
156
|
-
}, {
|
|
157
|
-
readonly internalType: "address[]";
|
|
158
|
-
readonly name: "owners";
|
|
159
|
-
readonly type: "address[]";
|
|
160
|
-
}, {
|
|
161
|
-
readonly internalType: "uint128";
|
|
162
|
-
readonly name: "threshold";
|
|
163
|
-
readonly type: "uint128";
|
|
164
|
-
}];
|
|
165
|
-
readonly name: "getAddress";
|
|
166
|
-
readonly outputs: readonly [{
|
|
167
|
-
readonly internalType: "address";
|
|
168
|
-
readonly name: "";
|
|
169
|
-
readonly type: "address";
|
|
170
|
-
}];
|
|
171
|
-
readonly stateMutability: "view";
|
|
172
|
-
readonly type: "function";
|
|
173
|
-
}, {
|
|
174
|
-
readonly inputs: readonly [];
|
|
175
|
-
readonly name: "owner";
|
|
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: "pendingOwner";
|
|
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: "renounceOwnership";
|
|
196
|
-
readonly outputs: readonly [];
|
|
197
|
-
readonly stateMutability: "view";
|
|
198
|
-
readonly type: "function";
|
|
199
|
-
}, {
|
|
200
|
-
readonly inputs: readonly [{
|
|
201
|
-
readonly internalType: "address";
|
|
202
|
-
readonly name: "newOwner";
|
|
203
|
-
readonly type: "address";
|
|
204
|
-
}];
|
|
205
|
-
readonly name: "transferOwnership";
|
|
206
|
-
readonly outputs: readonly [];
|
|
207
|
-
readonly stateMutability: "nonpayable";
|
|
208
|
-
readonly type: "function";
|
|
209
|
-
}, {
|
|
210
|
-
readonly inputs: readonly [];
|
|
211
|
-
readonly name: "unlockStake";
|
|
212
|
-
readonly outputs: readonly [];
|
|
213
|
-
readonly stateMutability: "nonpayable";
|
|
214
|
-
readonly type: "function";
|
|
215
|
-
}, {
|
|
216
|
-
readonly inputs: readonly [{
|
|
217
|
-
readonly internalType: "address payable";
|
|
218
|
-
readonly name: "to";
|
|
219
|
-
readonly type: "address";
|
|
220
|
-
}, {
|
|
221
|
-
readonly internalType: "address";
|
|
222
|
-
readonly name: "token";
|
|
223
|
-
readonly type: "address";
|
|
224
|
-
}, {
|
|
225
|
-
readonly internalType: "uint256";
|
|
226
|
-
readonly name: "amount";
|
|
227
|
-
readonly type: "uint256";
|
|
228
|
-
}];
|
|
229
|
-
readonly name: "withdraw";
|
|
230
|
-
readonly outputs: readonly [];
|
|
231
|
-
readonly stateMutability: "nonpayable";
|
|
232
|
-
readonly type: "function";
|
|
233
|
-
}, {
|
|
234
|
-
readonly inputs: readonly [{
|
|
235
|
-
readonly internalType: "address payable";
|
|
236
|
-
readonly name: "to";
|
|
237
|
-
readonly type: "address";
|
|
238
|
-
}];
|
|
239
|
-
readonly name: "withdrawStake";
|
|
240
|
-
readonly outputs: readonly [];
|
|
241
|
-
readonly stateMutability: "nonpayable";
|
|
242
|
-
readonly type: "function";
|
|
243
|
-
}, {
|
|
244
|
-
readonly stateMutability: "payable";
|
|
245
|
-
readonly type: "receive";
|
|
246
|
-
}];
|
|
247
|
-
//# sourceMappingURL=MultisigModularAccountFactoryAbi_V1_0_0.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"MultisigModularAccountFactoryAbi_V1_0_0.d.ts","sourceRoot":"","sources":["../../../src/abi/MultisigModularAccountFactoryAbi_V1_0_0.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uCAAuC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoL1C,CAAC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { LightAccountFactoryAbi_V1_0_1 } from "./LightAccountFactoryAbi_V1_0_1.js";
|
|
2
|
-
export { LightAccountFactoryAbi_V1_0_2 } from "./LightAccountFactoryAbi_V1_0_2.js";
|
|
3
|
-
export { LightAccountFactoryAbi_V1_1_0 } from "./LightAccountFactoryAbi_V1_1_0.js";
|
|
4
|
-
export { LightAccountFactoryAbi_V2_0_0 } from "./LightAccountFactoryAbi_V2_0_0.js";
|
|
5
|
-
export { ModularAccountFactoryAbi_V2_0_0 } from "./ModularAccountFactoryAbi_V2_0_0.js";
|
|
6
|
-
export { MultiOwnerLightAccountFactoryAbi_V2_0_0 } from "./MultiOwnerLightAccountFactoryAbi_V2_0_0.js";
|
|
7
|
-
export { MultiOwnerModularAccountFactoryAbi_V1_0_0 } from "./MultiOwnerModularAccountFactoryAbi_V1_0_0.js";
|
|
8
|
-
export { MultisigModularAccountFactoryAbi_V1_0_0 } from "./MultisigModularAccountFactoryAbi_V1_0_0.js";
|
|
9
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/abi/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,6BAA6B,EAAE,MAAM,oCAAoC,CAAC;AACnF,OAAO,EAAE,+BAA+B,EAAE,MAAM,sCAAsC,CAAC;AACvF,OAAO,EAAE,uCAAuC,EAAE,MAAM,8CAA8C,CAAC;AACvG,OAAO,EAAE,yCAAyC,EAAE,MAAM,gDAAgD,CAAC;AAC3G,OAAO,EAAE,uCAAuC,EAAE,MAAM,8CAA8C,CAAC"}
|
|
@@ -1,44 +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
|
-
] as const;
|
|
@@ -1,44 +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
|
-
] as const;
|
|
@@ -1,44 +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
|
-
] as const;
|
|
@@ -1,201 +0,0 @@
|
|
|
1
|
-
export const LightAccountFactoryAbi_V2_0_0 = [
|
|
2
|
-
{
|
|
3
|
-
inputs: [
|
|
4
|
-
{ internalType: "address", name: "owner", type: "address" },
|
|
5
|
-
{
|
|
6
|
-
internalType: "contract IEntryPoint",
|
|
7
|
-
name: "entryPoint",
|
|
8
|
-
type: "address",
|
|
9
|
-
},
|
|
10
|
-
],
|
|
11
|
-
stateMutability: "nonpayable",
|
|
12
|
-
type: "constructor",
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
inputs: [{ internalType: "address", name: "target", type: "address" }],
|
|
16
|
-
name: "AddressEmptyCode",
|
|
17
|
-
type: "error",
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
inputs: [{ internalType: "address", name: "account", type: "address" }],
|
|
21
|
-
name: "AddressInsufficientBalance",
|
|
22
|
-
type: "error",
|
|
23
|
-
},
|
|
24
|
-
{ inputs: [], name: "FailedInnerCall", type: "error" },
|
|
25
|
-
{ inputs: [], name: "InvalidAction", type: "error" },
|
|
26
|
-
{
|
|
27
|
-
inputs: [{ internalType: "address", name: "entryPoint", type: "address" }],
|
|
28
|
-
name: "InvalidEntryPoint",
|
|
29
|
-
type: "error",
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
inputs: [{ internalType: "address", name: "owner", type: "address" }],
|
|
33
|
-
name: "OwnableInvalidOwner",
|
|
34
|
-
type: "error",
|
|
35
|
-
},
|
|
36
|
-
{
|
|
37
|
-
inputs: [{ internalType: "address", name: "account", type: "address" }],
|
|
38
|
-
name: "OwnableUnauthorizedAccount",
|
|
39
|
-
type: "error",
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
inputs: [{ internalType: "address", name: "token", type: "address" }],
|
|
43
|
-
name: "SafeERC20FailedOperation",
|
|
44
|
-
type: "error",
|
|
45
|
-
},
|
|
46
|
-
{ inputs: [], name: "TransferFailed", type: "error" },
|
|
47
|
-
{ inputs: [], name: "ZeroAddressNotAllowed", type: "error" },
|
|
48
|
-
{
|
|
49
|
-
anonymous: false,
|
|
50
|
-
inputs: [
|
|
51
|
-
{
|
|
52
|
-
indexed: true,
|
|
53
|
-
internalType: "address",
|
|
54
|
-
name: "previousOwner",
|
|
55
|
-
type: "address",
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
indexed: true,
|
|
59
|
-
internalType: "address",
|
|
60
|
-
name: "newOwner",
|
|
61
|
-
type: "address",
|
|
62
|
-
},
|
|
63
|
-
],
|
|
64
|
-
name: "OwnershipTransferStarted",
|
|
65
|
-
type: "event",
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
anonymous: false,
|
|
69
|
-
inputs: [
|
|
70
|
-
{
|
|
71
|
-
indexed: true,
|
|
72
|
-
internalType: "address",
|
|
73
|
-
name: "previousOwner",
|
|
74
|
-
type: "address",
|
|
75
|
-
},
|
|
76
|
-
{
|
|
77
|
-
indexed: true,
|
|
78
|
-
internalType: "address",
|
|
79
|
-
name: "newOwner",
|
|
80
|
-
type: "address",
|
|
81
|
-
},
|
|
82
|
-
],
|
|
83
|
-
name: "OwnershipTransferred",
|
|
84
|
-
type: "event",
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
inputs: [],
|
|
88
|
-
name: "ACCOUNT_IMPLEMENTATION",
|
|
89
|
-
outputs: [
|
|
90
|
-
{ internalType: "contract LightAccount", name: "", type: "address" },
|
|
91
|
-
],
|
|
92
|
-
stateMutability: "view",
|
|
93
|
-
type: "function",
|
|
94
|
-
},
|
|
95
|
-
{
|
|
96
|
-
inputs: [],
|
|
97
|
-
name: "ENTRY_POINT",
|
|
98
|
-
outputs: [
|
|
99
|
-
{ internalType: "contract IEntryPoint", name: "", type: "address" },
|
|
100
|
-
],
|
|
101
|
-
stateMutability: "view",
|
|
102
|
-
type: "function",
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
inputs: [],
|
|
106
|
-
name: "acceptOwnership",
|
|
107
|
-
outputs: [],
|
|
108
|
-
stateMutability: "nonpayable",
|
|
109
|
-
type: "function",
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
inputs: [
|
|
113
|
-
{ internalType: "uint32", name: "unstakeDelay", type: "uint32" },
|
|
114
|
-
{ internalType: "uint256", name: "amount", type: "uint256" },
|
|
115
|
-
],
|
|
116
|
-
name: "addStake",
|
|
117
|
-
outputs: [],
|
|
118
|
-
stateMutability: "payable",
|
|
119
|
-
type: "function",
|
|
120
|
-
},
|
|
121
|
-
{
|
|
122
|
-
inputs: [
|
|
123
|
-
{ internalType: "address", name: "owner", type: "address" },
|
|
124
|
-
{ internalType: "uint256", name: "salt", type: "uint256" },
|
|
125
|
-
],
|
|
126
|
-
name: "createAccount",
|
|
127
|
-
outputs: [
|
|
128
|
-
{
|
|
129
|
-
internalType: "contract LightAccount",
|
|
130
|
-
name: "account",
|
|
131
|
-
type: "address",
|
|
132
|
-
},
|
|
133
|
-
],
|
|
134
|
-
stateMutability: "nonpayable",
|
|
135
|
-
type: "function",
|
|
136
|
-
},
|
|
137
|
-
{
|
|
138
|
-
inputs: [
|
|
139
|
-
{ internalType: "address", name: "owner", type: "address" },
|
|
140
|
-
{ internalType: "uint256", name: "salt", type: "uint256" },
|
|
141
|
-
],
|
|
142
|
-
name: "getAddress",
|
|
143
|
-
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
144
|
-
stateMutability: "view",
|
|
145
|
-
type: "function",
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
inputs: [],
|
|
149
|
-
name: "owner",
|
|
150
|
-
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
151
|
-
stateMutability: "view",
|
|
152
|
-
type: "function",
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
inputs: [],
|
|
156
|
-
name: "pendingOwner",
|
|
157
|
-
outputs: [{ internalType: "address", name: "", type: "address" }],
|
|
158
|
-
stateMutability: "view",
|
|
159
|
-
type: "function",
|
|
160
|
-
},
|
|
161
|
-
{
|
|
162
|
-
inputs: [],
|
|
163
|
-
name: "renounceOwnership",
|
|
164
|
-
outputs: [],
|
|
165
|
-
stateMutability: "view",
|
|
166
|
-
type: "function",
|
|
167
|
-
},
|
|
168
|
-
{
|
|
169
|
-
inputs: [{ internalType: "address", name: "newOwner", type: "address" }],
|
|
170
|
-
name: "transferOwnership",
|
|
171
|
-
outputs: [],
|
|
172
|
-
stateMutability: "nonpayable",
|
|
173
|
-
type: "function",
|
|
174
|
-
},
|
|
175
|
-
{
|
|
176
|
-
inputs: [],
|
|
177
|
-
name: "unlockStake",
|
|
178
|
-
outputs: [],
|
|
179
|
-
stateMutability: "nonpayable",
|
|
180
|
-
type: "function",
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
inputs: [
|
|
184
|
-
{ internalType: "address payable", name: "to", type: "address" },
|
|
185
|
-
{ internalType: "address", name: "token", type: "address" },
|
|
186
|
-
{ internalType: "uint256", name: "amount", type: "uint256" },
|
|
187
|
-
],
|
|
188
|
-
name: "withdraw",
|
|
189
|
-
outputs: [],
|
|
190
|
-
stateMutability: "nonpayable",
|
|
191
|
-
type: "function",
|
|
192
|
-
},
|
|
193
|
-
{
|
|
194
|
-
inputs: [{ internalType: "address payable", name: "to", type: "address" }],
|
|
195
|
-
name: "withdrawStake",
|
|
196
|
-
outputs: [],
|
|
197
|
-
stateMutability: "nonpayable",
|
|
198
|
-
type: "function",
|
|
199
|
-
},
|
|
200
|
-
{ stateMutability: "payable", type: "receive" },
|
|
201
|
-
] as const;
|