otto-intel-mcp 0.1.2 → 0.1.4

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 (239) hide show
  1. package/README.md +76 -18
  2. package/dist/account-userop-policy-definition.d.ts +14 -0
  3. package/dist/account-userop-policy-definition.js +12 -0
  4. package/dist/account-userop-policy-relation.d.ts +371 -0
  5. package/dist/account-userop-policy-relation.js +87 -0
  6. package/dist/adapter/cdp-signer.d.ts +76 -9
  7. package/dist/adapter/cdp-signer.js +274 -33
  8. package/dist/adapter/evm-call-failure.d.ts +29 -0
  9. package/dist/adapter/evm-call-failure.js +109 -0
  10. package/dist/adapter/refusal.d.ts +1 -1
  11. package/dist/adapter/refusal.js +13 -0
  12. package/dist/adapter/route-simulator.d.ts +91 -0
  13. package/dist/adapter/route-simulator.js +143 -0
  14. package/dist/adapter-cdp-index.d.ts +1 -1
  15. package/dist/executable-equities.d.ts +55 -0
  16. package/dist/executable-equities.js +116 -0
  17. package/dist/executable-yield-markets.d.ts +261 -0
  18. package/dist/executable-yield-markets.js +154 -0
  19. package/dist/execution-account-gas-quote.d.ts +141 -0
  20. package/dist/execution-account-gas-quote.js +443 -0
  21. package/dist/execution-account-gas-review.d.ts +123 -0
  22. package/dist/execution-account-gas-review.js +104 -0
  23. package/dist/execution-account-gas-runtime.d.ts +33 -0
  24. package/dist/execution-account-gas-runtime.js +131 -0
  25. package/dist/execution-account-gas-view.d.ts +936 -0
  26. package/dist/execution-account-gas-view.js +56 -0
  27. package/dist/execution-config.d.ts +3 -0
  28. package/dist/execution-config.js +4 -0
  29. package/dist/execution-delegated-definition.d.ts +7 -6
  30. package/dist/execution-delegated-definition.js +13 -2
  31. package/dist/execution-delegation-admin-definition.d.ts +127 -5
  32. package/dist/execution-delegation-admin-definition.js +155 -5
  33. package/dist/execution-delegation-admin.d.ts +48 -2
  34. package/dist/execution-delegation-admin.js +422 -12
  35. package/dist/execution-delegation-cap-store.d.ts +386 -0
  36. package/dist/execution-delegation-cap-store.js +1150 -0
  37. package/dist/execution-delegation-exit-definition.d.ts +309 -0
  38. package/dist/execution-delegation-exit-definition.js +204 -0
  39. package/dist/execution-delegation-exit-store.d.ts +114 -0
  40. package/dist/execution-delegation-exit-store.js +671 -0
  41. package/dist/execution-delegation-exit.d.ts +4 -0
  42. package/dist/execution-delegation-exit.js +614 -0
  43. package/dist/execution-delegation-finality.d.ts +22 -0
  44. package/dist/execution-delegation-finality.js +90 -0
  45. package/dist/execution-delegation-operation-store.d.ts +129 -0
  46. package/dist/execution-delegation-operation-store.js +1107 -0
  47. package/dist/execution-delegation-operations-definition.d.ts +282 -0
  48. package/dist/execution-delegation-operations-definition.js +117 -0
  49. package/dist/execution-delegation-operations.d.ts +6 -0
  50. package/dist/execution-delegation-operations.js +282 -0
  51. package/dist/execution-delegation-policy.d.ts +154 -8
  52. package/dist/execution-delegation-policy.js +273 -40
  53. package/dist/execution-delegation.d.ts +51 -0
  54. package/dist/execution-delegation.js +441 -31
  55. package/dist/execution-errors.d.ts +1 -1
  56. package/dist/execution-errors.js +122 -0
  57. package/dist/execution-index.d.ts +7 -2
  58. package/dist/execution-index.js +7 -2
  59. package/dist/execution-journal-schema.d.ts +96 -0
  60. package/dist/execution-journal-schema.js +368 -0
  61. package/dist/execution-journal-tables.d.ts +14 -0
  62. package/dist/execution-journal-tables.js +227 -0
  63. package/dist/execution-policy-compatibility.d.ts +34 -0
  64. package/dist/execution-policy-compatibility.js +76 -0
  65. package/dist/execution-registration.d.ts +54 -2
  66. package/dist/execution-registration.js +151 -5
  67. package/dist/execution-sponsored-account-profile.d.ts +32 -0
  68. package/dist/execution-sponsored-account-profile.js +59 -0
  69. package/dist/execution-sponsored-account.d.ts +1519 -0
  70. package/dist/execution-sponsored-account.js +222 -0
  71. package/dist/execution-sponsored-definition.d.ts +1713 -0
  72. package/dist/execution-sponsored-definition.js +185 -0
  73. package/dist/execution-sponsored-gas-policy.d.ts +27 -0
  74. package/dist/execution-sponsored-gas-policy.js +110 -0
  75. package/dist/execution-sponsored-hosted.d.ts +3 -0
  76. package/dist/execution-sponsored-hosted.js +71 -0
  77. package/dist/execution-sponsored-index.d.ts +1322 -0
  78. package/dist/execution-sponsored-index.js +102 -0
  79. package/dist/execution-sponsored-mcp-definition.d.ts +1662 -0
  80. package/dist/execution-sponsored-mcp-definition.js +94 -0
  81. package/dist/execution-sponsored-receipt.d.ts +47 -0
  82. package/dist/execution-sponsored-receipt.js +74 -0
  83. package/dist/execution-sponsored-registration.d.ts +14 -0
  84. package/dist/execution-sponsored-registration.js +77 -0
  85. package/dist/execution-sponsored-runtime.d.ts +84 -0
  86. package/dist/execution-sponsored-runtime.js +149 -0
  87. package/dist/execution-sponsored-settlement.d.ts +15 -0
  88. package/dist/execution-sponsored-settlement.js +88 -0
  89. package/dist/execution-sponsored-store.d.ts +67 -0
  90. package/dist/execution-sponsored-store.js +517 -0
  91. package/dist/execution-sponsored-transport.d.ts +90 -0
  92. package/dist/execution-sponsored-transport.js +180 -0
  93. package/dist/execution-tool-definitions.d.ts +21 -21
  94. package/dist/execution-tool-definitions.js +0 -7
  95. package/dist/execution-tools.d.ts +53 -1
  96. package/dist/execution-tools.js +171 -13
  97. package/dist/execution-worker-guard.d.ts +28 -0
  98. package/dist/execution-worker-guard.js +124 -0
  99. package/dist/hybrid-yield-index.d.ts +10 -0
  100. package/dist/hybrid-yield-index.js +11 -0
  101. package/dist/hybrid-yield-markets.d.ts +96 -0
  102. package/dist/hybrid-yield-markets.js +124 -0
  103. package/dist/hybrid-yield.d.ts +411 -0
  104. package/dist/hybrid-yield.js +155 -0
  105. package/dist/hyperliquid-order-builder.js +4 -0
  106. package/dist/lifi-execution-client.d.ts +6 -0
  107. package/dist/lifi-execution-client.js +3 -0
  108. package/dist/lp-userop-account.d.ts +461 -0
  109. package/dist/lp-userop-account.js +417 -0
  110. package/dist/lp-userop-authority.d.ts +49 -0
  111. package/dist/lp-userop-authority.js +211 -0
  112. package/dist/lp-userop-definition.d.ts +233 -0
  113. package/dist/lp-userop-definition.js +85 -0
  114. package/dist/lp-userop-hosted.d.ts +3 -0
  115. package/dist/lp-userop-hosted.js +73 -0
  116. package/dist/lp-userop-index.d.ts +1569 -0
  117. package/dist/lp-userop-index.js +112 -0
  118. package/dist/lp-userop-mcp-definition.d.ts +1220 -0
  119. package/dist/lp-userop-mcp-definition.js +46 -0
  120. package/dist/lp-userop-operation.d.ts +1230 -0
  121. package/dist/lp-userop-operation.js +140 -0
  122. package/dist/lp-userop-registration.d.ts +14 -0
  123. package/dist/lp-userop-registration.js +70 -0
  124. package/dist/lp-userop-settlement.d.ts +89 -0
  125. package/dist/lp-userop-settlement.js +184 -0
  126. package/dist/lp-userop.d.ts +643 -0
  127. package/dist/lp-userop.js +343 -0
  128. package/dist/native-yield-account-definition.d.ts +1192 -0
  129. package/dist/native-yield-account-definition.js +232 -0
  130. package/dist/native-yield-account-gas.d.ts +58 -0
  131. package/dist/native-yield-account-gas.js +228 -0
  132. package/dist/native-yield-account-index.d.ts +23 -0
  133. package/dist/native-yield-account-index.js +28 -0
  134. package/dist/native-yield-account-policy.d.ts +168 -0
  135. package/dist/native-yield-account-policy.js +525 -0
  136. package/dist/native-yield-account-rpc.d.ts +8 -0
  137. package/dist/native-yield-account-rpc.js +128 -0
  138. package/dist/native-yield-account-runtime.d.ts +71 -0
  139. package/dist/native-yield-account-runtime.js +125 -0
  140. package/dist/native-yield-account-store.d.ts +40 -0
  141. package/dist/native-yield-account-store.js +307 -0
  142. package/dist/native-yield-account.d.ts +662 -0
  143. package/dist/native-yield-account.js +371 -0
  144. package/dist/native-yield-consent-store.d.ts +20 -0
  145. package/dist/native-yield-consent-store.js +317 -0
  146. package/dist/native-yield-definition.d.ts +288 -0
  147. package/dist/native-yield-definition.js +105 -0
  148. package/dist/native-yield-reader.d.ts +4 -0
  149. package/dist/native-yield-reader.js +137 -0
  150. package/dist/native-yield-settlement.d.ts +48 -0
  151. package/dist/native-yield-settlement.js +167 -0
  152. package/dist/native-yield-simulation.d.ts +18 -0
  153. package/dist/native-yield-simulation.js +45 -0
  154. package/dist/native-yield-userop-account.d.ts +675 -0
  155. package/dist/native-yield-userop-account.js +357 -0
  156. package/dist/native-yield-userop-authority.d.ts +214 -0
  157. package/dist/native-yield-userop-authority.js +296 -0
  158. package/dist/native-yield-userop-definition.d.ts +331 -0
  159. package/dist/native-yield-userop-definition.js +105 -0
  160. package/dist/native-yield-userop-hosted.d.ts +3 -0
  161. package/dist/native-yield-userop-hosted.js +71 -0
  162. package/dist/native-yield-userop-index.d.ts +1522 -0
  163. package/dist/native-yield-userop-index.js +142 -0
  164. package/dist/native-yield-userop-mcp-definition.d.ts +1356 -0
  165. package/dist/native-yield-userop-mcp-definition.js +50 -0
  166. package/dist/native-yield-userop-operation.d.ts +845 -0
  167. package/dist/native-yield-userop-operation.js +127 -0
  168. package/dist/native-yield-userop-policy.d.ts +23 -0
  169. package/dist/native-yield-userop-policy.js +25 -0
  170. package/dist/native-yield-userop-registration.d.ts +17 -0
  171. package/dist/native-yield-userop-registration.js +76 -0
  172. package/dist/native-yield-userop-settlement.d.ts +8 -0
  173. package/dist/native-yield-userop-settlement.js +79 -0
  174. package/dist/native-yield-userop-simulation.d.ts +18 -0
  175. package/dist/native-yield-userop-simulation.js +34 -0
  176. package/dist/native-yield-userop.d.ts +35 -0
  177. package/dist/native-yield-userop.js +156 -0
  178. package/dist/native-yield-verify.d.ts +30 -0
  179. package/dist/native-yield-verify.js +141 -0
  180. package/dist/native-yield.d.ts +17 -0
  181. package/dist/native-yield.js +119 -0
  182. package/dist/stdio-main.js +0 -0
  183. package/dist/stock-buy-definition.d.ts +338 -0
  184. package/dist/stock-buy-definition.js +127 -0
  185. package/dist/stock-buy-oracle.d.ts +8 -0
  186. package/dist/stock-buy-oracle.js +22 -0
  187. package/dist/stock-buy.d.ts +17 -0
  188. package/dist/stock-buy.js +164 -0
  189. package/dist/tool-definitions.d.ts +3 -1
  190. package/dist/tool-definitions.js +55 -2
  191. package/dist/vendor/lp-v3/lp-v3-atomic-contract.d.ts +445 -0
  192. package/dist/vendor/lp-v3/lp-v3-atomic-contract.js +90 -0
  193. package/dist/vendor/lp-v3/lp-v3-atomic-evidence.d.ts +14 -0
  194. package/dist/vendor/lp-v3/lp-v3-atomic-evidence.js +82 -0
  195. package/dist/vendor/lp-v3/lp-v3-atomic-index.d.ts +80 -0
  196. package/dist/vendor/lp-v3/lp-v3-atomic-index.js +19 -0
  197. package/dist/vendor/lp-v3/lp-v3-atomic-plan.d.ts +43 -0
  198. package/dist/vendor/lp-v3/lp-v3-atomic-plan.js +112 -0
  199. package/dist/vendor/lp-v3/lp-v3-atomic-read-contract.d.ts +312 -0
  200. package/dist/vendor/lp-v3/lp-v3-atomic-read-contract.js +41 -0
  201. package/dist/vendor/lp-v3/lp-v3-atomic-read-index.d.ts +3 -0
  202. package/dist/vendor/lp-v3/lp-v3-atomic-read-index.js +3 -0
  203. package/dist/vendor/lp-v3/lp-v3-atomic-read-rpc.d.ts +49 -0
  204. package/dist/vendor/lp-v3/lp-v3-atomic-read-rpc.js +88 -0
  205. package/dist/vendor/lp-v3/lp-v3-atomic-read.d.ts +17 -0
  206. package/dist/vendor/lp-v3/lp-v3-atomic-read.js +232 -0
  207. package/dist/vendor/lp-v3/lp-v3-atomic-settlement.d.ts +105 -0
  208. package/dist/vendor/lp-v3/lp-v3-atomic-settlement.js +162 -0
  209. package/dist/vendor/lp-v3/lp-v3-collect-protocol-contract.d.ts +606 -0
  210. package/dist/vendor/lp-v3/lp-v3-collect-protocol-contract.js +59 -0
  211. package/dist/vendor/lp-v3/lp-v3-collect-protocol-index.d.ts +168 -0
  212. package/dist/vendor/lp-v3/lp-v3-collect-protocol-index.js +23 -0
  213. package/dist/vendor/lp-v3/lp-v3-collect-protocol-observation.d.ts +32 -0
  214. package/dist/vendor/lp-v3/lp-v3-collect-protocol-observation.js +228 -0
  215. package/dist/vendor/lp-v3/lp-v3-collect-protocol-plan.d.ts +11 -0
  216. package/dist/vendor/lp-v3/lp-v3-collect-protocol-plan.js +91 -0
  217. package/dist/vendor/lp-v3/lp-v3-collect-protocol-reconcile.d.ts +9 -0
  218. package/dist/vendor/lp-v3/lp-v3-collect-protocol-reconcile.js +124 -0
  219. package/dist/vendor/lp-v3/lp-v3-contract.d.ts +538 -0
  220. package/dist/vendor/lp-v3/lp-v3-contract.js +137 -0
  221. package/dist/vendor/lp-v3/lp-v3-evidence.d.ts +25 -0
  222. package/dist/vendor/lp-v3/lp-v3-evidence.js +168 -0
  223. package/dist/vendor/lp-v3/lp-v3-plan.d.ts +22 -0
  224. package/dist/vendor/lp-v3/lp-v3-plan.js +135 -0
  225. package/dist/vendor/lp-v3/types.d.ts +131 -0
  226. package/dist/vendor/lp-v3/types.js +6 -0
  227. package/dist/vendor/lp-v3/v4-math.d.ts +18 -0
  228. package/dist/vendor/lp-v3/v4-math.js +90 -0
  229. package/dist/yield-deposit-definition.d.ts +374 -0
  230. package/dist/yield-deposit-definition.js +123 -0
  231. package/dist/yield-deposit.d.ts +16 -0
  232. package/dist/yield-deposit.js +149 -0
  233. package/dist/yield-route-semantics.d.ts +27 -0
  234. package/dist/yield-route-semantics.js +71 -0
  235. package/dist/yield-withdraw-definition.d.ts +357 -0
  236. package/dist/yield-withdraw-definition.js +90 -0
  237. package/dist/yield-withdraw.d.ts +11 -0
  238. package/dist/yield-withdraw.js +122 -0
  239. package/package.json +239 -7
