@pushchain/core 6.0.26 → 6.0.27-alpha.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 (171) hide show
  1. package/AGW.md +226 -0
  2. package/CHANGELOG.md +18 -0
  3. package/README.md +2 -0
  4. package/package.json +7 -1
  5. package/src/lib/agentic/agentic.d.ts +23 -0
  6. package/src/lib/agentic/agentic.js +51 -0
  7. package/src/lib/agentic/agentic.types.d.ts +414 -0
  8. package/src/lib/agentic/agentic.types.js +3 -0
  9. package/src/lib/agentic/capabilities.d.ts +37 -0
  10. package/src/lib/agentic/capabilities.js +64 -0
  11. package/src/lib/agentic/chain.d.ts +3 -0
  12. package/src/lib/agentic/chain.js +15 -0
  13. package/src/lib/agentic/codec/abi-layout.d.ts +20 -0
  14. package/src/lib/agentic/codec/abi-layout.js +168 -0
  15. package/src/lib/agentic/codec/defaults.d.ts +51 -0
  16. package/src/lib/agentic/codec/defaults.js +53 -0
  17. package/src/lib/agentic/codec/ids.d.ts +35 -0
  18. package/src/lib/agentic/codec/ids.js +74 -0
  19. package/src/lib/agentic/codec/native.d.ts +73 -0
  20. package/src/lib/agentic/codec/native.js +341 -0
  21. package/src/lib/agentic/codec/pins.d.ts +20 -0
  22. package/src/lib/agentic/codec/pins.js +29 -0
  23. package/src/lib/agentic/codec/rules.d.ts +45 -0
  24. package/src/lib/agentic/codec/rules.js +110 -0
  25. package/src/lib/agentic/codec/selectors.d.ts +19 -0
  26. package/src/lib/agentic/codec/selectors.js +60 -0
  27. package/src/lib/agentic/codec/session.d.ts +54 -0
  28. package/src/lib/agentic/codec/session.js +65 -0
  29. package/src/lib/agentic/codec/svm-accounts.d.ts +35 -0
  30. package/src/lib/agentic/codec/svm-accounts.js +68 -0
  31. package/src/lib/agentic/codec/svm-idl.d.ts +11 -0
  32. package/src/lib/agentic/codec/svm-idl.js +226 -0
  33. package/src/lib/agentic/codec/svm-terms.d.ts +157 -0
  34. package/src/lib/agentic/codec/svm-terms.js +246 -0
  35. package/src/lib/agentic/codec/universal-terms.d.ts +82 -0
  36. package/src/lib/agentic/codec/universal-terms.js +43 -0
  37. package/src/lib/agentic/codec/universal.d.ts +14 -0
  38. package/src/lib/agentic/codec/universal.js +173 -0
  39. package/src/lib/agentic/constants.d.ts +12 -0
  40. package/src/lib/agentic/constants.js +16 -0
  41. package/src/lib/agentic/context.d.ts +29 -0
  42. package/src/lib/agentic/context.js +56 -0
  43. package/src/lib/agentic/contracts/abi/v6/agent-validator.d.ts +105 -0
  44. package/src/lib/agentic/contracts/abi/v6/agent-validator.js +149 -0
  45. package/src/lib/agentic/contracts/abi/v6/agw-factory.d.ts +1146 -0
  46. package/src/lib/agentic/contracts/abi/v6/agw-factory.js +1499 -0
  47. package/src/lib/agentic/contracts/abi/v6/agw.d.ts +1306 -0
  48. package/src/lib/agentic/contracts/abi/v6/agw.js +1713 -0
  49. package/src/lib/agentic/contracts/abi/v6/index.d.ts +6 -0
  50. package/src/lib/agentic/contracts/abi/v6/index.js +17 -0
  51. package/src/lib/agentic/contracts/abi/v6/smart-session.d.ts +1493 -0
  52. package/src/lib/agentic/contracts/abi/v6/smart-session.js +1965 -0
  53. package/src/lib/agentic/contracts/abi/v6/universal-rules-policy.d.ts +1661 -0
  54. package/src/lib/agentic/contracts/abi/v6/universal-rules-policy.js +2187 -0
  55. package/src/lib/agentic/contracts/donut-v6.d.ts +11 -0
  56. package/src/lib/agentic/contracts/donut-v6.js +15 -0
  57. package/src/lib/agentic/contracts/prc20-metadata.d.ts +26 -0
  58. package/src/lib/agentic/contracts/prc20-metadata.js +87 -0
  59. package/src/lib/agentic/contracts/reader.d.ts +35 -0
  60. package/src/lib/agentic/contracts/reader.js +16 -0
  61. package/src/lib/agentic/contracts/v6.d.ts +5739 -0
  62. package/src/lib/agentic/contracts/v6.js +343 -0
  63. package/src/lib/agentic/deployments.d.ts +61 -0
  64. package/src/lib/agentic/deployments.js +203 -0
  65. package/src/lib/agentic/errors.d.ts +65 -0
  66. package/src/lib/agentic/errors.js +84 -0
  67. package/src/lib/agentic/execution/guards.d.ts +9 -0
  68. package/src/lib/agentic/execution/guards.js +30 -0
  69. package/src/lib/agentic/execution/outbound.d.ts +55 -0
  70. package/src/lib/agentic/execution/outbound.js +187 -0
  71. package/src/lib/agentic/execution/send.d.ts +9 -0
  72. package/src/lib/agentic/execution/send.js +268 -0
  73. package/src/lib/agentic/execution/svm-instruction.d.ts +24 -0
  74. package/src/lib/agentic/execution/svm-instruction.js +40 -0
  75. package/src/lib/agentic/execution/svm-outbound.d.ts +18 -0
  76. package/src/lib/agentic/execution/svm-outbound.js +86 -0
  77. package/src/lib/agentic/execution/svm-payload.d.ts +18 -0
  78. package/src/lib/agentic/execution/svm-payload.js +136 -0
  79. package/src/lib/agentic/execution/svm-public.d.ts +5 -0
  80. package/src/lib/agentic/execution/svm-public.js +176 -0
  81. package/src/lib/agentic/execution/svm-quote.d.ts +11 -0
  82. package/src/lib/agentic/execution/svm-quote.js +24 -0
  83. package/src/lib/agentic/execution/svm-send.d.ts +44 -0
  84. package/src/lib/agentic/execution/svm-send.js +87 -0
  85. package/src/lib/agentic/index.d.ts +5 -0
  86. package/src/lib/agentic/index.js +10 -0
  87. package/src/lib/agentic/management/common.d.ts +29 -0
  88. package/src/lib/agentic/management/common.js +116 -0
  89. package/src/lib/agentic/management/create.d.ts +4 -0
  90. package/src/lib/agentic/management/create.js +138 -0
  91. package/src/lib/agentic/management/duplicates.d.ts +4 -0
  92. package/src/lib/agentic/management/duplicates.js +20 -0
  93. package/src/lib/agentic/management/label.d.ts +3 -0
  94. package/src/lib/agentic/management/label.js +17 -0
  95. package/src/lib/agentic/management/prepare.d.ts +7 -0
  96. package/src/lib/agentic/management/prepare.js +95 -0
  97. package/src/lib/agentic/management/rules-write.d.ts +42 -0
  98. package/src/lib/agentic/management/rules-write.js +279 -0
  99. package/src/lib/agentic/management/svm-context.d.ts +25 -0
  100. package/src/lib/agentic/management/svm-context.js +55 -0
  101. package/src/lib/agentic/management/svm-metadata.d.ts +10 -0
  102. package/src/lib/agentic/management/svm-metadata.js +56 -0
  103. package/src/lib/agentic/management/svm-public.d.ts +6 -0
  104. package/src/lib/agentic/management/svm-public.js +125 -0
  105. package/src/lib/agentic/management/svm.d.ts +27 -0
  106. package/src/lib/agentic/management/svm.js +150 -0
  107. package/src/lib/agentic/presets/catalog.d.ts +26 -0
  108. package/src/lib/agentic/presets/catalog.js +307 -0
  109. package/src/lib/agentic/presets/index.d.ts +5 -0
  110. package/src/lib/agentic/presets/index.js +265 -0
  111. package/src/lib/agentic/presets/types.d.ts +48 -0
  112. package/src/lib/agentic/presets/types.js +3 -0
  113. package/src/lib/agentic/public-rule.d.ts +9 -0
  114. package/src/lib/agentic/public-rule.js +326 -0
  115. package/src/lib/agentic/reads/checkpoints.d.ts +17 -0
  116. package/src/lib/agentic/reads/checkpoints.js +109 -0
  117. package/src/lib/agentic/reads/rules.d.ts +42 -0
  118. package/src/lib/agentic/reads/rules.js +302 -0
  119. package/src/lib/agentic/reads/snapshot.d.ts +28 -0
  120. package/src/lib/agentic/reads/snapshot.js +85 -0
  121. package/src/lib/agentic/reads/svm.d.ts +17 -0
  122. package/src/lib/agentic/reads/svm.js +52 -0
  123. package/src/lib/agentic/reads/wallets.d.ts +25 -0
  124. package/src/lib/agentic/reads/wallets.js +122 -0
  125. package/src/lib/agentic/response.d.ts +41 -0
  126. package/src/lib/agentic/response.js +358 -0
  127. package/src/lib/agentic/revert.d.ts +7 -0
  128. package/src/lib/agentic/revert.js +102 -0
  129. package/src/lib/agentic/runtime.d.ts +58 -0
  130. package/src/lib/agentic/runtime.js +104 -0
  131. package/src/lib/agentic/utils.d.ts +57 -0
  132. package/src/lib/agentic/utils.js +165 -0
  133. package/src/lib/agentic/wallet.d.ts +32 -0
  134. package/src/lib/agentic/wallet.js +130 -0
  135. package/src/lib/constants/enums.d.ts +6 -3
  136. package/src/lib/constants/enums.js +6 -3
  137. package/src/lib/constants/index.d.ts +61 -4
  138. package/src/lib/constants/index.js +17 -3
  139. package/src/lib/constants/read-state.d.ts +9 -0
  140. package/src/lib/constants/read-state.js +13 -1
  141. package/src/lib/index.d.ts +8 -2
  142. package/src/lib/index.js +9 -1
  143. package/src/lib/orchestrator/internals/errors.d.ts +7 -0
  144. package/src/lib/orchestrator/internals/errors.js +13 -1
  145. package/src/lib/orchestrator/internals/execute-standard.d.ts +3 -1
  146. package/src/lib/orchestrator/internals/execute-standard.js +3 -3
  147. package/src/lib/orchestrator/internals/outbound-sync.js +52 -7
  148. package/src/lib/orchestrator/internals/push-chain-tx.d.ts +1 -1
  149. package/src/lib/orchestrator/internals/push-chain-tx.js +13 -1
  150. package/src/lib/orchestrator/orchestrator.d.ts +3 -0
  151. package/src/lib/orchestrator/orchestrator.js +13 -1
  152. package/src/lib/orchestrator/orchestrator.types.d.ts +8 -0
  153. package/src/lib/orchestrator/route-detector.js +3 -2
  154. package/src/lib/orchestrator/svm-idl/resolve.d.ts +2 -0
  155. package/src/lib/orchestrator/svm-idl/resolve.js +11 -1
  156. package/src/lib/progress-hook/progress-hook.js +63 -0
  157. package/src/lib/progress-hook/progress-hook.types.d.ts +10 -1
  158. package/src/lib/progress-hook/progress-hook.types.js +10 -0
  159. package/src/lib/push-chain/push-chain.d.ts +57 -15
  160. package/src/lib/push-chain/push-chain.js +66 -7
  161. package/src/lib/read-state/destination.js +6 -1
  162. package/src/lib/read-state/read-params.d.ts +3 -3
  163. package/src/lib/read-state/read-params.js +3 -2
  164. package/src/lib/read-state/read-state.types.d.ts +3 -1
  165. package/src/lib/read-state/read-tracker.js +2 -2
  166. package/src/lib/read-state/spec-builder.js +1 -1
  167. package/src/lib/universal/prc20-address.d.ts +15 -0
  168. package/src/lib/universal/prc20-address.js +135 -0
  169. package/src/lib/utils.d.ts +6 -13
  170. package/src/lib/utils.js +5 -128
  171. package/src/lib/vm-client/evm-client.js +34 -20
