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,1230 @@
1
+ import { type AccountGasReview } from './execution-account-gas-review.js';
2
+ /** Guarded LP collection is record v3 in the existing sponsored claim and gas ledger. */
3
+ import { z } from 'zod';
4
+ export declare const LP_USEROP_CONTEXT_SCHEMA: z.ZodObject<{
5
+ kind: z.ZodLiteral<"lp-collect-userop">;
6
+ account: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
7
+ chainId: z.ZodLiteral<8453>;
8
+ envelope: z.ZodObject<{
9
+ version: z.ZodLiteral<1>;
10
+ kind: z.ZodLiteral<"lp-collect-userop">;
11
+ input: z.ZodObject<{
12
+ action: z.ZodLiteral<"collect">;
13
+ tokenId: z.ZodString;
14
+ amountMax: z.ZodTuple<[z.ZodString, z.ZodString], null>;
15
+ amountMin: z.ZodTuple<[z.ZodString, z.ZodString], null>;
16
+ protocol: z.ZodLiteral<"uniswap-v3">;
17
+ chainId: z.ZodLiteral<8453>;
18
+ operationId: z.ZodString;
19
+ account: z.ZodString;
20
+ recipient: z.ZodString;
21
+ manager: z.ZodLiteral<"0x03a520b32c04bf3beef7beb72e919cf822ed34f1">;
22
+ factory: z.ZodLiteral<"0x33128a8fc17869897dce68ed026d694621f6fdfd">;
23
+ pool: z.ZodString;
24
+ token0: z.ZodLiteral<"0x4200000000000000000000000000000000000006">;
25
+ token1: z.ZodLiteral<"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913">;
26
+ fee: z.ZodUnion<readonly [z.ZodLiteral<100>, z.ZodLiteral<500>, z.ZodLiteral<3000>, z.ZodLiteral<10000>]>;
27
+ tickLower: z.ZodNumber;
28
+ tickUpper: z.ZodNumber;
29
+ deadline: z.ZodNumber;
30
+ nftApprovalPolicy: z.ZodLiteral<"zero-before-and-after">;
31
+ guardDeploymentId: z.ZodLiteral<"base-weth-usdc-collect-v1">;
32
+ schemaVersion: z.ZodLiteral<3>;
33
+ }, z.core.$strict>;
34
+ plan: z.ZodObject<{
35
+ intent: z.ZodObject<{
36
+ action: z.ZodLiteral<"collect">;
37
+ tokenId: z.ZodString;
38
+ amountMax: z.ZodTuple<[z.ZodString, z.ZodString], null>;
39
+ amountMin: z.ZodTuple<[z.ZodString, z.ZodString], null>;
40
+ protocol: z.ZodLiteral<"uniswap-v3">;
41
+ chainId: z.ZodLiteral<8453>;
42
+ operationId: z.ZodString;
43
+ account: z.ZodString;
44
+ recipient: z.ZodString;
45
+ manager: z.ZodLiteral<"0x03a520b32c04bf3beef7beb72e919cf822ed34f1">;
46
+ factory: z.ZodLiteral<"0x33128a8fc17869897dce68ed026d694621f6fdfd">;
47
+ pool: z.ZodString;
48
+ token0: z.ZodLiteral<"0x4200000000000000000000000000000000000006">;
49
+ token1: z.ZodLiteral<"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913">;
50
+ fee: z.ZodUnion<readonly [z.ZodLiteral<100>, z.ZodLiteral<500>, z.ZodLiteral<3000>, z.ZodLiteral<10000>]>;
51
+ tickLower: z.ZodNumber;
52
+ tickUpper: z.ZodNumber;
53
+ deadline: z.ZodNumber;
54
+ nftApprovalPolicy: z.ZodLiteral<"zero-before-and-after">;
55
+ guardDeploymentId: z.ZodLiteral<"base-weth-usdc-collect-v1">;
56
+ schemaVersion: z.ZodLiteral<3>;
57
+ }, z.core.$strict>;
58
+ intentCommitment: z.ZodString;
59
+ policyCommitment: z.ZodString;
60
+ guardDeployment: z.ZodObject<{
61
+ id: z.ZodLiteral<"base-weth-usdc-collect-v1">;
62
+ chainId: z.ZodLiteral<8453>;
63
+ address: z.ZodString;
64
+ runtimeCodeHash: z.ZodString;
65
+ configurationHash: z.ZodLiteral<`0x${string}`>;
66
+ codeVersion: z.ZodLiteral<"OttoV3CollectGuard-v1">;
67
+ deploymentBlock: z.ZodString;
68
+ reviewReference: z.ZodString;
69
+ }, z.core.$strict>;
70
+ calls: z.ZodTuple<[z.ZodObject<{
71
+ step: z.ZodEnum<{
72
+ mutation: "mutation";
73
+ "erc20-approve": "erc20-approve";
74
+ "erc20-cleanup": "erc20-cleanup";
75
+ "nft-approve": "nft-approve";
76
+ "nft-clear": "nft-clear";
77
+ }>;
78
+ tokenIndex: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
79
+ chainId: z.ZodLiteral<8453>;
80
+ from: z.ZodString;
81
+ to: z.ZodString;
82
+ value: z.ZodLiteral<"0">;
83
+ data: z.ZodString;
84
+ }, z.core.$strict>, z.ZodObject<{
85
+ step: z.ZodEnum<{
86
+ mutation: "mutation";
87
+ "erc20-approve": "erc20-approve";
88
+ "erc20-cleanup": "erc20-cleanup";
89
+ "nft-approve": "nft-approve";
90
+ "nft-clear": "nft-clear";
91
+ }>;
92
+ tokenIndex: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
93
+ chainId: z.ZodLiteral<8453>;
94
+ from: z.ZodString;
95
+ to: z.ZodString;
96
+ value: z.ZodLiteral<"0">;
97
+ data: z.ZodString;
98
+ }, z.core.$strict>], null>;
99
+ preparedBlock: z.ZodObject<{
100
+ number: z.ZodString;
101
+ hash: z.ZodString;
102
+ }, z.core.$strict>;
103
+ preparedObservationCommitment: z.ZodString;
104
+ planCommitment: z.ZodString;
105
+ executionAuthorized: z.ZodLiteral<false>;
106
+ transportVerified: z.ZodLiteral<false>;
107
+ claimReleased: z.ZodLiteral<false>;
108
+ retainClaim: z.ZodLiteral<true>;
109
+ retrySafe: z.ZodLiteral<false>;
110
+ schemaVersion: z.ZodLiteral<3>;
111
+ kind: z.ZodLiteral<"lp-v3-collect-protocol">;
112
+ }, z.core.$strict>;
113
+ baseline: z.ZodObject<{
114
+ chainId: z.ZodLiteral<8453>;
115
+ fee: z.ZodNumber;
116
+ blockNumber: z.ZodString;
117
+ blockHash: z.ZodString;
118
+ account: z.ZodString;
119
+ factory: z.ZodLiteral<"0x33128a8fc17869897dce68ed026d694621f6fdfd">;
120
+ blockTimestamp: z.ZodNumber;
121
+ manager: z.ZodLiteral<"0x03a520b32c04bf3beef7beb72e919cf822ed34f1">;
122
+ token0: z.ZodLiteral<"0x4200000000000000000000000000000000000006">;
123
+ token1: z.ZodLiteral<"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913">;
124
+ usdcImplementation: z.ZodLiteral<"0x2ce6311ddae708829bc0784c967b7d77d19fd779">;
125
+ factoryCodeHash: z.ZodLiteral<`0x${string}`>;
126
+ managerCodeHash: z.ZodLiteral<`0x${string}`>;
127
+ token0CodeHash: z.ZodLiteral<`0x${string}`>;
128
+ token1CodeHash: z.ZodLiteral<`0x${string}`>;
129
+ usdcImplementationCodeHash: z.ZodLiteral<`0x${string}`>;
130
+ pool: z.ZodString;
131
+ balances: z.ZodTuple<[z.ZodString, z.ZodString], null>;
132
+ allowances: z.ZodTuple<[z.ZodString, z.ZodString], null>;
133
+ factoryPool: z.ZodString;
134
+ tick: z.ZodNumber;
135
+ observedAt: z.ZodNumber;
136
+ managerFactory: z.ZodLiteral<"0x33128a8fc17869897dce68ed026d694621f6fdfd">;
137
+ usdcPaused: z.ZodLiteral<false>;
138
+ accountBlacklisted: z.ZodLiteral<false>;
139
+ managerBlacklisted: z.ZodLiteral<false>;
140
+ poolFactory: z.ZodLiteral<"0x33128a8fc17869897dce68ed026d694621f6fdfd">;
141
+ tickSpacing: z.ZodNumber;
142
+ sqrtPriceX96: z.ZodString;
143
+ unlocked: z.ZodLiteral<true>;
144
+ position: z.ZodObject<{
145
+ tokenId: z.ZodString;
146
+ owner: z.ZodString;
147
+ token0: z.ZodString;
148
+ token1: z.ZodString;
149
+ fee: z.ZodNumber;
150
+ tickLower: z.ZodNumber;
151
+ tickUpper: z.ZodNumber;
152
+ liquidity: z.ZodString;
153
+ tokensOwed: z.ZodTuple<[z.ZodString, z.ZodString], null>;
154
+ approved: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"0x0000000000000000000000000000000000000000">]>;
155
+ }, z.core.$strict>;
156
+ managerNativeBalance: z.ZodString;
157
+ schemaVersion: z.ZodLiteral<3>;
158
+ accountCode: z.ZodString;
159
+ accountCodeHash: z.ZodString;
160
+ guard: z.ZodObject<{
161
+ address: z.ZodString;
162
+ runtimeCodeHash: z.ZodString;
163
+ configurationHash: z.ZodString;
164
+ deploymentChainId: z.ZodLiteral<8453>;
165
+ ownerApprovalForAll: z.ZodLiteral<false>;
166
+ guardBlacklisted: z.ZodLiteral<false>;
167
+ poolBlacklisted: z.ZodLiteral<false>;
168
+ tokenAllowances: z.ZodTuple<[z.ZodLiteral<"0">, z.ZodLiteral<"0">], null>;
169
+ tokenBalances: z.ZodTuple<[z.ZodString, z.ZodString], null>;
170
+ }, z.core.$strict>;
171
+ }, z.core.$strict>;
172
+ check: z.ZodObject<{
173
+ planCommitment: z.ZodString;
174
+ intentCommitment: z.ZodString;
175
+ policyCommitment: z.ZodString;
176
+ baselineCommitment: z.ZodString;
177
+ checkedAt: z.ZodNumber;
178
+ checkCommitment: z.ZodString;
179
+ executionAuthorized: z.ZodLiteral<false>;
180
+ transportVerified: z.ZodLiteral<false>;
181
+ claimReleased: z.ZodLiteral<false>;
182
+ retainClaim: z.ZodLiteral<true>;
183
+ retrySafe: z.ZodLiteral<false>;
184
+ schemaVersion: z.ZodLiteral<3>;
185
+ kind: z.ZodLiteral<"lp-v3-collect-protocol-check">;
186
+ }, z.core.$strict>;
187
+ terms: z.ZodObject<{
188
+ version: z.ZodLiteral<1>;
189
+ ruleset: z.ZodLiteral<"lp-guarded-collect-userop-v1">;
190
+ userId: z.ZodString;
191
+ account: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
192
+ chainId: z.ZodLiteral<8453>;
193
+ authorityDigest: z.ZodString;
194
+ lpActivationCommitment: z.ZodString;
195
+ sponsoredActivationId: z.ZodString;
196
+ sponsoredActivationDigest: z.ZodString;
197
+ projectId: z.ZodString;
198
+ policyId: z.ZodString;
199
+ policyRulesDigest: z.ZodString;
200
+ providerEnforcementEvidenceDigest: z.ZodString;
201
+ providerEndpoint: z.ZodLiteral<"cdp-end-user-smart-account-send-v1">;
202
+ guardDeployment: z.ZodObject<{
203
+ id: z.ZodLiteral<"base-weth-usdc-collect-v1">;
204
+ chainId: z.ZodLiteral<8453>;
205
+ address: z.ZodString;
206
+ runtimeCodeHash: z.ZodString;
207
+ configurationHash: z.ZodLiteral<`0x${string}`>;
208
+ codeVersion: z.ZodLiteral<"OttoV3CollectGuard-v1">;
209
+ deploymentBlock: z.ZodString;
210
+ reviewReference: z.ZodString;
211
+ }, z.core.$strict>;
212
+ finalityPolicy: z.ZodObject<{
213
+ schemaVersion: z.ZodLiteral<1>;
214
+ id: z.ZodLiteral<"base-finalized-lp-v1">;
215
+ chainId: z.ZodLiteral<8453>;
216
+ blockTag: z.ZodLiteral<"finalized">;
217
+ reviewReference: z.ZodString;
218
+ minFinalizedConfirmations: z.ZodNumber;
219
+ maxHeadAgeSeconds: z.ZodNumber;
220
+ maxFinalizedLagSeconds: z.ZodNumber;
221
+ maxReadDurationSeconds: z.ZodNumber;
222
+ }, z.core.$strict>;
223
+ delegate: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
224
+ delegateCodeHash: z.ZodString;
225
+ implementation: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
226
+ implementationCodeHash: z.ZodString;
227
+ delegateBatchAbi: z.ZodLiteral<"coinbase-executeBatch-v1">;
228
+ delegateBatchReviewDigest: z.ZodString;
229
+ entryPoint: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
230
+ entryPointCodeHash: z.ZodString;
231
+ entryPointVersion: z.ZodLiteral<"0.6">;
232
+ ownerProfile: z.ZodObject<{
233
+ kind: z.ZodLiteral<"sole-eoa-owner">;
234
+ nextOwnerIndex: z.ZodLiteral<"1">;
235
+ ownerCount: z.ZodLiteral<"1">;
236
+ ownerAtIndex0: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
237
+ spendPermissionsEnabled: z.ZodLiteral<false>;
238
+ }, z.core.$strict>;
239
+ paymaster: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
240
+ paymasterCodeHash: z.ZodString;
241
+ sponsorshipPolicyId: z.ZodString;
242
+ maxGasCostWei: z.ZodString;
243
+ maxUserGasCostWei: z.ZodString;
244
+ maxTotalGasCostWei: z.ZodString;
245
+ maximumCollectAtomic: z.ZodTuple<[z.ZodString, z.ZodString], null>;
246
+ intentCommitment: z.ZodString;
247
+ reviewCreatedAtMs: z.ZodNumber;
248
+ reviewExpiresAtMs: z.ZodNumber;
249
+ initialNftApproval: z.ZodLiteral<"0x0000000000000000000000000000000000000000">;
250
+ finalNftApproval: z.ZodLiteral<"0x0000000000000000000000000000000000000000">;
251
+ execution: z.ZodLiteral<"atomic-nft-approve-guarded-collect">;
252
+ principalDebitAuthorized: z.ZodLiteral<false>;
253
+ }, z.core.$strict>;
254
+ finalityPolicy: z.ZodObject<{
255
+ schemaVersion: z.ZodLiteral<1>;
256
+ id: z.ZodLiteral<"base-finalized-lp-v1">;
257
+ chainId: z.ZodLiteral<8453>;
258
+ blockTag: z.ZodLiteral<"finalized">;
259
+ reviewReference: z.ZodString;
260
+ minFinalizedConfirmations: z.ZodNumber;
261
+ maxHeadAgeSeconds: z.ZodNumber;
262
+ maxFinalizedLagSeconds: z.ZodNumber;
263
+ maxReadDurationSeconds: z.ZodNumber;
264
+ }, z.core.$strict>;
265
+ preparedAtMs: z.ZodNumber;
266
+ validUntilMs: z.ZodNumber;
267
+ commitment: z.ZodString;
268
+ }, z.core.$strict>;
269
+ review: z.ZodObject<{
270
+ input: z.ZodObject<{
271
+ action: z.ZodLiteral<"collect">;
272
+ tokenId: z.ZodString;
273
+ amountMax: z.ZodTuple<[z.ZodString, z.ZodString], null>;
274
+ amountMin: z.ZodTuple<[z.ZodString, z.ZodString], null>;
275
+ protocol: z.ZodLiteral<"uniswap-v3">;
276
+ chainId: z.ZodLiteral<8453>;
277
+ operationId: z.ZodString;
278
+ account: z.ZodString;
279
+ recipient: z.ZodString;
280
+ manager: z.ZodLiteral<"0x03a520b32c04bf3beef7beb72e919cf822ed34f1">;
281
+ factory: z.ZodLiteral<"0x33128a8fc17869897dce68ed026d694621f6fdfd">;
282
+ pool: z.ZodString;
283
+ token0: z.ZodLiteral<"0x4200000000000000000000000000000000000006">;
284
+ token1: z.ZodLiteral<"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913">;
285
+ fee: z.ZodUnion<readonly [z.ZodLiteral<100>, z.ZodLiteral<500>, z.ZodLiteral<3000>, z.ZodLiteral<10000>]>;
286
+ tickLower: z.ZodNumber;
287
+ tickUpper: z.ZodNumber;
288
+ deadline: z.ZodNumber;
289
+ nftApprovalPolicy: z.ZodLiteral<"zero-before-and-after">;
290
+ guardDeploymentId: z.ZodLiteral<"base-weth-usdc-collect-v1">;
291
+ schemaVersion: z.ZodLiteral<3>;
292
+ }, z.core.$strict>;
293
+ terms: z.ZodObject<{
294
+ version: z.ZodLiteral<1>;
295
+ ruleset: z.ZodLiteral<"lp-guarded-collect-userop-v1">;
296
+ userId: z.ZodString;
297
+ account: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
298
+ chainId: z.ZodLiteral<8453>;
299
+ authorityDigest: z.ZodString;
300
+ lpActivationCommitment: z.ZodString;
301
+ sponsoredActivationId: z.ZodString;
302
+ sponsoredActivationDigest: z.ZodString;
303
+ projectId: z.ZodString;
304
+ policyId: z.ZodString;
305
+ policyRulesDigest: z.ZodString;
306
+ providerEnforcementEvidenceDigest: z.ZodString;
307
+ providerEndpoint: z.ZodLiteral<"cdp-end-user-smart-account-send-v1">;
308
+ guardDeployment: z.ZodObject<{
309
+ id: z.ZodLiteral<"base-weth-usdc-collect-v1">;
310
+ chainId: z.ZodLiteral<8453>;
311
+ address: z.ZodString;
312
+ runtimeCodeHash: z.ZodString;
313
+ configurationHash: z.ZodLiteral<`0x${string}`>;
314
+ codeVersion: z.ZodLiteral<"OttoV3CollectGuard-v1">;
315
+ deploymentBlock: z.ZodString;
316
+ reviewReference: z.ZodString;
317
+ }, z.core.$strict>;
318
+ finalityPolicy: z.ZodObject<{
319
+ schemaVersion: z.ZodLiteral<1>;
320
+ id: z.ZodLiteral<"base-finalized-lp-v1">;
321
+ chainId: z.ZodLiteral<8453>;
322
+ blockTag: z.ZodLiteral<"finalized">;
323
+ reviewReference: z.ZodString;
324
+ minFinalizedConfirmations: z.ZodNumber;
325
+ maxHeadAgeSeconds: z.ZodNumber;
326
+ maxFinalizedLagSeconds: z.ZodNumber;
327
+ maxReadDurationSeconds: z.ZodNumber;
328
+ }, z.core.$strict>;
329
+ delegate: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
330
+ delegateCodeHash: z.ZodString;
331
+ implementation: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
332
+ implementationCodeHash: z.ZodString;
333
+ delegateBatchAbi: z.ZodLiteral<"coinbase-executeBatch-v1">;
334
+ delegateBatchReviewDigest: z.ZodString;
335
+ entryPoint: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
336
+ entryPointCodeHash: z.ZodString;
337
+ entryPointVersion: z.ZodLiteral<"0.6">;
338
+ ownerProfile: z.ZodObject<{
339
+ kind: z.ZodLiteral<"sole-eoa-owner">;
340
+ nextOwnerIndex: z.ZodLiteral<"1">;
341
+ ownerCount: z.ZodLiteral<"1">;
342
+ ownerAtIndex0: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
343
+ spendPermissionsEnabled: z.ZodLiteral<false>;
344
+ }, z.core.$strict>;
345
+ paymaster: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
346
+ paymasterCodeHash: z.ZodString;
347
+ sponsorshipPolicyId: z.ZodString;
348
+ maxGasCostWei: z.ZodString;
349
+ maxUserGasCostWei: z.ZodString;
350
+ maxTotalGasCostWei: z.ZodString;
351
+ maximumCollectAtomic: z.ZodTuple<[z.ZodString, z.ZodString], null>;
352
+ intentCommitment: z.ZodString;
353
+ reviewCreatedAtMs: z.ZodNumber;
354
+ reviewExpiresAtMs: z.ZodNumber;
355
+ initialNftApproval: z.ZodLiteral<"0x0000000000000000000000000000000000000000">;
356
+ finalNftApproval: z.ZodLiteral<"0x0000000000000000000000000000000000000000">;
357
+ execution: z.ZodLiteral<"atomic-nft-approve-guarded-collect">;
358
+ principalDebitAuthorized: z.ZodLiteral<false>;
359
+ }, z.core.$strict>;
360
+ }, z.core.$strict>;
361
+ authority: z.ZodObject<{
362
+ userId: z.ZodString;
363
+ account: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
364
+ mintKey: z.ZodString;
365
+ grantExpiresAt: z.ZodString;
366
+ revokeGeneration: z.ZodNumber;
367
+ capVersion: z.ZodLiteral<2>;
368
+ perSwapCapUsd: z.ZodNumber;
369
+ activationDigest: z.ZodString;
370
+ policyRulesDigest: z.ZodString;
371
+ }, z.core.$strict>;
372
+ activation: z.ZodObject<{
373
+ version: z.ZodLiteral<1>;
374
+ id: z.ZodString;
375
+ mode: z.ZodEnum<{
376
+ enabled: "enabled";
377
+ "recovery-only": "recovery-only";
378
+ }>;
379
+ projectId: z.ZodString;
380
+ policyId: z.ZodString;
381
+ policyName: z.ZodString;
382
+ policyRulesDigest: z.ZodString;
383
+ providerEnforcementEvidenceDigest: z.ZodString;
384
+ nativeYieldUserOpPolicyRelation: z.ZodOptional<z.ZodObject<{
385
+ nativeActivationCommitment: z.ZodString;
386
+ nativeRulesDigest: z.ZodString;
387
+ compiledFullPolicyDigest: z.ZodString;
388
+ relationReviewEvidenceDigest: z.ZodString;
389
+ compiler: z.ZodLiteral<"legacy-v2-native-enduser-userop-v1">;
390
+ }, z.core.$strict>>;
391
+ lpUserOpPolicyRelation: z.ZodOptional<z.ZodObject<{
392
+ compiler: z.ZodLiteral<"legacy-v2-native-lp-collect-enduser-userop-v1">;
393
+ nativeCompiledPolicyDigest: z.ZodString;
394
+ nativeActivationCommitment: z.ZodString;
395
+ nativeRulesDigest: z.ZodString;
396
+ lpActivationCommitment: z.ZodString;
397
+ lpRulesDigest: z.ZodString;
398
+ compiledFullPolicyDigest: z.ZodString;
399
+ relationReviewEvidenceDigest: z.ZodString;
400
+ }, z.core.$strict>>;
401
+ approvedAtMs: z.ZodNumber;
402
+ expiresAtMs: z.ZodNumber;
403
+ maxSwapUsdc: z.ZodNumber;
404
+ gasPaymentReviewEnabled: z.ZodOptional<z.ZodLiteral<true>>;
405
+ userPaidGasPilot: z.ZodOptional<z.ZodArray<z.ZodObject<{
406
+ account: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
407
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<8453>, z.ZodLiteral<42161>, z.ZodLiteral<10>, z.ZodLiteral<137>]>;
408
+ maximumObservedExposureWei: z.ZodString;
409
+ }, z.core.$strict>>>;
410
+ chains: z.ZodArray<z.ZodObject<{
411
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<8453>, z.ZodLiteral<42161>, z.ZodLiteral<10>, z.ZodLiteral<137>]>;
412
+ delegate: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
413
+ delegateCodeHash: z.ZodString;
414
+ nativeYieldUserOpProfile: z.ZodOptional<z.ZodObject<{
415
+ implementation: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
416
+ implementationCodeHash: z.ZodString;
417
+ delegateBatchAbi: z.ZodLiteral<"coinbase-executeBatch-v1">;
418
+ delegateBatchReviewDigest: z.ZodString;
419
+ entryPointVersion: z.ZodLiteral<"0.6">;
420
+ ownerProfile: z.ZodObject<{
421
+ kind: z.ZodLiteral<"sole-eoa-owner">;
422
+ nextOwnerIndex: z.ZodLiteral<"1">;
423
+ ownerCount: z.ZodLiteral<"1">;
424
+ requireAccountAsOwner: z.ZodLiteral<true>;
425
+ spendPermissionsEnabled: z.ZodLiteral<false>;
426
+ }, z.core.$strict>;
427
+ }, z.core.$strict>>;
428
+ entryPoint: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
429
+ entryPointCodeHash: z.ZodString;
430
+ paymaster: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
431
+ paymasterCodeHash: z.ZodString;
432
+ reviewedOutputTokens: z.ZodArray<z.ZodObject<{
433
+ address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
434
+ codeHash: z.ZodString;
435
+ reviewEvidenceDigest: z.ZodString;
436
+ }, z.core.$strict>>;
437
+ sponsorshipPolicyId: z.ZodString;
438
+ nativeGasUsdFeed: z.ZodOptional<z.ZodObject<{
439
+ address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
440
+ decimals: z.ZodNumber;
441
+ maxAgeSeconds: z.ZodNumber;
442
+ }, z.core.$strict>>;
443
+ maxGasCostWei: z.ZodString;
444
+ maxTotalGasCostWei: z.ZodString;
445
+ maxUserGasCostWei: z.ZodString;
446
+ }, z.core.$strict>>;
447
+ }, z.core.$strict>;
448
+ reviewedAtMs: z.ZodNumber;
449
+ validUntilMs: z.ZodNumber;
450
+ }, z.core.$strict>;
451
+ export type LpUserOpContext = z.infer<typeof LP_USEROP_CONTEXT_SCHEMA>;
452
+ export declare const LP_USEROP_OPERATION_SCHEMA: z.ZodObject<{
453
+ operationId: z.ZodString;
454
+ userId: z.ZodString;
455
+ gasReview: z.ZodOptional<z.ZodObject<{
456
+ version: z.ZodLiteral<1>;
457
+ revision: z.ZodNumber;
458
+ payer: z.ZodEnum<{
459
+ account: "account";
460
+ sponsor: "sponsor";
461
+ }>;
462
+ sponsorStatus: z.ZodEnum<{
463
+ unavailable: "unavailable";
464
+ eligible: "eligible";
465
+ "above-limit": "above-limit";
466
+ "price-unavailable": "price-unavailable";
467
+ }>;
468
+ subsidyCapUsdMicros: z.ZodLiteral<"100000">;
469
+ quote: z.ZodObject<{
470
+ version: z.ZodLiteral<1>;
471
+ kind: z.ZodLiteral<"estimate">;
472
+ payer: z.ZodLiteral<"user">;
473
+ account: z.ZodString;
474
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<8453>, z.ZodLiteral<42161>, z.ZodLiteral<10>, z.ZodLiteral<137>]>;
475
+ entryPoint: z.ZodString;
476
+ nativeAsset: z.ZodObject<{
477
+ symbol: z.ZodEnum<{
478
+ ETH: "ETH";
479
+ POL: "POL";
480
+ }>;
481
+ decimals: z.ZodLiteral<18>;
482
+ }, z.core.$strict>;
483
+ callsCommitment: z.ZodString;
484
+ nonce: z.ZodString;
485
+ blockNumber: z.ZodString;
486
+ blockHash: z.ZodString;
487
+ blockTimestampMs: z.ZodNumber;
488
+ observedAtMs: z.ZodNumber;
489
+ expiresAtMs: z.ZodNumber;
490
+ simulation: z.ZodLiteral<"sender-balance-override">;
491
+ providerEstimate: z.ZodObject<{
492
+ blockAnchor: z.ZodLiteral<"unanchored">;
493
+ startedAtMs: z.ZodNumber;
494
+ completedAtMs: z.ZodNumber;
495
+ elapsedMs: z.ZodNumber;
496
+ }, z.core.$strict>;
497
+ gas: z.ZodObject<{
498
+ callGasLimit: z.ZodString;
499
+ verificationGasLimit: z.ZodString;
500
+ preVerificationGas: z.ZodString;
501
+ maxFeePerGasWei: z.ZodString;
502
+ maxPriorityFeePerGasWei: z.ZodString;
503
+ estimatedPrefundWei: z.ZodString;
504
+ reserveWei: z.ZodString;
505
+ estimatedRequiredWei: z.ZodString;
506
+ reserveBps: z.ZodLiteral<"2500">;
507
+ }, z.core.$strict>;
508
+ balance: z.ZodObject<{
509
+ nativeWei: z.ZodString;
510
+ entryPointDepositWei: z.ZodString;
511
+ callValueWei: z.ZodString;
512
+ depositAppliedToGasWei: z.ZodString;
513
+ walletGasRequirementWei: z.ZodString;
514
+ nativeAvailableForGasWei: z.ZodString;
515
+ gasShortfallWei: z.ZodString;
516
+ requiredNativeWei: z.ZodString;
517
+ shortfallWei: z.ZodString;
518
+ }, z.core.$strict>;
519
+ usdPrice: z.ZodOptional<z.ZodObject<{
520
+ amountAtomic: z.ZodString;
521
+ decimals: z.ZodNumber;
522
+ observedAtMs: z.ZodNumber;
523
+ expiresAtMs: z.ZodNumber;
524
+ }, z.core.$strict>>;
525
+ estimatedGasCostUsdMicros: z.ZodOptional<z.ZodString>;
526
+ sponsoredEstimate: z.ZodOptional<z.ZodObject<{
527
+ kind: z.ZodLiteral<"estimate">;
528
+ simulation: z.ZodLiteral<"paymaster-stub">;
529
+ entryPointVersion: z.ZodLiteral<"0.6">;
530
+ paymaster: z.ZodString;
531
+ sponsorshipPolicyId: z.ZodString;
532
+ paymasterAndDataCommitment: z.ZodString;
533
+ providerEstimate: z.ZodObject<{
534
+ blockAnchor: z.ZodLiteral<"unanchored">;
535
+ startedAtMs: z.ZodNumber;
536
+ completedAtMs: z.ZodNumber;
537
+ elapsedMs: z.ZodNumber;
538
+ }, z.core.$strict>;
539
+ gas: z.ZodObject<{
540
+ callGasLimit: z.ZodString;
541
+ verificationGasLimit: z.ZodString;
542
+ preVerificationGas: z.ZodString;
543
+ maxFeePerGasWei: z.ZodString;
544
+ maxPriorityFeePerGasWei: z.ZodString;
545
+ verificationGasMultiplier: z.ZodLiteral<"3">;
546
+ estimatedPrefundWei: z.ZodString;
547
+ reserveWei: z.ZodString;
548
+ estimatedRequiredWei: z.ZodString;
549
+ reserveBps: z.ZodLiteral<"2500">;
550
+ }, z.core.$strict>;
551
+ estimatedGasCostUsdMicros: z.ZodOptional<z.ZodString>;
552
+ }, z.core.$strict>>;
553
+ }, z.core.$strict>;
554
+ }, z.core.$strict>>;
555
+ gasReviewFailure: z.ZodOptional<z.ZodEnum<{
556
+ ACCOUNT_GAS_QUOTE_UNAVAILABLE: "ACCOUNT_GAS_QUOTE_UNAVAILABLE";
557
+ ACCOUNT_GAS_REVIEW_INVALID: "ACCOUNT_GAS_REVIEW_INVALID";
558
+ ACCOUNT_GAS_REVIEW_STALE: "ACCOUNT_GAS_REVIEW_STALE";
559
+ ACCOUNT_GAS_SPONSOR_INELIGIBLE: "ACCOUNT_GAS_SPONSOR_INELIGIBLE";
560
+ ACCOUNT_GAS_REVIEW_REQUIRED: "ACCOUNT_GAS_REVIEW_REQUIRED";
561
+ ACCOUNT_GAS_REVIEW_CHANGED: "ACCOUNT_GAS_REVIEW_CHANGED";
562
+ ACCOUNT_GAS_REVIEW_UNAVAILABLE: "ACCOUNT_GAS_REVIEW_UNAVAILABLE";
563
+ ACCOUNT_GAS_FUNDING_REQUIRED: "ACCOUNT_GAS_FUNDING_REQUIRED";
564
+ }>>;
565
+ reviewCommitment: z.ZodString;
566
+ reviewConsumed: z.ZodBoolean;
567
+ state: z.ZodEnum<{
568
+ unknown: "unknown";
569
+ submitted: "submitted";
570
+ completed: "completed";
571
+ review: "review";
572
+ active: "active";
573
+ failed: "failed";
574
+ }>;
575
+ createdAtMs: z.ZodNumber;
576
+ updatedAtMs: z.ZodNumber;
577
+ handoffAttempted: z.ZodBoolean;
578
+ request: z.ZodOptional<z.ZodObject<{
579
+ userId: z.ZodString;
580
+ account: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
581
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<8453>, z.ZodLiteral<42161>, z.ZodLiteral<10>, z.ZodLiteral<137>]>;
582
+ idempotencyKey: z.ZodString;
583
+ path: z.ZodString;
584
+ body: z.ZodString;
585
+ digest: z.ZodString;
586
+ }, z.core.$strict>>;
587
+ userOpHash: z.ZodOptional<z.ZodString>;
588
+ transactionHash: z.ZodOptional<z.ZodString>;
589
+ receipt: z.ZodOptional<z.ZodObject<{
590
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<8453>, z.ZodLiteral<42161>, z.ZodLiteral<10>, z.ZodLiteral<137>]>;
591
+ account: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
592
+ userOpHash: z.ZodString;
593
+ transactionHash: z.ZodString;
594
+ blockHash: z.ZodString;
595
+ blockNumber: z.ZodString;
596
+ nonce: z.ZodString;
597
+ paymaster: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
598
+ actualGasCostWei: z.ZodString;
599
+ actualGasUsed: z.ZodString;
600
+ status: z.ZodEnum<{
601
+ success: "success";
602
+ reverted: "reverted";
603
+ }>;
604
+ }, z.core.$strict>>;
605
+ gasCapBreach: z.ZodOptional<z.ZodObject<{
606
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<8453>, z.ZodLiteral<42161>, z.ZodLiteral<10>, z.ZodLiteral<137>]>;
607
+ account: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
608
+ userOpHash: z.ZodString;
609
+ transactionHash: z.ZodString;
610
+ blockHash: z.ZodString;
611
+ blockNumber: z.ZodString;
612
+ nonce: z.ZodString;
613
+ paymaster: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
614
+ actualGasCostWei: z.ZodString;
615
+ actualGasUsed: z.ZodString;
616
+ status: z.ZodEnum<{
617
+ success: "success";
618
+ reverted: "reverted";
619
+ }>;
620
+ }, z.core.$strict>>;
621
+ failureCode: z.ZodOptional<z.ZodString>;
622
+ version: z.ZodLiteral<3>;
623
+ context: z.ZodObject<{
624
+ kind: z.ZodLiteral<"lp-collect-userop">;
625
+ account: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
626
+ chainId: z.ZodLiteral<8453>;
627
+ envelope: z.ZodObject<{
628
+ version: z.ZodLiteral<1>;
629
+ kind: z.ZodLiteral<"lp-collect-userop">;
630
+ input: z.ZodObject<{
631
+ action: z.ZodLiteral<"collect">;
632
+ tokenId: z.ZodString;
633
+ amountMax: z.ZodTuple<[z.ZodString, z.ZodString], null>;
634
+ amountMin: z.ZodTuple<[z.ZodString, z.ZodString], null>;
635
+ protocol: z.ZodLiteral<"uniswap-v3">;
636
+ chainId: z.ZodLiteral<8453>;
637
+ operationId: z.ZodString;
638
+ account: z.ZodString;
639
+ recipient: z.ZodString;
640
+ manager: z.ZodLiteral<"0x03a520b32c04bf3beef7beb72e919cf822ed34f1">;
641
+ factory: z.ZodLiteral<"0x33128a8fc17869897dce68ed026d694621f6fdfd">;
642
+ pool: z.ZodString;
643
+ token0: z.ZodLiteral<"0x4200000000000000000000000000000000000006">;
644
+ token1: z.ZodLiteral<"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913">;
645
+ fee: z.ZodUnion<readonly [z.ZodLiteral<100>, z.ZodLiteral<500>, z.ZodLiteral<3000>, z.ZodLiteral<10000>]>;
646
+ tickLower: z.ZodNumber;
647
+ tickUpper: z.ZodNumber;
648
+ deadline: z.ZodNumber;
649
+ nftApprovalPolicy: z.ZodLiteral<"zero-before-and-after">;
650
+ guardDeploymentId: z.ZodLiteral<"base-weth-usdc-collect-v1">;
651
+ schemaVersion: z.ZodLiteral<3>;
652
+ }, z.core.$strict>;
653
+ plan: z.ZodObject<{
654
+ intent: z.ZodObject<{
655
+ action: z.ZodLiteral<"collect">;
656
+ tokenId: z.ZodString;
657
+ amountMax: z.ZodTuple<[z.ZodString, z.ZodString], null>;
658
+ amountMin: z.ZodTuple<[z.ZodString, z.ZodString], null>;
659
+ protocol: z.ZodLiteral<"uniswap-v3">;
660
+ chainId: z.ZodLiteral<8453>;
661
+ operationId: z.ZodString;
662
+ account: z.ZodString;
663
+ recipient: z.ZodString;
664
+ manager: z.ZodLiteral<"0x03a520b32c04bf3beef7beb72e919cf822ed34f1">;
665
+ factory: z.ZodLiteral<"0x33128a8fc17869897dce68ed026d694621f6fdfd">;
666
+ pool: z.ZodString;
667
+ token0: z.ZodLiteral<"0x4200000000000000000000000000000000000006">;
668
+ token1: z.ZodLiteral<"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913">;
669
+ fee: z.ZodUnion<readonly [z.ZodLiteral<100>, z.ZodLiteral<500>, z.ZodLiteral<3000>, z.ZodLiteral<10000>]>;
670
+ tickLower: z.ZodNumber;
671
+ tickUpper: z.ZodNumber;
672
+ deadline: z.ZodNumber;
673
+ nftApprovalPolicy: z.ZodLiteral<"zero-before-and-after">;
674
+ guardDeploymentId: z.ZodLiteral<"base-weth-usdc-collect-v1">;
675
+ schemaVersion: z.ZodLiteral<3>;
676
+ }, z.core.$strict>;
677
+ intentCommitment: z.ZodString;
678
+ policyCommitment: z.ZodString;
679
+ guardDeployment: z.ZodObject<{
680
+ id: z.ZodLiteral<"base-weth-usdc-collect-v1">;
681
+ chainId: z.ZodLiteral<8453>;
682
+ address: z.ZodString;
683
+ runtimeCodeHash: z.ZodString;
684
+ configurationHash: z.ZodLiteral<`0x${string}`>;
685
+ codeVersion: z.ZodLiteral<"OttoV3CollectGuard-v1">;
686
+ deploymentBlock: z.ZodString;
687
+ reviewReference: z.ZodString;
688
+ }, z.core.$strict>;
689
+ calls: z.ZodTuple<[z.ZodObject<{
690
+ step: z.ZodEnum<{
691
+ mutation: "mutation";
692
+ "erc20-approve": "erc20-approve";
693
+ "erc20-cleanup": "erc20-cleanup";
694
+ "nft-approve": "nft-approve";
695
+ "nft-clear": "nft-clear";
696
+ }>;
697
+ tokenIndex: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
698
+ chainId: z.ZodLiteral<8453>;
699
+ from: z.ZodString;
700
+ to: z.ZodString;
701
+ value: z.ZodLiteral<"0">;
702
+ data: z.ZodString;
703
+ }, z.core.$strict>, z.ZodObject<{
704
+ step: z.ZodEnum<{
705
+ mutation: "mutation";
706
+ "erc20-approve": "erc20-approve";
707
+ "erc20-cleanup": "erc20-cleanup";
708
+ "nft-approve": "nft-approve";
709
+ "nft-clear": "nft-clear";
710
+ }>;
711
+ tokenIndex: z.ZodNullable<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>]>>;
712
+ chainId: z.ZodLiteral<8453>;
713
+ from: z.ZodString;
714
+ to: z.ZodString;
715
+ value: z.ZodLiteral<"0">;
716
+ data: z.ZodString;
717
+ }, z.core.$strict>], null>;
718
+ preparedBlock: z.ZodObject<{
719
+ number: z.ZodString;
720
+ hash: z.ZodString;
721
+ }, z.core.$strict>;
722
+ preparedObservationCommitment: z.ZodString;
723
+ planCommitment: z.ZodString;
724
+ executionAuthorized: z.ZodLiteral<false>;
725
+ transportVerified: z.ZodLiteral<false>;
726
+ claimReleased: z.ZodLiteral<false>;
727
+ retainClaim: z.ZodLiteral<true>;
728
+ retrySafe: z.ZodLiteral<false>;
729
+ schemaVersion: z.ZodLiteral<3>;
730
+ kind: z.ZodLiteral<"lp-v3-collect-protocol">;
731
+ }, z.core.$strict>;
732
+ baseline: z.ZodObject<{
733
+ chainId: z.ZodLiteral<8453>;
734
+ fee: z.ZodNumber;
735
+ blockNumber: z.ZodString;
736
+ blockHash: z.ZodString;
737
+ account: z.ZodString;
738
+ factory: z.ZodLiteral<"0x33128a8fc17869897dce68ed026d694621f6fdfd">;
739
+ blockTimestamp: z.ZodNumber;
740
+ manager: z.ZodLiteral<"0x03a520b32c04bf3beef7beb72e919cf822ed34f1">;
741
+ token0: z.ZodLiteral<"0x4200000000000000000000000000000000000006">;
742
+ token1: z.ZodLiteral<"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913">;
743
+ usdcImplementation: z.ZodLiteral<"0x2ce6311ddae708829bc0784c967b7d77d19fd779">;
744
+ factoryCodeHash: z.ZodLiteral<`0x${string}`>;
745
+ managerCodeHash: z.ZodLiteral<`0x${string}`>;
746
+ token0CodeHash: z.ZodLiteral<`0x${string}`>;
747
+ token1CodeHash: z.ZodLiteral<`0x${string}`>;
748
+ usdcImplementationCodeHash: z.ZodLiteral<`0x${string}`>;
749
+ pool: z.ZodString;
750
+ balances: z.ZodTuple<[z.ZodString, z.ZodString], null>;
751
+ allowances: z.ZodTuple<[z.ZodString, z.ZodString], null>;
752
+ factoryPool: z.ZodString;
753
+ tick: z.ZodNumber;
754
+ observedAt: z.ZodNumber;
755
+ managerFactory: z.ZodLiteral<"0x33128a8fc17869897dce68ed026d694621f6fdfd">;
756
+ usdcPaused: z.ZodLiteral<false>;
757
+ accountBlacklisted: z.ZodLiteral<false>;
758
+ managerBlacklisted: z.ZodLiteral<false>;
759
+ poolFactory: z.ZodLiteral<"0x33128a8fc17869897dce68ed026d694621f6fdfd">;
760
+ tickSpacing: z.ZodNumber;
761
+ sqrtPriceX96: z.ZodString;
762
+ unlocked: z.ZodLiteral<true>;
763
+ position: z.ZodObject<{
764
+ tokenId: z.ZodString;
765
+ owner: z.ZodString;
766
+ token0: z.ZodString;
767
+ token1: z.ZodString;
768
+ fee: z.ZodNumber;
769
+ tickLower: z.ZodNumber;
770
+ tickUpper: z.ZodNumber;
771
+ liquidity: z.ZodString;
772
+ tokensOwed: z.ZodTuple<[z.ZodString, z.ZodString], null>;
773
+ approved: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"0x0000000000000000000000000000000000000000">]>;
774
+ }, z.core.$strict>;
775
+ managerNativeBalance: z.ZodString;
776
+ schemaVersion: z.ZodLiteral<3>;
777
+ accountCode: z.ZodString;
778
+ accountCodeHash: z.ZodString;
779
+ guard: z.ZodObject<{
780
+ address: z.ZodString;
781
+ runtimeCodeHash: z.ZodString;
782
+ configurationHash: z.ZodString;
783
+ deploymentChainId: z.ZodLiteral<8453>;
784
+ ownerApprovalForAll: z.ZodLiteral<false>;
785
+ guardBlacklisted: z.ZodLiteral<false>;
786
+ poolBlacklisted: z.ZodLiteral<false>;
787
+ tokenAllowances: z.ZodTuple<[z.ZodLiteral<"0">, z.ZodLiteral<"0">], null>;
788
+ tokenBalances: z.ZodTuple<[z.ZodString, z.ZodString], null>;
789
+ }, z.core.$strict>;
790
+ }, z.core.$strict>;
791
+ check: z.ZodObject<{
792
+ planCommitment: z.ZodString;
793
+ intentCommitment: z.ZodString;
794
+ policyCommitment: z.ZodString;
795
+ baselineCommitment: z.ZodString;
796
+ checkedAt: z.ZodNumber;
797
+ checkCommitment: z.ZodString;
798
+ executionAuthorized: z.ZodLiteral<false>;
799
+ transportVerified: z.ZodLiteral<false>;
800
+ claimReleased: z.ZodLiteral<false>;
801
+ retainClaim: z.ZodLiteral<true>;
802
+ retrySafe: z.ZodLiteral<false>;
803
+ schemaVersion: z.ZodLiteral<3>;
804
+ kind: z.ZodLiteral<"lp-v3-collect-protocol-check">;
805
+ }, z.core.$strict>;
806
+ terms: z.ZodObject<{
807
+ version: z.ZodLiteral<1>;
808
+ ruleset: z.ZodLiteral<"lp-guarded-collect-userop-v1">;
809
+ userId: z.ZodString;
810
+ account: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
811
+ chainId: z.ZodLiteral<8453>;
812
+ authorityDigest: z.ZodString;
813
+ lpActivationCommitment: z.ZodString;
814
+ sponsoredActivationId: z.ZodString;
815
+ sponsoredActivationDigest: z.ZodString;
816
+ projectId: z.ZodString;
817
+ policyId: z.ZodString;
818
+ policyRulesDigest: z.ZodString;
819
+ providerEnforcementEvidenceDigest: z.ZodString;
820
+ providerEndpoint: z.ZodLiteral<"cdp-end-user-smart-account-send-v1">;
821
+ guardDeployment: z.ZodObject<{
822
+ id: z.ZodLiteral<"base-weth-usdc-collect-v1">;
823
+ chainId: z.ZodLiteral<8453>;
824
+ address: z.ZodString;
825
+ runtimeCodeHash: z.ZodString;
826
+ configurationHash: z.ZodLiteral<`0x${string}`>;
827
+ codeVersion: z.ZodLiteral<"OttoV3CollectGuard-v1">;
828
+ deploymentBlock: z.ZodString;
829
+ reviewReference: z.ZodString;
830
+ }, z.core.$strict>;
831
+ finalityPolicy: z.ZodObject<{
832
+ schemaVersion: z.ZodLiteral<1>;
833
+ id: z.ZodLiteral<"base-finalized-lp-v1">;
834
+ chainId: z.ZodLiteral<8453>;
835
+ blockTag: z.ZodLiteral<"finalized">;
836
+ reviewReference: z.ZodString;
837
+ minFinalizedConfirmations: z.ZodNumber;
838
+ maxHeadAgeSeconds: z.ZodNumber;
839
+ maxFinalizedLagSeconds: z.ZodNumber;
840
+ maxReadDurationSeconds: z.ZodNumber;
841
+ }, z.core.$strict>;
842
+ delegate: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
843
+ delegateCodeHash: z.ZodString;
844
+ implementation: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
845
+ implementationCodeHash: z.ZodString;
846
+ delegateBatchAbi: z.ZodLiteral<"coinbase-executeBatch-v1">;
847
+ delegateBatchReviewDigest: z.ZodString;
848
+ entryPoint: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
849
+ entryPointCodeHash: z.ZodString;
850
+ entryPointVersion: z.ZodLiteral<"0.6">;
851
+ ownerProfile: z.ZodObject<{
852
+ kind: z.ZodLiteral<"sole-eoa-owner">;
853
+ nextOwnerIndex: z.ZodLiteral<"1">;
854
+ ownerCount: z.ZodLiteral<"1">;
855
+ ownerAtIndex0: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
856
+ spendPermissionsEnabled: z.ZodLiteral<false>;
857
+ }, z.core.$strict>;
858
+ paymaster: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
859
+ paymasterCodeHash: z.ZodString;
860
+ sponsorshipPolicyId: z.ZodString;
861
+ maxGasCostWei: z.ZodString;
862
+ maxUserGasCostWei: z.ZodString;
863
+ maxTotalGasCostWei: z.ZodString;
864
+ maximumCollectAtomic: z.ZodTuple<[z.ZodString, z.ZodString], null>;
865
+ intentCommitment: z.ZodString;
866
+ reviewCreatedAtMs: z.ZodNumber;
867
+ reviewExpiresAtMs: z.ZodNumber;
868
+ initialNftApproval: z.ZodLiteral<"0x0000000000000000000000000000000000000000">;
869
+ finalNftApproval: z.ZodLiteral<"0x0000000000000000000000000000000000000000">;
870
+ execution: z.ZodLiteral<"atomic-nft-approve-guarded-collect">;
871
+ principalDebitAuthorized: z.ZodLiteral<false>;
872
+ }, z.core.$strict>;
873
+ finalityPolicy: z.ZodObject<{
874
+ schemaVersion: z.ZodLiteral<1>;
875
+ id: z.ZodLiteral<"base-finalized-lp-v1">;
876
+ chainId: z.ZodLiteral<8453>;
877
+ blockTag: z.ZodLiteral<"finalized">;
878
+ reviewReference: z.ZodString;
879
+ minFinalizedConfirmations: z.ZodNumber;
880
+ maxHeadAgeSeconds: z.ZodNumber;
881
+ maxFinalizedLagSeconds: z.ZodNumber;
882
+ maxReadDurationSeconds: z.ZodNumber;
883
+ }, z.core.$strict>;
884
+ preparedAtMs: z.ZodNumber;
885
+ validUntilMs: z.ZodNumber;
886
+ commitment: z.ZodString;
887
+ }, z.core.$strict>;
888
+ review: z.ZodObject<{
889
+ input: z.ZodObject<{
890
+ action: z.ZodLiteral<"collect">;
891
+ tokenId: z.ZodString;
892
+ amountMax: z.ZodTuple<[z.ZodString, z.ZodString], null>;
893
+ amountMin: z.ZodTuple<[z.ZodString, z.ZodString], null>;
894
+ protocol: z.ZodLiteral<"uniswap-v3">;
895
+ chainId: z.ZodLiteral<8453>;
896
+ operationId: z.ZodString;
897
+ account: z.ZodString;
898
+ recipient: z.ZodString;
899
+ manager: z.ZodLiteral<"0x03a520b32c04bf3beef7beb72e919cf822ed34f1">;
900
+ factory: z.ZodLiteral<"0x33128a8fc17869897dce68ed026d694621f6fdfd">;
901
+ pool: z.ZodString;
902
+ token0: z.ZodLiteral<"0x4200000000000000000000000000000000000006">;
903
+ token1: z.ZodLiteral<"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913">;
904
+ fee: z.ZodUnion<readonly [z.ZodLiteral<100>, z.ZodLiteral<500>, z.ZodLiteral<3000>, z.ZodLiteral<10000>]>;
905
+ tickLower: z.ZodNumber;
906
+ tickUpper: z.ZodNumber;
907
+ deadline: z.ZodNumber;
908
+ nftApprovalPolicy: z.ZodLiteral<"zero-before-and-after">;
909
+ guardDeploymentId: z.ZodLiteral<"base-weth-usdc-collect-v1">;
910
+ schemaVersion: z.ZodLiteral<3>;
911
+ }, z.core.$strict>;
912
+ terms: z.ZodObject<{
913
+ version: z.ZodLiteral<1>;
914
+ ruleset: z.ZodLiteral<"lp-guarded-collect-userop-v1">;
915
+ userId: z.ZodString;
916
+ account: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
917
+ chainId: z.ZodLiteral<8453>;
918
+ authorityDigest: z.ZodString;
919
+ lpActivationCommitment: z.ZodString;
920
+ sponsoredActivationId: z.ZodString;
921
+ sponsoredActivationDigest: z.ZodString;
922
+ projectId: z.ZodString;
923
+ policyId: z.ZodString;
924
+ policyRulesDigest: z.ZodString;
925
+ providerEnforcementEvidenceDigest: z.ZodString;
926
+ providerEndpoint: z.ZodLiteral<"cdp-end-user-smart-account-send-v1">;
927
+ guardDeployment: z.ZodObject<{
928
+ id: z.ZodLiteral<"base-weth-usdc-collect-v1">;
929
+ chainId: z.ZodLiteral<8453>;
930
+ address: z.ZodString;
931
+ runtimeCodeHash: z.ZodString;
932
+ configurationHash: z.ZodLiteral<`0x${string}`>;
933
+ codeVersion: z.ZodLiteral<"OttoV3CollectGuard-v1">;
934
+ deploymentBlock: z.ZodString;
935
+ reviewReference: z.ZodString;
936
+ }, z.core.$strict>;
937
+ finalityPolicy: z.ZodObject<{
938
+ schemaVersion: z.ZodLiteral<1>;
939
+ id: z.ZodLiteral<"base-finalized-lp-v1">;
940
+ chainId: z.ZodLiteral<8453>;
941
+ blockTag: z.ZodLiteral<"finalized">;
942
+ reviewReference: z.ZodString;
943
+ minFinalizedConfirmations: z.ZodNumber;
944
+ maxHeadAgeSeconds: z.ZodNumber;
945
+ maxFinalizedLagSeconds: z.ZodNumber;
946
+ maxReadDurationSeconds: z.ZodNumber;
947
+ }, z.core.$strict>;
948
+ delegate: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
949
+ delegateCodeHash: z.ZodString;
950
+ implementation: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
951
+ implementationCodeHash: z.ZodString;
952
+ delegateBatchAbi: z.ZodLiteral<"coinbase-executeBatch-v1">;
953
+ delegateBatchReviewDigest: z.ZodString;
954
+ entryPoint: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
955
+ entryPointCodeHash: z.ZodString;
956
+ entryPointVersion: z.ZodLiteral<"0.6">;
957
+ ownerProfile: z.ZodObject<{
958
+ kind: z.ZodLiteral<"sole-eoa-owner">;
959
+ nextOwnerIndex: z.ZodLiteral<"1">;
960
+ ownerCount: z.ZodLiteral<"1">;
961
+ ownerAtIndex0: z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>;
962
+ spendPermissionsEnabled: z.ZodLiteral<false>;
963
+ }, z.core.$strict>;
964
+ paymaster: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
965
+ paymasterCodeHash: z.ZodString;
966
+ sponsorshipPolicyId: z.ZodString;
967
+ maxGasCostWei: z.ZodString;
968
+ maxUserGasCostWei: z.ZodString;
969
+ maxTotalGasCostWei: z.ZodString;
970
+ maximumCollectAtomic: z.ZodTuple<[z.ZodString, z.ZodString], null>;
971
+ intentCommitment: z.ZodString;
972
+ reviewCreatedAtMs: z.ZodNumber;
973
+ reviewExpiresAtMs: z.ZodNumber;
974
+ initialNftApproval: z.ZodLiteral<"0x0000000000000000000000000000000000000000">;
975
+ finalNftApproval: z.ZodLiteral<"0x0000000000000000000000000000000000000000">;
976
+ execution: z.ZodLiteral<"atomic-nft-approve-guarded-collect">;
977
+ principalDebitAuthorized: z.ZodLiteral<false>;
978
+ }, z.core.$strict>;
979
+ }, z.core.$strict>;
980
+ authority: z.ZodObject<{
981
+ userId: z.ZodString;
982
+ account: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
983
+ mintKey: z.ZodString;
984
+ grantExpiresAt: z.ZodString;
985
+ revokeGeneration: z.ZodNumber;
986
+ capVersion: z.ZodLiteral<2>;
987
+ perSwapCapUsd: z.ZodNumber;
988
+ activationDigest: z.ZodString;
989
+ policyRulesDigest: z.ZodString;
990
+ }, z.core.$strict>;
991
+ activation: z.ZodObject<{
992
+ version: z.ZodLiteral<1>;
993
+ id: z.ZodString;
994
+ mode: z.ZodEnum<{
995
+ enabled: "enabled";
996
+ "recovery-only": "recovery-only";
997
+ }>;
998
+ projectId: z.ZodString;
999
+ policyId: z.ZodString;
1000
+ policyName: z.ZodString;
1001
+ policyRulesDigest: z.ZodString;
1002
+ providerEnforcementEvidenceDigest: z.ZodString;
1003
+ nativeYieldUserOpPolicyRelation: z.ZodOptional<z.ZodObject<{
1004
+ nativeActivationCommitment: z.ZodString;
1005
+ nativeRulesDigest: z.ZodString;
1006
+ compiledFullPolicyDigest: z.ZodString;
1007
+ relationReviewEvidenceDigest: z.ZodString;
1008
+ compiler: z.ZodLiteral<"legacy-v2-native-enduser-userop-v1">;
1009
+ }, z.core.$strict>>;
1010
+ lpUserOpPolicyRelation: z.ZodOptional<z.ZodObject<{
1011
+ compiler: z.ZodLiteral<"legacy-v2-native-lp-collect-enduser-userop-v1">;
1012
+ nativeCompiledPolicyDigest: z.ZodString;
1013
+ nativeActivationCommitment: z.ZodString;
1014
+ nativeRulesDigest: z.ZodString;
1015
+ lpActivationCommitment: z.ZodString;
1016
+ lpRulesDigest: z.ZodString;
1017
+ compiledFullPolicyDigest: z.ZodString;
1018
+ relationReviewEvidenceDigest: z.ZodString;
1019
+ }, z.core.$strict>>;
1020
+ approvedAtMs: z.ZodNumber;
1021
+ expiresAtMs: z.ZodNumber;
1022
+ maxSwapUsdc: z.ZodNumber;
1023
+ gasPaymentReviewEnabled: z.ZodOptional<z.ZodLiteral<true>>;
1024
+ userPaidGasPilot: z.ZodOptional<z.ZodArray<z.ZodObject<{
1025
+ account: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
1026
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<8453>, z.ZodLiteral<42161>, z.ZodLiteral<10>, z.ZodLiteral<137>]>;
1027
+ maximumObservedExposureWei: z.ZodString;
1028
+ }, z.core.$strict>>>;
1029
+ chains: z.ZodArray<z.ZodObject<{
1030
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<8453>, z.ZodLiteral<42161>, z.ZodLiteral<10>, z.ZodLiteral<137>]>;
1031
+ delegate: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
1032
+ delegateCodeHash: z.ZodString;
1033
+ nativeYieldUserOpProfile: z.ZodOptional<z.ZodObject<{
1034
+ implementation: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
1035
+ implementationCodeHash: z.ZodString;
1036
+ delegateBatchAbi: z.ZodLiteral<"coinbase-executeBatch-v1">;
1037
+ delegateBatchReviewDigest: z.ZodString;
1038
+ entryPointVersion: z.ZodLiteral<"0.6">;
1039
+ ownerProfile: z.ZodObject<{
1040
+ kind: z.ZodLiteral<"sole-eoa-owner">;
1041
+ nextOwnerIndex: z.ZodLiteral<"1">;
1042
+ ownerCount: z.ZodLiteral<"1">;
1043
+ requireAccountAsOwner: z.ZodLiteral<true>;
1044
+ spendPermissionsEnabled: z.ZodLiteral<false>;
1045
+ }, z.core.$strict>;
1046
+ }, z.core.$strict>>;
1047
+ entryPoint: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
1048
+ entryPointCodeHash: z.ZodString;
1049
+ paymaster: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
1050
+ paymasterCodeHash: z.ZodString;
1051
+ reviewedOutputTokens: z.ZodArray<z.ZodObject<{
1052
+ address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
1053
+ codeHash: z.ZodString;
1054
+ reviewEvidenceDigest: z.ZodString;
1055
+ }, z.core.$strict>>;
1056
+ sponsorshipPolicyId: z.ZodString;
1057
+ nativeGasUsdFeed: z.ZodOptional<z.ZodObject<{
1058
+ address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
1059
+ decimals: z.ZodNumber;
1060
+ maxAgeSeconds: z.ZodNumber;
1061
+ }, z.core.$strict>>;
1062
+ maxGasCostWei: z.ZodString;
1063
+ maxTotalGasCostWei: z.ZodString;
1064
+ maxUserGasCostWei: z.ZodString;
1065
+ }, z.core.$strict>>;
1066
+ }, z.core.$strict>;
1067
+ reviewedAtMs: z.ZodNumber;
1068
+ validUntilMs: z.ZodNumber;
1069
+ }, z.core.$strict>;
1070
+ submitEvidence: z.ZodOptional<z.ZodObject<{
1071
+ baseline: z.ZodObject<{
1072
+ chainId: z.ZodLiteral<8453>;
1073
+ fee: z.ZodNumber;
1074
+ blockNumber: z.ZodString;
1075
+ blockHash: z.ZodString;
1076
+ account: z.ZodString;
1077
+ factory: z.ZodLiteral<"0x33128a8fc17869897dce68ed026d694621f6fdfd">;
1078
+ blockTimestamp: z.ZodNumber;
1079
+ manager: z.ZodLiteral<"0x03a520b32c04bf3beef7beb72e919cf822ed34f1">;
1080
+ token0: z.ZodLiteral<"0x4200000000000000000000000000000000000006">;
1081
+ token1: z.ZodLiteral<"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913">;
1082
+ usdcImplementation: z.ZodLiteral<"0x2ce6311ddae708829bc0784c967b7d77d19fd779">;
1083
+ factoryCodeHash: z.ZodLiteral<`0x${string}`>;
1084
+ managerCodeHash: z.ZodLiteral<`0x${string}`>;
1085
+ token0CodeHash: z.ZodLiteral<`0x${string}`>;
1086
+ token1CodeHash: z.ZodLiteral<`0x${string}`>;
1087
+ usdcImplementationCodeHash: z.ZodLiteral<`0x${string}`>;
1088
+ pool: z.ZodString;
1089
+ balances: z.ZodTuple<[z.ZodString, z.ZodString], null>;
1090
+ allowances: z.ZodTuple<[z.ZodString, z.ZodString], null>;
1091
+ factoryPool: z.ZodString;
1092
+ tick: z.ZodNumber;
1093
+ observedAt: z.ZodNumber;
1094
+ managerFactory: z.ZodLiteral<"0x33128a8fc17869897dce68ed026d694621f6fdfd">;
1095
+ usdcPaused: z.ZodLiteral<false>;
1096
+ accountBlacklisted: z.ZodLiteral<false>;
1097
+ managerBlacklisted: z.ZodLiteral<false>;
1098
+ poolFactory: z.ZodLiteral<"0x33128a8fc17869897dce68ed026d694621f6fdfd">;
1099
+ tickSpacing: z.ZodNumber;
1100
+ sqrtPriceX96: z.ZodString;
1101
+ unlocked: z.ZodLiteral<true>;
1102
+ position: z.ZodObject<{
1103
+ tokenId: z.ZodString;
1104
+ owner: z.ZodString;
1105
+ token0: z.ZodString;
1106
+ token1: z.ZodString;
1107
+ fee: z.ZodNumber;
1108
+ tickLower: z.ZodNumber;
1109
+ tickUpper: z.ZodNumber;
1110
+ liquidity: z.ZodString;
1111
+ tokensOwed: z.ZodTuple<[z.ZodString, z.ZodString], null>;
1112
+ approved: z.ZodUnion<readonly [z.ZodString, z.ZodLiteral<"0x0000000000000000000000000000000000000000">]>;
1113
+ }, z.core.$strict>;
1114
+ managerNativeBalance: z.ZodString;
1115
+ schemaVersion: z.ZodLiteral<3>;
1116
+ accountCode: z.ZodString;
1117
+ accountCodeHash: z.ZodString;
1118
+ guard: z.ZodObject<{
1119
+ address: z.ZodString;
1120
+ runtimeCodeHash: z.ZodString;
1121
+ configurationHash: z.ZodString;
1122
+ deploymentChainId: z.ZodLiteral<8453>;
1123
+ ownerApprovalForAll: z.ZodLiteral<false>;
1124
+ guardBlacklisted: z.ZodLiteral<false>;
1125
+ poolBlacklisted: z.ZodLiteral<false>;
1126
+ tokenAllowances: z.ZodTuple<[z.ZodLiteral<"0">, z.ZodLiteral<"0">], null>;
1127
+ tokenBalances: z.ZodTuple<[z.ZodString, z.ZodString], null>;
1128
+ }, z.core.$strict>;
1129
+ }, z.core.$strict>;
1130
+ check: z.ZodObject<{
1131
+ planCommitment: z.ZodString;
1132
+ intentCommitment: z.ZodString;
1133
+ policyCommitment: z.ZodString;
1134
+ baselineCommitment: z.ZodString;
1135
+ checkedAt: z.ZodNumber;
1136
+ checkCommitment: z.ZodString;
1137
+ executionAuthorized: z.ZodLiteral<false>;
1138
+ transportVerified: z.ZodLiteral<false>;
1139
+ claimReleased: z.ZodLiteral<false>;
1140
+ retainClaim: z.ZodLiteral<true>;
1141
+ retrySafe: z.ZodLiteral<false>;
1142
+ schemaVersion: z.ZodLiteral<3>;
1143
+ kind: z.ZodLiteral<"lp-v3-collect-protocol-check">;
1144
+ }, z.core.$strict>;
1145
+ verifiedAtMs: z.ZodNumber;
1146
+ }, z.core.$strict>>;
1147
+ settlement: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1148
+ status: z.ZodEnum<{
1149
+ unknown: "unknown";
1150
+ held: "held";
1151
+ }>;
1152
+ reason: z.ZodString;
1153
+ userOpHash: z.ZodString;
1154
+ transactionHash: z.ZodString;
1155
+ releaseClaim: z.ZodLiteral<false>;
1156
+ retrySafe: z.ZodLiteral<false>;
1157
+ }, z.core.$strict>, z.ZodObject<{
1158
+ userOpHash: z.ZodString;
1159
+ transactionHash: z.ZodString;
1160
+ blockHash: z.ZodString;
1161
+ blockNumber: z.ZodString;
1162
+ userOpNonce: z.ZodString;
1163
+ owner: z.ZodString;
1164
+ chainId: z.ZodLiteral<8453>;
1165
+ pool: z.ZodString;
1166
+ tokenId: z.ZodString;
1167
+ planCommitment: z.ZodString;
1168
+ baselineCommitment: z.ZodString;
1169
+ accountingCommitment: z.ZodString;
1170
+ collectedRaw: z.ZodTuple<[z.ZodString, z.ZodString], null>;
1171
+ liquidityDelta: z.ZodLiteral<"0">;
1172
+ ownerBalancesAtBlock: z.ZodTuple<[z.ZodString, z.ZodString], null>;
1173
+ nftTokenApprovalCleared: z.ZodLiteral<true>;
1174
+ erc20AllowancesCleared: z.ZodLiteral<true>;
1175
+ actualGasCostWei: z.ZodString;
1176
+ actualGasUsed: z.ZodString;
1177
+ paymaster: z.ZodString;
1178
+ profitClassification: z.ZodLiteral<"UNKNOWN">;
1179
+ distributableProfitRaw: z.ZodNull;
1180
+ releaseClaim: z.ZodLiteral<true>;
1181
+ retrySafe: z.ZodLiteral<false>;
1182
+ finality: z.ZodObject<{
1183
+ policyCommitment: z.ZodString;
1184
+ observedAtMs: z.ZodNumber;
1185
+ finalizedBlockNumber: z.ZodString;
1186
+ finalizedBlockHash: z.ZodString;
1187
+ confirmations: z.ZodString;
1188
+ }, z.core.$strict>;
1189
+ status: z.ZodLiteral<"completed">;
1190
+ protocolActionVerified: z.ZodLiteral<true>;
1191
+ }, z.core.$strict>, z.ZodObject<{
1192
+ userOpHash: z.ZodString;
1193
+ transactionHash: z.ZodString;
1194
+ blockHash: z.ZodString;
1195
+ blockNumber: z.ZodString;
1196
+ userOpNonce: z.ZodString;
1197
+ owner: z.ZodString;
1198
+ chainId: z.ZodLiteral<8453>;
1199
+ pool: z.ZodString;
1200
+ tokenId: z.ZodString;
1201
+ planCommitment: z.ZodString;
1202
+ baselineCommitment: z.ZodString;
1203
+ accountingCommitment: z.ZodString;
1204
+ collectedRaw: z.ZodTuple<[z.ZodString, z.ZodString], null>;
1205
+ liquidityDelta: z.ZodLiteral<"0">;
1206
+ ownerBalancesAtBlock: z.ZodTuple<[z.ZodString, z.ZodString], null>;
1207
+ nftTokenApprovalCleared: z.ZodLiteral<true>;
1208
+ erc20AllowancesCleared: z.ZodLiteral<true>;
1209
+ actualGasCostWei: z.ZodString;
1210
+ actualGasUsed: z.ZodString;
1211
+ paymaster: z.ZodString;
1212
+ profitClassification: z.ZodLiteral<"UNKNOWN">;
1213
+ distributableProfitRaw: z.ZodNull;
1214
+ releaseClaim: z.ZodLiteral<true>;
1215
+ retrySafe: z.ZodLiteral<false>;
1216
+ finality: z.ZodObject<{
1217
+ policyCommitment: z.ZodString;
1218
+ observedAtMs: z.ZodNumber;
1219
+ finalizedBlockNumber: z.ZodString;
1220
+ finalizedBlockHash: z.ZodString;
1221
+ confirmations: z.ZodString;
1222
+ }, z.core.$strict>;
1223
+ status: z.ZodLiteral<"reverted">;
1224
+ protocolActionVerified: z.ZodLiteral<false>;
1225
+ }, z.core.$strict>]>>;
1226
+ }, z.core.$strict>;
1227
+ export type LpUserOpOperation = z.infer<typeof LP_USEROP_OPERATION_SCHEMA>;
1228
+ export declare function lpUserOpReviewCommitment(operationId: string, context: LpUserOpContext, gasReview?: AccountGasReview): string;
1229
+ export declare function assertLpUserOpContext(context: LpUserOpContext, fresh?: boolean, nowMs?: number): void;
1230
+ export declare function validateLpUserOpOperation(raw: unknown): LpUserOpOperation;