@funkit/core 2.0.1 → 2.1.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.
Files changed (154) hide show
  1. package/dist/index.js +11 -27
  2. package/dist/index.js.map +1 -1
  3. package/dist/src/abis/ApproveAndExec.json +45 -9
  4. package/dist/src/abis/ApproveAndSwap.json +141 -1
  5. package/dist/src/abis/CheckoutPaymaster.json +3358 -1
  6. package/dist/src/abis/EntryPoint.json +590 -113
  7. package/dist/src/abis/EstimationPaymaster.json +134 -24
  8. package/dist/src/abis/FeePercentOracle.json +94 -18
  9. package/dist/src/abis/FunWallet.json +280 -56
  10. package/dist/src/abis/FunWalletFactory.json +112 -21
  11. package/dist/src/abis/GaslessPaymaster.json +279 -50
  12. package/dist/src/abis/RoleBasedAccessControl.json +2 -1
  13. package/dist/src/abis/TestNFT.json +71 -15
  14. package/dist/src/abis/TokenPriceOracle.json +17 -4
  15. package/dist/src/abis/UserAuthentication.json +147 -32
  16. package/dist/src/actions/AccessControl.js +39 -48
  17. package/dist/src/actions/AccessControl.js.map +1 -1
  18. package/dist/src/actions/BatchActions.js +3 -7
  19. package/dist/src/actions/BatchActions.js.map +1 -1
  20. package/dist/src/actions/Bridge.js +16 -20
  21. package/dist/src/actions/Bridge.js.map +1 -1
  22. package/dist/src/actions/FirstClassActions.js +74 -77
  23. package/dist/src/actions/FirstClassActions.js.map +1 -1
  24. package/dist/src/actions/Group.js +14 -20
  25. package/dist/src/actions/Group.js.map +1 -1
  26. package/dist/src/actions/LimitOrder.js +18 -22
  27. package/dist/src/actions/LimitOrder.js.map +1 -1
  28. package/dist/src/actions/Stake.js +40 -43
  29. package/dist/src/actions/Stake.js.map +1 -1
  30. package/dist/src/actions/Swap.js +40 -46
  31. package/dist/src/actions/Swap.js.map +1 -1
  32. package/dist/src/actions/Token.js +41 -53
  33. package/dist/src/actions/Token.js.map +1 -1
  34. package/dist/src/actions/index.js +7 -23
  35. package/dist/src/actions/index.js.map +1 -1
  36. package/dist/src/actions/types.js +4 -7
  37. package/dist/src/actions/types.js.map +1 -1
  38. package/dist/src/apis/AccessControlApis.js +10 -16
  39. package/dist/src/apis/AccessControlApis.js.map +1 -1
  40. package/dist/src/apis/BridgeApis.js +14 -20
  41. package/dist/src/apis/BridgeApis.js.map +1 -1
  42. package/dist/src/apis/ContractApis.js +4 -7
  43. package/dist/src/apis/ContractApis.js.map +1 -1
  44. package/dist/src/apis/GroupApis.js +6 -10
  45. package/dist/src/apis/GroupApis.js.map +1 -1
  46. package/dist/src/apis/InfoApis.js +16 -23
  47. package/dist/src/apis/InfoApis.js.map +1 -1
  48. package/dist/src/apis/ListenerApis.js +9 -13
  49. package/dist/src/apis/ListenerApis.js.map +1 -1
  50. package/dist/src/apis/NFTApis.js +6 -10
  51. package/dist/src/apis/NFTApis.js.map +1 -1
  52. package/dist/src/apis/OperationApis.js +26 -40
  53. package/dist/src/apis/OperationApis.js.map +1 -1
  54. package/dist/src/apis/PaymasterApis.js +4 -7
  55. package/dist/src/apis/PaymasterApis.js.map +1 -1
  56. package/dist/src/apis/SwapApis.js +8 -13
  57. package/dist/src/apis/SwapApis.js.map +1 -1
  58. package/dist/src/apis/UserApis.js +20 -29
  59. package/dist/src/apis/UserApis.js.map +1 -1
  60. package/dist/src/apis/index.js +8 -24
  61. package/dist/src/apis/index.js.map +1 -1
  62. package/dist/src/apis/types.js +1 -2
  63. package/dist/src/auth/Auth.js +60 -76
  64. package/dist/src/auth/Auth.js.map +1 -1
  65. package/dist/src/auth/SessionKeyAuth.js +30 -33
  66. package/dist/src/auth/SessionKeyAuth.js.map +1 -1
  67. package/dist/src/auth/index.js +2 -18
  68. package/dist/src/auth/index.js.map +1 -1
  69. package/dist/src/auth/types.js +1 -2
  70. package/dist/src/common/constants.d.ts +141 -3
  71. package/dist/src/common/constants.js +211 -191
  72. package/dist/src/common/constants.js.map +1 -1
  73. package/dist/src/common/index.js +2 -18
  74. package/dist/src/common/index.js.map +1 -1
  75. package/dist/src/common/types.js +1 -2
  76. package/dist/src/config/Config.js +8 -13
  77. package/dist/src/config/Config.js.map +1 -1
  78. package/dist/src/config/index.js +2 -18
  79. package/dist/src/config/index.js.map +1 -1
  80. package/dist/src/config/types.js +1 -2
  81. package/dist/src/data/Chain.js +35 -33
  82. package/dist/src/data/Chain.js.map +1 -1
  83. package/dist/src/data/NFT.js +28 -31
  84. package/dist/src/data/NFT.js.map +1 -1
  85. package/dist/src/data/Operation.js +28 -11
  86. package/dist/src/data/Operation.js.map +1 -1
  87. package/dist/src/data/SolidityData.js +23 -30
  88. package/dist/src/data/SolidityData.js.map +1 -1
  89. package/dist/src/data/Token.js +21 -23
  90. package/dist/src/data/Token.js.map +1 -1
  91. package/dist/src/data/index.js +6 -22
  92. package/dist/src/data/index.js.map +1 -1
  93. package/dist/src/data/types.js +6 -9
  94. package/dist/src/data/types.js.map +1 -1
  95. package/dist/src/errors/BaseError.js +6 -5
  96. package/dist/src/errors/BaseError.js.map +1 -1
  97. package/dist/src/errors/ClientError.js +21 -34
  98. package/dist/src/errors/ClientError.js.map +1 -1
  99. package/dist/src/errors/ServerError.js +6 -11
  100. package/dist/src/errors/ServerError.js.map +1 -1
  101. package/dist/src/errors/index.js +4 -20
  102. package/dist/src/errors/index.js.map +1 -1
  103. package/dist/src/errors/types.js +6 -9
  104. package/dist/src/errors/types.js.map +1 -1
  105. package/dist/src/sponsors/CheckoutSponsor.js +10 -14
  106. package/dist/src/sponsors/CheckoutSponsor.js.map +1 -1
  107. package/dist/src/sponsors/GaslessSponsor.js +23 -27
  108. package/dist/src/sponsors/GaslessSponsor.js.map +1 -1
  109. package/dist/src/sponsors/Sponsor.js +10 -8
  110. package/dist/src/sponsors/Sponsor.js.map +1 -1
  111. package/dist/src/sponsors/TokenSponsor.js +79 -82
  112. package/dist/src/sponsors/TokenSponsor.js.map +1 -1
  113. package/dist/src/sponsors/index.js +4 -20
  114. package/dist/src/sponsors/index.js.map +1 -1
  115. package/dist/src/sponsors/types.js +2 -5
  116. package/dist/src/sponsors/types.js.map +1 -1
  117. package/dist/src/utils/ApiUtils.js +30 -38
  118. package/dist/src/utils/ApiUtils.js.map +1 -1
  119. package/dist/src/utils/AuthUtils.js +9 -14
  120. package/dist/src/utils/AuthUtils.js.map +1 -1
  121. package/dist/src/utils/ChainUtils.js +38 -49
  122. package/dist/src/utils/ChainUtils.js.map +1 -1
  123. package/dist/src/utils/CheckoutUtils.js +13 -18
  124. package/dist/src/utils/CheckoutUtils.js.map +1 -1
  125. package/dist/src/utils/GroupUtils.js +6 -9
  126. package/dist/src/utils/GroupUtils.js.map +1 -1
  127. package/dist/src/utils/MerkleUtils.js +34 -47
  128. package/dist/src/utils/MerkleUtils.js.map +1 -1
  129. package/dist/src/utils/PaymasterUtils.js +5 -9
  130. package/dist/src/utils/PaymasterUtils.js.map +1 -1
  131. package/dist/src/utils/SwapUtils.js +44 -43
  132. package/dist/src/utils/SwapUtils.js.map +1 -1
  133. package/dist/src/utils/TypeUtils.js +5 -9
  134. package/dist/src/utils/TypeUtils.js.map +1 -1
  135. package/dist/src/utils/UserOpUtils.js +20 -29
  136. package/dist/src/utils/UserOpUtils.js.map +1 -1
  137. package/dist/src/utils/ViemUtils.js +6 -12
  138. package/dist/src/utils/ViemUtils.js.map +1 -1
  139. package/dist/src/utils/WalletUtils.js +28 -42
  140. package/dist/src/utils/WalletUtils.js.map +1 -1
  141. package/dist/src/utils/index.js +8 -24
  142. package/dist/src/utils/index.js.map +1 -1
  143. package/dist/src/viem/ContractInterface.js +14 -18
  144. package/dist/src/viem/ContractInterface.js.map +1 -1
  145. package/dist/src/viem/Converter.js +15 -20
  146. package/dist/src/viem/Converter.js.map +1 -1
  147. package/dist/src/viem/index.js +2 -18
  148. package/dist/src/viem/index.js.map +1 -1
  149. package/dist/src/wallet/FunWallet.js +141 -142
  150. package/dist/src/wallet/FunWallet.js.map +1 -1
  151. package/dist/src/wallet/index.js +2 -18
  152. package/dist/src/wallet/index.js.map +1 -1
  153. package/dist/src/wallet/types.js +1 -2
  154. package/package.json +4 -2