@@ -0,0 +1,1713 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AGW_ABI = void 0;
4
+ // GENERATED by packages/core/scripts/agw-local/gen-abi.mjs — do not edit.
5
+ // Source: packages/core/scripts/agw-local/abis/wallet.json
6
+ // push-agentic-wallets@ffd567d3e49b2d27c6f50ad36093274dbac3090f
7
+ // sha256(AGW.json) = 76705e5a25b10d3a84f867f983c3e4f5adfc881fb0d65710fb8684df2ea7abd3
8
+ exports.AGW_ABI = [
9
+ {
10
+ "type": "receive",
11
+ "stateMutability": "payable"
12
+ },
13
+ {
14
+ "type": "function",
15
+ "name": "RULES_POLICY",
16
+ "inputs": [],
17
+ "outputs": [
18
+ {
19
+ "name": "",
20
+ "type": "address",
21
+ "internalType": "address"
22
+ }
23
+ ],
24
+ "stateMutability": "view"
25
+ },
26
+ {
27
+ "type": "function",
28
+ "name": "SESSION_ENGINE",
29
+ "inputs": [],
30
+ "outputs": [
31
+ {
32
+ "name": "",
33
+ "type": "address",
34
+ "internalType": "address"
35
+ }
36
+ ],
37
+ "stateMutability": "view"
38
+ },
39
+ {
40
+ "type": "function",
41
+ "name": "SESSION_VALIDATOR",
42
+ "inputs": [],
43
+ "outputs": [
44
+ {
45
+ "name": "",
46
+ "type": "address",
47
+ "internalType": "address"
48
+ }
49
+ ],
50
+ "stateMutability": "view"
51
+ },
52
+ {
53
+ "type": "function",
54
+ "name": "UNIVERSAL_GATEWAY_PC",
55
+ "inputs": [],
56
+ "outputs": [
57
+ {
58
+ "name": "",
59
+ "type": "address",
60
+ "internalType": "address"
61
+ }
62
+ ],
63
+ "stateMutability": "view"
64
+ },
65
+ {
66
+ "type": "function",
67
+ "name": "accountId",
68
+ "inputs": [],
69
+ "outputs": [
70
+ {
71
+ "name": "",
72
+ "type": "string",
73
+ "internalType": "string"
74
+ }
75
+ ],
76
+ "stateMutability": "pure"
77
+ },
78
+ {
79
+ "type": "function",
80
+ "name": "agentOf",
81
+ "inputs": [
82
+ {
83
+ "name": "rulesId",
84
+ "type": "bytes32",
85
+ "internalType": "bytes32"
86
+ }
87
+ ],
88
+ "outputs": [
89
+ {
90
+ "name": "",
91
+ "type": "address",
92
+ "internalType": "address"
93
+ }
94
+ ],
95
+ "stateMutability": "view"
96
+ },
97
+ {
98
+ "type": "function",
99
+ "name": "checkpointCount",
100
+ "inputs": [],
101
+ "outputs": [
102
+ {
103
+ "name": "",
104
+ "type": "uint64",
105
+ "internalType": "uint64"
106
+ }
107
+ ],
108
+ "stateMutability": "view"
109
+ },
110
+ {
111
+ "type": "function",
112
+ "name": "domainSeparator",
113
+ "inputs": [
114
+ {
115
+ "name": "signerChainId",
116
+ "type": "uint256",
117
+ "internalType": "uint256"
118
+ }
119
+ ],
120
+ "outputs": [
121
+ {
122
+ "name": "",
123
+ "type": "bytes32",
124
+ "internalType": "bytes32"
125
+ }
126
+ ],
127
+ "stateMutability": "view"
128
+ },
129
+ {
130
+ "type": "function",
131
+ "name": "execute",
132
+ "inputs": [
133
+ {
134
+ "name": "mode",
135
+ "type": "bytes32",
136
+ "internalType": "bytes32"
137
+ },
138
+ {
139
+ "name": "executionCalldata",
140
+ "type": "bytes",
141
+ "internalType": "bytes"
142
+ }
143
+ ],
144
+ "outputs": [],
145
+ "stateMutability": "payable"
146
+ },
147
+ {
148
+ "type": "function",
149
+ "name": "executeAsAgent",
150
+ "inputs": [
151
+ {
152
+ "name": "rulesId",
153
+ "type": "bytes32",
154
+ "internalType": "bytes32"
155
+ },
156
+ {
157
+ "name": "mode",
158
+ "type": "bytes32",
159
+ "internalType": "bytes32"
160
+ },
161
+ {
162
+ "name": "executionCalldata",
163
+ "type": "bytes",
164
+ "internalType": "bytes"
165
+ }
166
+ ],
167
+ "outputs": [],
168
+ "stateMutability": "nonpayable"
169
+ },
170
+ {
171
+ "type": "function",
172
+ "name": "executeWithSig",
173
+ "inputs": [
174
+ {
175
+ "name": "mode",
176
+ "type": "bytes32",
177
+ "internalType": "bytes32"
178
+ },
179
+ {
180
+ "name": "executionCalldata",
181
+ "type": "bytes",
182
+ "internalType": "bytes"
183
+ },
184
+ {
185
+ "name": "intent",
186
+ "type": "tuple",
187
+ "internalType": "struct OwnerIntent",
188
+ "components": [
189
+ {
190
+ "name": "owner",
191
+ "type": "address",
192
+ "internalType": "address"
193
+ },
194
+ {
195
+ "name": "wallet",
196
+ "type": "address",
197
+ "internalType": "address"
198
+ },
199
+ {
200
+ "name": "executor",
201
+ "type": "address",
202
+ "internalType": "address"
203
+ },
204
+ {
205
+ "name": "index",
206
+ "type": "uint96",
207
+ "internalType": "uint96"
208
+ },
209
+ {
210
+ "name": "sessionHash",
211
+ "type": "bytes32",
212
+ "internalType": "bytes32"
213
+ },
214
+ {
215
+ "name": "mode",
216
+ "type": "bytes32",
217
+ "internalType": "bytes32"
218
+ },
219
+ {
220
+ "name": "execCalldataHash",
221
+ "type": "bytes32",
222
+ "internalType": "bytes32"
223
+ },
224
+ {
225
+ "name": "nonceKey",
226
+ "type": "uint192",
227
+ "internalType": "uint192"
228
+ },
229
+ {
230
+ "name": "nonceSeq",
231
+ "type": "uint64",
232
+ "internalType": "uint64"
233
+ },
234
+ {
235
+ "name": "grantNonce",
236
+ "type": "uint64",
237
+ "internalType": "uint64"
238
+ },
239
+ {
240
+ "name": "deadline",
241
+ "type": "uint48",
242
+ "internalType": "uint48"
243
+ },
244
+ {
245
+ "name": "signerChainId",
246
+ "type": "uint256",
247
+ "internalType": "uint256"
248
+ }
249
+ ]
250
+ },
251
+ {
252
+ "name": "sig",
253
+ "type": "bytes",
254
+ "internalType": "bytes"
255
+ }
256
+ ],
257
+ "outputs": [],
258
+ "stateMutability": "nonpayable"
259
+ },
260
+ {
261
+ "type": "function",
262
+ "name": "factory",
263
+ "inputs": [],
264
+ "outputs": [
265
+ {
266
+ "name": "",
267
+ "type": "address",
268
+ "internalType": "address"
269
+ }
270
+ ],
271
+ "stateMutability": "view"
272
+ },
273
+ {
274
+ "type": "function",
275
+ "name": "getNonce",
276
+ "inputs": [
277
+ {
278
+ "name": "nonceKey",
279
+ "type": "uint192",
280
+ "internalType": "uint192"
281
+ }
282
+ ],
283
+ "outputs": [
284
+ {
285
+ "name": "",
286
+ "type": "uint64",
287
+ "internalType": "uint64"
288
+ }
289
+ ],
290
+ "stateMutability": "view"
291
+ },
292
+ {
293
+ "type": "function",
294
+ "name": "grantNonce",
295
+ "inputs": [],
296
+ "outputs": [
297
+ {
298
+ "name": "",
299
+ "type": "uint64",
300
+ "internalType": "uint64"
301
+ }
302
+ ],
303
+ "stateMutability": "view"
304
+ },
305
+ {
306
+ "type": "function",
307
+ "name": "grantRules",
308
+ "inputs": [
309
+ {
310
+ "name": "session",
311
+ "type": "tuple",
312
+ "internalType": "struct Session",
313
+ "components": [
314
+ {
315
+ "name": "sessionValidator",
316
+ "type": "address",
317
+ "internalType": "contract ISessionValidator"
318
+ },
319
+ {
320
+ "name": "sessionValidatorInitData",
321
+ "type": "bytes",
322
+ "internalType": "bytes"
323
+ },
324
+ {
325
+ "name": "salt",
326
+ "type": "bytes32",
327
+ "internalType": "bytes32"
328
+ },
329
+ {
330
+ "name": "userOpPolicies",
331
+ "type": "tuple[]",
332
+ "internalType": "struct PolicyData[]",
333
+ "components": [
334
+ {
335
+ "name": "policy",
336
+ "type": "address",
337
+ "internalType": "address"
338
+ },
339
+ {
340
+ "name": "initData",
341
+ "type": "bytes",
342
+ "internalType": "bytes"
343
+ }
344
+ ]
345
+ },
346
+ {
347
+ "name": "erc7739Policies",
348
+ "type": "tuple",
349
+ "internalType": "struct ERC7739Data",
350
+ "components": [
351
+ {
352
+ "name": "allowedERC7739Content",
353
+ "type": "tuple[]",
354
+ "internalType": "struct ERC7739Context[]",
355
+ "components": [
356
+ {
357
+ "name": "appDomainSeparator",
358
+ "type": "bytes32",
359
+ "internalType": "bytes32"
360
+ },
361
+ {
362
+ "name": "contentNames",
363
+ "type": "string[]",
364
+ "internalType": "string[]"
365
+ }
366
+ ]
367
+ },
368
+ {
369
+ "name": "erc1271Policies",
370
+ "type": "tuple[]",
371
+ "internalType": "struct PolicyData[]",
372
+ "components": [
373
+ {
374
+ "name": "policy",
375
+ "type": "address",
376
+ "internalType": "address"
377
+ },
378
+ {
379
+ "name": "initData",
380
+ "type": "bytes",
381
+ "internalType": "bytes"
382
+ }
383
+ ]
384
+ }
385
+ ]
386
+ },
387
+ {
388
+ "name": "actions",
389
+ "type": "tuple[]",
390
+ "internalType": "struct ActionData[]",
391
+ "components": [
392
+ {
393
+ "name": "actionTargetSelector",
394
+ "type": "bytes4",
395
+ "internalType": "bytes4"
396
+ },
397
+ {
398
+ "name": "actionTarget",
399
+ "type": "address",
400
+ "internalType": "address"
401
+ },
402
+ {
403
+ "name": "actionPolicies",
404
+ "type": "tuple[]",
405
+ "internalType": "struct PolicyData[]",
406
+ "components": [
407
+ {
408
+ "name": "policy",
409
+ "type": "address",
410
+ "internalType": "address"
411
+ },
412
+ {
413
+ "name": "initData",
414
+ "type": "bytes",
415
+ "internalType": "bytes"
416
+ }
417
+ ]
418
+ }
419
+ ]
420
+ },
421
+ {
422
+ "name": "permitERC4337Paymaster",
423
+ "type": "bool",
424
+ "internalType": "bool"
425
+ }
426
+ ]
427
+ }
428
+ ],
429
+ "outputs": [
430
+ {
431
+ "name": "rulesId",
432
+ "type": "bytes32",
433
+ "internalType": "bytes32"
434
+ }
435
+ ],
436
+ "stateMutability": "nonpayable"
437
+ },
438
+ {
439
+ "type": "function",
440
+ "name": "grantRulesWithSig",
441
+ "inputs": [
442
+ {
443
+ "name": "session",
444
+ "type": "tuple",
445
+ "internalType": "struct Session",
446
+ "components": [
447
+ {
448
+ "name": "sessionValidator",
449
+ "type": "address",
450
+ "internalType": "contract ISessionValidator"
451
+ },
452
+ {
453
+ "name": "sessionValidatorInitData",
454
+ "type": "bytes",
455
+ "internalType": "bytes"
456
+ },
457
+ {
458
+ "name": "salt",
459
+ "type": "bytes32",
460
+ "internalType": "bytes32"
461
+ },
462
+ {
463
+ "name": "userOpPolicies",
464
+ "type": "tuple[]",
465
+ "internalType": "struct PolicyData[]",
466
+ "components": [
467
+ {
468
+ "name": "policy",
469
+ "type": "address",
470
+ "internalType": "address"
471
+ },
472
+ {
473
+ "name": "initData",
474
+ "type": "bytes",
475
+ "internalType": "bytes"
476
+ }
477
+ ]
478
+ },
479
+ {
480
+ "name": "erc7739Policies",
481
+ "type": "tuple",
482
+ "internalType": "struct ERC7739Data",
483
+ "components": [
484
+ {
485
+ "name": "allowedERC7739Content",
486
+ "type": "tuple[]",
487
+ "internalType": "struct ERC7739Context[]",
488
+ "components": [
489
+ {
490
+ "name": "appDomainSeparator",
491
+ "type": "bytes32",
492
+ "internalType": "bytes32"
493
+ },
494
+ {
495
+ "name": "contentNames",
496
+ "type": "string[]",
497
+ "internalType": "string[]"
498
+ }
499
+ ]
500
+ },
501
+ {
502
+ "name": "erc1271Policies",
503
+ "type": "tuple[]",
504
+ "internalType": "struct PolicyData[]",
505
+ "components": [
506
+ {
507
+ "name": "policy",
508
+ "type": "address",
509
+ "internalType": "address"
510
+ },
511
+ {
512
+ "name": "initData",
513
+ "type": "bytes",
514
+ "internalType": "bytes"
515
+ }
516
+ ]
517
+ }
518
+ ]
519
+ },
520
+ {
521
+ "name": "actions",
522
+ "type": "tuple[]",
523
+ "internalType": "struct ActionData[]",
524
+ "components": [
525
+ {
526
+ "name": "actionTargetSelector",
527
+ "type": "bytes4",
528
+ "internalType": "bytes4"
529
+ },
530
+ {
531
+ "name": "actionTarget",
532
+ "type": "address",
533
+ "internalType": "address"
534
+ },
535
+ {
536
+ "name": "actionPolicies",
537
+ "type": "tuple[]",
538
+ "internalType": "struct PolicyData[]",
539
+ "components": [
540
+ {
541
+ "name": "policy",
542
+ "type": "address",
543
+ "internalType": "address"
544
+ },
545
+ {
546
+ "name": "initData",
547
+ "type": "bytes",
548
+ "internalType": "bytes"
549
+ }
550
+ ]
551
+ }
552
+ ]
553
+ },
554
+ {
555
+ "name": "permitERC4337Paymaster",
556
+ "type": "bool",
557
+ "internalType": "bool"
558
+ }
559
+ ]
560
+ },
561
+ {
562
+ "name": "intent",
563
+ "type": "tuple",
564
+ "internalType": "struct OwnerIntent",
565
+ "components": [
566
+ {
567
+ "name": "owner",
568
+ "type": "address",
569
+ "internalType": "address"
570
+ },
571
+ {
572
+ "name": "wallet",
573
+ "type": "address",
574
+ "internalType": "address"
575
+ },
576
+ {
577
+ "name": "executor",
578
+ "type": "address",
579
+ "internalType": "address"
580
+ },
581
+ {
582
+ "name": "index",
583
+ "type": "uint96",
584
+ "internalType": "uint96"
585
+ },
586
+ {
587
+ "name": "sessionHash",
588
+ "type": "bytes32",
589
+ "internalType": "bytes32"
590
+ },
591
+ {
592
+ "name": "mode",
593
+ "type": "bytes32",
594
+ "internalType": "bytes32"
595
+ },
596
+ {
597
+ "name": "execCalldataHash",
598
+ "type": "bytes32",
599
+ "internalType": "bytes32"
600
+ },
601
+ {
602
+ "name": "nonceKey",
603
+ "type": "uint192",
604
+ "internalType": "uint192"
605
+ },
606
+ {
607
+ "name": "nonceSeq",
608
+ "type": "uint64",
609
+ "internalType": "uint64"
610
+ },
611
+ {
612
+ "name": "grantNonce",
613
+ "type": "uint64",
614
+ "internalType": "uint64"
615
+ },
616
+ {
617
+ "name": "deadline",
618
+ "type": "uint48",
619
+ "internalType": "uint48"
620
+ },
621
+ {
622
+ "name": "signerChainId",
623
+ "type": "uint256",
624
+ "internalType": "uint256"
625
+ }
626
+ ]
627
+ },
628
+ {
629
+ "name": "sig",
630
+ "type": "bytes",
631
+ "internalType": "bytes"
632
+ }
633
+ ],
634
+ "outputs": [
635
+ {
636
+ "name": "rulesId",
637
+ "type": "bytes32",
638
+ "internalType": "bytes32"
639
+ }
640
+ ],
641
+ "stateMutability": "nonpayable"
642
+ },
643
+ {
644
+ "type": "function",
645
+ "name": "initializeAccount",
646
+ "inputs": [
647
+ {
648
+ "name": "label_",
649
+ "type": "string",
650
+ "internalType": "string"
651
+ },
652
+ {
653
+ "name": "rules",
654
+ "type": "tuple[]",
655
+ "internalType": "struct Session[]",
656
+ "components": [
657
+ {
658
+ "name": "sessionValidator",
659
+ "type": "address",
660
+ "internalType": "contract ISessionValidator"
661
+ },
662
+ {
663
+ "name": "sessionValidatorInitData",
664
+ "type": "bytes",
665
+ "internalType": "bytes"
666
+ },
667
+ {
668
+ "name": "salt",
669
+ "type": "bytes32",
670
+ "internalType": "bytes32"
671
+ },
672
+ {
673
+ "name": "userOpPolicies",
674
+ "type": "tuple[]",
675
+ "internalType": "struct PolicyData[]",
676
+ "components": [
677
+ {
678
+ "name": "policy",
679
+ "type": "address",
680
+ "internalType": "address"
681
+ },
682
+ {
683
+ "name": "initData",
684
+ "type": "bytes",
685
+ "internalType": "bytes"
686
+ }
687
+ ]
688
+ },
689
+ {
690
+ "name": "erc7739Policies",
691
+ "type": "tuple",
692
+ "internalType": "struct ERC7739Data",
693
+ "components": [
694
+ {
695
+ "name": "allowedERC7739Content",
696
+ "type": "tuple[]",
697
+ "internalType": "struct ERC7739Context[]",
698
+ "components": [
699
+ {
700
+ "name": "appDomainSeparator",
701
+ "type": "bytes32",
702
+ "internalType": "bytes32"
703
+ },
704
+ {
705
+ "name": "contentNames",
706
+ "type": "string[]",
707
+ "internalType": "string[]"
708
+ }
709
+ ]
710
+ },
711
+ {
712
+ "name": "erc1271Policies",
713
+ "type": "tuple[]",
714
+ "internalType": "struct PolicyData[]",
715
+ "components": [
716
+ {
717
+ "name": "policy",
718
+ "type": "address",
719
+ "internalType": "address"
720
+ },
721
+ {
722
+ "name": "initData",
723
+ "type": "bytes",
724
+ "internalType": "bytes"
725
+ }
726
+ ]
727
+ }
728
+ ]
729
+ },
730
+ {
731
+ "name": "actions",
732
+ "type": "tuple[]",
733
+ "internalType": "struct ActionData[]",
734
+ "components": [
735
+ {
736
+ "name": "actionTargetSelector",
737
+ "type": "bytes4",
738
+ "internalType": "bytes4"
739
+ },
740
+ {
741
+ "name": "actionTarget",
742
+ "type": "address",
743
+ "internalType": "address"
744
+ },
745
+ {
746
+ "name": "actionPolicies",
747
+ "type": "tuple[]",
748
+ "internalType": "struct PolicyData[]",
749
+ "components": [
750
+ {
751
+ "name": "policy",
752
+ "type": "address",
753
+ "internalType": "address"
754
+ },
755
+ {
756
+ "name": "initData",
757
+ "type": "bytes",
758
+ "internalType": "bytes"
759
+ }
760
+ ]
761
+ }
762
+ ]
763
+ },
764
+ {
765
+ "name": "permitERC4337Paymaster",
766
+ "type": "bool",
767
+ "internalType": "bool"
768
+ }
769
+ ]
770
+ }
771
+ ],
772
+ "outputs": [
773
+ {
774
+ "name": "rulesIds",
775
+ "type": "bytes32[]",
776
+ "internalType": "bytes32[]"
777
+ }
778
+ ],
779
+ "stateMutability": "nonpayable"
780
+ },
781
+ {
782
+ "type": "function",
783
+ "name": "installModule",
784
+ "inputs": [
785
+ {
786
+ "name": "moduleTypeId",
787
+ "type": "uint256",
788
+ "internalType": "uint256"
789
+ },
790
+ {
791
+ "name": "module",
792
+ "type": "address",
793
+ "internalType": "address"
794
+ },
795
+ {
796
+ "name": "initData",
797
+ "type": "bytes",
798
+ "internalType": "bytes"
799
+ }
800
+ ],
801
+ "outputs": [],
802
+ "stateMutability": "nonpayable"
803
+ },
804
+ {
805
+ "type": "function",
806
+ "name": "isModuleInstalled",
807
+ "inputs": [
808
+ {
809
+ "name": "moduleTypeId",
810
+ "type": "uint256",
811
+ "internalType": "uint256"
812
+ },
813
+ {
814
+ "name": "module",
815
+ "type": "address",
816
+ "internalType": "address"
817
+ },
818
+ {
819
+ "name": "",
820
+ "type": "bytes",
821
+ "internalType": "bytes"
822
+ }
823
+ ],
824
+ "outputs": [
825
+ {
826
+ "name": "",
827
+ "type": "bool",
828
+ "internalType": "bool"
829
+ }
830
+ ],
831
+ "stateMutability": "view"
832
+ },
833
+ {
834
+ "type": "function",
835
+ "name": "isValidSignature",
836
+ "inputs": [
837
+ {
838
+ "name": "",
839
+ "type": "bytes32",
840
+ "internalType": "bytes32"
841
+ },
842
+ {
843
+ "name": "",
844
+ "type": "bytes",
845
+ "internalType": "bytes"
846
+ }
847
+ ],
848
+ "outputs": [
849
+ {
850
+ "name": "",
851
+ "type": "bytes4",
852
+ "internalType": "bytes4"
853
+ }
854
+ ],
855
+ "stateMutability": "pure"
856
+ },
857
+ {
858
+ "type": "function",
859
+ "name": "label",
860
+ "inputs": [],
861
+ "outputs": [
862
+ {
863
+ "name": "",
864
+ "type": "string",
865
+ "internalType": "string"
866
+ }
867
+ ],
868
+ "stateMutability": "view"
869
+ },
870
+ {
871
+ "type": "function",
872
+ "name": "lastCheckpointBlock",
873
+ "inputs": [],
874
+ "outputs": [
875
+ {
876
+ "name": "",
877
+ "type": "uint64",
878
+ "internalType": "uint64"
879
+ }
880
+ ],
881
+ "stateMutability": "view"
882
+ },
883
+ {
884
+ "type": "function",
885
+ "name": "onERC1155BatchReceived",
886
+ "inputs": [
887
+ {
888
+ "name": "",
889
+ "type": "address",
890
+ "internalType": "address"
891
+ },
892
+ {
893
+ "name": "",
894
+ "type": "address",
895
+ "internalType": "address"
896
+ },
897
+ {
898
+ "name": "",
899
+ "type": "uint256[]",
900
+ "internalType": "uint256[]"
901
+ },
902
+ {
903
+ "name": "",
904
+ "type": "uint256[]",
905
+ "internalType": "uint256[]"
906
+ },
907
+ {
908
+ "name": "",
909
+ "type": "bytes",
910
+ "internalType": "bytes"
911
+ }
912
+ ],
913
+ "outputs": [
914
+ {
915
+ "name": "",
916
+ "type": "bytes4",
917
+ "internalType": "bytes4"
918
+ }
919
+ ],
920
+ "stateMutability": "pure"
921
+ },
922
+ {
923
+ "type": "function",
924
+ "name": "onERC1155Received",
925
+ "inputs": [
926
+ {
927
+ "name": "",
928
+ "type": "address",
929
+ "internalType": "address"
930
+ },
931
+ {
932
+ "name": "",
933
+ "type": "address",
934
+ "internalType": "address"
935
+ },
936
+ {
937
+ "name": "",
938
+ "type": "uint256",
939
+ "internalType": "uint256"
940
+ },
941
+ {
942
+ "name": "",
943
+ "type": "uint256",
944
+ "internalType": "uint256"
945
+ },
946
+ {
947
+ "name": "",
948
+ "type": "bytes",
949
+ "internalType": "bytes"
950
+ }
951
+ ],
952
+ "outputs": [
953
+ {
954
+ "name": "",
955
+ "type": "bytes4",
956
+ "internalType": "bytes4"
957
+ }
958
+ ],
959
+ "stateMutability": "pure"
960
+ },
961
+ {
962
+ "type": "function",
963
+ "name": "onERC721Received",
964
+ "inputs": [
965
+ {
966
+ "name": "",
967
+ "type": "address",
968
+ "internalType": "address"
969
+ },
970
+ {
971
+ "name": "",
972
+ "type": "address",
973
+ "internalType": "address"
974
+ },
975
+ {
976
+ "name": "",
977
+ "type": "uint256",
978
+ "internalType": "uint256"
979
+ },
980
+ {
981
+ "name": "",
982
+ "type": "bytes",
983
+ "internalType": "bytes"
984
+ }
985
+ ],
986
+ "outputs": [
987
+ {
988
+ "name": "",
989
+ "type": "bytes4",
990
+ "internalType": "bytes4"
991
+ }
992
+ ],
993
+ "stateMutability": "pure"
994
+ },
995
+ {
996
+ "type": "function",
997
+ "name": "owner",
998
+ "inputs": [],
999
+ "outputs": [
1000
+ {
1001
+ "name": "",
1002
+ "type": "address",
1003
+ "internalType": "address"
1004
+ }
1005
+ ],
1006
+ "stateMutability": "view"
1007
+ },
1008
+ {
1009
+ "type": "function",
1010
+ "name": "revokeAllRules",
1011
+ "inputs": [],
1012
+ "outputs": [],
1013
+ "stateMutability": "nonpayable"
1014
+ },
1015
+ {
1016
+ "type": "function",
1017
+ "name": "revokeRules",
1018
+ "inputs": [
1019
+ {
1020
+ "name": "rulesId",
1021
+ "type": "bytes32",
1022
+ "internalType": "bytes32"
1023
+ }
1024
+ ],
1025
+ "outputs": [],
1026
+ "stateMutability": "nonpayable"
1027
+ },
1028
+ {
1029
+ "type": "function",
1030
+ "name": "setLabel",
1031
+ "inputs": [
1032
+ {
1033
+ "name": "label_",
1034
+ "type": "string",
1035
+ "internalType": "string"
1036
+ }
1037
+ ],
1038
+ "outputs": [],
1039
+ "stateMutability": "nonpayable"
1040
+ },
1041
+ {
1042
+ "type": "function",
1043
+ "name": "supportsExecutionMode",
1044
+ "inputs": [
1045
+ {
1046
+ "name": "mode",
1047
+ "type": "bytes32",
1048
+ "internalType": "bytes32"
1049
+ }
1050
+ ],
1051
+ "outputs": [
1052
+ {
1053
+ "name": "",
1054
+ "type": "bool",
1055
+ "internalType": "bool"
1056
+ }
1057
+ ],
1058
+ "stateMutability": "pure"
1059
+ },
1060
+ {
1061
+ "type": "function",
1062
+ "name": "supportsInterface",
1063
+ "inputs": [
1064
+ {
1065
+ "name": "interfaceId",
1066
+ "type": "bytes4",
1067
+ "internalType": "bytes4"
1068
+ }
1069
+ ],
1070
+ "outputs": [
1071
+ {
1072
+ "name": "",
1073
+ "type": "bool",
1074
+ "internalType": "bool"
1075
+ }
1076
+ ],
1077
+ "stateMutability": "pure"
1078
+ },
1079
+ {
1080
+ "type": "function",
1081
+ "name": "supportsModule",
1082
+ "inputs": [
1083
+ {
1084
+ "name": "moduleTypeId",
1085
+ "type": "uint256",
1086
+ "internalType": "uint256"
1087
+ }
1088
+ ],
1089
+ "outputs": [
1090
+ {
1091
+ "name": "",
1092
+ "type": "bool",
1093
+ "internalType": "bool"
1094
+ }
1095
+ ],
1096
+ "stateMutability": "pure"
1097
+ },
1098
+ {
1099
+ "type": "function",
1100
+ "name": "uninstallModule",
1101
+ "inputs": [
1102
+ {
1103
+ "name": "moduleTypeId",
1104
+ "type": "uint256",
1105
+ "internalType": "uint256"
1106
+ },
1107
+ {
1108
+ "name": "module",
1109
+ "type": "address",
1110
+ "internalType": "address"
1111
+ },
1112
+ {
1113
+ "name": "deInitData",
1114
+ "type": "bytes",
1115
+ "internalType": "bytes"
1116
+ }
1117
+ ],
1118
+ "outputs": [],
1119
+ "stateMutability": "nonpayable"
1120
+ },
1121
+ {
1122
+ "type": "event",
1123
+ "name": "AccountInitialized",
1124
+ "inputs": [
1125
+ {
1126
+ "name": "owner",
1127
+ "type": "address",
1128
+ "indexed": true,
1129
+ "internalType": "address"
1130
+ },
1131
+ {
1132
+ "name": "engine",
1133
+ "type": "address",
1134
+ "indexed": true,
1135
+ "internalType": "address"
1136
+ }
1137
+ ],
1138
+ "anonymous": false
1139
+ },
1140
+ {
1141
+ "type": "event",
1142
+ "name": "Checkpointed",
1143
+ "inputs": [
1144
+ {
1145
+ "name": "seq",
1146
+ "type": "uint64",
1147
+ "indexed": true,
1148
+ "internalType": "uint64"
1149
+ },
1150
+ {
1151
+ "name": "kind",
1152
+ "type": "uint8",
1153
+ "indexed": false,
1154
+ "internalType": "enum CheckpointKind"
1155
+ },
1156
+ {
1157
+ "name": "ref",
1158
+ "type": "bytes32",
1159
+ "indexed": false,
1160
+ "internalType": "bytes32"
1161
+ },
1162
+ {
1163
+ "name": "blockNumber",
1164
+ "type": "uint64",
1165
+ "indexed": false,
1166
+ "internalType": "uint64"
1167
+ }
1168
+ ],
1169
+ "anonymous": false
1170
+ },
1171
+ {
1172
+ "type": "event",
1173
+ "name": "LabelSet",
1174
+ "inputs": [
1175
+ {
1176
+ "name": "label",
1177
+ "type": "string",
1178
+ "indexed": false,
1179
+ "internalType": "string"
1180
+ }
1181
+ ],
1182
+ "anonymous": false
1183
+ },
1184
+ {
1185
+ "type": "event",
1186
+ "name": "ModuleInstalled",
1187
+ "inputs": [
1188
+ {
1189
+ "name": "moduleTypeId",
1190
+ "type": "uint256",
1191
+ "indexed": false,
1192
+ "internalType": "uint256"
1193
+ },
1194
+ {
1195
+ "name": "module",
1196
+ "type": "address",
1197
+ "indexed": false,
1198
+ "internalType": "address"
1199
+ }
1200
+ ],
1201
+ "anonymous": false
1202
+ },
1203
+ {
1204
+ "type": "event",
1205
+ "name": "ModuleUninstalled",
1206
+ "inputs": [
1207
+ {
1208
+ "name": "moduleTypeId",
1209
+ "type": "uint256",
1210
+ "indexed": false,
1211
+ "internalType": "uint256"
1212
+ },
1213
+ {
1214
+ "name": "module",
1215
+ "type": "address",
1216
+ "indexed": false,
1217
+ "internalType": "address"
1218
+ }
1219
+ ],
1220
+ "anonymous": false
1221
+ },
1222
+ {
1223
+ "type": "event",
1224
+ "name": "OwnerExecuted",
1225
+ "inputs": [
1226
+ {
1227
+ "name": "mode",
1228
+ "type": "bytes32",
1229
+ "indexed": true,
1230
+ "internalType": "bytes32"
1231
+ },
1232
+ {
1233
+ "name": "executionCalldataHash",
1234
+ "type": "bytes32",
1235
+ "indexed": false,
1236
+ "internalType": "bytes32"
1237
+ }
1238
+ ],
1239
+ "anonymous": false
1240
+ },
1241
+ {
1242
+ "type": "event",
1243
+ "name": "OwnerExecutedWithSig",
1244
+ "inputs": [
1245
+ {
1246
+ "name": "mode",
1247
+ "type": "bytes32",
1248
+ "indexed": true,
1249
+ "internalType": "bytes32"
1250
+ },
1251
+ {
1252
+ "name": "executionCalldataHash",
1253
+ "type": "bytes32",
1254
+ "indexed": false,
1255
+ "internalType": "bytes32"
1256
+ },
1257
+ {
1258
+ "name": "nonceKey",
1259
+ "type": "uint192",
1260
+ "indexed": false,
1261
+ "internalType": "uint192"
1262
+ },
1263
+ {
1264
+ "name": "nonceSeq",
1265
+ "type": "uint64",
1266
+ "indexed": false,
1267
+ "internalType": "uint64"
1268
+ }
1269
+ ],
1270
+ "anonymous": false
1271
+ },
1272
+ {
1273
+ "type": "event",
1274
+ "name": "RulesActionAuthorized",
1275
+ "inputs": [
1276
+ {
1277
+ "name": "rulesId",
1278
+ "type": "bytes32",
1279
+ "indexed": true,
1280
+ "internalType": "bytes32"
1281
+ },
1282
+ {
1283
+ "name": "agent",
1284
+ "type": "address",
1285
+ "indexed": true,
1286
+ "internalType": "address"
1287
+ },
1288
+ {
1289
+ "name": "callsHash",
1290
+ "type": "bytes32",
1291
+ "indexed": false,
1292
+ "internalType": "bytes32"
1293
+ }
1294
+ ],
1295
+ "anonymous": false
1296
+ },
1297
+ {
1298
+ "type": "event",
1299
+ "name": "RulesGranted",
1300
+ "inputs": [
1301
+ {
1302
+ "name": "rulesId",
1303
+ "type": "bytes32",
1304
+ "indexed": true,
1305
+ "internalType": "bytes32"
1306
+ },
1307
+ {
1308
+ "name": "mode",
1309
+ "type": "uint8",
1310
+ "indexed": false,
1311
+ "internalType": "enum RulesType"
1312
+ },
1313
+ {
1314
+ "name": "chainHash",
1315
+ "type": "bytes32",
1316
+ "indexed": true,
1317
+ "internalType": "bytes32"
1318
+ },
1319
+ {
1320
+ "name": "chainNamespace",
1321
+ "type": "string",
1322
+ "indexed": false,
1323
+ "internalType": "string"
1324
+ }
1325
+ ],
1326
+ "anonymous": false
1327
+ },
1328
+ {
1329
+ "type": "event",
1330
+ "name": "RulesRevoked",
1331
+ "inputs": [
1332
+ {
1333
+ "name": "rulesId",
1334
+ "type": "bytes32",
1335
+ "indexed": true,
1336
+ "internalType": "bytes32"
1337
+ }
1338
+ ],
1339
+ "anonymous": false
1340
+ },
1341
+ {
1342
+ "type": "event",
1343
+ "name": "UninstallCallbackFailed",
1344
+ "inputs": [
1345
+ {
1346
+ "name": "module",
1347
+ "type": "address",
1348
+ "indexed": false,
1349
+ "internalType": "address"
1350
+ }
1351
+ ],
1352
+ "anonymous": false
1353
+ },
1354
+ {
1355
+ "type": "error",
1356
+ "name": "AlreadyInitialized",
1357
+ "inputs": []
1358
+ },
1359
+ {
1360
+ "type": "error",
1361
+ "name": "CallerIsNotAgent",
1362
+ "inputs": [
1363
+ {
1364
+ "name": "rulesId",
1365
+ "type": "bytes32",
1366
+ "internalType": "bytes32"
1367
+ },
1368
+ {
1369
+ "name": "caller",
1370
+ "type": "address",
1371
+ "internalType": "address"
1372
+ }
1373
+ ]
1374
+ },
1375
+ {
1376
+ "type": "error",
1377
+ "name": "CallerIsNotFactory",
1378
+ "inputs": []
1379
+ },
1380
+ {
1381
+ "type": "error",
1382
+ "name": "CallerIsNotOwner",
1383
+ "inputs": []
1384
+ },
1385
+ {
1386
+ "type": "error",
1387
+ "name": "DuplicateAction",
1388
+ "inputs": [
1389
+ {
1390
+ "name": "target",
1391
+ "type": "address",
1392
+ "internalType": "address"
1393
+ },
1394
+ {
1395
+ "name": "selector",
1396
+ "type": "bytes4",
1397
+ "internalType": "bytes4"
1398
+ }
1399
+ ]
1400
+ },
1401
+ {
1402
+ "type": "error",
1403
+ "name": "EmptyChain",
1404
+ "inputs": []
1405
+ },
1406
+ {
1407
+ "type": "error",
1408
+ "name": "EngineStillHoldsPermissions",
1409
+ "inputs": []
1410
+ },
1411
+ {
1412
+ "type": "error",
1413
+ "name": "ExecutorMismatch",
1414
+ "inputs": [
1415
+ {
1416
+ "name": "expected",
1417
+ "type": "address",
1418
+ "internalType": "address"
1419
+ },
1420
+ {
1421
+ "name": "actual",
1422
+ "type": "address",
1423
+ "internalType": "address"
1424
+ }
1425
+ ]
1426
+ },
1427
+ {
1428
+ "type": "error",
1429
+ "name": "ForbiddenActionSelector",
1430
+ "inputs": [
1431
+ {
1432
+ "name": "selector",
1433
+ "type": "bytes4",
1434
+ "internalType": "bytes4"
1435
+ }
1436
+ ]
1437
+ },
1438
+ {
1439
+ "type": "error",
1440
+ "name": "ForbiddenActionTarget",
1441
+ "inputs": [
1442
+ {
1443
+ "name": "target",
1444
+ "type": "address",
1445
+ "internalType": "address"
1446
+ }
1447
+ ]
1448
+ },
1449
+ {
1450
+ "type": "error",
1451
+ "name": "ForbiddenDispatchTarget",
1452
+ "inputs": [
1453
+ {
1454
+ "name": "target",
1455
+ "type": "address",
1456
+ "internalType": "address"
1457
+ }
1458
+ ]
1459
+ },
1460
+ {
1461
+ "type": "error",
1462
+ "name": "InconsistentChain",
1463
+ "inputs": [
1464
+ {
1465
+ "name": "actionIndex",
1466
+ "type": "uint256",
1467
+ "internalType": "uint256"
1468
+ }
1469
+ ]
1470
+ },
1471
+ {
1472
+ "type": "error",
1473
+ "name": "IntentExecMismatch",
1474
+ "inputs": [
1475
+ {
1476
+ "name": "actualCalldataHash",
1477
+ "type": "bytes32",
1478
+ "internalType": "bytes32"
1479
+ }
1480
+ ]
1481
+ },
1482
+ {
1483
+ "type": "error",
1484
+ "name": "IntentGrantNonceMismatch",
1485
+ "inputs": [
1486
+ {
1487
+ "name": "expected",
1488
+ "type": "uint64",
1489
+ "internalType": "uint64"
1490
+ },
1491
+ {
1492
+ "name": "provided",
1493
+ "type": "uint64",
1494
+ "internalType": "uint64"
1495
+ }
1496
+ ]
1497
+ },
1498
+ {
1499
+ "type": "error",
1500
+ "name": "IntentSessionMismatch",
1501
+ "inputs": [
1502
+ {
1503
+ "name": "actual",
1504
+ "type": "bytes32",
1505
+ "internalType": "bytes32"
1506
+ }
1507
+ ]
1508
+ },
1509
+ {
1510
+ "type": "error",
1511
+ "name": "IntentWalletMismatch",
1512
+ "inputs": [
1513
+ {
1514
+ "name": "expected",
1515
+ "type": "address",
1516
+ "internalType": "address"
1517
+ },
1518
+ {
1519
+ "name": "provided",
1520
+ "type": "address",
1521
+ "internalType": "address"
1522
+ }
1523
+ ]
1524
+ },
1525
+ {
1526
+ "type": "error",
1527
+ "name": "InvalidModuleAddress",
1528
+ "inputs": []
1529
+ },
1530
+ {
1531
+ "type": "error",
1532
+ "name": "InvalidNonce",
1533
+ "inputs": [
1534
+ {
1535
+ "name": "nonceKey",
1536
+ "type": "uint192",
1537
+ "internalType": "uint192"
1538
+ },
1539
+ {
1540
+ "name": "expected",
1541
+ "type": "uint64",
1542
+ "internalType": "uint64"
1543
+ },
1544
+ {
1545
+ "name": "provided",
1546
+ "type": "uint64",
1547
+ "internalType": "uint64"
1548
+ }
1549
+ ]
1550
+ },
1551
+ {
1552
+ "type": "error",
1553
+ "name": "InvalidOwnerSignature",
1554
+ "inputs": []
1555
+ },
1556
+ {
1557
+ "type": "error",
1558
+ "name": "LabelTooLong",
1559
+ "inputs": [
1560
+ {
1561
+ "name": "length",
1562
+ "type": "uint256",
1563
+ "internalType": "uint256"
1564
+ }
1565
+ ]
1566
+ },
1567
+ {
1568
+ "type": "error",
1569
+ "name": "MalformedBatchCalldata",
1570
+ "inputs": []
1571
+ },
1572
+ {
1573
+ "type": "error",
1574
+ "name": "MalformedSessionShape",
1575
+ "inputs": []
1576
+ },
1577
+ {
1578
+ "type": "error",
1579
+ "name": "ModuleAlreadyInstalled",
1580
+ "inputs": [
1581
+ {
1582
+ "name": "module",
1583
+ "type": "address",
1584
+ "internalType": "address"
1585
+ }
1586
+ ]
1587
+ },
1588
+ {
1589
+ "type": "error",
1590
+ "name": "OutsideTimeWindow",
1591
+ "inputs": [
1592
+ {
1593
+ "name": "validAfter",
1594
+ "type": "uint48",
1595
+ "internalType": "uint48"
1596
+ },
1597
+ {
1598
+ "name": "validUntil",
1599
+ "type": "uint48",
1600
+ "internalType": "uint48"
1601
+ }
1602
+ ]
1603
+ },
1604
+ {
1605
+ "type": "error",
1606
+ "name": "OwnerLaneRequired",
1607
+ "inputs": [
1608
+ {
1609
+ "name": "nonceKey",
1610
+ "type": "uint192",
1611
+ "internalType": "uint192"
1612
+ }
1613
+ ]
1614
+ },
1615
+ {
1616
+ "type": "error",
1617
+ "name": "OwnerSigExpired",
1618
+ "inputs": [
1619
+ {
1620
+ "name": "deadline",
1621
+ "type": "uint48",
1622
+ "internalType": "uint48"
1623
+ }
1624
+ ]
1625
+ },
1626
+ {
1627
+ "type": "error",
1628
+ "name": "ReentrancyGuardReentrantCall",
1629
+ "inputs": []
1630
+ },
1631
+ {
1632
+ "type": "error",
1633
+ "name": "RulesTypeMismatch",
1634
+ "inputs": [
1635
+ {
1636
+ "name": "derived",
1637
+ "type": "uint8",
1638
+ "internalType": "enum RulesType"
1639
+ },
1640
+ {
1641
+ "name": "actionIndex",
1642
+ "type": "uint256",
1643
+ "internalType": "uint256"
1644
+ },
1645
+ {
1646
+ "name": "target",
1647
+ "type": "address",
1648
+ "internalType": "address"
1649
+ }
1650
+ ]
1651
+ },
1652
+ {
1653
+ "type": "error",
1654
+ "name": "TooManyActions",
1655
+ "inputs": [
1656
+ {
1657
+ "name": "count",
1658
+ "type": "uint256",
1659
+ "internalType": "uint256"
1660
+ }
1661
+ ]
1662
+ },
1663
+ {
1664
+ "type": "error",
1665
+ "name": "UnknownPermission",
1666
+ "inputs": [
1667
+ {
1668
+ "name": "rulesId",
1669
+ "type": "bytes32",
1670
+ "internalType": "bytes32"
1671
+ }
1672
+ ]
1673
+ },
1674
+ {
1675
+ "type": "error",
1676
+ "name": "UnsupportedExecutionMode",
1677
+ "inputs": []
1678
+ },
1679
+ {
1680
+ "type": "error",
1681
+ "name": "UnsupportedModuleType",
1682
+ "inputs": [
1683
+ {
1684
+ "name": "moduleTypeId",
1685
+ "type": "uint256",
1686
+ "internalType": "uint256"
1687
+ }
1688
+ ]
1689
+ },
1690
+ {
1691
+ "type": "error",
1692
+ "name": "ValidationFailed",
1693
+ "inputs": [
1694
+ {
1695
+ "name": "authorizer",
1696
+ "type": "address",
1697
+ "internalType": "address"
1698
+ }
1699
+ ]
1700
+ },
1701
+ {
1702
+ "type": "error",
1703
+ "name": "ValidatorNotInstalled",
1704
+ "inputs": [
1705
+ {
1706
+ "name": "validator",
1707
+ "type": "address",
1708
+ "internalType": "address"
1709
+ }
1710
+ ]
1711
+ }
1712
+ ];
1713
+ //# sourceMappingURL=agw.js.map