@@ -0,0 +1,1356 @@
1
+ /** Closed protected UserOp API: scope consent, operation review and owned recovery stay distinct. */
2
+ import { z } from 'zod';
3
+ export declare const NATIVE_USEROP_TOOL_NAME: "otto_native_yield_userop";
4
+ export declare const NATIVE_USEROP_ACTION_INPUT: z.ZodDiscriminatedUnion<[z.ZodObject<{
5
+ action: z.ZodLiteral<"availability">;
6
+ }, z.core.$strict>, z.ZodObject<{
7
+ accessToken: z.ZodString;
8
+ reviewCommitment: z.ZodString;
9
+ preference: z.ZodEnum<{
10
+ auto: "auto";
11
+ account: "account";
12
+ sponsor: "sponsor";
13
+ }>;
14
+ action: z.ZodLiteral<"reviewGas">;
15
+ operationId: z.ZodString;
16
+ }, z.core.$strict>, z.ZodObject<{
17
+ accessToken: z.ZodString;
18
+ input: z.ZodObject<{
19
+ accountProfile: z.ZodObject<{
20
+ kind: z.ZodLiteral<"eoa">;
21
+ address: z.ZodString;
22
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
23
+ }, z.core.$strict>;
24
+ marketId: z.ZodString;
25
+ registryCommitment: z.ZodString;
26
+ action: z.ZodEnum<{
27
+ deposit: "deposit";
28
+ withdraw: "withdraw";
29
+ }>;
30
+ clientRef: z.ZodOptional<z.ZodString>;
31
+ amount: z.ZodString;
32
+ slippage: z.ZodObject<{
33
+ maxBps: z.ZodNumber;
34
+ minOutput: z.ZodOptional<z.ZodString>;
35
+ }, z.core.$strict>;
36
+ }, z.core.$strict>;
37
+ action: z.ZodLiteral<"reviewConsent">;
38
+ }, z.core.$strict>, z.ZodObject<{
39
+ accessToken: z.ZodString;
40
+ input: z.ZodObject<{
41
+ accountProfile: z.ZodObject<{
42
+ kind: z.ZodLiteral<"eoa">;
43
+ address: z.ZodString;
44
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
45
+ }, z.core.$strict>;
46
+ marketId: z.ZodString;
47
+ registryCommitment: z.ZodString;
48
+ action: z.ZodEnum<{
49
+ deposit: "deposit";
50
+ withdraw: "withdraw";
51
+ }>;
52
+ clientRef: z.ZodOptional<z.ZodString>;
53
+ amount: z.ZodString;
54
+ slippage: z.ZodObject<{
55
+ maxBps: z.ZodNumber;
56
+ minOutput: z.ZodOptional<z.ZodString>;
57
+ }, z.core.$strict>;
58
+ }, z.core.$strict>;
59
+ consentId: z.ZodString;
60
+ consentCommitment: z.ZodString;
61
+ confirmation: z.ZodLiteral<"I reviewed the native yield scope and limits">;
62
+ action: z.ZodLiteral<"confirmConsent">;
63
+ }, z.core.$strict>, z.ZodObject<{
64
+ accessToken: z.ZodString;
65
+ input: z.ZodObject<{
66
+ accountProfile: z.ZodObject<{
67
+ kind: z.ZodLiteral<"eoa">;
68
+ address: z.ZodString;
69
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
70
+ }, z.core.$strict>;
71
+ marketId: z.ZodString;
72
+ registryCommitment: z.ZodString;
73
+ action: z.ZodEnum<{
74
+ deposit: "deposit";
75
+ withdraw: "withdraw";
76
+ }>;
77
+ clientRef: z.ZodOptional<z.ZodString>;
78
+ amount: z.ZodString;
79
+ slippage: z.ZodObject<{
80
+ maxBps: z.ZodNumber;
81
+ minOutput: z.ZodOptional<z.ZodString>;
82
+ }, z.core.$strict>;
83
+ }, z.core.$strict>;
84
+ action: z.ZodLiteral<"prepare">;
85
+ }, z.core.$strict>, z.ZodObject<{
86
+ accessToken: z.ZodString;
87
+ operationId: z.ZodString;
88
+ envelopeCommitment: z.ZodString;
89
+ reviewCommitment: z.ZodString;
90
+ confirmation: z.ZodEnum<{
91
+ "I reviewed this native yield action and sponsored atomic batch": "I reviewed this native yield action and sponsored atomic batch";
92
+ "I reviewed this native yield action and account-paid atomic batch": "I reviewed this native yield action and account-paid atomic batch";
93
+ }>;
94
+ action: z.ZodLiteral<"submit">;
95
+ }, z.core.$strict>, z.ZodObject<{
96
+ accessToken: z.ZodString;
97
+ operationId: z.ZodString;
98
+ action: z.ZodLiteral<"read">;
99
+ }, z.core.$strict>, z.ZodObject<{
100
+ accessToken: z.ZodString;
101
+ operationId: z.ZodString;
102
+ action: z.ZodLiteral<"reconcile">;
103
+ }, z.core.$strict>, z.ZodObject<{
104
+ accessToken: z.ZodString;
105
+ account: z.ZodString;
106
+ action: z.ZodLiteral<"revokeConsent">;
107
+ }, z.core.$strict>], "action">;
108
+ export declare const NATIVE_USEROP_AVAILABILITY_RESULT: z.ZodObject<{
109
+ schemaVersion: z.ZodLiteral<"1">;
110
+ kind: z.ZodLiteral<"native-yield-userop">;
111
+ configured: z.ZodBoolean;
112
+ executionEnabled: z.ZodBoolean;
113
+ recoveryAvailable: z.ZodBoolean;
114
+ reason: z.ZodOptional<z.ZodEnum<import("./execution-sponsored-mcp-definition.js").SponsoredRefusalEnum>>;
115
+ requiresNativeConsent: z.ZodLiteral<true>;
116
+ requiresSeparateWalletUpgrade: z.ZodLiteral<true>;
117
+ requiresOperationReview: z.ZodLiteral<true>;
118
+ automaticExecutionEnabled: z.ZodLiteral<false>;
119
+ supportedSameAddressChains: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>>;
120
+ }, z.core.$strict>;
121
+ export declare const NATIVE_USEROP_UNCERTAIN_RESULT: z.ZodObject<{
122
+ schemaVersion: z.ZodLiteral<"1">;
123
+ kind: z.ZodLiteral<"native-yield-userop">;
124
+ status: z.ZodLiteral<"outcome-unknown">;
125
+ operationId: z.ZodString;
126
+ requiresReconciliation: z.ZodLiteral<true>;
127
+ replacementPermitted: z.ZodLiteral<false>;
128
+ attention: z.ZodLiteral<"The outcome of the original submission is unknown. Read or reconcile this operation; do not submit a replacement.">;
129
+ }, z.core.$strict>;
130
+ export declare const NATIVE_USEROP_TOOL_RESULT: z.ZodUnion<readonly [z.ZodObject<{
131
+ schemaVersion: z.ZodLiteral<"1">;
132
+ kind: z.ZodLiteral<"native-yield-userop">;
133
+ configured: z.ZodBoolean;
134
+ executionEnabled: z.ZodBoolean;
135
+ recoveryAvailable: z.ZodBoolean;
136
+ reason: z.ZodOptional<z.ZodEnum<import("./execution-sponsored-mcp-definition.js").SponsoredRefusalEnum>>;
137
+ requiresNativeConsent: z.ZodLiteral<true>;
138
+ requiresSeparateWalletUpgrade: z.ZodLiteral<true>;
139
+ requiresOperationReview: z.ZodLiteral<true>;
140
+ automaticExecutionEnabled: z.ZodLiteral<false>;
141
+ supportedSameAddressChains: z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>>;
142
+ }, z.core.$strict>, z.ZodObject<{
143
+ schemaVersion: z.ZodLiteral<"1">;
144
+ kind: z.ZodLiteral<"native-yield-userop">;
145
+ consent: z.ZodObject<{
146
+ consentId: z.ZodString;
147
+ consentCommitment: z.ZodString;
148
+ createdAtMs: z.ZodNumber;
149
+ challengeExpiresAtMs: z.ZodNumber;
150
+ state: z.ZodEnum<{
151
+ challenge: "challenge";
152
+ confirmed: "confirmed";
153
+ revoked: "revoked";
154
+ superseded: "superseded";
155
+ }>;
156
+ generation: z.ZodNumber;
157
+ confirmedAtMs: z.ZodNullable<z.ZodNumber>;
158
+ account: z.ZodString;
159
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
160
+ }, z.core.$strict>;
161
+ scope: z.ZodOptional<z.ZodObject<{
162
+ account: z.ZodString;
163
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
164
+ scopes: z.ZodArray<z.ZodEnum<{
165
+ deposit: "deposit";
166
+ withdraw: "withdraw";
167
+ approve: "approve";
168
+ "approve-reset": "approve-reset";
169
+ revoke: "revoke";
170
+ }>>;
171
+ marketLimits: z.ZodArray<z.ZodObject<{
172
+ marketId: z.ZodString;
173
+ action: z.ZodEnum<{
174
+ deposit: "deposit";
175
+ withdraw: "withdraw";
176
+ }>;
177
+ inputToken: z.ZodString;
178
+ maximumInputAtomic: z.ZodString;
179
+ }, z.core.$strict>>;
180
+ perDepositCapUsd: z.ZodNumber;
181
+ maximumGasCostWei: z.ZodString;
182
+ maximumUserGasCostWei: z.ZodString;
183
+ maximumActivationGasCostWei: z.ZodString;
184
+ expiresAtMs: z.ZodNumber;
185
+ requiresSeparateOperationReview: z.ZodLiteral<true>;
186
+ }, z.core.$strict>>;
187
+ requiresSeparateOperationReview: z.ZodLiteral<true>;
188
+ automaticExecutionEnabled: z.ZodLiteral<false>;
189
+ walletAuthorityChangeIncluded: z.ZodLiteral<false>;
190
+ }, z.core.$strict>, z.ZodObject<{
191
+ schemaVersion: z.ZodLiteral<"1">;
192
+ kind: z.ZodLiteral<"native-yield-userop">;
193
+ operationId: z.ZodString;
194
+ account: z.ZodString;
195
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
196
+ marketId: z.ZodString;
197
+ action: z.ZodEnum<{
198
+ deposit: "deposit";
199
+ withdraw: "withdraw";
200
+ }>;
201
+ state: z.ZodEnum<{
202
+ unknown: "unknown";
203
+ submitted: "submitted";
204
+ completed: "completed";
205
+ review: "review";
206
+ active: "active";
207
+ failed: "failed";
208
+ }>;
209
+ reviewConsumed: z.ZodBoolean;
210
+ envelopeCommitment: z.ZodString;
211
+ reviewCommitment: z.ZodString;
212
+ validUntilMs: z.ZodNumber;
213
+ scopeConsent: z.ZodObject<{
214
+ consentId: z.ZodString;
215
+ consentCommitment: z.ZodString;
216
+ generation: z.ZodNumber;
217
+ }, z.core.$strict>;
218
+ input: z.ZodObject<{
219
+ token: z.ZodString;
220
+ amount: z.ZodString;
221
+ }, z.core.$strict>;
222
+ output: z.ZodObject<{
223
+ token: z.ZodString;
224
+ minimum: z.ZodString;
225
+ }, z.core.$strict>;
226
+ estimatedOttoFee: z.ZodObject<{
227
+ token: z.ZodString;
228
+ amount: z.ZodString;
229
+ }, z.core.$strict>;
230
+ perDepositCapUsd: z.ZodNumber;
231
+ gas: z.ZodDiscriminatedUnion<[z.ZodObject<{
232
+ maximumUserCostWei: z.ZodString;
233
+ maximumActivationCostWei: z.ZodString;
234
+ payer: z.ZodLiteral<"sponsor">;
235
+ paymentReview: z.ZodOptional<z.ZodObject<{
236
+ version: z.ZodLiteral<1>;
237
+ revision: z.ZodNumber;
238
+ payer: z.ZodEnum<{
239
+ account: "account";
240
+ sponsor: "sponsor";
241
+ }>;
242
+ sponsorStatus: z.ZodEnum<{
243
+ unavailable: "unavailable";
244
+ eligible: "eligible";
245
+ "above-limit": "above-limit";
246
+ "price-unavailable": "price-unavailable";
247
+ }>;
248
+ subsidyCapUsdMicros: z.ZodLiteral<"100000">;
249
+ quote: z.ZodObject<{
250
+ version: z.ZodLiteral<1>;
251
+ kind: z.ZodLiteral<"estimate">;
252
+ payer: z.ZodLiteral<"user">;
253
+ account: z.ZodString;
254
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<8453>, z.ZodLiteral<42161>, z.ZodLiteral<10>, z.ZodLiteral<137>]>;
255
+ entryPoint: z.ZodString;
256
+ nativeAsset: z.ZodObject<{
257
+ symbol: z.ZodEnum<{
258
+ ETH: "ETH";
259
+ POL: "POL";
260
+ }>;
261
+ decimals: z.ZodLiteral<18>;
262
+ }, z.core.$strict>;
263
+ callsCommitment: z.ZodString;
264
+ nonce: z.ZodString;
265
+ blockNumber: z.ZodString;
266
+ blockHash: z.ZodString;
267
+ blockTimestampMs: z.ZodNumber;
268
+ observedAtMs: z.ZodNumber;
269
+ expiresAtMs: z.ZodNumber;
270
+ simulation: z.ZodLiteral<"sender-balance-override">;
271
+ providerEstimate: z.ZodObject<{
272
+ blockAnchor: z.ZodLiteral<"unanchored">;
273
+ startedAtMs: z.ZodNumber;
274
+ completedAtMs: z.ZodNumber;
275
+ elapsedMs: z.ZodNumber;
276
+ }, z.core.$strict>;
277
+ gas: z.ZodObject<{
278
+ callGasLimit: z.ZodString;
279
+ verificationGasLimit: z.ZodString;
280
+ preVerificationGas: z.ZodString;
281
+ maxFeePerGasWei: z.ZodString;
282
+ maxPriorityFeePerGasWei: z.ZodString;
283
+ estimatedPrefundWei: z.ZodString;
284
+ reserveWei: z.ZodString;
285
+ estimatedRequiredWei: z.ZodString;
286
+ reserveBps: z.ZodLiteral<"2500">;
287
+ }, z.core.$strict>;
288
+ balance: z.ZodObject<{
289
+ nativeWei: z.ZodString;
290
+ entryPointDepositWei: z.ZodString;
291
+ callValueWei: z.ZodString;
292
+ depositAppliedToGasWei: z.ZodString;
293
+ walletGasRequirementWei: z.ZodString;
294
+ nativeAvailableForGasWei: z.ZodString;
295
+ gasShortfallWei: z.ZodString;
296
+ requiredNativeWei: z.ZodString;
297
+ shortfallWei: z.ZodString;
298
+ }, z.core.$strict>;
299
+ usdPrice: z.ZodOptional<z.ZodObject<{
300
+ amountAtomic: z.ZodString;
301
+ decimals: z.ZodNumber;
302
+ observedAtMs: z.ZodNumber;
303
+ expiresAtMs: z.ZodNumber;
304
+ }, z.core.$strict>>;
305
+ estimatedGasCostUsdMicros: z.ZodOptional<z.ZodString>;
306
+ sponsoredEstimate: z.ZodOptional<z.ZodObject<{
307
+ kind: z.ZodLiteral<"estimate">;
308
+ simulation: z.ZodLiteral<"paymaster-stub">;
309
+ entryPointVersion: z.ZodLiteral<"0.6">;
310
+ paymaster: z.ZodString;
311
+ sponsorshipPolicyId: z.ZodString;
312
+ paymasterAndDataCommitment: z.ZodString;
313
+ providerEstimate: z.ZodObject<{
314
+ blockAnchor: z.ZodLiteral<"unanchored">;
315
+ startedAtMs: z.ZodNumber;
316
+ completedAtMs: z.ZodNumber;
317
+ elapsedMs: z.ZodNumber;
318
+ }, z.core.$strict>;
319
+ gas: z.ZodObject<{
320
+ callGasLimit: z.ZodString;
321
+ verificationGasLimit: z.ZodString;
322
+ preVerificationGas: z.ZodString;
323
+ maxFeePerGasWei: z.ZodString;
324
+ maxPriorityFeePerGasWei: z.ZodString;
325
+ verificationGasMultiplier: z.ZodLiteral<"3">;
326
+ estimatedPrefundWei: z.ZodString;
327
+ reserveWei: z.ZodString;
328
+ estimatedRequiredWei: z.ZodString;
329
+ reserveBps: z.ZodLiteral<"2500">;
330
+ }, z.core.$strict>;
331
+ estimatedGasCostUsdMicros: z.ZodOptional<z.ZodString>;
332
+ }, z.core.$strict>>;
333
+ }, z.core.$strict>;
334
+ }, z.core.$strict>>;
335
+ maximumCostWei: z.ZodString;
336
+ activationChainHalted: z.ZodOptional<z.ZodLiteral<true>>;
337
+ actualCostWei: z.ZodOptional<z.ZodString>;
338
+ reviewRequired: z.ZodOptional<z.ZodLiteral<true>>;
339
+ reviewFailure: z.ZodOptional<z.ZodEnum<{
340
+ ACCOUNT_GAS_QUOTE_UNAVAILABLE: "ACCOUNT_GAS_QUOTE_UNAVAILABLE";
341
+ ACCOUNT_GAS_REVIEW_INVALID: "ACCOUNT_GAS_REVIEW_INVALID";
342
+ ACCOUNT_GAS_REVIEW_STALE: "ACCOUNT_GAS_REVIEW_STALE";
343
+ ACCOUNT_GAS_SPONSOR_INELIGIBLE: "ACCOUNT_GAS_SPONSOR_INELIGIBLE";
344
+ ACCOUNT_GAS_REVIEW_REQUIRED: "ACCOUNT_GAS_REVIEW_REQUIRED";
345
+ ACCOUNT_GAS_REVIEW_CHANGED: "ACCOUNT_GAS_REVIEW_CHANGED";
346
+ ACCOUNT_GAS_REVIEW_UNAVAILABLE: "ACCOUNT_GAS_REVIEW_UNAVAILABLE";
347
+ ACCOUNT_GAS_FUNDING_REQUIRED: "ACCOUNT_GAS_FUNDING_REQUIRED";
348
+ }>>;
349
+ }, z.core.$strict>, z.ZodObject<{
350
+ payer: z.ZodLiteral<"account">;
351
+ paymentReview: z.ZodObject<{
352
+ version: z.ZodLiteral<1>;
353
+ revision: z.ZodNumber;
354
+ payer: z.ZodEnum<{
355
+ account: "account";
356
+ sponsor: "sponsor";
357
+ }>;
358
+ sponsorStatus: z.ZodEnum<{
359
+ unavailable: "unavailable";
360
+ eligible: "eligible";
361
+ "above-limit": "above-limit";
362
+ "price-unavailable": "price-unavailable";
363
+ }>;
364
+ subsidyCapUsdMicros: z.ZodLiteral<"100000">;
365
+ quote: z.ZodObject<{
366
+ version: z.ZodLiteral<1>;
367
+ kind: z.ZodLiteral<"estimate">;
368
+ payer: z.ZodLiteral<"user">;
369
+ account: z.ZodString;
370
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<8453>, z.ZodLiteral<42161>, z.ZodLiteral<10>, z.ZodLiteral<137>]>;
371
+ entryPoint: z.ZodString;
372
+ nativeAsset: z.ZodObject<{
373
+ symbol: z.ZodEnum<{
374
+ ETH: "ETH";
375
+ POL: "POL";
376
+ }>;
377
+ decimals: z.ZodLiteral<18>;
378
+ }, z.core.$strict>;
379
+ callsCommitment: z.ZodString;
380
+ nonce: z.ZodString;
381
+ blockNumber: z.ZodString;
382
+ blockHash: z.ZodString;
383
+ blockTimestampMs: z.ZodNumber;
384
+ observedAtMs: z.ZodNumber;
385
+ expiresAtMs: z.ZodNumber;
386
+ simulation: z.ZodLiteral<"sender-balance-override">;
387
+ providerEstimate: z.ZodObject<{
388
+ blockAnchor: z.ZodLiteral<"unanchored">;
389
+ startedAtMs: z.ZodNumber;
390
+ completedAtMs: z.ZodNumber;
391
+ elapsedMs: z.ZodNumber;
392
+ }, z.core.$strict>;
393
+ gas: z.ZodObject<{
394
+ callGasLimit: z.ZodString;
395
+ verificationGasLimit: z.ZodString;
396
+ preVerificationGas: z.ZodString;
397
+ maxFeePerGasWei: z.ZodString;
398
+ maxPriorityFeePerGasWei: z.ZodString;
399
+ estimatedPrefundWei: z.ZodString;
400
+ reserveWei: z.ZodString;
401
+ estimatedRequiredWei: z.ZodString;
402
+ reserveBps: z.ZodLiteral<"2500">;
403
+ }, z.core.$strict>;
404
+ balance: z.ZodObject<{
405
+ nativeWei: z.ZodString;
406
+ entryPointDepositWei: z.ZodString;
407
+ callValueWei: z.ZodString;
408
+ depositAppliedToGasWei: z.ZodString;
409
+ walletGasRequirementWei: z.ZodString;
410
+ nativeAvailableForGasWei: z.ZodString;
411
+ gasShortfallWei: z.ZodString;
412
+ requiredNativeWei: z.ZodString;
413
+ shortfallWei: z.ZodString;
414
+ }, z.core.$strict>;
415
+ usdPrice: z.ZodOptional<z.ZodObject<{
416
+ amountAtomic: z.ZodString;
417
+ decimals: z.ZodNumber;
418
+ observedAtMs: z.ZodNumber;
419
+ expiresAtMs: z.ZodNumber;
420
+ }, z.core.$strict>>;
421
+ estimatedGasCostUsdMicros: z.ZodOptional<z.ZodString>;
422
+ sponsoredEstimate: z.ZodOptional<z.ZodObject<{
423
+ kind: z.ZodLiteral<"estimate">;
424
+ simulation: z.ZodLiteral<"paymaster-stub">;
425
+ entryPointVersion: z.ZodLiteral<"0.6">;
426
+ paymaster: z.ZodString;
427
+ sponsorshipPolicyId: z.ZodString;
428
+ paymasterAndDataCommitment: z.ZodString;
429
+ providerEstimate: z.ZodObject<{
430
+ blockAnchor: z.ZodLiteral<"unanchored">;
431
+ startedAtMs: z.ZodNumber;
432
+ completedAtMs: z.ZodNumber;
433
+ elapsedMs: z.ZodNumber;
434
+ }, z.core.$strict>;
435
+ gas: z.ZodObject<{
436
+ callGasLimit: z.ZodString;
437
+ verificationGasLimit: z.ZodString;
438
+ preVerificationGas: z.ZodString;
439
+ maxFeePerGasWei: z.ZodString;
440
+ maxPriorityFeePerGasWei: z.ZodString;
441
+ verificationGasMultiplier: z.ZodLiteral<"3">;
442
+ estimatedPrefundWei: z.ZodString;
443
+ reserveWei: z.ZodString;
444
+ estimatedRequiredWei: z.ZodString;
445
+ reserveBps: z.ZodLiteral<"2500">;
446
+ }, z.core.$strict>;
447
+ estimatedGasCostUsdMicros: z.ZodOptional<z.ZodString>;
448
+ }, z.core.$strict>>;
449
+ }, z.core.$strict>;
450
+ }, z.core.$strict>;
451
+ actualCostWei: z.ZodOptional<z.ZodString>;
452
+ reviewRequired: z.ZodOptional<z.ZodLiteral<true>>;
453
+ reviewFailure: z.ZodOptional<z.ZodEnum<{
454
+ ACCOUNT_GAS_QUOTE_UNAVAILABLE: "ACCOUNT_GAS_QUOTE_UNAVAILABLE";
455
+ ACCOUNT_GAS_REVIEW_INVALID: "ACCOUNT_GAS_REVIEW_INVALID";
456
+ ACCOUNT_GAS_REVIEW_STALE: "ACCOUNT_GAS_REVIEW_STALE";
457
+ ACCOUNT_GAS_SPONSOR_INELIGIBLE: "ACCOUNT_GAS_SPONSOR_INELIGIBLE";
458
+ ACCOUNT_GAS_REVIEW_REQUIRED: "ACCOUNT_GAS_REVIEW_REQUIRED";
459
+ ACCOUNT_GAS_REVIEW_CHANGED: "ACCOUNT_GAS_REVIEW_CHANGED";
460
+ ACCOUNT_GAS_REVIEW_UNAVAILABLE: "ACCOUNT_GAS_REVIEW_UNAVAILABLE";
461
+ ACCOUNT_GAS_FUNDING_REQUIRED: "ACCOUNT_GAS_FUNDING_REQUIRED";
462
+ }>>;
463
+ }, z.core.$strict>], "payer">;
464
+ requiresOperationReview: z.ZodBoolean;
465
+ confirmation: z.ZodEnum<{
466
+ "I reviewed this native yield action and sponsored atomic batch": "I reviewed this native yield action and sponsored atomic batch";
467
+ "I reviewed this native yield action and account-paid atomic batch": "I reviewed this native yield action and account-paid atomic batch";
468
+ }>;
469
+ protocolActionVerified: z.ZodBoolean;
470
+ userOpHash: z.ZodOptional<z.ZodString>;
471
+ transactionHash: z.ZodOptional<z.ZodString>;
472
+ settlement: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
473
+ status: z.ZodLiteral<"completed">;
474
+ protocolActionVerified: z.ZodLiteral<true>;
475
+ transactionHash: z.ZodString;
476
+ userOpHash: z.ZodString;
477
+ blockHash: z.ZodString;
478
+ marketId: z.ZodString;
479
+ action: z.ZodEnum<{
480
+ deposit: "deposit";
481
+ withdraw: "withdraw";
482
+ }>;
483
+ inputAllowance: z.ZodLiteral<"0">;
484
+ protocolAllowance: z.ZodLiteral<"0">;
485
+ releaseClaim: z.ZodLiteral<true>;
486
+ retrySafe: z.ZodLiteral<false>;
487
+ actualInput: z.ZodString;
488
+ actualOutput: z.ZodString;
489
+ actualOttoFee: z.ZodString;
490
+ feeToken: z.ZodString;
491
+ blockNumber: z.ZodString;
492
+ owner: z.ZodString;
493
+ positionBalanceAtBlock: z.ZodString;
494
+ assetBalanceAtBlock: z.ZodString;
495
+ routerNonceAtBlock: z.ZodString;
496
+ actualGasCostWei: z.ZodString;
497
+ actualGasUsed: z.ZodString;
498
+ paymaster: z.ZodString;
499
+ }, z.core.$strict>, z.ZodObject<{
500
+ status: z.ZodLiteral<"reverted">;
501
+ protocolActionVerified: z.ZodLiteral<false>;
502
+ transactionHash: z.ZodString;
503
+ userOpHash: z.ZodString;
504
+ blockHash: z.ZodString;
505
+ marketId: z.ZodString;
506
+ action: z.ZodEnum<{
507
+ deposit: "deposit";
508
+ withdraw: "withdraw";
509
+ }>;
510
+ inputAllowance: z.ZodLiteral<"0">;
511
+ protocolAllowance: z.ZodLiteral<"0">;
512
+ releaseClaim: z.ZodLiteral<true>;
513
+ retrySafe: z.ZodLiteral<false>;
514
+ blockNumber: z.ZodString;
515
+ owner: z.ZodString;
516
+ positionBalanceAtBlock: z.ZodString;
517
+ assetBalanceAtBlock: z.ZodString;
518
+ routerNonceAtBlock: z.ZodString;
519
+ actualGasCostWei: z.ZodString;
520
+ actualGasUsed: z.ZodString;
521
+ paymaster: z.ZodString;
522
+ }, z.core.$strict>]>>;
523
+ failureCode: z.ZodOptional<z.ZodEnum<{
524
+ SPONSOR_GAS_CAP_EXCEEDED: "SPONSOR_GAS_CAP_EXCEEDED";
525
+ SPONSOR_NOT_SUBMITTED: "SPONSOR_NOT_SUBMITTED";
526
+ SPONSOR_USER_OPERATION_REVERTED: "SPONSOR_USER_OPERATION_REVERTED";
527
+ }>>;
528
+ attention: z.ZodOptional<z.ZodLiteral<"The original provider request is unresolved. Read or reconcile this operation; do not submit a replacement.">>;
529
+ automaticExecutionEnabled: z.ZodLiteral<false>;
530
+ walletAuthorityChangeIncluded: z.ZodLiteral<false>;
531
+ retrySafe: z.ZodLiteral<false>;
532
+ }, z.core.$strict>, z.ZodObject<{
533
+ schemaVersion: z.ZodLiteral<"1">;
534
+ kind: z.ZodLiteral<"native-yield-userop">;
535
+ account: z.ZodString;
536
+ nativeConsentRevoked: z.ZodLiteral<true>;
537
+ existingOperationRequiresReconciliation: z.ZodLiteral<true>;
538
+ automaticExecutionEnabled: z.ZodLiteral<false>;
539
+ }, z.core.$strict>, z.ZodObject<{
540
+ schemaVersion: z.ZodLiteral<"1">;
541
+ kind: z.ZodLiteral<"native-yield-userop">;
542
+ status: z.ZodLiteral<"outcome-unknown">;
543
+ operationId: z.ZodString;
544
+ requiresReconciliation: z.ZodLiteral<true>;
545
+ replacementPermitted: z.ZodLiteral<false>;
546
+ attention: z.ZodLiteral<"The outcome of the original submission is unknown. Read or reconcile this operation; do not submit a replacement.">;
547
+ }, z.core.$strict>]>;
548
+ export declare const NATIVE_USEROP_TRANSPORT_RESULT: z.ZodObject<{
549
+ requiresOperationReview: z.ZodOptional<z.ZodBoolean>;
550
+ attention: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"The original provider request is unresolved. Read or reconcile this operation; do not submit a replacement.">, z.ZodLiteral<"The outcome of the original submission is unknown. Read or reconcile this operation; do not submit a replacement.">]>>;
551
+ settlement: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
552
+ status: z.ZodLiteral<"completed">;
553
+ protocolActionVerified: z.ZodLiteral<true>;
554
+ transactionHash: z.ZodString;
555
+ userOpHash: z.ZodString;
556
+ blockHash: z.ZodString;
557
+ marketId: z.ZodString;
558
+ action: z.ZodEnum<{
559
+ deposit: "deposit";
560
+ withdraw: "withdraw";
561
+ }>;
562
+ inputAllowance: z.ZodLiteral<"0">;
563
+ protocolAllowance: z.ZodLiteral<"0">;
564
+ releaseClaim: z.ZodLiteral<true>;
565
+ retrySafe: z.ZodLiteral<false>;
566
+ actualInput: z.ZodString;
567
+ actualOutput: z.ZodString;
568
+ actualOttoFee: z.ZodString;
569
+ feeToken: z.ZodString;
570
+ blockNumber: z.ZodString;
571
+ owner: z.ZodString;
572
+ positionBalanceAtBlock: z.ZodString;
573
+ assetBalanceAtBlock: z.ZodString;
574
+ routerNonceAtBlock: z.ZodString;
575
+ actualGasCostWei: z.ZodString;
576
+ actualGasUsed: z.ZodString;
577
+ paymaster: z.ZodString;
578
+ }, z.core.$strict>, z.ZodObject<{
579
+ status: z.ZodLiteral<"reverted">;
580
+ protocolActionVerified: z.ZodLiteral<false>;
581
+ transactionHash: z.ZodString;
582
+ userOpHash: z.ZodString;
583
+ blockHash: z.ZodString;
584
+ marketId: z.ZodString;
585
+ action: z.ZodEnum<{
586
+ deposit: "deposit";
587
+ withdraw: "withdraw";
588
+ }>;
589
+ inputAllowance: z.ZodLiteral<"0">;
590
+ protocolAllowance: z.ZodLiteral<"0">;
591
+ releaseClaim: z.ZodLiteral<true>;
592
+ retrySafe: z.ZodLiteral<false>;
593
+ blockNumber: z.ZodString;
594
+ owner: z.ZodString;
595
+ positionBalanceAtBlock: z.ZodString;
596
+ assetBalanceAtBlock: z.ZodString;
597
+ routerNonceAtBlock: z.ZodString;
598
+ actualGasCostWei: z.ZodString;
599
+ actualGasUsed: z.ZodString;
600
+ paymaster: z.ZodString;
601
+ }, z.core.$strict>]>>>;
602
+ status: z.ZodOptional<z.ZodLiteral<"outcome-unknown">>;
603
+ operationId: z.ZodOptional<z.ZodString>;
604
+ requiresReconciliation: z.ZodOptional<z.ZodLiteral<true>>;
605
+ replacementPermitted: z.ZodOptional<z.ZodLiteral<false>>;
606
+ account: z.ZodOptional<z.ZodString>;
607
+ nativeConsentRevoked: z.ZodOptional<z.ZodLiteral<true>>;
608
+ existingOperationRequiresReconciliation: z.ZodOptional<z.ZodLiteral<true>>;
609
+ automaticExecutionEnabled: z.ZodOptional<z.ZodLiteral<false>>;
610
+ chainId: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>>;
611
+ marketId: z.ZodOptional<z.ZodString>;
612
+ action: z.ZodOptional<z.ZodEnum<{
613
+ deposit: "deposit";
614
+ withdraw: "withdraw";
615
+ }>>;
616
+ state: z.ZodOptional<z.ZodEnum<{
617
+ unknown: "unknown";
618
+ submitted: "submitted";
619
+ completed: "completed";
620
+ review: "review";
621
+ active: "active";
622
+ failed: "failed";
623
+ }>>;
624
+ reviewConsumed: z.ZodOptional<z.ZodBoolean>;
625
+ envelopeCommitment: z.ZodOptional<z.ZodString>;
626
+ reviewCommitment: z.ZodOptional<z.ZodString>;
627
+ validUntilMs: z.ZodOptional<z.ZodNumber>;
628
+ scopeConsent: z.ZodOptional<z.ZodObject<{
629
+ consentId: z.ZodString;
630
+ consentCommitment: z.ZodString;
631
+ generation: z.ZodNumber;
632
+ }, z.core.$strict>>;
633
+ input: z.ZodOptional<z.ZodObject<{
634
+ token: z.ZodString;
635
+ amount: z.ZodString;
636
+ }, z.core.$strict>>;
637
+ output: z.ZodOptional<z.ZodObject<{
638
+ token: z.ZodString;
639
+ minimum: z.ZodString;
640
+ }, z.core.$strict>>;
641
+ estimatedOttoFee: z.ZodOptional<z.ZodObject<{
642
+ token: z.ZodString;
643
+ amount: z.ZodString;
644
+ }, z.core.$strict>>;
645
+ perDepositCapUsd: z.ZodOptional<z.ZodNumber>;
646
+ gas: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
647
+ maximumUserCostWei: z.ZodString;
648
+ maximumActivationCostWei: z.ZodString;
649
+ payer: z.ZodLiteral<"sponsor">;
650
+ paymentReview: z.ZodOptional<z.ZodObject<{
651
+ version: z.ZodLiteral<1>;
652
+ revision: z.ZodNumber;
653
+ payer: z.ZodEnum<{
654
+ account: "account";
655
+ sponsor: "sponsor";
656
+ }>;
657
+ sponsorStatus: z.ZodEnum<{
658
+ unavailable: "unavailable";
659
+ eligible: "eligible";
660
+ "above-limit": "above-limit";
661
+ "price-unavailable": "price-unavailable";
662
+ }>;
663
+ subsidyCapUsdMicros: z.ZodLiteral<"100000">;
664
+ quote: z.ZodObject<{
665
+ version: z.ZodLiteral<1>;
666
+ kind: z.ZodLiteral<"estimate">;
667
+ payer: z.ZodLiteral<"user">;
668
+ account: z.ZodString;
669
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<8453>, z.ZodLiteral<42161>, z.ZodLiteral<10>, z.ZodLiteral<137>]>;
670
+ entryPoint: z.ZodString;
671
+ nativeAsset: z.ZodObject<{
672
+ symbol: z.ZodEnum<{
673
+ ETH: "ETH";
674
+ POL: "POL";
675
+ }>;
676
+ decimals: z.ZodLiteral<18>;
677
+ }, z.core.$strict>;
678
+ callsCommitment: z.ZodString;
679
+ nonce: z.ZodString;
680
+ blockNumber: z.ZodString;
681
+ blockHash: z.ZodString;
682
+ blockTimestampMs: z.ZodNumber;
683
+ observedAtMs: z.ZodNumber;
684
+ expiresAtMs: z.ZodNumber;
685
+ simulation: z.ZodLiteral<"sender-balance-override">;
686
+ providerEstimate: z.ZodObject<{
687
+ blockAnchor: z.ZodLiteral<"unanchored">;
688
+ startedAtMs: z.ZodNumber;
689
+ completedAtMs: z.ZodNumber;
690
+ elapsedMs: z.ZodNumber;
691
+ }, z.core.$strict>;
692
+ gas: z.ZodObject<{
693
+ callGasLimit: z.ZodString;
694
+ verificationGasLimit: z.ZodString;
695
+ preVerificationGas: z.ZodString;
696
+ maxFeePerGasWei: z.ZodString;
697
+ maxPriorityFeePerGasWei: z.ZodString;
698
+ estimatedPrefundWei: z.ZodString;
699
+ reserveWei: z.ZodString;
700
+ estimatedRequiredWei: z.ZodString;
701
+ reserveBps: z.ZodLiteral<"2500">;
702
+ }, z.core.$strict>;
703
+ balance: z.ZodObject<{
704
+ nativeWei: z.ZodString;
705
+ entryPointDepositWei: z.ZodString;
706
+ callValueWei: z.ZodString;
707
+ depositAppliedToGasWei: z.ZodString;
708
+ walletGasRequirementWei: z.ZodString;
709
+ nativeAvailableForGasWei: z.ZodString;
710
+ gasShortfallWei: z.ZodString;
711
+ requiredNativeWei: z.ZodString;
712
+ shortfallWei: z.ZodString;
713
+ }, z.core.$strict>;
714
+ usdPrice: z.ZodOptional<z.ZodObject<{
715
+ amountAtomic: z.ZodString;
716
+ decimals: z.ZodNumber;
717
+ observedAtMs: z.ZodNumber;
718
+ expiresAtMs: z.ZodNumber;
719
+ }, z.core.$strict>>;
720
+ estimatedGasCostUsdMicros: z.ZodOptional<z.ZodString>;
721
+ sponsoredEstimate: z.ZodOptional<z.ZodObject<{
722
+ kind: z.ZodLiteral<"estimate">;
723
+ simulation: z.ZodLiteral<"paymaster-stub">;
724
+ entryPointVersion: z.ZodLiteral<"0.6">;
725
+ paymaster: z.ZodString;
726
+ sponsorshipPolicyId: z.ZodString;
727
+ paymasterAndDataCommitment: z.ZodString;
728
+ providerEstimate: z.ZodObject<{
729
+ blockAnchor: z.ZodLiteral<"unanchored">;
730
+ startedAtMs: z.ZodNumber;
731
+ completedAtMs: z.ZodNumber;
732
+ elapsedMs: z.ZodNumber;
733
+ }, z.core.$strict>;
734
+ gas: z.ZodObject<{
735
+ callGasLimit: z.ZodString;
736
+ verificationGasLimit: z.ZodString;
737
+ preVerificationGas: z.ZodString;
738
+ maxFeePerGasWei: z.ZodString;
739
+ maxPriorityFeePerGasWei: z.ZodString;
740
+ verificationGasMultiplier: z.ZodLiteral<"3">;
741
+ estimatedPrefundWei: z.ZodString;
742
+ reserveWei: z.ZodString;
743
+ estimatedRequiredWei: z.ZodString;
744
+ reserveBps: z.ZodLiteral<"2500">;
745
+ }, z.core.$strict>;
746
+ estimatedGasCostUsdMicros: z.ZodOptional<z.ZodString>;
747
+ }, z.core.$strict>>;
748
+ }, z.core.$strict>;
749
+ }, z.core.$strict>>;
750
+ maximumCostWei: z.ZodString;
751
+ activationChainHalted: z.ZodOptional<z.ZodLiteral<true>>;
752
+ actualCostWei: z.ZodOptional<z.ZodString>;
753
+ reviewRequired: z.ZodOptional<z.ZodLiteral<true>>;
754
+ reviewFailure: z.ZodOptional<z.ZodEnum<{
755
+ ACCOUNT_GAS_QUOTE_UNAVAILABLE: "ACCOUNT_GAS_QUOTE_UNAVAILABLE";
756
+ ACCOUNT_GAS_REVIEW_INVALID: "ACCOUNT_GAS_REVIEW_INVALID";
757
+ ACCOUNT_GAS_REVIEW_STALE: "ACCOUNT_GAS_REVIEW_STALE";
758
+ ACCOUNT_GAS_SPONSOR_INELIGIBLE: "ACCOUNT_GAS_SPONSOR_INELIGIBLE";
759
+ ACCOUNT_GAS_REVIEW_REQUIRED: "ACCOUNT_GAS_REVIEW_REQUIRED";
760
+ ACCOUNT_GAS_REVIEW_CHANGED: "ACCOUNT_GAS_REVIEW_CHANGED";
761
+ ACCOUNT_GAS_REVIEW_UNAVAILABLE: "ACCOUNT_GAS_REVIEW_UNAVAILABLE";
762
+ ACCOUNT_GAS_FUNDING_REQUIRED: "ACCOUNT_GAS_FUNDING_REQUIRED";
763
+ }>>;
764
+ }, z.core.$strict>, z.ZodObject<{
765
+ payer: z.ZodLiteral<"account">;
766
+ paymentReview: z.ZodObject<{
767
+ version: z.ZodLiteral<1>;
768
+ revision: z.ZodNumber;
769
+ payer: z.ZodEnum<{
770
+ account: "account";
771
+ sponsor: "sponsor";
772
+ }>;
773
+ sponsorStatus: z.ZodEnum<{
774
+ unavailable: "unavailable";
775
+ eligible: "eligible";
776
+ "above-limit": "above-limit";
777
+ "price-unavailable": "price-unavailable";
778
+ }>;
779
+ subsidyCapUsdMicros: z.ZodLiteral<"100000">;
780
+ quote: z.ZodObject<{
781
+ version: z.ZodLiteral<1>;
782
+ kind: z.ZodLiteral<"estimate">;
783
+ payer: z.ZodLiteral<"user">;
784
+ account: z.ZodString;
785
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<8453>, z.ZodLiteral<42161>, z.ZodLiteral<10>, z.ZodLiteral<137>]>;
786
+ entryPoint: z.ZodString;
787
+ nativeAsset: z.ZodObject<{
788
+ symbol: z.ZodEnum<{
789
+ ETH: "ETH";
790
+ POL: "POL";
791
+ }>;
792
+ decimals: z.ZodLiteral<18>;
793
+ }, z.core.$strict>;
794
+ callsCommitment: z.ZodString;
795
+ nonce: z.ZodString;
796
+ blockNumber: z.ZodString;
797
+ blockHash: z.ZodString;
798
+ blockTimestampMs: z.ZodNumber;
799
+ observedAtMs: z.ZodNumber;
800
+ expiresAtMs: z.ZodNumber;
801
+ simulation: z.ZodLiteral<"sender-balance-override">;
802
+ providerEstimate: z.ZodObject<{
803
+ blockAnchor: z.ZodLiteral<"unanchored">;
804
+ startedAtMs: z.ZodNumber;
805
+ completedAtMs: z.ZodNumber;
806
+ elapsedMs: z.ZodNumber;
807
+ }, z.core.$strict>;
808
+ gas: z.ZodObject<{
809
+ callGasLimit: z.ZodString;
810
+ verificationGasLimit: z.ZodString;
811
+ preVerificationGas: z.ZodString;
812
+ maxFeePerGasWei: z.ZodString;
813
+ maxPriorityFeePerGasWei: z.ZodString;
814
+ estimatedPrefundWei: z.ZodString;
815
+ reserveWei: z.ZodString;
816
+ estimatedRequiredWei: z.ZodString;
817
+ reserveBps: z.ZodLiteral<"2500">;
818
+ }, z.core.$strict>;
819
+ balance: z.ZodObject<{
820
+ nativeWei: z.ZodString;
821
+ entryPointDepositWei: z.ZodString;
822
+ callValueWei: z.ZodString;
823
+ depositAppliedToGasWei: z.ZodString;
824
+ walletGasRequirementWei: z.ZodString;
825
+ nativeAvailableForGasWei: z.ZodString;
826
+ gasShortfallWei: z.ZodString;
827
+ requiredNativeWei: z.ZodString;
828
+ shortfallWei: z.ZodString;
829
+ }, z.core.$strict>;
830
+ usdPrice: z.ZodOptional<z.ZodObject<{
831
+ amountAtomic: z.ZodString;
832
+ decimals: z.ZodNumber;
833
+ observedAtMs: z.ZodNumber;
834
+ expiresAtMs: z.ZodNumber;
835
+ }, z.core.$strict>>;
836
+ estimatedGasCostUsdMicros: z.ZodOptional<z.ZodString>;
837
+ sponsoredEstimate: z.ZodOptional<z.ZodObject<{
838
+ kind: z.ZodLiteral<"estimate">;
839
+ simulation: z.ZodLiteral<"paymaster-stub">;
840
+ entryPointVersion: z.ZodLiteral<"0.6">;
841
+ paymaster: z.ZodString;
842
+ sponsorshipPolicyId: z.ZodString;
843
+ paymasterAndDataCommitment: z.ZodString;
844
+ providerEstimate: z.ZodObject<{
845
+ blockAnchor: z.ZodLiteral<"unanchored">;
846
+ startedAtMs: z.ZodNumber;
847
+ completedAtMs: z.ZodNumber;
848
+ elapsedMs: z.ZodNumber;
849
+ }, z.core.$strict>;
850
+ gas: z.ZodObject<{
851
+ callGasLimit: z.ZodString;
852
+ verificationGasLimit: z.ZodString;
853
+ preVerificationGas: z.ZodString;
854
+ maxFeePerGasWei: z.ZodString;
855
+ maxPriorityFeePerGasWei: z.ZodString;
856
+ verificationGasMultiplier: z.ZodLiteral<"3">;
857
+ estimatedPrefundWei: z.ZodString;
858
+ reserveWei: z.ZodString;
859
+ estimatedRequiredWei: z.ZodString;
860
+ reserveBps: z.ZodLiteral<"2500">;
861
+ }, z.core.$strict>;
862
+ estimatedGasCostUsdMicros: z.ZodOptional<z.ZodString>;
863
+ }, z.core.$strict>>;
864
+ }, z.core.$strict>;
865
+ }, z.core.$strict>;
866
+ actualCostWei: z.ZodOptional<z.ZodString>;
867
+ reviewRequired: z.ZodOptional<z.ZodLiteral<true>>;
868
+ reviewFailure: z.ZodOptional<z.ZodEnum<{
869
+ ACCOUNT_GAS_QUOTE_UNAVAILABLE: "ACCOUNT_GAS_QUOTE_UNAVAILABLE";
870
+ ACCOUNT_GAS_REVIEW_INVALID: "ACCOUNT_GAS_REVIEW_INVALID";
871
+ ACCOUNT_GAS_REVIEW_STALE: "ACCOUNT_GAS_REVIEW_STALE";
872
+ ACCOUNT_GAS_SPONSOR_INELIGIBLE: "ACCOUNT_GAS_SPONSOR_INELIGIBLE";
873
+ ACCOUNT_GAS_REVIEW_REQUIRED: "ACCOUNT_GAS_REVIEW_REQUIRED";
874
+ ACCOUNT_GAS_REVIEW_CHANGED: "ACCOUNT_GAS_REVIEW_CHANGED";
875
+ ACCOUNT_GAS_REVIEW_UNAVAILABLE: "ACCOUNT_GAS_REVIEW_UNAVAILABLE";
876
+ ACCOUNT_GAS_FUNDING_REQUIRED: "ACCOUNT_GAS_FUNDING_REQUIRED";
877
+ }>>;
878
+ }, z.core.$strict>], "payer">>;
879
+ confirmation: z.ZodOptional<z.ZodEnum<{
880
+ "I reviewed this native yield action and sponsored atomic batch": "I reviewed this native yield action and sponsored atomic batch";
881
+ "I reviewed this native yield action and account-paid atomic batch": "I reviewed this native yield action and account-paid atomic batch";
882
+ }>>;
883
+ protocolActionVerified: z.ZodOptional<z.ZodBoolean>;
884
+ userOpHash: z.ZodOptional<z.ZodOptional<z.ZodString>>;
885
+ transactionHash: z.ZodOptional<z.ZodOptional<z.ZodString>>;
886
+ failureCode: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
887
+ SPONSOR_GAS_CAP_EXCEEDED: "SPONSOR_GAS_CAP_EXCEEDED";
888
+ SPONSOR_NOT_SUBMITTED: "SPONSOR_NOT_SUBMITTED";
889
+ SPONSOR_USER_OPERATION_REVERTED: "SPONSOR_USER_OPERATION_REVERTED";
890
+ }>>>;
891
+ walletAuthorityChangeIncluded: z.ZodOptional<z.ZodLiteral<false>>;
892
+ retrySafe: z.ZodOptional<z.ZodLiteral<false>>;
893
+ consent: z.ZodOptional<z.ZodObject<{
894
+ consentId: z.ZodString;
895
+ consentCommitment: z.ZodString;
896
+ createdAtMs: z.ZodNumber;
897
+ challengeExpiresAtMs: z.ZodNumber;
898
+ state: z.ZodEnum<{
899
+ challenge: "challenge";
900
+ confirmed: "confirmed";
901
+ revoked: "revoked";
902
+ superseded: "superseded";
903
+ }>;
904
+ generation: z.ZodNumber;
905
+ confirmedAtMs: z.ZodNullable<z.ZodNumber>;
906
+ account: z.ZodString;
907
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
908
+ }, z.core.$strict>>;
909
+ scope: z.ZodOptional<z.ZodOptional<z.ZodObject<{
910
+ account: z.ZodString;
911
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
912
+ scopes: z.ZodArray<z.ZodEnum<{
913
+ deposit: "deposit";
914
+ withdraw: "withdraw";
915
+ approve: "approve";
916
+ "approve-reset": "approve-reset";
917
+ revoke: "revoke";
918
+ }>>;
919
+ marketLimits: z.ZodArray<z.ZodObject<{
920
+ marketId: z.ZodString;
921
+ action: z.ZodEnum<{
922
+ deposit: "deposit";
923
+ withdraw: "withdraw";
924
+ }>;
925
+ inputToken: z.ZodString;
926
+ maximumInputAtomic: z.ZodString;
927
+ }, z.core.$strict>>;
928
+ perDepositCapUsd: z.ZodNumber;
929
+ maximumGasCostWei: z.ZodString;
930
+ maximumUserGasCostWei: z.ZodString;
931
+ maximumActivationGasCostWei: z.ZodString;
932
+ expiresAtMs: z.ZodNumber;
933
+ requiresSeparateOperationReview: z.ZodLiteral<true>;
934
+ }, z.core.$strict>>>;
935
+ requiresSeparateOperationReview: z.ZodOptional<z.ZodLiteral<true>>;
936
+ configured: z.ZodOptional<z.ZodBoolean>;
937
+ executionEnabled: z.ZodOptional<z.ZodBoolean>;
938
+ recoveryAvailable: z.ZodOptional<z.ZodBoolean>;
939
+ reason: z.ZodOptional<z.ZodOptional<z.ZodEnum<import("./execution-sponsored-mcp-definition.js").SponsoredRefusalEnum>>>;
940
+ requiresNativeConsent: z.ZodOptional<z.ZodLiteral<true>>;
941
+ requiresSeparateWalletUpgrade: z.ZodOptional<z.ZodLiteral<true>>;
942
+ supportedSameAddressChains: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>>>;
943
+ schemaVersion: z.ZodLiteral<"1">;
944
+ kind: z.ZodLiteral<"native-yield-userop">;
945
+ }, z.core.$strict>;
946
+ export type NativeUserOpAvailabilityResult = z.infer<typeof NATIVE_USEROP_AVAILABILITY_RESULT>;
947
+ export declare const NATIVE_USEROP_TOOL_DEFINITION: Readonly<{
948
+ name: "otto_native_yield_userop";
949
+ title: "Review or recover an account native yield action";
950
+ description: "Protected native protocol action. Read availability, review and confirm native scope, prepare, reviewGas for current payer and network estimate, and explicitly confirm one operation, or read/reconcile/revoke native consent. Account upgrade is separate. Source activation and current owner authority are required. Unknown delivery retains the original operation; no replacement is allowed. A preparation or simulation is not funded execution.";
951
+ inputSchema: z.ZodObject<{}, z.core.$loose>;
952
+ outputSchema: z.ZodObject<{
953
+ requiresOperationReview: z.ZodOptional<z.ZodBoolean>;
954
+ attention: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<"The original provider request is unresolved. Read or reconcile this operation; do not submit a replacement.">, z.ZodLiteral<"The outcome of the original submission is unknown. Read or reconcile this operation; do not submit a replacement.">]>>;
955
+ settlement: z.ZodOptional<z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
956
+ status: z.ZodLiteral<"completed">;
957
+ protocolActionVerified: z.ZodLiteral<true>;
958
+ transactionHash: z.ZodString;
959
+ userOpHash: z.ZodString;
960
+ blockHash: z.ZodString;
961
+ marketId: z.ZodString;
962
+ action: z.ZodEnum<{
963
+ deposit: "deposit";
964
+ withdraw: "withdraw";
965
+ }>;
966
+ inputAllowance: z.ZodLiteral<"0">;
967
+ protocolAllowance: z.ZodLiteral<"0">;
968
+ releaseClaim: z.ZodLiteral<true>;
969
+ retrySafe: z.ZodLiteral<false>;
970
+ actualInput: z.ZodString;
971
+ actualOutput: z.ZodString;
972
+ actualOttoFee: z.ZodString;
973
+ feeToken: z.ZodString;
974
+ blockNumber: z.ZodString;
975
+ owner: z.ZodString;
976
+ positionBalanceAtBlock: z.ZodString;
977
+ assetBalanceAtBlock: z.ZodString;
978
+ routerNonceAtBlock: z.ZodString;
979
+ actualGasCostWei: z.ZodString;
980
+ actualGasUsed: z.ZodString;
981
+ paymaster: z.ZodString;
982
+ }, z.core.$strict>, z.ZodObject<{
983
+ status: z.ZodLiteral<"reverted">;
984
+ protocolActionVerified: z.ZodLiteral<false>;
985
+ transactionHash: z.ZodString;
986
+ userOpHash: z.ZodString;
987
+ blockHash: z.ZodString;
988
+ marketId: z.ZodString;
989
+ action: z.ZodEnum<{
990
+ deposit: "deposit";
991
+ withdraw: "withdraw";
992
+ }>;
993
+ inputAllowance: z.ZodLiteral<"0">;
994
+ protocolAllowance: z.ZodLiteral<"0">;
995
+ releaseClaim: z.ZodLiteral<true>;
996
+ retrySafe: z.ZodLiteral<false>;
997
+ blockNumber: z.ZodString;
998
+ owner: z.ZodString;
999
+ positionBalanceAtBlock: z.ZodString;
1000
+ assetBalanceAtBlock: z.ZodString;
1001
+ routerNonceAtBlock: z.ZodString;
1002
+ actualGasCostWei: z.ZodString;
1003
+ actualGasUsed: z.ZodString;
1004
+ paymaster: z.ZodString;
1005
+ }, z.core.$strict>]>>>;
1006
+ status: z.ZodOptional<z.ZodLiteral<"outcome-unknown">>;
1007
+ operationId: z.ZodOptional<z.ZodString>;
1008
+ requiresReconciliation: z.ZodOptional<z.ZodLiteral<true>>;
1009
+ replacementPermitted: z.ZodOptional<z.ZodLiteral<false>>;
1010
+ account: z.ZodOptional<z.ZodString>;
1011
+ nativeConsentRevoked: z.ZodOptional<z.ZodLiteral<true>>;
1012
+ existingOperationRequiresReconciliation: z.ZodOptional<z.ZodLiteral<true>>;
1013
+ automaticExecutionEnabled: z.ZodOptional<z.ZodLiteral<false>>;
1014
+ chainId: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>>;
1015
+ marketId: z.ZodOptional<z.ZodString>;
1016
+ action: z.ZodOptional<z.ZodEnum<{
1017
+ deposit: "deposit";
1018
+ withdraw: "withdraw";
1019
+ }>>;
1020
+ state: z.ZodOptional<z.ZodEnum<{
1021
+ unknown: "unknown";
1022
+ submitted: "submitted";
1023
+ completed: "completed";
1024
+ review: "review";
1025
+ active: "active";
1026
+ failed: "failed";
1027
+ }>>;
1028
+ reviewConsumed: z.ZodOptional<z.ZodBoolean>;
1029
+ envelopeCommitment: z.ZodOptional<z.ZodString>;
1030
+ reviewCommitment: z.ZodOptional<z.ZodString>;
1031
+ validUntilMs: z.ZodOptional<z.ZodNumber>;
1032
+ scopeConsent: z.ZodOptional<z.ZodObject<{
1033
+ consentId: z.ZodString;
1034
+ consentCommitment: z.ZodString;
1035
+ generation: z.ZodNumber;
1036
+ }, z.core.$strict>>;
1037
+ input: z.ZodOptional<z.ZodObject<{
1038
+ token: z.ZodString;
1039
+ amount: z.ZodString;
1040
+ }, z.core.$strict>>;
1041
+ output: z.ZodOptional<z.ZodObject<{
1042
+ token: z.ZodString;
1043
+ minimum: z.ZodString;
1044
+ }, z.core.$strict>>;
1045
+ estimatedOttoFee: z.ZodOptional<z.ZodObject<{
1046
+ token: z.ZodString;
1047
+ amount: z.ZodString;
1048
+ }, z.core.$strict>>;
1049
+ perDepositCapUsd: z.ZodOptional<z.ZodNumber>;
1050
+ gas: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1051
+ maximumUserCostWei: z.ZodString;
1052
+ maximumActivationCostWei: z.ZodString;
1053
+ payer: z.ZodLiteral<"sponsor">;
1054
+ paymentReview: z.ZodOptional<z.ZodObject<{
1055
+ version: z.ZodLiteral<1>;
1056
+ revision: z.ZodNumber;
1057
+ payer: z.ZodEnum<{
1058
+ account: "account";
1059
+ sponsor: "sponsor";
1060
+ }>;
1061
+ sponsorStatus: z.ZodEnum<{
1062
+ unavailable: "unavailable";
1063
+ eligible: "eligible";
1064
+ "above-limit": "above-limit";
1065
+ "price-unavailable": "price-unavailable";
1066
+ }>;
1067
+ subsidyCapUsdMicros: z.ZodLiteral<"100000">;
1068
+ quote: z.ZodObject<{
1069
+ version: z.ZodLiteral<1>;
1070
+ kind: z.ZodLiteral<"estimate">;
1071
+ payer: z.ZodLiteral<"user">;
1072
+ account: z.ZodString;
1073
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<8453>, z.ZodLiteral<42161>, z.ZodLiteral<10>, z.ZodLiteral<137>]>;
1074
+ entryPoint: z.ZodString;
1075
+ nativeAsset: z.ZodObject<{
1076
+ symbol: z.ZodEnum<{
1077
+ ETH: "ETH";
1078
+ POL: "POL";
1079
+ }>;
1080
+ decimals: z.ZodLiteral<18>;
1081
+ }, z.core.$strict>;
1082
+ callsCommitment: z.ZodString;
1083
+ nonce: z.ZodString;
1084
+ blockNumber: z.ZodString;
1085
+ blockHash: z.ZodString;
1086
+ blockTimestampMs: z.ZodNumber;
1087
+ observedAtMs: z.ZodNumber;
1088
+ expiresAtMs: z.ZodNumber;
1089
+ simulation: z.ZodLiteral<"sender-balance-override">;
1090
+ providerEstimate: z.ZodObject<{
1091
+ blockAnchor: z.ZodLiteral<"unanchored">;
1092
+ startedAtMs: z.ZodNumber;
1093
+ completedAtMs: z.ZodNumber;
1094
+ elapsedMs: z.ZodNumber;
1095
+ }, z.core.$strict>;
1096
+ gas: z.ZodObject<{
1097
+ callGasLimit: z.ZodString;
1098
+ verificationGasLimit: z.ZodString;
1099
+ preVerificationGas: z.ZodString;
1100
+ maxFeePerGasWei: z.ZodString;
1101
+ maxPriorityFeePerGasWei: z.ZodString;
1102
+ estimatedPrefundWei: z.ZodString;
1103
+ reserveWei: z.ZodString;
1104
+ estimatedRequiredWei: z.ZodString;
1105
+ reserveBps: z.ZodLiteral<"2500">;
1106
+ }, z.core.$strict>;
1107
+ balance: z.ZodObject<{
1108
+ nativeWei: z.ZodString;
1109
+ entryPointDepositWei: z.ZodString;
1110
+ callValueWei: z.ZodString;
1111
+ depositAppliedToGasWei: z.ZodString;
1112
+ walletGasRequirementWei: z.ZodString;
1113
+ nativeAvailableForGasWei: z.ZodString;
1114
+ gasShortfallWei: z.ZodString;
1115
+ requiredNativeWei: z.ZodString;
1116
+ shortfallWei: z.ZodString;
1117
+ }, z.core.$strict>;
1118
+ usdPrice: z.ZodOptional<z.ZodObject<{
1119
+ amountAtomic: z.ZodString;
1120
+ decimals: z.ZodNumber;
1121
+ observedAtMs: z.ZodNumber;
1122
+ expiresAtMs: z.ZodNumber;
1123
+ }, z.core.$strict>>;
1124
+ estimatedGasCostUsdMicros: z.ZodOptional<z.ZodString>;
1125
+ sponsoredEstimate: z.ZodOptional<z.ZodObject<{
1126
+ kind: z.ZodLiteral<"estimate">;
1127
+ simulation: z.ZodLiteral<"paymaster-stub">;
1128
+ entryPointVersion: z.ZodLiteral<"0.6">;
1129
+ paymaster: z.ZodString;
1130
+ sponsorshipPolicyId: z.ZodString;
1131
+ paymasterAndDataCommitment: z.ZodString;
1132
+ providerEstimate: z.ZodObject<{
1133
+ blockAnchor: z.ZodLiteral<"unanchored">;
1134
+ startedAtMs: z.ZodNumber;
1135
+ completedAtMs: z.ZodNumber;
1136
+ elapsedMs: z.ZodNumber;
1137
+ }, z.core.$strict>;
1138
+ gas: z.ZodObject<{
1139
+ callGasLimit: z.ZodString;
1140
+ verificationGasLimit: z.ZodString;
1141
+ preVerificationGas: z.ZodString;
1142
+ maxFeePerGasWei: z.ZodString;
1143
+ maxPriorityFeePerGasWei: z.ZodString;
1144
+ verificationGasMultiplier: z.ZodLiteral<"3">;
1145
+ estimatedPrefundWei: z.ZodString;
1146
+ reserveWei: z.ZodString;
1147
+ estimatedRequiredWei: z.ZodString;
1148
+ reserveBps: z.ZodLiteral<"2500">;
1149
+ }, z.core.$strict>;
1150
+ estimatedGasCostUsdMicros: z.ZodOptional<z.ZodString>;
1151
+ }, z.core.$strict>>;
1152
+ }, z.core.$strict>;
1153
+ }, z.core.$strict>>;
1154
+ maximumCostWei: z.ZodString;
1155
+ activationChainHalted: z.ZodOptional<z.ZodLiteral<true>>;
1156
+ actualCostWei: z.ZodOptional<z.ZodString>;
1157
+ reviewRequired: z.ZodOptional<z.ZodLiteral<true>>;
1158
+ reviewFailure: z.ZodOptional<z.ZodEnum<{
1159
+ ACCOUNT_GAS_QUOTE_UNAVAILABLE: "ACCOUNT_GAS_QUOTE_UNAVAILABLE";
1160
+ ACCOUNT_GAS_REVIEW_INVALID: "ACCOUNT_GAS_REVIEW_INVALID";
1161
+ ACCOUNT_GAS_REVIEW_STALE: "ACCOUNT_GAS_REVIEW_STALE";
1162
+ ACCOUNT_GAS_SPONSOR_INELIGIBLE: "ACCOUNT_GAS_SPONSOR_INELIGIBLE";
1163
+ ACCOUNT_GAS_REVIEW_REQUIRED: "ACCOUNT_GAS_REVIEW_REQUIRED";
1164
+ ACCOUNT_GAS_REVIEW_CHANGED: "ACCOUNT_GAS_REVIEW_CHANGED";
1165
+ ACCOUNT_GAS_REVIEW_UNAVAILABLE: "ACCOUNT_GAS_REVIEW_UNAVAILABLE";
1166
+ ACCOUNT_GAS_FUNDING_REQUIRED: "ACCOUNT_GAS_FUNDING_REQUIRED";
1167
+ }>>;
1168
+ }, z.core.$strict>, z.ZodObject<{
1169
+ payer: z.ZodLiteral<"account">;
1170
+ paymentReview: z.ZodObject<{
1171
+ version: z.ZodLiteral<1>;
1172
+ revision: z.ZodNumber;
1173
+ payer: z.ZodEnum<{
1174
+ account: "account";
1175
+ sponsor: "sponsor";
1176
+ }>;
1177
+ sponsorStatus: z.ZodEnum<{
1178
+ unavailable: "unavailable";
1179
+ eligible: "eligible";
1180
+ "above-limit": "above-limit";
1181
+ "price-unavailable": "price-unavailable";
1182
+ }>;
1183
+ subsidyCapUsdMicros: z.ZodLiteral<"100000">;
1184
+ quote: z.ZodObject<{
1185
+ version: z.ZodLiteral<1>;
1186
+ kind: z.ZodLiteral<"estimate">;
1187
+ payer: z.ZodLiteral<"user">;
1188
+ account: z.ZodString;
1189
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<8453>, z.ZodLiteral<42161>, z.ZodLiteral<10>, z.ZodLiteral<137>]>;
1190
+ entryPoint: z.ZodString;
1191
+ nativeAsset: z.ZodObject<{
1192
+ symbol: z.ZodEnum<{
1193
+ ETH: "ETH";
1194
+ POL: "POL";
1195
+ }>;
1196
+ decimals: z.ZodLiteral<18>;
1197
+ }, z.core.$strict>;
1198
+ callsCommitment: z.ZodString;
1199
+ nonce: z.ZodString;
1200
+ blockNumber: z.ZodString;
1201
+ blockHash: z.ZodString;
1202
+ blockTimestampMs: z.ZodNumber;
1203
+ observedAtMs: z.ZodNumber;
1204
+ expiresAtMs: z.ZodNumber;
1205
+ simulation: z.ZodLiteral<"sender-balance-override">;
1206
+ providerEstimate: z.ZodObject<{
1207
+ blockAnchor: z.ZodLiteral<"unanchored">;
1208
+ startedAtMs: z.ZodNumber;
1209
+ completedAtMs: z.ZodNumber;
1210
+ elapsedMs: z.ZodNumber;
1211
+ }, z.core.$strict>;
1212
+ gas: z.ZodObject<{
1213
+ callGasLimit: z.ZodString;
1214
+ verificationGasLimit: z.ZodString;
1215
+ preVerificationGas: z.ZodString;
1216
+ maxFeePerGasWei: z.ZodString;
1217
+ maxPriorityFeePerGasWei: z.ZodString;
1218
+ estimatedPrefundWei: z.ZodString;
1219
+ reserveWei: z.ZodString;
1220
+ estimatedRequiredWei: z.ZodString;
1221
+ reserveBps: z.ZodLiteral<"2500">;
1222
+ }, z.core.$strict>;
1223
+ balance: z.ZodObject<{
1224
+ nativeWei: z.ZodString;
1225
+ entryPointDepositWei: z.ZodString;
1226
+ callValueWei: z.ZodString;
1227
+ depositAppliedToGasWei: z.ZodString;
1228
+ walletGasRequirementWei: z.ZodString;
1229
+ nativeAvailableForGasWei: z.ZodString;
1230
+ gasShortfallWei: z.ZodString;
1231
+ requiredNativeWei: z.ZodString;
1232
+ shortfallWei: z.ZodString;
1233
+ }, z.core.$strict>;
1234
+ usdPrice: z.ZodOptional<z.ZodObject<{
1235
+ amountAtomic: z.ZodString;
1236
+ decimals: z.ZodNumber;
1237
+ observedAtMs: z.ZodNumber;
1238
+ expiresAtMs: z.ZodNumber;
1239
+ }, z.core.$strict>>;
1240
+ estimatedGasCostUsdMicros: z.ZodOptional<z.ZodString>;
1241
+ sponsoredEstimate: z.ZodOptional<z.ZodObject<{
1242
+ kind: z.ZodLiteral<"estimate">;
1243
+ simulation: z.ZodLiteral<"paymaster-stub">;
1244
+ entryPointVersion: z.ZodLiteral<"0.6">;
1245
+ paymaster: z.ZodString;
1246
+ sponsorshipPolicyId: z.ZodString;
1247
+ paymasterAndDataCommitment: z.ZodString;
1248
+ providerEstimate: z.ZodObject<{
1249
+ blockAnchor: z.ZodLiteral<"unanchored">;
1250
+ startedAtMs: z.ZodNumber;
1251
+ completedAtMs: z.ZodNumber;
1252
+ elapsedMs: z.ZodNumber;
1253
+ }, z.core.$strict>;
1254
+ gas: z.ZodObject<{
1255
+ callGasLimit: z.ZodString;
1256
+ verificationGasLimit: z.ZodString;
1257
+ preVerificationGas: z.ZodString;
1258
+ maxFeePerGasWei: z.ZodString;
1259
+ maxPriorityFeePerGasWei: z.ZodString;
1260
+ verificationGasMultiplier: z.ZodLiteral<"3">;
1261
+ estimatedPrefundWei: z.ZodString;
1262
+ reserveWei: z.ZodString;
1263
+ estimatedRequiredWei: z.ZodString;
1264
+ reserveBps: z.ZodLiteral<"2500">;
1265
+ }, z.core.$strict>;
1266
+ estimatedGasCostUsdMicros: z.ZodOptional<z.ZodString>;
1267
+ }, z.core.$strict>>;
1268
+ }, z.core.$strict>;
1269
+ }, z.core.$strict>;
1270
+ actualCostWei: z.ZodOptional<z.ZodString>;
1271
+ reviewRequired: z.ZodOptional<z.ZodLiteral<true>>;
1272
+ reviewFailure: z.ZodOptional<z.ZodEnum<{
1273
+ ACCOUNT_GAS_QUOTE_UNAVAILABLE: "ACCOUNT_GAS_QUOTE_UNAVAILABLE";
1274
+ ACCOUNT_GAS_REVIEW_INVALID: "ACCOUNT_GAS_REVIEW_INVALID";
1275
+ ACCOUNT_GAS_REVIEW_STALE: "ACCOUNT_GAS_REVIEW_STALE";
1276
+ ACCOUNT_GAS_SPONSOR_INELIGIBLE: "ACCOUNT_GAS_SPONSOR_INELIGIBLE";
1277
+ ACCOUNT_GAS_REVIEW_REQUIRED: "ACCOUNT_GAS_REVIEW_REQUIRED";
1278
+ ACCOUNT_GAS_REVIEW_CHANGED: "ACCOUNT_GAS_REVIEW_CHANGED";
1279
+ ACCOUNT_GAS_REVIEW_UNAVAILABLE: "ACCOUNT_GAS_REVIEW_UNAVAILABLE";
1280
+ ACCOUNT_GAS_FUNDING_REQUIRED: "ACCOUNT_GAS_FUNDING_REQUIRED";
1281
+ }>>;
1282
+ }, z.core.$strict>], "payer">>;
1283
+ confirmation: z.ZodOptional<z.ZodEnum<{
1284
+ "I reviewed this native yield action and sponsored atomic batch": "I reviewed this native yield action and sponsored atomic batch";
1285
+ "I reviewed this native yield action and account-paid atomic batch": "I reviewed this native yield action and account-paid atomic batch";
1286
+ }>>;
1287
+ protocolActionVerified: z.ZodOptional<z.ZodBoolean>;
1288
+ userOpHash: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1289
+ transactionHash: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1290
+ failureCode: z.ZodOptional<z.ZodOptional<z.ZodEnum<{
1291
+ SPONSOR_GAS_CAP_EXCEEDED: "SPONSOR_GAS_CAP_EXCEEDED";
1292
+ SPONSOR_NOT_SUBMITTED: "SPONSOR_NOT_SUBMITTED";
1293
+ SPONSOR_USER_OPERATION_REVERTED: "SPONSOR_USER_OPERATION_REVERTED";
1294
+ }>>>;
1295
+ walletAuthorityChangeIncluded: z.ZodOptional<z.ZodLiteral<false>>;
1296
+ retrySafe: z.ZodOptional<z.ZodLiteral<false>>;
1297
+ consent: z.ZodOptional<z.ZodObject<{
1298
+ consentId: z.ZodString;
1299
+ consentCommitment: z.ZodString;
1300
+ createdAtMs: z.ZodNumber;
1301
+ challengeExpiresAtMs: z.ZodNumber;
1302
+ state: z.ZodEnum<{
1303
+ challenge: "challenge";
1304
+ confirmed: "confirmed";
1305
+ revoked: "revoked";
1306
+ superseded: "superseded";
1307
+ }>;
1308
+ generation: z.ZodNumber;
1309
+ confirmedAtMs: z.ZodNullable<z.ZodNumber>;
1310
+ account: z.ZodString;
1311
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
1312
+ }, z.core.$strict>>;
1313
+ scope: z.ZodOptional<z.ZodOptional<z.ZodObject<{
1314
+ account: z.ZodString;
1315
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
1316
+ scopes: z.ZodArray<z.ZodEnum<{
1317
+ deposit: "deposit";
1318
+ withdraw: "withdraw";
1319
+ approve: "approve";
1320
+ "approve-reset": "approve-reset";
1321
+ revoke: "revoke";
1322
+ }>>;
1323
+ marketLimits: z.ZodArray<z.ZodObject<{
1324
+ marketId: z.ZodString;
1325
+ action: z.ZodEnum<{
1326
+ deposit: "deposit";
1327
+ withdraw: "withdraw";
1328
+ }>;
1329
+ inputToken: z.ZodString;
1330
+ maximumInputAtomic: z.ZodString;
1331
+ }, z.core.$strict>>;
1332
+ perDepositCapUsd: z.ZodNumber;
1333
+ maximumGasCostWei: z.ZodString;
1334
+ maximumUserGasCostWei: z.ZodString;
1335
+ maximumActivationGasCostWei: z.ZodString;
1336
+ expiresAtMs: z.ZodNumber;
1337
+ requiresSeparateOperationReview: z.ZodLiteral<true>;
1338
+ }, z.core.$strict>>>;
1339
+ requiresSeparateOperationReview: z.ZodOptional<z.ZodLiteral<true>>;
1340
+ configured: z.ZodOptional<z.ZodBoolean>;
1341
+ executionEnabled: z.ZodOptional<z.ZodBoolean>;
1342
+ recoveryAvailable: z.ZodOptional<z.ZodBoolean>;
1343
+ reason: z.ZodOptional<z.ZodOptional<z.ZodEnum<import("./execution-sponsored-mcp-definition.js").SponsoredRefusalEnum>>>;
1344
+ requiresNativeConsent: z.ZodOptional<z.ZodLiteral<true>>;
1345
+ requiresSeparateWalletUpgrade: z.ZodOptional<z.ZodLiteral<true>>;
1346
+ supportedSameAddressChains: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>>>;
1347
+ schemaVersion: z.ZodLiteral<"1">;
1348
+ kind: z.ZodLiteral<"native-yield-userop">;
1349
+ }, z.core.$strict>;
1350
+ annotations: Readonly<{
1351
+ readOnlyHint: false;
1352
+ destructiveHint: true;
1353
+ idempotentHint: false;
1354
+ openWorldHint: true;
1355
+ }>;
1356
+ }>;