@funkit/core 2.1.0 → 2.1.2-next.0

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.
@@ -2,36 +2,76 @@
2
2
  "name": "GaslessPaymaster",
3
3
  "abi": [
4
4
  {
5
- "inputs": [{ "internalType": "contractIEntryPoint", "name": "_entryPoint", "type": "address" }],
5
+ "inputs": [
6
+ {
7
+ "internalType": "contractIEntryPoint",
8
+ "name": "_entryPoint",
9
+ "type": "address"
10
+ }
11
+ ],
6
12
  "stateMutability": "nonpayable",
7
13
  "type": "constructor"
8
14
  },
9
15
  {
10
16
  "anonymous": false,
11
17
  "inputs": [
12
- { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" },
13
- { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }
18
+ {
19
+ "indexed": true,
20
+ "internalType": "address",
21
+ "name": "sponsor",
22
+ "type": "address"
23
+ },
24
+ {
25
+ "indexed": false,
26
+ "internalType": "uint256",
27
+ "name": "amount",
28
+ "type": "uint256"
29
+ }
14
30
  ],
15
31
  "name": "AddDepositTo",
16
32
  "type": "event"
17
33
  },
18
34
  {
19
35
  "anonymous": false,
20
- "inputs": [{ "indexed": false, "internalType": "bytes[]", "name": "data", "type": "bytes[]" }],
36
+ "inputs": [
37
+ {
38
+ "indexed": false,
39
+ "internalType": "bytes[]",
40
+ "name": "data",
41
+ "type": "bytes[]"
42
+ }
43
+ ],
21
44
  "name": "BatchActions",
22
45
  "type": "event"
23
46
  },
24
47
  {
25
48
  "anonymous": false,
26
- "inputs": [{ "indexed": true, "internalType": "address", "name": "locker", "type": "address" }],
49
+ "inputs": [
50
+ {
51
+ "indexed": true,
52
+ "internalType": "address",
53
+ "name": "locker",
54
+ "type": "address"
55
+ }
56
+ ],
27
57
  "name": "LockDeposit",
28
58
  "type": "event"
29
59
  },
30
60
  {
31
61
  "anonymous": false,
32
62
  "inputs": [
33
- { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" },
34
- { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }
63
+ {
64
+ "indexed": true,
65
+ "internalType": "address",
66
+ "name": "previousOwner",
67
+ "type": "address"
68
+ },
69
+ {
70
+ "indexed": true,
71
+ "internalType": "address",
72
+ "name": "newOwner",
73
+ "type": "address"
74
+ }
35
75
  ],
36
76
  "name": "OwnershipTransferStarted",
37
77
  "type": "event"
@@ -39,25 +79,62 @@
39
79
  {
40
80
  "anonymous": false,
41
81
  "inputs": [
42
- { "indexed": true, "internalType": "address", "name": "previousOwner", "type": "address" },
43
- { "indexed": true, "internalType": "address", "name": "newOwner", "type": "address" }
82
+ {
83
+ "indexed": true,
84
+ "internalType": "address",
85
+ "name": "previousOwner",
86
+ "type": "address"
87
+ },
88
+ {
89
+ "indexed": true,
90
+ "internalType": "address",
91
+ "name": "newOwner",
92
+ "type": "address"
93
+ }
44
94
  ],
45
95
  "name": "OwnershipTransferred",
46
96
  "type": "event"
47
97
  },
48
98
  {
49
99
  "anonymous": false,
50
- "inputs": [{ "indexed": false, "internalType": "contractIEntryPoint", "name": "entryPoint", "type": "address" }],
100
+ "inputs": [
101
+ {
102
+ "indexed": false,
103
+ "internalType": "contractIEntryPoint",
104
+ "name": "entryPoint",
105
+ "type": "address"
106
+ }
107
+ ],
51
108
  "name": "PaymasterCreated",
52
109
  "type": "event"
53
110
  },
54
111
  {
55
112
  "anonymous": false,
56
113
  "inputs": [
57
- { "indexed": true, "internalType": "bytes32", "name": "opHash", "type": "bytes32" },
58
- { "indexed": true, "internalType": "address", "name": "spender", "type": "address" },
59
- { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" },
60
- { "indexed": false, "internalType": "uint256", "name": "sponsorCost", "type": "uint256" }
114
+ {
115
+ "indexed": true,
116
+ "internalType": "bytes32",
117
+ "name": "opHash",
118
+ "type": "bytes32"
119
+ },
120
+ {
121
+ "indexed": true,
122
+ "internalType": "address",
123
+ "name": "spender",
124
+ "type": "address"
125
+ },
126
+ {
127
+ "indexed": true,
128
+ "internalType": "address",
129
+ "name": "sponsor",
130
+ "type": "address"
131
+ },
132
+ {
133
+ "indexed": false,
134
+ "internalType": "uint256",
135
+ "name": "sponsorCost",
136
+ "type": "uint256"
137
+ }
61
138
  ],
62
139
  "name": "PostOpGasPaid",
63
140
  "type": "event"
@@ -65,8 +142,18 @@
65
142
  {
66
143
  "anonymous": false,
67
144
  "inputs": [
68
- { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" },
69
- { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }
145
+ {
146
+ "indexed": true,
147
+ "internalType": "address",
148
+ "name": "sponsor",
149
+ "type": "address"
150
+ },
151
+ {
152
+ "indexed": false,
153
+ "internalType": "bool",
154
+ "name": "mode",
155
+ "type": "bool"
156
+ }
70
157
  ],
71
158
  "name": "SetListMode",
72
159
  "type": "event"
@@ -74,9 +161,24 @@
74
161
  {
75
162
  "anonymous": false,
76
163
  "inputs": [
77
- { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" },
78
- { "indexed": true, "internalType": "address", "name": "spender", "type": "address" },
79
- { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }
164
+ {
165
+ "indexed": true,
166
+ "internalType": "address",
167
+ "name": "sponsor",
168
+ "type": "address"
169
+ },
170
+ {
171
+ "indexed": true,
172
+ "internalType": "address",
173
+ "name": "spender",
174
+ "type": "address"
175
+ },
176
+ {
177
+ "indexed": false,
178
+ "internalType": "bool",
179
+ "name": "mode",
180
+ "type": "bool"
181
+ }
80
182
  ],
81
183
  "name": "SetSpenderBlacklistMode",
82
184
  "type": "event"
@@ -84,9 +186,24 @@
84
186
  {
85
187
  "anonymous": false,
86
188
  "inputs": [
87
- { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" },
88
- { "indexed": true, "internalType": "address", "name": "spender", "type": "address" },
89
- { "indexed": false, "internalType": "bool", "name": "mode", "type": "bool" }
189
+ {
190
+ "indexed": true,
191
+ "internalType": "address",
192
+ "name": "sponsor",
193
+ "type": "address"
194
+ },
195
+ {
196
+ "indexed": true,
197
+ "internalType": "address",
198
+ "name": "spender",
199
+ "type": "address"
200
+ },
201
+ {
202
+ "indexed": false,
203
+ "internalType": "bool",
204
+ "name": "mode",
205
+ "type": "bool"
206
+ }
90
207
  ],
91
208
  "name": "SetSpenderWhitelistMode",
92
209
  "type": "event"
@@ -94,8 +211,18 @@
94
211
  {
95
212
  "anonymous": false,
96
213
  "inputs": [
97
- { "indexed": true, "internalType": "address", "name": "locker", "type": "address" },
98
- { "indexed": false, "internalType": "uint256", "name": "unlockBlockNum", "type": "uint256" }
214
+ {
215
+ "indexed": true,
216
+ "internalType": "address",
217
+ "name": "locker",
218
+ "type": "address"
219
+ },
220
+ {
221
+ "indexed": false,
222
+ "internalType": "uint256",
223
+ "name": "unlockBlockNum",
224
+ "type": "uint256"
225
+ }
99
226
  ],
100
227
  "name": "UnlockDepositAfter",
101
228
  "type": "event"
@@ -103,9 +230,24 @@
103
230
  {
104
231
  "anonymous": false,
105
232
  "inputs": [
106
- { "indexed": true, "internalType": "address", "name": "sponsor", "type": "address" },
107
- { "indexed": true, "internalType": "address", "name": "target", "type": "address" },
108
- { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }
233
+ {
234
+ "indexed": true,
235
+ "internalType": "address",
236
+ "name": "sponsor",
237
+ "type": "address"
238
+ },
239
+ {
240
+ "indexed": true,
241
+ "internalType": "address",
242
+ "name": "target",
243
+ "type": "address"
244
+ },
245
+ {
246
+ "indexed": false,
247
+ "internalType": "uint256",
248
+ "name": "amount",
249
+ "type": "uint256"
250
+ }
109
251
  ],
110
252
  "name": "WithdrawDepositTo",
111
253
  "type": "event"
@@ -124,7 +266,13 @@
124
266
  "stateMutability": "view",
125
267
  "type": "function"
126
268
  },
127
- { "inputs": [], "name": "acceptOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" },
269
+ {
270
+ "inputs": [],
271
+ "name": "acceptOwnership",
272
+ "outputs": [],
273
+ "stateMutability": "nonpayable",
274
+ "type": "function"
275
+ },
128
276
  {
129
277
  "inputs": [
130
278
  { "internalType": "address", "name": "sponsor", "type": "address" },
@@ -136,14 +284,22 @@
136
284
  "type": "function"
137
285
  },
138
286
  {
139
- "inputs": [{ "internalType": "uint32", "name": "unstakeDelaySec", "type": "uint32" }],
287
+ "inputs": [
288
+ {
289
+ "internalType": "uint32",
290
+ "name": "unstakeDelaySec",
291
+ "type": "uint32"
292
+ }
293
+ ],
140
294
  "name": "addStakeToEntryPoint",
141
295
  "outputs": [],
142
296
  "stateMutability": "payable",
143
297
  "type": "function"
144
298
  },
145
299
  {
146
- "inputs": [{ "internalType": "bytes[]", "name": "data", "type": "bytes[]" }],
300
+ "inputs": [
301
+ { "internalType": "bytes[]", "name": "data", "type": "bytes[]" }
302
+ ],
147
303
  "name": "batchActions",
148
304
  "outputs": [],
149
305
  "stateMutability": "payable",
@@ -152,19 +308,25 @@
152
308
  {
153
309
  "inputs": [],
154
310
  "name": "entryPoint",
155
- "outputs": [{ "internalType": "contractIEntryPoint", "name": "", "type": "address" }],
311
+ "outputs": [
312
+ { "internalType": "contractIEntryPoint", "name": "", "type": "address" }
313
+ ],
156
314
  "stateMutability": "view",
157
315
  "type": "function"
158
316
  },
159
317
  {
160
- "inputs": [{ "internalType": "address", "name": "sponsor", "type": "address" }],
318
+ "inputs": [
319
+ { "internalType": "address", "name": "sponsor", "type": "address" }
320
+ ],
161
321
  "name": "getBalance",
162
322
  "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
163
323
  "stateMutability": "view",
164
324
  "type": "function"
165
325
  },
166
326
  {
167
- "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }],
327
+ "inputs": [
328
+ { "internalType": "address", "name": "spender", "type": "address" }
329
+ ],
168
330
  "name": "getListMode",
169
331
  "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
170
332
  "stateMutability": "view",
@@ -191,13 +353,21 @@
191
353
  "type": "function"
192
354
  },
193
355
  {
194
- "inputs": [{ "internalType": "address", "name": "spender", "type": "address" }],
356
+ "inputs": [
357
+ { "internalType": "address", "name": "spender", "type": "address" }
358
+ ],
195
359
  "name": "getUnlockBlock",
196
360
  "outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
197
361
  "stateMutability": "view",
198
362
  "type": "function"
199
363
  },
200
- { "inputs": [], "name": "lockDeposit", "outputs": [], "stateMutability": "payable", "type": "function" },
364
+ {
365
+ "inputs": [],
366
+ "name": "lockDeposit",
367
+ "outputs": [],
368
+ "stateMutability": "payable",
369
+ "type": "function"
370
+ },
201
371
  {
202
372
  "inputs": [],
203
373
  "name": "owner",
@@ -214,16 +384,30 @@
214
384
  },
215
385
  {
216
386
  "inputs": [
217
- { "internalType": "enumIPaymaster.PostOpMode", "name": "mode", "type": "uint8" },
387
+ {
388
+ "internalType": "enumIPaymaster.PostOpMode",
389
+ "name": "mode",
390
+ "type": "uint8"
391
+ },
218
392
  { "internalType": "bytes", "name": "context", "type": "bytes" },
219
- { "internalType": "uint256", "name": "actualGasCost", "type": "uint256" }
393
+ {
394
+ "internalType": "uint256",
395
+ "name": "actualGasCost",
396
+ "type": "uint256"
397
+ }
220
398
  ],
221
399
  "name": "postOp",
222
400
  "outputs": [],
223
401
  "stateMutability": "nonpayable",
224
402
  "type": "function"
225
403
  },
226
- { "inputs": [], "name": "renounceOwnership", "outputs": [], "stateMutability": "nonpayable", "type": "function" },
404
+ {
405
+ "inputs": [],
406
+ "name": "renounceOwnership",
407
+ "outputs": [],
408
+ "stateMutability": "nonpayable",
409
+ "type": "function"
410
+ },
227
411
  {
228
412
  "inputs": [{ "internalType": "bool", "name": "mode", "type": "bool" }],
229
413
  "name": "setListMode",
@@ -252,20 +436,30 @@
252
436
  "type": "function"
253
437
  },
254
438
  {
255
- "inputs": [{ "internalType": "address", "name": "newOwner", "type": "address" }],
439
+ "inputs": [
440
+ { "internalType": "address", "name": "newOwner", "type": "address" }
441
+ ],
256
442
  "name": "transferOwnership",
257
443
  "outputs": [],
258
444
  "stateMutability": "nonpayable",
259
445
  "type": "function"
260
446
  },
261
447
  {
262
- "inputs": [{ "internalType": "uint256", "name": "num", "type": "uint256" }],
448
+ "inputs": [
449
+ { "internalType": "uint256", "name": "num", "type": "uint256" }
450
+ ],
263
451
  "name": "unlockDepositAfter",
264
452
  "outputs": [],
265
453
  "stateMutability": "payable",
266
454
  "type": "function"
267
455
  },
268
- { "inputs": [], "name": "unlockStakeFromEntryPoint", "outputs": [], "stateMutability": "nonpayable", "type": "function" },
456
+ {
457
+ "inputs": [],
458
+ "name": "unlockStakeFromEntryPoint",
459
+ "outputs": [],
460
+ "stateMutability": "nonpayable",
461
+ "type": "function"
462
+ },
269
463
  {
270
464
  "inputs": [
271
465
  {
@@ -274,12 +468,36 @@
274
468
  { "internalType": "uint256", "name": "nonce", "type": "uint256" },
275
469
  { "internalType": "bytes", "name": "initCode", "type": "bytes" },
276
470
  { "internalType": "bytes", "name": "callData", "type": "bytes" },
277
- { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" },
278
- { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" },
279
- { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" },
280
- { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" },
281
- { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" },
282
- { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" },
471
+ {
472
+ "internalType": "uint256",
473
+ "name": "callGasLimit",
474
+ "type": "uint256"
475
+ },
476
+ {
477
+ "internalType": "uint256",
478
+ "name": "verificationGasLimit",
479
+ "type": "uint256"
480
+ },
481
+ {
482
+ "internalType": "uint256",
483
+ "name": "preVerificationGas",
484
+ "type": "uint256"
485
+ },
486
+ {
487
+ "internalType": "uint256",
488
+ "name": "maxFeePerGas",
489
+ "type": "uint256"
490
+ },
491
+ {
492
+ "internalType": "uint256",
493
+ "name": "maxPriorityFeePerGas",
494
+ "type": "uint256"
495
+ },
496
+ {
497
+ "internalType": "bytes",
498
+ "name": "paymasterAndData",
499
+ "type": "bytes"
500
+ },
283
501
  { "internalType": "bytes", "name": "signature", "type": "bytes" }
284
502
  ],
285
503
  "internalType": "structUserOperation",
@@ -299,7 +517,11 @@
299
517
  },
300
518
  {
301
519
  "inputs": [
302
- { "internalType": "addresspayable", "name": "target", "type": "address" },
520
+ {
521
+ "internalType": "addresspayable",
522
+ "name": "target",
523
+ "type": "address"
524
+ },
303
525
  { "internalType": "uint256", "name": "amount", "type": "uint256" }
304
526
  ],
305
527
  "name": "withdrawDepositTo",
@@ -308,7 +530,13 @@
308
530
  "type": "function"
309
531
  },
310
532
  {
311
- "inputs": [{ "internalType": "addresspayable", "name": "withdrawAddress", "type": "address" }],
533
+ "inputs": [
534
+ {
535
+ "internalType": "addresspayable",
536
+ "name": "withdrawAddress",
537
+ "type": "address"
538
+ }
539
+ ],
312
540
  "name": "withdrawStakeFromEntryPoint",
313
541
  "outputs": [],
314
542
  "stateMutability": "nonpayable",
@@ -324,6 +552,7 @@
324
552
  "36865": "0x670E428B165350c77AC7523854995486C1796ae3",
325
553
  "42161": "0xA0B0c6590f43951d4112092640eFb702d7b15FDD",
326
554
  "421614": "0x3C42EfF85d0DB160c339E8c6Df78C7a4a0A6AC51",
327
- "5000": "0xEe628ba7185D54dDcF66D85cad375DC661BEd67B"
555
+ "5000": "0xEe628ba7185D54dDcF66D85cad375DC661BEd67B",
556
+ "534352": "0xC695a41a8E1B2D396B0Ad93a88DeD975e8dBAcC8"
328
557
  }
329
558
  }
@@ -830,6 +830,7 @@
830
830
  "36865": "0x996eAcBd74D94C77bD6edA46dAbF99608dBb336E",
831
831
  "42161": "0x996eAcBd74D94C77bD6edA46dAbF99608dBb336E",
832
832
  "421614": "0x9d79D300b29d5D5eE800E914f002A385B954b8d5",
833
- "5000": "0x939C13FE360eD2e48f1DC074BB3DFE0d042d40c9"
833
+ "5000": "0x939C13FE360eD2e48f1DC074BB3DFE0d042d40c9",
834
+ "534352": "0xFC69761Cb48310eB003298Ef66d13c9F68fdE787"
834
835
  }
835
836
  }