@@ -5,68 +5,157 @@
5
5
  {
6
6
  "anonymous": false,
7
7
  "inputs": [
8
- { "indexed": false, "internalType": "address", "name": "previousAdmin", "type": "address" },
9
- { "indexed": false, "internalType": "address", "name": "newAdmin", "type": "address" }
8
+ {
9
+ "indexed": false,
10
+ "internalType": "address",
11
+ "name": "previousAdmin",
12
+ "type": "address"
13
+ },
14
+ {
15
+ "indexed": false,
16
+ "internalType": "address",
17
+ "name": "newAdmin",
18
+ "type": "address"
19
+ }
10
20
  ],
11
21
  "name": "AdminChanged",
12
22
  "type": "event"
13
23
  },
14
24
  {
15
25
  "anonymous": false,
16
- "inputs": [{ "indexed": true, "internalType": "address", "name": "beacon", "type": "address" }],
26
+ "inputs": [
27
+ {
28
+ "indexed": true,
29
+ "internalType": "address",
30
+ "name": "beacon",
31
+ "type": "address"
32
+ }
33
+ ],
17
34
  "name": "BeaconUpgraded",
18
35
  "type": "event"
19
36
  },
20
37
  {
21
38
  "anonymous": false,
22
- "inputs": [{ "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }],
39
+ "inputs": [
40
+ {
41
+ "indexed": false,
42
+ "internalType": "uint256",
43
+ "name": "amount",
44
+ "type": "uint256"
45
+ }
46
+ ],
23
47
  "name": "DepositToEntryPoint",
24
48
  "type": "event"
25
49
  },
26
50
  {
27
51
  "anonymous": false,
28
- "inputs": [{ "indexed": true, "internalType": "address", "name": "newEntryPoint", "type": "address" }],
52
+ "inputs": [
53
+ {
54
+ "indexed": true,
55
+ "internalType": "address",
56
+ "name": "newEntryPoint",
57
+ "type": "address"
58
+ }
59
+ ],
29
60
  "name": "EntryPointChanged",
30
61
  "type": "event"
31
62
  },
32
63
  {
33
64
  "anonymous": false,
34
- "inputs": [{ "indexed": false, "internalType": "uint8", "name": "version", "type": "uint8" }],
65
+ "inputs": [
66
+ {
67
+ "indexed": false,
68
+ "internalType": "uint8",
69
+ "name": "version",
70
+ "type": "uint8"
71
+ }
72
+ ],
35
73
  "name": "Initialized",
36
74
  "type": "event"
37
75
  },
38
76
  {
39
77
  "anonymous": false,
40
78
  "inputs": [
41
- { "indexed": true, "internalType": "address", "name": "token", "type": "address" },
42
- { "indexed": true, "internalType": "address", "name": "dest", "type": "address" },
43
- { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }
79
+ {
80
+ "indexed": true,
81
+ "internalType": "address",
82
+ "name": "token",
83
+ "type": "address"
84
+ },
85
+ {
86
+ "indexed": true,
87
+ "internalType": "address",
88
+ "name": "dest",
89
+ "type": "address"
90
+ },
91
+ {
92
+ "indexed": false,
93
+ "internalType": "uint256",
94
+ "name": "amount",
95
+ "type": "uint256"
96
+ }
44
97
  ],
45
98
  "name": "TransferERC20",
46
99
  "type": "event"
47
100
  },
48
101
  {
49
102
  "anonymous": false,
50
- "inputs": [{ "indexed": true, "internalType": "address", "name": "implementation", "type": "address" }],
103
+ "inputs": [
104
+ {
105
+ "indexed": true,
106
+ "internalType": "address",
107
+ "name": "implementation",
108
+ "type": "address"
109
+ }
110
+ ],
51
111
  "name": "Upgraded",
52
112
  "type": "event"
53
113
  },
54
114
  {
55
115
  "anonymous": false,
56
116
  "inputs": [
57
- { "indexed": true, "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" },
117
+ {
118
+ "indexed": true,
119
+ "internalType": "bytes32",
120
+ "name": "userOpHash",
121
+ "type": "bytes32"
122
+ },
58
123
  {
59
124
  "components": [
60
125
  { "internalType": "address", "name": "sender", "type": "address" },
61
126
  { "internalType": "uint256", "name": "nonce", "type": "uint256" },
62
127
  { "internalType": "bytes", "name": "initCode", "type": "bytes" },
63
128
  { "internalType": "bytes", "name": "callData", "type": "bytes" },
64
- { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" },
65
- { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" },
66
- { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" },
67
- { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" },
68
- { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" },
69
- { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" },
129
+ {
130
+ "internalType": "uint256",
131
+ "name": "callGasLimit",
132
+ "type": "uint256"
133
+ },
134
+ {
135
+ "internalType": "uint256",
136
+ "name": "verificationGasLimit",
137
+ "type": "uint256"
138
+ },
139
+ {
140
+ "internalType": "uint256",
141
+ "name": "preVerificationGas",
142
+ "type": "uint256"
143
+ },
144
+ {
145
+ "internalType": "uint256",
146
+ "name": "maxFeePerGas",
147
+ "type": "uint256"
148
+ },
149
+ {
150
+ "internalType": "uint256",
151
+ "name": "maxPriorityFeePerGas",
152
+ "type": "uint256"
153
+ },
154
+ {
155
+ "internalType": "bytes",
156
+ "name": "paymasterAndData",
157
+ "type": "bytes"
158
+ },
70
159
  { "internalType": "bytes", "name": "signature", "type": "bytes" }
71
160
  ],
72
161
  "indexed": false,
@@ -74,8 +163,18 @@
74
163
  "name": "userOp",
75
164
  "type": "tuple"
76
165
  },
77
- { "indexed": false, "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" },
78
- { "indexed": false, "internalType": "uint256", "name": "missingAccountFunds", "type": "uint256" }
166
+ {
167
+ "indexed": false,
168
+ "internalType": "uint256",
169
+ "name": "sigTimeRange",
170
+ "type": "uint256"
171
+ },
172
+ {
173
+ "indexed": false,
174
+ "internalType": "uint256",
175
+ "name": "missingAccountFunds",
176
+ "type": "uint256"
177
+ }
79
178
  ],
80
179
  "name": "UserOpValidated",
81
180
  "type": "event"
@@ -83,8 +182,18 @@
83
182
  {
84
183
  "anonymous": false,
85
184
  "inputs": [
86
- { "indexed": true, "internalType": "address", "name": "withdrawAddress", "type": "address" },
87
- { "indexed": false, "internalType": "uint256", "name": "amount", "type": "uint256" }
185
+ {
186
+ "indexed": true,
187
+ "internalType": "address",
188
+ "name": "withdrawAddress",
189
+ "type": "address"
190
+ },
191
+ {
192
+ "indexed": false,
193
+ "internalType": "uint256",
194
+ "name": "amount",
195
+ "type": "uint256"
196
+ }
88
197
  ],
89
198
  "name": "WithdrawFromEntryPoint",
90
199
  "type": "event"
@@ -121,7 +230,9 @@
121
230
  "type": "function"
122
231
  },
123
232
  {
124
- "inputs": [{ "internalType": "uint256", "name": "amount", "type": "uint256" }],
233
+ "inputs": [
234
+ { "internalType": "uint256", "name": "amount", "type": "uint256" }
235
+ ],
125
236
  "name": "depositToEntryPoint",
126
237
  "outputs": [],
127
238
  "stateMutability": "nonpayable",
@@ -130,7 +241,9 @@
130
241
  {
131
242
  "inputs": [],
132
243
  "name": "entryPoint",
133
- "outputs": [{ "internalType": "contractIEntryPoint", "name": "", "type": "address" }],
244
+ "outputs": [
245
+ { "internalType": "contractIEntryPoint", "name": "", "type": "address" }
246
+ ],
134
247
  "stateMutability": "view",
135
248
  "type": "function"
136
249
  },
@@ -153,7 +266,11 @@
153
266
  {
154
267
  "components": [
155
268
  { "internalType": "address", "name": "token", "type": "address" },
156
- { "internalType": "addresspayable", "name": "recipient", "type": "address" },
269
+ {
270
+ "internalType": "addresspayable",
271
+ "name": "recipient",
272
+ "type": "address"
273
+ },
157
274
  { "internalType": "uint256", "name": "amount", "type": "uint256" }
158
275
  ],
159
276
  "internalType": "structUserOperationFee",
@@ -191,12 +308,20 @@
191
308
  {
192
309
  "inputs": [],
193
310
  "name": "factory",
194
- "outputs": [{ "internalType": "contractIFunWalletFactory", "name": "", "type": "address" }],
311
+ "outputs": [
312
+ {
313
+ "internalType": "contractIFunWalletFactory",
314
+ "name": "",
315
+ "type": "address"
316
+ }
317
+ ],
195
318
  "stateMutability": "view",
196
319
  "type": "function"
197
320
  },
198
321
  {
199
- "inputs": [{ "internalType": "address", "name": "validation", "type": "address" }],
322
+ "inputs": [
323
+ { "internalType": "address", "name": "validation", "type": "address" }
324
+ ],
200
325
  "name": "getNextValidation",
201
326
  "outputs": [{ "internalType": "address", "name": "", "type": "address" }],
202
327
  "stateMutability": "view",
@@ -205,7 +330,9 @@
205
330
  {
206
331
  "inputs": [{ "internalType": "uint32", "name": "key", "type": "uint32" }],
207
332
  "name": "getNonce",
208
- "outputs": [{ "internalType": "uint256", "name": "out", "type": "uint256" }],
333
+ "outputs": [
334
+ { "internalType": "uint256", "name": "out", "type": "uint256" }
335
+ ],
209
336
  "stateMutability": "view",
210
337
  "type": "function"
211
338
  },
@@ -222,16 +349,22 @@
222
349
  "type": "function"
223
350
  },
224
351
  {
225
- "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }],
352
+ "inputs": [
353
+ { "internalType": "bytes32", "name": "key", "type": "bytes32" }
354
+ ],
226
355
  "name": "getState",
227
356
  "outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
228
357
  "stateMutability": "view",
229
358
  "type": "function"
230
359
  },
231
360
  {
232
- "inputs": [{ "internalType": "bytes32", "name": "key", "type": "bytes32" }],
361
+ "inputs": [
362
+ { "internalType": "bytes32", "name": "key", "type": "bytes32" }
363
+ ],
233
364
  "name": "getState32",
234
- "outputs": [{ "internalType": "bytes32", "name": "out", "type": "bytes32" }],
365
+ "outputs": [
366
+ { "internalType": "bytes32", "name": "out", "type": "bytes32" }
367
+ ],
235
368
  "stateMutability": "view",
236
369
  "type": "function"
237
370
  },
@@ -241,7 +374,9 @@
241
374
  { "internalType": "address", "name": "addr", "type": "address" }
242
375
  ],
243
376
  "name": "getState32WithAddr",
244
- "outputs": [{ "internalType": "bytes32", "name": "out", "type": "bytes32" }],
377
+ "outputs": [
378
+ { "internalType": "bytes32", "name": "out", "type": "bytes32" }
379
+ ],
245
380
  "stateMutability": "view",
246
381
  "type": "function"
247
382
  },
@@ -255,12 +390,16 @@
255
390
  {
256
391
  "inputs": [],
257
392
  "name": "getValidations",
258
- "outputs": [{ "internalType": "address[]", "name": "", "type": "address[]" }],
393
+ "outputs": [
394
+ { "internalType": "address[]", "name": "", "type": "address[]" }
395
+ ],
259
396
  "stateMutability": "view",
260
397
  "type": "function"
261
398
  },
262
399
  {
263
- "inputs": [{ "internalType": "bytes", "name": "validationData", "type": "bytes" }],
400
+ "inputs": [
401
+ { "internalType": "bytes", "name": "validationData", "type": "bytes" }
402
+ ],
264
403
  "name": "initValidations",
265
404
  "outputs": [],
266
405
  "stateMutability": "nonpayable",
@@ -268,8 +407,16 @@
268
407
  },
269
408
  {
270
409
  "inputs": [
271
- { "internalType": "contractIEntryPoint", "name": "_newEntryPoint", "type": "address" },
272
- { "internalType": "bytes", "name": "validationInitData", "type": "bytes" }
410
+ {
411
+ "internalType": "contractIEntryPoint",
412
+ "name": "_newEntryPoint",
413
+ "type": "address"
414
+ },
415
+ {
416
+ "internalType": "bytes",
417
+ "name": "validationInitData",
418
+ "type": "bytes"
419
+ }
273
420
  ],
274
421
  "name": "initialize",
275
422
  "outputs": [],
@@ -285,12 +432,16 @@
285
432
  { "internalType": "bytes32", "name": "_hash", "type": "bytes32" }
286
433
  ],
287
434
  "name": "isValidAction",
288
- "outputs": [{ "internalType": "uint256", "name": "out", "type": "uint256" }],
435
+ "outputs": [
436
+ { "internalType": "uint256", "name": "out", "type": "uint256" }
437
+ ],
289
438
  "stateMutability": "view",
290
439
  "type": "function"
291
440
  },
292
441
  {
293
- "inputs": [{ "internalType": "address", "name": "validation", "type": "address" }],
442
+ "inputs": [
443
+ { "internalType": "address", "name": "validation", "type": "address" }
444
+ ],
294
445
  "name": "isValidation",
295
446
  "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
296
447
  "stateMutability": "view",
@@ -363,7 +514,11 @@
363
514
  },
364
515
  {
365
516
  "inputs": [
366
- { "internalType": "address", "name": "prevValidation", "type": "address" },
517
+ {
518
+ "internalType": "address",
519
+ "name": "prevValidation",
520
+ "type": "address"
521
+ },
367
522
  { "internalType": "address", "name": "validation", "type": "address" }
368
523
  ],
369
524
  "name": "removeValidation",
@@ -399,7 +554,9 @@
399
554
  "type": "function"
400
555
  },
401
556
  {
402
- "inputs": [{ "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }],
557
+ "inputs": [
558
+ { "internalType": "bytes4", "name": "interfaceId", "type": "bytes4" }
559
+ ],
403
560
  "name": "supportsInterface",
404
561
  "outputs": [{ "internalType": "bool", "name": "", "type": "bool" }],
405
562
  "stateMutability": "view",
@@ -431,7 +588,13 @@
431
588
  "type": "function"
432
589
  },
433
590
  {
434
- "inputs": [{ "internalType": "contractIEntryPoint", "name": "_newEntryPoint", "type": "address" }],
591
+ "inputs": [
592
+ {
593
+ "internalType": "contractIEntryPoint",
594
+ "name": "_newEntryPoint",
595
+ "type": "address"
596
+ }
597
+ ],
435
598
  "name": "updateEntryPoint",
436
599
  "outputs": [],
437
600
  "stateMutability": "nonpayable",
@@ -439,10 +602,26 @@
439
602
  },
440
603
  {
441
604
  "inputs": [
442
- { "internalType": "address", "name": "prevValidation", "type": "address" },
443
- { "internalType": "address", "name": "oldValidation", "type": "address" },
444
- { "internalType": "address", "name": "newValidation", "type": "address" },
445
- { "internalType": "bytes", "name": "newValidationInitData", "type": "bytes" }
605
+ {
606
+ "internalType": "address",
607
+ "name": "prevValidation",
608
+ "type": "address"
609
+ },
610
+ {
611
+ "internalType": "address",
612
+ "name": "oldValidation",
613
+ "type": "address"
614
+ },
615
+ {
616
+ "internalType": "address",
617
+ "name": "newValidation",
618
+ "type": "address"
619
+ },
620
+ {
621
+ "internalType": "bytes",
622
+ "name": "newValidationInitData",
623
+ "type": "bytes"
624
+ }
446
625
  ],
447
626
  "name": "updateValidation",
448
627
  "outputs": [],
@@ -450,7 +629,13 @@
450
629
  "type": "function"
451
630
  },
452
631
  {
453
- "inputs": [{ "internalType": "address", "name": "newImplementation", "type": "address" }],
632
+ "inputs": [
633
+ {
634
+ "internalType": "address",
635
+ "name": "newImplementation",
636
+ "type": "address"
637
+ }
638
+ ],
454
639
  "name": "upgradeTo",
455
640
  "outputs": [],
456
641
  "stateMutability": "nonpayable",
@@ -458,7 +643,11 @@
458
643
  },
459
644
  {
460
645
  "inputs": [
461
- { "internalType": "address", "name": "newImplementation", "type": "address" },
646
+ {
647
+ "internalType": "address",
648
+ "name": "newImplementation",
649
+ "type": "address"
650
+ },
462
651
  { "internalType": "bytes", "name": "data", "type": "bytes" }
463
652
  ],
464
653
  "name": "upgradeToAndCall",
@@ -487,12 +676,36 @@
487
676
  { "internalType": "uint256", "name": "nonce", "type": "uint256" },
488
677
  { "internalType": "bytes", "name": "initCode", "type": "bytes" },
489
678
  { "internalType": "bytes", "name": "callData", "type": "bytes" },
490
- { "internalType": "uint256", "name": "callGasLimit", "type": "uint256" },
491
- { "internalType": "uint256", "name": "verificationGasLimit", "type": "uint256" },
492
- { "internalType": "uint256", "name": "preVerificationGas", "type": "uint256" },
493
- { "internalType": "uint256", "name": "maxFeePerGas", "type": "uint256" },
494
- { "internalType": "uint256", "name": "maxPriorityFeePerGas", "type": "uint256" },
495
- { "internalType": "bytes", "name": "paymasterAndData", "type": "bytes" },
679
+ {
680
+ "internalType": "uint256",
681
+ "name": "callGasLimit",
682
+ "type": "uint256"
683
+ },
684
+ {
685
+ "internalType": "uint256",
686
+ "name": "verificationGasLimit",
687
+ "type": "uint256"
688
+ },
689
+ {
690
+ "internalType": "uint256",
691
+ "name": "preVerificationGas",
692
+ "type": "uint256"
693
+ },
694
+ {
695
+ "internalType": "uint256",
696
+ "name": "maxFeePerGas",
697
+ "type": "uint256"
698
+ },
699
+ {
700
+ "internalType": "uint256",
701
+ "name": "maxPriorityFeePerGas",
702
+ "type": "uint256"
703
+ },
704
+ {
705
+ "internalType": "bytes",
706
+ "name": "paymasterAndData",
707
+ "type": "bytes"
708
+ },
496
709
  { "internalType": "bytes", "name": "signature", "type": "bytes" }
497
710
  ],
498
711
  "internalType": "structUserOperation",
@@ -500,16 +713,26 @@
500
713
  "type": "tuple"
501
714
  },
502
715
  { "internalType": "bytes32", "name": "userOpHash", "type": "bytes32" },
503
- { "internalType": "uint256", "name": "missingAccountFunds", "type": "uint256" }
716
+ {
717
+ "internalType": "uint256",
718
+ "name": "missingAccountFunds",
719
+ "type": "uint256"
720
+ }
504
721
  ],
505
722
  "name": "validateUserOp",
506
- "outputs": [{ "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }],
723
+ "outputs": [
724
+ { "internalType": "uint256", "name": "sigTimeRange", "type": "uint256" }
725
+ ],
507
726
  "stateMutability": "nonpayable",
508
727
  "type": "function"
509
728
  },
510
729
  {
511
730
  "inputs": [
512
- { "internalType": "addresspayable", "name": "withdrawAddress", "type": "address" },
731
+ {
732
+ "internalType": "addresspayable",
733
+ "name": "withdrawAddress",
734
+ "type": "address"
735
+ },
513
736
  { "internalType": "uint256", "name": "amount", "type": "uint256" }
514
737
  ],
515
738
  "name": "withdrawFromEntryPoint",
@@ -529,6 +752,7 @@
529
752
  "36865": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D",
530
753
  "42161": "0xc42F0Eb7FFBAeAce750CEfE83f32c5DBC219681D",
531
754
  "421614": "0x502077DCE504514e3e8f35706525AaC51D6e9852",
532
- "5000": "0x645E1F9102d1d5eA60d05d11B5D90Fb8c0c92169"
755
+ "5000": "0x645E1F9102d1d5eA60d05d11B5D90Fb8c0c92169",
756
+ "534352": "0xA6952BaD754D6d959216D89fcA0D695fED01b7b5"
533
757
  }
534
758
  }