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,1192 @@
1
+ /** Native account contracts. All authority comes from reviewed server configuration and explicit consent. */
2
+ import { z } from 'zod';
3
+ export declare const NATIVE_ACCOUNT_ADDRESS: z.ZodString;
4
+ export declare const NATIVE_ACCOUNT_HASH: z.ZodString;
5
+ export declare const NATIVE_ACCOUNT_DIGEST: z.ZodString;
6
+ export declare const NATIVE_ACCOUNT_COMMITMENT: z.ZodString;
7
+ export declare const NATIVE_ACCOUNT_UINT: z.ZodString;
8
+ export declare const NATIVE_ACCOUNT_POSITIVE: z.ZodString;
9
+ export declare const NATIVE_ACCOUNT_CHAIN: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
10
+ export declare const NATIVE_ACCOUNT_NETWORK: z.ZodEnum<{
11
+ base: "base";
12
+ arbitrum: "arbitrum";
13
+ }>;
14
+ export declare const NATIVE_ACCOUNT_USER: z.ZodString;
15
+ export declare const NATIVE_ACCOUNT_ID: z.ZodString;
16
+ export declare const NATIVE_ACCOUNT_ISO: z.ZodString;
17
+ export declare const NATIVE_ACCOUNT_TIME: z.ZodNumber;
18
+ export declare const NATIVE_ACCOUNT_POLICY_NAME: "OTTO model b swap fence v3";
19
+ export declare const NATIVE_ACCOUNT_RULESET: "native-yield-account-v1";
20
+ export declare const NATIVE_ACCOUNT_CONSENT_TTL_MS: number;
21
+ export declare const NATIVE_ACCOUNT_STEPS: readonly ["approve_reset", "approve", "call", "allowance_clear"];
22
+ export declare const NATIVE_ACCOUNT_SCOPES: readonly ["approve-reset", "approve", "deposit", "withdraw", "revoke"];
23
+ export declare const NATIVE_ACCOUNT_GAS_LIMITS_SCHEMA: z.ZodObject<{
24
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
25
+ maxGasLimit: z.ZodString;
26
+ maxFeePerGasWei: z.ZodString;
27
+ maxPriorityFeePerGasWei: z.ZodString;
28
+ maxEstimatedTotalCostWei: z.ZodString;
29
+ maxOperationEstimatedCostWei: z.ZodString;
30
+ gasLimitBufferBps: z.ZodNumber;
31
+ }, z.core.$strict>;
32
+ export declare const NATIVE_ACCOUNT_MARKET_RULE_SCHEMA: z.ZodObject<{
33
+ marketId: z.ZodString;
34
+ registryCommitment: z.ZodString;
35
+ action: z.ZodEnum<{
36
+ deposit: "deposit";
37
+ withdraw: "withdraw";
38
+ }>;
39
+ maximumInputAtomic: z.ZodString;
40
+ }, z.core.$strict>;
41
+ export declare const NATIVE_ACCOUNT_PRICE_RULE_SCHEMA: z.ZodObject<{
42
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
43
+ asset: z.ZodString;
44
+ source: z.ZodLiteral<"chainlink-v3">;
45
+ feed: z.ZodString;
46
+ feedDecimals: z.ZodNumber;
47
+ maxAgeSeconds: z.ZodNumber;
48
+ minimumAnswer: z.ZodString;
49
+ maximumAnswer: z.ZodString;
50
+ upwardMarginBps: z.ZodNumber;
51
+ reviewId: z.ZodString;
52
+ }, z.core.$strict>;
53
+ export declare const NATIVE_ACCOUNT_ACTIVATION_SCHEMA: z.ZodObject<{
54
+ schemaVersion: z.ZodLiteral<"1">;
55
+ ruleset: z.ZodLiteral<"native-yield-account-v1">;
56
+ reviewId: z.ZodString;
57
+ mode: z.ZodEnum<{
58
+ enabled: "enabled";
59
+ "recovery-only": "recovery-only";
60
+ }>;
61
+ policyId: z.ZodString;
62
+ policyName: z.ZodLiteral<"OTTO model b swap fence v3">;
63
+ policyDigest: z.ZodString;
64
+ legacyRulesDigest: z.ZodString;
65
+ nativeRulesDigest: z.ZodString;
66
+ deployments: z.ZodArray<z.ZodObject<{
67
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
68
+ address: z.ZodString;
69
+ runtimeCodeHash: z.ZodString;
70
+ version: z.ZodLiteral<"native-yield-router-v1">;
71
+ reviewId: z.ZodString;
72
+ }, z.core.$strict>>;
73
+ marketRules: z.ZodArray<z.ZodObject<{
74
+ marketId: z.ZodString;
75
+ registryCommitment: z.ZodString;
76
+ action: z.ZodEnum<{
77
+ deposit: "deposit";
78
+ withdraw: "withdraw";
79
+ }>;
80
+ maximumInputAtomic: z.ZodString;
81
+ }, z.core.$strict>>;
82
+ gasLimits: z.ZodArray<z.ZodObject<{
83
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
84
+ maxGasLimit: z.ZodString;
85
+ maxFeePerGasWei: z.ZodString;
86
+ maxPriorityFeePerGasWei: z.ZodString;
87
+ maxEstimatedTotalCostWei: z.ZodString;
88
+ maxOperationEstimatedCostWei: z.ZodString;
89
+ gasLimitBufferBps: z.ZodNumber;
90
+ }, z.core.$strict>>;
91
+ priceRules: z.ZodArray<z.ZodObject<{
92
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
93
+ asset: z.ZodString;
94
+ source: z.ZodLiteral<"chainlink-v3">;
95
+ feed: z.ZodString;
96
+ feedDecimals: z.ZodNumber;
97
+ maxAgeSeconds: z.ZodNumber;
98
+ minimumAnswer: z.ZodString;
99
+ maximumAnswer: z.ZodString;
100
+ upwardMarginBps: z.ZodNumber;
101
+ reviewId: z.ZodString;
102
+ }, z.core.$strict>>;
103
+ }, z.core.$strict>;
104
+ export type NativeYieldAccountActivation = z.infer<typeof NATIVE_ACCOUNT_ACTIVATION_SCHEMA>;
105
+ /** Empty until exact deployment, policy, token-unit limits and valuation rules receive separate approval. */
106
+ export declare const NATIVE_YIELD_ACCOUNT_ACTIVATIONS: readonly NativeYieldAccountActivation[];
107
+ /** Immutable server readback, containing no access token or developer credential. */
108
+ export declare const NATIVE_ACCOUNT_AUTHORITY_SCHEMA: z.ZodObject<{
109
+ userId: z.ZodString;
110
+ account: z.ZodString;
111
+ mintKey: z.ZodString;
112
+ grantExpiresAt: z.ZodString;
113
+ revokeGeneration: z.ZodNumber;
114
+ capRulesetVersion: z.ZodNumber;
115
+ perSwapCapUsd: z.ZodNumber;
116
+ policyId: z.ZodString;
117
+ policyName: z.ZodLiteral<"OTTO model b swap fence v3">;
118
+ policyDigest: z.ZodString;
119
+ legacyRulesDigest: z.ZodString;
120
+ nativeRulesDigest: z.ZodString;
121
+ activationCommitment: z.ZodString;
122
+ scopeCommitment: z.ZodString;
123
+ ruleset: z.ZodLiteral<"native-yield-account-v1">;
124
+ scopes: z.ZodArray<z.ZodEnum<{
125
+ deposit: "deposit";
126
+ withdraw: "withdraw";
127
+ approve: "approve";
128
+ "approve-reset": "approve-reset";
129
+ revoke: "revoke";
130
+ }>>;
131
+ }, z.core.$strict>;
132
+ export type NativeYieldAccountAuthority = z.infer<typeof NATIVE_ACCOUNT_AUTHORITY_SCHEMA>;
133
+ export declare const NATIVE_ACCOUNT_CONSENT_SCHEMA: z.ZodObject<{
134
+ consentId: z.ZodString;
135
+ authority: z.ZodObject<{
136
+ userId: z.ZodString;
137
+ account: z.ZodString;
138
+ mintKey: z.ZodString;
139
+ grantExpiresAt: z.ZodString;
140
+ revokeGeneration: z.ZodNumber;
141
+ capRulesetVersion: z.ZodNumber;
142
+ perSwapCapUsd: z.ZodNumber;
143
+ policyId: z.ZodString;
144
+ policyName: z.ZodLiteral<"OTTO model b swap fence v3">;
145
+ policyDigest: z.ZodString;
146
+ legacyRulesDigest: z.ZodString;
147
+ nativeRulesDigest: z.ZodString;
148
+ activationCommitment: z.ZodString;
149
+ scopeCommitment: z.ZodString;
150
+ ruleset: z.ZodLiteral<"native-yield-account-v1">;
151
+ scopes: z.ZodArray<z.ZodEnum<{
152
+ deposit: "deposit";
153
+ withdraw: "withdraw";
154
+ approve: "approve";
155
+ "approve-reset": "approve-reset";
156
+ revoke: "revoke";
157
+ }>>;
158
+ }, z.core.$strict>;
159
+ consentCommitment: z.ZodString;
160
+ state: z.ZodEnum<{
161
+ challenge: "challenge";
162
+ confirmed: "confirmed";
163
+ revoked: "revoked";
164
+ superseded: "superseded";
165
+ }>;
166
+ generation: z.ZodNumber;
167
+ createdAtMs: z.ZodNumber;
168
+ challengeExpiresAtMs: z.ZodNumber;
169
+ confirmedAtMs: z.ZodNullable<z.ZodNumber>;
170
+ }, z.core.$strict>;
171
+ export type NativeYieldAccountConsent = z.infer<typeof NATIVE_ACCOUNT_CONSENT_SCHEMA>;
172
+ export declare const NATIVE_ACCOUNT_OPERATION_CONTEXT_SCHEMA: z.ZodObject<{
173
+ input: z.ZodObject<{
174
+ accountProfile: z.ZodObject<{
175
+ kind: z.ZodLiteral<"eoa">;
176
+ address: z.ZodString;
177
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
178
+ }, z.core.$strict>;
179
+ marketId: z.ZodString;
180
+ registryCommitment: z.ZodString;
181
+ action: z.ZodEnum<{
182
+ deposit: "deposit";
183
+ withdraw: "withdraw";
184
+ }>;
185
+ amount: z.ZodString;
186
+ slippage: z.ZodObject<{
187
+ maxBps: z.ZodNumber;
188
+ minOutput: z.ZodOptional<z.ZodString>;
189
+ }, z.core.$strict>;
190
+ clientRef: z.ZodOptional<z.ZodString>;
191
+ }, z.core.$strict>;
192
+ plan: z.ZodObject<{
193
+ schemaVersion: z.ZodLiteral<"1">;
194
+ kind: z.ZodLiteral<"native-yield-plan">;
195
+ transport: z.ZodLiteral<"native-protocol">;
196
+ marketId: z.ZodString;
197
+ registryCommitment: z.ZodString;
198
+ owner: z.ZodString;
199
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
200
+ action: z.ZodEnum<{
201
+ deposit: "deposit";
202
+ withdraw: "withdraw";
203
+ }>;
204
+ amount: z.ZodString;
205
+ inputToken: z.ZodString;
206
+ outputToken: z.ZodString;
207
+ expectedOutput: z.ZodString;
208
+ minimumOutput: z.ZodString;
209
+ protocolOutput: z.ZodString;
210
+ fee: z.ZodObject<{
211
+ bps: z.ZodLiteral<10>;
212
+ recipient: z.ZodString;
213
+ token: z.ZodString;
214
+ amount: z.ZodString;
215
+ version: z.ZodLiteral<"native-yield-10bps-floor-v1">;
216
+ rounding: z.ZodLiteral<"floor">;
217
+ }, z.core.$strict>;
218
+ nonce: z.ZodString;
219
+ deadline: z.ZodNumber;
220
+ preparedAtMs: z.ZodNumber;
221
+ snapshot: z.ZodObject<{
222
+ blockNumber: z.ZodString;
223
+ blockHash: z.ZodString;
224
+ observedAtMs: z.ZodNumber;
225
+ }, z.core.$strict>;
226
+ deployment: z.ZodObject<{
227
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
228
+ address: z.ZodString;
229
+ runtimeCodeHash: z.ZodString;
230
+ version: z.ZodLiteral<"native-yield-router-v1">;
231
+ reviewId: z.ZodString;
232
+ }, z.core.$strict>;
233
+ steps: z.ZodArray<z.ZodObject<{
234
+ kind: z.ZodEnum<{
235
+ approve: "approve";
236
+ approve_reset: "approve_reset";
237
+ call: "call";
238
+ }>;
239
+ to: z.ZodString;
240
+ value: z.ZodLiteral<"0">;
241
+ data: z.ZodString;
242
+ }, z.core.$strict>>;
243
+ authorization: z.ZodLiteral<"requires-separate-account-authority">;
244
+ allowanceRecovery: z.ZodLiteral<"approval-is-separate-and-may-remain-after-failure">;
245
+ intentCommitment: z.ZodString;
246
+ planCommitment: z.ZodString;
247
+ }, z.core.$strict>;
248
+ consent: z.ZodObject<{
249
+ consentId: z.ZodString;
250
+ authority: z.ZodObject<{
251
+ userId: z.ZodString;
252
+ account: z.ZodString;
253
+ mintKey: z.ZodString;
254
+ grantExpiresAt: z.ZodString;
255
+ revokeGeneration: z.ZodNumber;
256
+ capRulesetVersion: z.ZodNumber;
257
+ perSwapCapUsd: z.ZodNumber;
258
+ policyId: z.ZodString;
259
+ policyName: z.ZodLiteral<"OTTO model b swap fence v3">;
260
+ policyDigest: z.ZodString;
261
+ legacyRulesDigest: z.ZodString;
262
+ nativeRulesDigest: z.ZodString;
263
+ activationCommitment: z.ZodString;
264
+ scopeCommitment: z.ZodString;
265
+ ruleset: z.ZodLiteral<"native-yield-account-v1">;
266
+ scopes: z.ZodArray<z.ZodEnum<{
267
+ deposit: "deposit";
268
+ withdraw: "withdraw";
269
+ approve: "approve";
270
+ "approve-reset": "approve-reset";
271
+ revoke: "revoke";
272
+ }>>;
273
+ }, z.core.$strict>;
274
+ consentCommitment: z.ZodString;
275
+ state: z.ZodEnum<{
276
+ challenge: "challenge";
277
+ confirmed: "confirmed";
278
+ revoked: "revoked";
279
+ superseded: "superseded";
280
+ }>;
281
+ generation: z.ZodNumber;
282
+ createdAtMs: z.ZodNumber;
283
+ challengeExpiresAtMs: z.ZodNumber;
284
+ confirmedAtMs: z.ZodNullable<z.ZodNumber>;
285
+ }, z.core.$strict>;
286
+ activation: z.ZodObject<{
287
+ schemaVersion: z.ZodLiteral<"1">;
288
+ ruleset: z.ZodLiteral<"native-yield-account-v1">;
289
+ reviewId: z.ZodString;
290
+ mode: z.ZodEnum<{
291
+ enabled: "enabled";
292
+ "recovery-only": "recovery-only";
293
+ }>;
294
+ policyId: z.ZodString;
295
+ policyName: z.ZodLiteral<"OTTO model b swap fence v3">;
296
+ policyDigest: z.ZodString;
297
+ legacyRulesDigest: z.ZodString;
298
+ nativeRulesDigest: z.ZodString;
299
+ deployments: z.ZodArray<z.ZodObject<{
300
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
301
+ address: z.ZodString;
302
+ runtimeCodeHash: z.ZodString;
303
+ version: z.ZodLiteral<"native-yield-router-v1">;
304
+ reviewId: z.ZodString;
305
+ }, z.core.$strict>>;
306
+ marketRules: z.ZodArray<z.ZodObject<{
307
+ marketId: z.ZodString;
308
+ registryCommitment: z.ZodString;
309
+ action: z.ZodEnum<{
310
+ deposit: "deposit";
311
+ withdraw: "withdraw";
312
+ }>;
313
+ maximumInputAtomic: z.ZodString;
314
+ }, z.core.$strict>>;
315
+ gasLimits: z.ZodArray<z.ZodObject<{
316
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
317
+ maxGasLimit: z.ZodString;
318
+ maxFeePerGasWei: z.ZodString;
319
+ maxPriorityFeePerGasWei: z.ZodString;
320
+ maxEstimatedTotalCostWei: z.ZodString;
321
+ maxOperationEstimatedCostWei: z.ZodString;
322
+ gasLimitBufferBps: z.ZodNumber;
323
+ }, z.core.$strict>>;
324
+ priceRules: z.ZodArray<z.ZodObject<{
325
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
326
+ asset: z.ZodString;
327
+ source: z.ZodLiteral<"chainlink-v3">;
328
+ feed: z.ZodString;
329
+ feedDecimals: z.ZodNumber;
330
+ maxAgeSeconds: z.ZodNumber;
331
+ minimumAnswer: z.ZodString;
332
+ maximumAnswer: z.ZodString;
333
+ upwardMarginBps: z.ZodNumber;
334
+ reviewId: z.ZodString;
335
+ }, z.core.$strict>>;
336
+ }, z.core.$strict>;
337
+ maximumInputAtomic: z.ZodString;
338
+ maximumOperationEstimatedCostWei: z.ZodString;
339
+ reviewCommitment: z.ZodString;
340
+ }, z.core.$strict>;
341
+ export type NativeYieldAccountOperationContext = z.infer<typeof NATIVE_ACCOUNT_OPERATION_CONTEXT_SCHEMA>;
342
+ export declare const NATIVE_ACCOUNT_SEND_REQUEST_SCHEMA: z.ZodObject<{
343
+ userId: z.ZodString;
344
+ address: z.ZodString;
345
+ network: z.ZodEnum<{
346
+ base: "base";
347
+ arbitrum: "arbitrum";
348
+ }>;
349
+ transaction: z.ZodString;
350
+ idempotencyKey: z.ZodString;
351
+ }, z.core.$strict>;
352
+ export type NativeYieldAccountSendRequest = z.infer<typeof NATIVE_ACCOUNT_SEND_REQUEST_SCHEMA>;
353
+ export declare const NATIVE_ACCOUNT_RECEIPT_SCHEMA: z.ZodObject<{
354
+ transactionHash: z.ZodString;
355
+ blockHash: z.ZodString;
356
+ blockNumber: z.ZodString;
357
+ status: z.ZodEnum<{
358
+ success: "success";
359
+ reverted: "reverted";
360
+ }>;
361
+ gasUsed: z.ZodString;
362
+ effectiveGasPrice: z.ZodString;
363
+ }, z.core.$strict>;
364
+ export type NativeYieldAccountReceipt = z.infer<typeof NATIVE_ACCOUNT_RECEIPT_SCHEMA>;
365
+ export declare const NATIVE_ACCOUNT_COST_QUOTE_SCHEMA: z.ZodObject<{
366
+ kind: z.ZodLiteral<"estimate">;
367
+ observedAtMs: z.ZodNumber;
368
+ expiresAtMs: z.ZodNumber;
369
+ blockNumber: z.ZodString;
370
+ blockHash: z.ZodString;
371
+ blockTimestampMs: z.ZodNumber;
372
+ gasEstimate: z.ZodString;
373
+ executionCostWei: z.ZodString;
374
+ l1DataFeeWei: z.ZodString;
375
+ operatorFeeWei: z.ZodString;
376
+ estimatedTotalCostWei: z.ZodString;
377
+ nativeBalanceWei: z.ZodString;
378
+ includesArbitrumPosterFee: z.ZodBoolean;
379
+ isHardTotalFeeCap: z.ZodLiteral<false>;
380
+ }, z.core.$strict>;
381
+ export type NativeYieldAccountStoredCostQuote = z.infer<typeof NATIVE_ACCOUNT_COST_QUOTE_SCHEMA>;
382
+ export declare const NATIVE_ACCOUNT_STEP_SCHEMA: z.ZodObject<{
383
+ index: z.ZodNumber;
384
+ kind: z.ZodEnum<{
385
+ approve: "approve";
386
+ approve_reset: "approve_reset";
387
+ call: "call";
388
+ allowance_clear: "allowance_clear";
389
+ }>;
390
+ state: z.ZodEnum<{
391
+ unknown: "unknown";
392
+ confirmed: "confirmed";
393
+ reverted: "reverted";
394
+ prepared: "prepared";
395
+ submitted: "submitted";
396
+ mined: "mined";
397
+ "not-submitted": "not-submitted";
398
+ }>;
399
+ request: z.ZodObject<{
400
+ userId: z.ZodString;
401
+ address: z.ZodString;
402
+ network: z.ZodEnum<{
403
+ base: "base";
404
+ arbitrum: "arbitrum";
405
+ }>;
406
+ transaction: z.ZodString;
407
+ idempotencyKey: z.ZodString;
408
+ }, z.core.$strict>;
409
+ requestDigest: z.ZodString;
410
+ quote: z.ZodObject<{
411
+ kind: z.ZodLiteral<"estimate">;
412
+ observedAtMs: z.ZodNumber;
413
+ expiresAtMs: z.ZodNumber;
414
+ blockNumber: z.ZodString;
415
+ blockHash: z.ZodString;
416
+ blockTimestampMs: z.ZodNumber;
417
+ gasEstimate: z.ZodString;
418
+ executionCostWei: z.ZodString;
419
+ l1DataFeeWei: z.ZodString;
420
+ operatorFeeWei: z.ZodString;
421
+ estimatedTotalCostWei: z.ZodString;
422
+ nativeBalanceWei: z.ZodString;
423
+ includesArbitrumPosterFee: z.ZodBoolean;
424
+ isHardTotalFeeCap: z.ZodLiteral<false>;
425
+ }, z.core.$strict>;
426
+ transactionHash: z.ZodOptional<z.ZodString>;
427
+ receipt: z.ZodOptional<z.ZodObject<{
428
+ transactionHash: z.ZodString;
429
+ blockHash: z.ZodString;
430
+ blockNumber: z.ZodString;
431
+ status: z.ZodEnum<{
432
+ success: "success";
433
+ reverted: "reverted";
434
+ }>;
435
+ gasUsed: z.ZodString;
436
+ effectiveGasPrice: z.ZodString;
437
+ }, z.core.$strict>>;
438
+ receiptFinality: z.ZodOptional<z.ZodEnum<{
439
+ mined: "mined";
440
+ finalized: "finalized";
441
+ }>>;
442
+ }, z.core.$strict>;
443
+ export type NativeYieldAccountStep = z.infer<typeof NATIVE_ACCOUNT_STEP_SCHEMA>;
444
+ export declare const NATIVE_ACCOUNT_SETTLEMENT_SCHEMA: z.ZodUnion<readonly [z.ZodObject<{
445
+ status: z.ZodLiteral<"completed">;
446
+ transactionHash: z.ZodString;
447
+ blockNumber: z.ZodString;
448
+ owner: z.ZodString;
449
+ marketId: z.ZodString;
450
+ action: z.ZodEnum<{
451
+ deposit: "deposit";
452
+ withdraw: "withdraw";
453
+ }>;
454
+ actualInput: z.ZodString;
455
+ actualOutput: z.ZodString;
456
+ actualOttoFee: z.ZodString;
457
+ feeToken: z.ZodString;
458
+ inputAllowance: z.ZodLiteral<"0">;
459
+ protocolAllowance: z.ZodLiteral<"0">;
460
+ positionBalanceAtBlock: z.ZodString;
461
+ assetBalanceAtBlock: z.ZodString;
462
+ protocolActionVerified: z.ZodLiteral<true>;
463
+ gasUsed: z.ZodString;
464
+ receiptGasCostWei: z.ZodString;
465
+ excludesApprovalTransactionCosts: z.ZodLiteral<true>;
466
+ retrySafe: z.ZodLiteral<false>;
467
+ }, z.core.$strict>, z.ZodObject<{
468
+ status: z.ZodLiteral<"closed-without-native-completion">;
469
+ inputAllowance: z.ZodLiteral<"0">;
470
+ finalizedBlockNumber: z.ZodString;
471
+ retrySafe: z.ZodLiteral<false>;
472
+ }, z.core.$strict>]>;
473
+ export declare const NATIVE_ACCOUNT_OPERATION_SCHEMA: z.ZodObject<{
474
+ operationId: z.ZodString;
475
+ userId: z.ZodString;
476
+ account: z.ZodString;
477
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
478
+ state: z.ZodEnum<{
479
+ completed: "completed";
480
+ review: "review";
481
+ active: "active";
482
+ confirming: "confirming";
483
+ failed: "failed";
484
+ attention: "attention";
485
+ }>;
486
+ context: z.ZodObject<{
487
+ input: z.ZodObject<{
488
+ accountProfile: z.ZodObject<{
489
+ kind: z.ZodLiteral<"eoa">;
490
+ address: z.ZodString;
491
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
492
+ }, z.core.$strict>;
493
+ marketId: z.ZodString;
494
+ registryCommitment: z.ZodString;
495
+ action: z.ZodEnum<{
496
+ deposit: "deposit";
497
+ withdraw: "withdraw";
498
+ }>;
499
+ amount: z.ZodString;
500
+ slippage: z.ZodObject<{
501
+ maxBps: z.ZodNumber;
502
+ minOutput: z.ZodOptional<z.ZodString>;
503
+ }, z.core.$strict>;
504
+ clientRef: z.ZodOptional<z.ZodString>;
505
+ }, z.core.$strict>;
506
+ plan: z.ZodObject<{
507
+ schemaVersion: z.ZodLiteral<"1">;
508
+ kind: z.ZodLiteral<"native-yield-plan">;
509
+ transport: z.ZodLiteral<"native-protocol">;
510
+ marketId: z.ZodString;
511
+ registryCommitment: z.ZodString;
512
+ owner: z.ZodString;
513
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
514
+ action: z.ZodEnum<{
515
+ deposit: "deposit";
516
+ withdraw: "withdraw";
517
+ }>;
518
+ amount: z.ZodString;
519
+ inputToken: z.ZodString;
520
+ outputToken: z.ZodString;
521
+ expectedOutput: z.ZodString;
522
+ minimumOutput: z.ZodString;
523
+ protocolOutput: z.ZodString;
524
+ fee: z.ZodObject<{
525
+ bps: z.ZodLiteral<10>;
526
+ recipient: z.ZodString;
527
+ token: z.ZodString;
528
+ amount: z.ZodString;
529
+ version: z.ZodLiteral<"native-yield-10bps-floor-v1">;
530
+ rounding: z.ZodLiteral<"floor">;
531
+ }, z.core.$strict>;
532
+ nonce: z.ZodString;
533
+ deadline: z.ZodNumber;
534
+ preparedAtMs: z.ZodNumber;
535
+ snapshot: z.ZodObject<{
536
+ blockNumber: z.ZodString;
537
+ blockHash: z.ZodString;
538
+ observedAtMs: z.ZodNumber;
539
+ }, z.core.$strict>;
540
+ deployment: z.ZodObject<{
541
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
542
+ address: z.ZodString;
543
+ runtimeCodeHash: z.ZodString;
544
+ version: z.ZodLiteral<"native-yield-router-v1">;
545
+ reviewId: z.ZodString;
546
+ }, z.core.$strict>;
547
+ steps: z.ZodArray<z.ZodObject<{
548
+ kind: z.ZodEnum<{
549
+ approve: "approve";
550
+ approve_reset: "approve_reset";
551
+ call: "call";
552
+ }>;
553
+ to: z.ZodString;
554
+ value: z.ZodLiteral<"0">;
555
+ data: z.ZodString;
556
+ }, z.core.$strict>>;
557
+ authorization: z.ZodLiteral<"requires-separate-account-authority">;
558
+ allowanceRecovery: z.ZodLiteral<"approval-is-separate-and-may-remain-after-failure">;
559
+ intentCommitment: z.ZodString;
560
+ planCommitment: z.ZodString;
561
+ }, z.core.$strict>;
562
+ consent: z.ZodObject<{
563
+ consentId: z.ZodString;
564
+ authority: z.ZodObject<{
565
+ userId: z.ZodString;
566
+ account: z.ZodString;
567
+ mintKey: z.ZodString;
568
+ grantExpiresAt: z.ZodString;
569
+ revokeGeneration: z.ZodNumber;
570
+ capRulesetVersion: z.ZodNumber;
571
+ perSwapCapUsd: z.ZodNumber;
572
+ policyId: z.ZodString;
573
+ policyName: z.ZodLiteral<"OTTO model b swap fence v3">;
574
+ policyDigest: z.ZodString;
575
+ legacyRulesDigest: z.ZodString;
576
+ nativeRulesDigest: z.ZodString;
577
+ activationCommitment: z.ZodString;
578
+ scopeCommitment: z.ZodString;
579
+ ruleset: z.ZodLiteral<"native-yield-account-v1">;
580
+ scopes: z.ZodArray<z.ZodEnum<{
581
+ deposit: "deposit";
582
+ withdraw: "withdraw";
583
+ approve: "approve";
584
+ "approve-reset": "approve-reset";
585
+ revoke: "revoke";
586
+ }>>;
587
+ }, z.core.$strict>;
588
+ consentCommitment: z.ZodString;
589
+ state: z.ZodEnum<{
590
+ challenge: "challenge";
591
+ confirmed: "confirmed";
592
+ revoked: "revoked";
593
+ superseded: "superseded";
594
+ }>;
595
+ generation: z.ZodNumber;
596
+ createdAtMs: z.ZodNumber;
597
+ challengeExpiresAtMs: z.ZodNumber;
598
+ confirmedAtMs: z.ZodNullable<z.ZodNumber>;
599
+ }, z.core.$strict>;
600
+ activation: z.ZodObject<{
601
+ schemaVersion: z.ZodLiteral<"1">;
602
+ ruleset: z.ZodLiteral<"native-yield-account-v1">;
603
+ reviewId: z.ZodString;
604
+ mode: z.ZodEnum<{
605
+ enabled: "enabled";
606
+ "recovery-only": "recovery-only";
607
+ }>;
608
+ policyId: z.ZodString;
609
+ policyName: z.ZodLiteral<"OTTO model b swap fence v3">;
610
+ policyDigest: z.ZodString;
611
+ legacyRulesDigest: z.ZodString;
612
+ nativeRulesDigest: z.ZodString;
613
+ deployments: z.ZodArray<z.ZodObject<{
614
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
615
+ address: z.ZodString;
616
+ runtimeCodeHash: z.ZodString;
617
+ version: z.ZodLiteral<"native-yield-router-v1">;
618
+ reviewId: z.ZodString;
619
+ }, z.core.$strict>>;
620
+ marketRules: z.ZodArray<z.ZodObject<{
621
+ marketId: z.ZodString;
622
+ registryCommitment: z.ZodString;
623
+ action: z.ZodEnum<{
624
+ deposit: "deposit";
625
+ withdraw: "withdraw";
626
+ }>;
627
+ maximumInputAtomic: z.ZodString;
628
+ }, z.core.$strict>>;
629
+ gasLimits: z.ZodArray<z.ZodObject<{
630
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
631
+ maxGasLimit: z.ZodString;
632
+ maxFeePerGasWei: z.ZodString;
633
+ maxPriorityFeePerGasWei: z.ZodString;
634
+ maxEstimatedTotalCostWei: z.ZodString;
635
+ maxOperationEstimatedCostWei: z.ZodString;
636
+ gasLimitBufferBps: z.ZodNumber;
637
+ }, z.core.$strict>>;
638
+ priceRules: z.ZodArray<z.ZodObject<{
639
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
640
+ asset: z.ZodString;
641
+ source: z.ZodLiteral<"chainlink-v3">;
642
+ feed: z.ZodString;
643
+ feedDecimals: z.ZodNumber;
644
+ maxAgeSeconds: z.ZodNumber;
645
+ minimumAnswer: z.ZodString;
646
+ maximumAnswer: z.ZodString;
647
+ upwardMarginBps: z.ZodNumber;
648
+ reviewId: z.ZodString;
649
+ }, z.core.$strict>>;
650
+ }, z.core.$strict>;
651
+ maximumInputAtomic: z.ZodString;
652
+ maximumOperationEstimatedCostWei: z.ZodString;
653
+ reviewCommitment: z.ZodString;
654
+ }, z.core.$strict>;
655
+ reviewConsumed: z.ZodBoolean;
656
+ createdAtMs: z.ZodNumber;
657
+ updatedAtMs: z.ZodNumber;
658
+ steps: z.ZodArray<z.ZodObject<{
659
+ index: z.ZodNumber;
660
+ kind: z.ZodEnum<{
661
+ approve: "approve";
662
+ approve_reset: "approve_reset";
663
+ call: "call";
664
+ allowance_clear: "allowance_clear";
665
+ }>;
666
+ state: z.ZodEnum<{
667
+ unknown: "unknown";
668
+ confirmed: "confirmed";
669
+ reverted: "reverted";
670
+ prepared: "prepared";
671
+ submitted: "submitted";
672
+ mined: "mined";
673
+ "not-submitted": "not-submitted";
674
+ }>;
675
+ request: z.ZodObject<{
676
+ userId: z.ZodString;
677
+ address: z.ZodString;
678
+ network: z.ZodEnum<{
679
+ base: "base";
680
+ arbitrum: "arbitrum";
681
+ }>;
682
+ transaction: z.ZodString;
683
+ idempotencyKey: z.ZodString;
684
+ }, z.core.$strict>;
685
+ requestDigest: z.ZodString;
686
+ quote: z.ZodObject<{
687
+ kind: z.ZodLiteral<"estimate">;
688
+ observedAtMs: z.ZodNumber;
689
+ expiresAtMs: z.ZodNumber;
690
+ blockNumber: z.ZodString;
691
+ blockHash: z.ZodString;
692
+ blockTimestampMs: z.ZodNumber;
693
+ gasEstimate: z.ZodString;
694
+ executionCostWei: z.ZodString;
695
+ l1DataFeeWei: z.ZodString;
696
+ operatorFeeWei: z.ZodString;
697
+ estimatedTotalCostWei: z.ZodString;
698
+ nativeBalanceWei: z.ZodString;
699
+ includesArbitrumPosterFee: z.ZodBoolean;
700
+ isHardTotalFeeCap: z.ZodLiteral<false>;
701
+ }, z.core.$strict>;
702
+ transactionHash: z.ZodOptional<z.ZodString>;
703
+ receipt: z.ZodOptional<z.ZodObject<{
704
+ transactionHash: z.ZodString;
705
+ blockHash: z.ZodString;
706
+ blockNumber: z.ZodString;
707
+ status: z.ZodEnum<{
708
+ success: "success";
709
+ reverted: "reverted";
710
+ }>;
711
+ gasUsed: z.ZodString;
712
+ effectiveGasPrice: z.ZodString;
713
+ }, z.core.$strict>>;
714
+ receiptFinality: z.ZodOptional<z.ZodEnum<{
715
+ mined: "mined";
716
+ finalized: "finalized";
717
+ }>>;
718
+ }, z.core.$strict>>;
719
+ failureCode: z.ZodOptional<z.ZodString>;
720
+ result: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
721
+ status: z.ZodLiteral<"completed">;
722
+ transactionHash: z.ZodString;
723
+ blockNumber: z.ZodString;
724
+ owner: z.ZodString;
725
+ marketId: z.ZodString;
726
+ action: z.ZodEnum<{
727
+ deposit: "deposit";
728
+ withdraw: "withdraw";
729
+ }>;
730
+ actualInput: z.ZodString;
731
+ actualOutput: z.ZodString;
732
+ actualOttoFee: z.ZodString;
733
+ feeToken: z.ZodString;
734
+ inputAllowance: z.ZodLiteral<"0">;
735
+ protocolAllowance: z.ZodLiteral<"0">;
736
+ positionBalanceAtBlock: z.ZodString;
737
+ assetBalanceAtBlock: z.ZodString;
738
+ protocolActionVerified: z.ZodLiteral<true>;
739
+ gasUsed: z.ZodString;
740
+ receiptGasCostWei: z.ZodString;
741
+ excludesApprovalTransactionCosts: z.ZodLiteral<true>;
742
+ retrySafe: z.ZodLiteral<false>;
743
+ }, z.core.$strict>, z.ZodObject<{
744
+ status: z.ZodLiteral<"closed-without-native-completion">;
745
+ inputAllowance: z.ZodLiteral<"0">;
746
+ finalizedBlockNumber: z.ZodString;
747
+ retrySafe: z.ZodLiteral<false>;
748
+ }, z.core.$strict>]>>;
749
+ }, z.core.$strict>;
750
+ export type NativeYieldAccountOperation = z.infer<typeof NATIVE_ACCOUNT_OPERATION_SCHEMA>;
751
+ export declare const NATIVE_ACCOUNT_CONSENT_REVIEW_INPUT: z.ZodObject<{
752
+ accessToken: z.ZodString;
753
+ account: z.ZodString;
754
+ }, z.core.$strict>;
755
+ export declare const NATIVE_ACCOUNT_CONSENT_CONFIRM_INPUT: z.ZodObject<{
756
+ accessToken: z.ZodString;
757
+ consentId: z.ZodString;
758
+ consentCommitment: z.ZodString;
759
+ confirmation: z.ZodLiteral<"I reviewed the native yield scope and limits">;
760
+ }, z.core.$strict>;
761
+ export declare const NATIVE_ACCOUNT_PREPARE_INPUT: z.ZodObject<{
762
+ accessToken: z.ZodString;
763
+ input: z.ZodObject<{
764
+ accountProfile: z.ZodObject<{
765
+ kind: z.ZodLiteral<"eoa">;
766
+ address: z.ZodString;
767
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
768
+ }, z.core.$strict>;
769
+ marketId: z.ZodString;
770
+ registryCommitment: z.ZodString;
771
+ action: z.ZodEnum<{
772
+ deposit: "deposit";
773
+ withdraw: "withdraw";
774
+ }>;
775
+ amount: z.ZodString;
776
+ slippage: z.ZodObject<{
777
+ maxBps: z.ZodNumber;
778
+ minOutput: z.ZodOptional<z.ZodString>;
779
+ }, z.core.$strict>;
780
+ clientRef: z.ZodOptional<z.ZodString>;
781
+ }, z.core.$strict>;
782
+ }, z.core.$strict>;
783
+ export declare const NATIVE_ACCOUNT_SUBMIT_INPUT: z.ZodObject<{
784
+ accessToken: z.ZodString;
785
+ operationId: z.ZodString;
786
+ planCommitment: z.ZodString;
787
+ reviewCommitment: z.ZodString;
788
+ }, z.core.$strict>;
789
+ export declare const NATIVE_ACCOUNT_READ_INPUT: z.ZodObject<{
790
+ accessToken: z.ZodString;
791
+ operationId: z.ZodOptional<z.ZodString>;
792
+ }, z.core.$strict>;
793
+ export declare const NATIVE_ACCOUNT_RECONCILE_INPUT: z.ZodObject<{
794
+ accessToken: z.ZodString;
795
+ operationId: z.ZodString;
796
+ knownTransactions: z.ZodOptional<z.ZodArray<z.ZodObject<{
797
+ index: z.ZodNumber;
798
+ transactionHash: z.ZodString;
799
+ }, z.core.$strict>>>;
800
+ }, z.core.$strict>;
801
+ export declare const NATIVE_ACCOUNT_REVOKE_INPUT: z.ZodObject<{
802
+ accessToken: z.ZodString;
803
+ operationId: z.ZodString;
804
+ revocationCommitment: z.ZodString;
805
+ }, z.core.$strict>;
806
+ export declare const NATIVE_ACCOUNT_CONTINUE_INPUT: z.ZodObject<{
807
+ accessToken: z.ZodString;
808
+ operationId: z.ZodString;
809
+ reviewCommitment: z.ZodString;
810
+ confirmation: z.ZodLiteral<"Continue the reviewed native operation">;
811
+ }, z.core.$strict>;
812
+ /** Public account view: no access token, raw calldata, idempotency key or internal authority record. */
813
+ export declare const NATIVE_ACCOUNT_OPERATION_VIEW_SCHEMA: z.ZodObject<{
814
+ schemaVersion: z.ZodLiteral<"1">;
815
+ operationId: z.ZodString;
816
+ account: z.ZodString;
817
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
818
+ marketId: z.ZodString;
819
+ action: z.ZodEnum<{
820
+ deposit: "deposit";
821
+ withdraw: "withdraw";
822
+ }>;
823
+ state: z.ZodEnum<{
824
+ completed: "completed";
825
+ review: "review";
826
+ active: "active";
827
+ confirming: "confirming";
828
+ failed: "failed";
829
+ attention: "attention";
830
+ }>;
831
+ planCommitment: z.ZodString;
832
+ reviewCommitment: z.ZodString;
833
+ review: z.ZodObject<{
834
+ amount: z.ZodString;
835
+ inputToken: z.ZodString;
836
+ minimumOutput: z.ZodString;
837
+ outputToken: z.ZodString;
838
+ fee: z.ZodObject<{
839
+ bps: z.ZodLiteral<10>;
840
+ recipient: z.ZodString;
841
+ token: z.ZodString;
842
+ amount: z.ZodString;
843
+ version: z.ZodLiteral<"native-yield-10bps-floor-v1">;
844
+ rounding: z.ZodLiteral<"floor">;
845
+ }, z.core.$strict>;
846
+ deadline: z.ZodNumber;
847
+ maximumOperationEstimatedCostWei: z.ZodString;
848
+ isHardTotalGasCap: z.ZodLiteral<false>;
849
+ }, z.core.$strict>;
850
+ steps: z.ZodArray<z.ZodObject<{
851
+ index: z.ZodNumber;
852
+ kind: z.ZodEnum<{
853
+ approve: "approve";
854
+ approve_reset: "approve_reset";
855
+ call: "call";
856
+ allowance_clear: "allowance_clear";
857
+ }>;
858
+ state: z.ZodEnum<{
859
+ unknown: "unknown";
860
+ confirmed: "confirmed";
861
+ reverted: "reverted";
862
+ prepared: "prepared";
863
+ submitted: "submitted";
864
+ mined: "mined";
865
+ "not-submitted": "not-submitted";
866
+ }>;
867
+ transactionHash: z.ZodOptional<z.ZodString>;
868
+ receiptFinality: z.ZodOptional<z.ZodEnum<{
869
+ mined: "mined";
870
+ finalized: "finalized";
871
+ }>>;
872
+ costEstimate: z.ZodObject<{
873
+ kind: z.ZodLiteral<"estimate">;
874
+ observedAtMs: z.ZodNumber;
875
+ expiresAtMs: z.ZodNumber;
876
+ blockNumber: z.ZodString;
877
+ blockHash: z.ZodString;
878
+ blockTimestampMs: z.ZodNumber;
879
+ gasEstimate: z.ZodString;
880
+ executionCostWei: z.ZodString;
881
+ l1DataFeeWei: z.ZodString;
882
+ operatorFeeWei: z.ZodString;
883
+ estimatedTotalCostWei: z.ZodString;
884
+ nativeBalanceWei: z.ZodString;
885
+ includesArbitrumPosterFee: z.ZodBoolean;
886
+ isHardTotalFeeCap: z.ZodLiteral<false>;
887
+ }, z.core.$strict>;
888
+ receiptGasCostWei: z.ZodOptional<z.ZodString>;
889
+ }, z.core.$strict>>;
890
+ continuationAvailable: z.ZodBoolean;
891
+ allowanceRecovery: z.ZodObject<{
892
+ reviewCommitment: z.ZodString;
893
+ available: z.ZodBoolean;
894
+ requiresFreshSession: z.ZodLiteral<true>;
895
+ }, z.core.$strict>;
896
+ actualSettlement: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
897
+ status: z.ZodLiteral<"completed">;
898
+ transactionHash: z.ZodString;
899
+ blockNumber: z.ZodString;
900
+ owner: z.ZodString;
901
+ marketId: z.ZodString;
902
+ action: z.ZodEnum<{
903
+ deposit: "deposit";
904
+ withdraw: "withdraw";
905
+ }>;
906
+ actualInput: z.ZodString;
907
+ actualOutput: z.ZodString;
908
+ actualOttoFee: z.ZodString;
909
+ feeToken: z.ZodString;
910
+ inputAllowance: z.ZodLiteral<"0">;
911
+ protocolAllowance: z.ZodLiteral<"0">;
912
+ positionBalanceAtBlock: z.ZodString;
913
+ assetBalanceAtBlock: z.ZodString;
914
+ protocolActionVerified: z.ZodLiteral<true>;
915
+ gasUsed: z.ZodString;
916
+ receiptGasCostWei: z.ZodString;
917
+ excludesApprovalTransactionCosts: z.ZodLiteral<true>;
918
+ retrySafe: z.ZodLiteral<false>;
919
+ }, z.core.$strict>, z.ZodObject<{
920
+ status: z.ZodLiteral<"closed-without-native-completion">;
921
+ inputAllowance: z.ZodLiteral<"0">;
922
+ finalizedBlockNumber: z.ZodString;
923
+ retrySafe: z.ZodLiteral<false>;
924
+ }, z.core.$strict>]>>;
925
+ failureCode: z.ZodOptional<z.ZodString>;
926
+ automaticExecutionEnabled: z.ZodLiteral<false>;
927
+ retrySafe: z.ZodLiteral<false>;
928
+ }, z.core.$strict>;
929
+ export type NativeYieldAccountOperationView = z.infer<typeof NATIVE_ACCOUNT_OPERATION_VIEW_SCHEMA>;
930
+ export declare const NATIVE_ACCOUNT_READ_OUTPUT_SCHEMA: z.ZodObject<{
931
+ schemaVersion: z.ZodLiteral<"1">;
932
+ operations: z.ZodArray<z.ZodObject<{
933
+ schemaVersion: z.ZodLiteral<"1">;
934
+ operationId: z.ZodString;
935
+ account: z.ZodString;
936
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
937
+ marketId: z.ZodString;
938
+ action: z.ZodEnum<{
939
+ deposit: "deposit";
940
+ withdraw: "withdraw";
941
+ }>;
942
+ state: z.ZodEnum<{
943
+ completed: "completed";
944
+ review: "review";
945
+ active: "active";
946
+ confirming: "confirming";
947
+ failed: "failed";
948
+ attention: "attention";
949
+ }>;
950
+ planCommitment: z.ZodString;
951
+ reviewCommitment: z.ZodString;
952
+ review: z.ZodObject<{
953
+ amount: z.ZodString;
954
+ inputToken: z.ZodString;
955
+ minimumOutput: z.ZodString;
956
+ outputToken: z.ZodString;
957
+ fee: z.ZodObject<{
958
+ bps: z.ZodLiteral<10>;
959
+ recipient: z.ZodString;
960
+ token: z.ZodString;
961
+ amount: z.ZodString;
962
+ version: z.ZodLiteral<"native-yield-10bps-floor-v1">;
963
+ rounding: z.ZodLiteral<"floor">;
964
+ }, z.core.$strict>;
965
+ deadline: z.ZodNumber;
966
+ maximumOperationEstimatedCostWei: z.ZodString;
967
+ isHardTotalGasCap: z.ZodLiteral<false>;
968
+ }, z.core.$strict>;
969
+ steps: z.ZodArray<z.ZodObject<{
970
+ index: z.ZodNumber;
971
+ kind: z.ZodEnum<{
972
+ approve: "approve";
973
+ approve_reset: "approve_reset";
974
+ call: "call";
975
+ allowance_clear: "allowance_clear";
976
+ }>;
977
+ state: z.ZodEnum<{
978
+ unknown: "unknown";
979
+ confirmed: "confirmed";
980
+ reverted: "reverted";
981
+ prepared: "prepared";
982
+ submitted: "submitted";
983
+ mined: "mined";
984
+ "not-submitted": "not-submitted";
985
+ }>;
986
+ transactionHash: z.ZodOptional<z.ZodString>;
987
+ receiptFinality: z.ZodOptional<z.ZodEnum<{
988
+ mined: "mined";
989
+ finalized: "finalized";
990
+ }>>;
991
+ costEstimate: z.ZodObject<{
992
+ kind: z.ZodLiteral<"estimate">;
993
+ observedAtMs: z.ZodNumber;
994
+ expiresAtMs: z.ZodNumber;
995
+ blockNumber: z.ZodString;
996
+ blockHash: z.ZodString;
997
+ blockTimestampMs: z.ZodNumber;
998
+ gasEstimate: z.ZodString;
999
+ executionCostWei: z.ZodString;
1000
+ l1DataFeeWei: z.ZodString;
1001
+ operatorFeeWei: z.ZodString;
1002
+ estimatedTotalCostWei: z.ZodString;
1003
+ nativeBalanceWei: z.ZodString;
1004
+ includesArbitrumPosterFee: z.ZodBoolean;
1005
+ isHardTotalFeeCap: z.ZodLiteral<false>;
1006
+ }, z.core.$strict>;
1007
+ receiptGasCostWei: z.ZodOptional<z.ZodString>;
1008
+ }, z.core.$strict>>;
1009
+ continuationAvailable: z.ZodBoolean;
1010
+ allowanceRecovery: z.ZodObject<{
1011
+ reviewCommitment: z.ZodString;
1012
+ available: z.ZodBoolean;
1013
+ requiresFreshSession: z.ZodLiteral<true>;
1014
+ }, z.core.$strict>;
1015
+ actualSettlement: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
1016
+ status: z.ZodLiteral<"completed">;
1017
+ transactionHash: z.ZodString;
1018
+ blockNumber: z.ZodString;
1019
+ owner: z.ZodString;
1020
+ marketId: z.ZodString;
1021
+ action: z.ZodEnum<{
1022
+ deposit: "deposit";
1023
+ withdraw: "withdraw";
1024
+ }>;
1025
+ actualInput: z.ZodString;
1026
+ actualOutput: z.ZodString;
1027
+ actualOttoFee: z.ZodString;
1028
+ feeToken: z.ZodString;
1029
+ inputAllowance: z.ZodLiteral<"0">;
1030
+ protocolAllowance: z.ZodLiteral<"0">;
1031
+ positionBalanceAtBlock: z.ZodString;
1032
+ assetBalanceAtBlock: z.ZodString;
1033
+ protocolActionVerified: z.ZodLiteral<true>;
1034
+ gasUsed: z.ZodString;
1035
+ receiptGasCostWei: z.ZodString;
1036
+ excludesApprovalTransactionCosts: z.ZodLiteral<true>;
1037
+ retrySafe: z.ZodLiteral<false>;
1038
+ }, z.core.$strict>, z.ZodObject<{
1039
+ status: z.ZodLiteral<"closed-without-native-completion">;
1040
+ inputAllowance: z.ZodLiteral<"0">;
1041
+ finalizedBlockNumber: z.ZodString;
1042
+ retrySafe: z.ZodLiteral<false>;
1043
+ }, z.core.$strict>]>>;
1044
+ failureCode: z.ZodOptional<z.ZodString>;
1045
+ automaticExecutionEnabled: z.ZodLiteral<false>;
1046
+ retrySafe: z.ZodLiteral<false>;
1047
+ }, z.core.$strict>>;
1048
+ }, z.core.$strict>;
1049
+ export declare const NATIVE_ACCOUNT_CONSENT_REVIEW_OUTPUT_SCHEMA: z.ZodObject<{
1050
+ schemaVersion: z.ZodLiteral<"1">;
1051
+ consent: z.ZodObject<{
1052
+ consentId: z.ZodString;
1053
+ authority: z.ZodObject<{
1054
+ userId: z.ZodString;
1055
+ account: z.ZodString;
1056
+ mintKey: z.ZodString;
1057
+ grantExpiresAt: z.ZodString;
1058
+ revokeGeneration: z.ZodNumber;
1059
+ capRulesetVersion: z.ZodNumber;
1060
+ perSwapCapUsd: z.ZodNumber;
1061
+ policyId: z.ZodString;
1062
+ policyName: z.ZodLiteral<"OTTO model b swap fence v3">;
1063
+ policyDigest: z.ZodString;
1064
+ legacyRulesDigest: z.ZodString;
1065
+ nativeRulesDigest: z.ZodString;
1066
+ activationCommitment: z.ZodString;
1067
+ scopeCommitment: z.ZodString;
1068
+ ruleset: z.ZodLiteral<"native-yield-account-v1">;
1069
+ scopes: z.ZodArray<z.ZodEnum<{
1070
+ deposit: "deposit";
1071
+ withdraw: "withdraw";
1072
+ approve: "approve";
1073
+ "approve-reset": "approve-reset";
1074
+ revoke: "revoke";
1075
+ }>>;
1076
+ }, z.core.$strict>;
1077
+ consentCommitment: z.ZodString;
1078
+ state: z.ZodEnum<{
1079
+ challenge: "challenge";
1080
+ confirmed: "confirmed";
1081
+ revoked: "revoked";
1082
+ superseded: "superseded";
1083
+ }>;
1084
+ generation: z.ZodNumber;
1085
+ createdAtMs: z.ZodNumber;
1086
+ challengeExpiresAtMs: z.ZodNumber;
1087
+ confirmedAtMs: z.ZodNullable<z.ZodNumber>;
1088
+ }, z.core.$strict>;
1089
+ terms: z.ZodObject<{
1090
+ schemaVersion: z.ZodLiteral<"1">;
1091
+ ruleset: z.ZodLiteral<"native-yield-account-v1">;
1092
+ reviewId: z.ZodString;
1093
+ mode: z.ZodEnum<{
1094
+ enabled: "enabled";
1095
+ "recovery-only": "recovery-only";
1096
+ }>;
1097
+ policyId: z.ZodString;
1098
+ policyName: z.ZodLiteral<"OTTO model b swap fence v3">;
1099
+ policyDigest: z.ZodString;
1100
+ legacyRulesDigest: z.ZodString;
1101
+ nativeRulesDigest: z.ZodString;
1102
+ deployments: z.ZodArray<z.ZodObject<{
1103
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
1104
+ address: z.ZodString;
1105
+ runtimeCodeHash: z.ZodString;
1106
+ version: z.ZodLiteral<"native-yield-router-v1">;
1107
+ reviewId: z.ZodString;
1108
+ }, z.core.$strict>>;
1109
+ marketRules: z.ZodArray<z.ZodObject<{
1110
+ marketId: z.ZodString;
1111
+ registryCommitment: z.ZodString;
1112
+ action: z.ZodEnum<{
1113
+ deposit: "deposit";
1114
+ withdraw: "withdraw";
1115
+ }>;
1116
+ maximumInputAtomic: z.ZodString;
1117
+ }, z.core.$strict>>;
1118
+ gasLimits: z.ZodArray<z.ZodObject<{
1119
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
1120
+ maxGasLimit: z.ZodString;
1121
+ maxFeePerGasWei: z.ZodString;
1122
+ maxPriorityFeePerGasWei: z.ZodString;
1123
+ maxEstimatedTotalCostWei: z.ZodString;
1124
+ maxOperationEstimatedCostWei: z.ZodString;
1125
+ gasLimitBufferBps: z.ZodNumber;
1126
+ }, z.core.$strict>>;
1127
+ priceRules: z.ZodArray<z.ZodObject<{
1128
+ chainId: z.ZodUnion<readonly [z.ZodLiteral<8453>, z.ZodLiteral<42161>]>;
1129
+ asset: z.ZodString;
1130
+ source: z.ZodLiteral<"chainlink-v3">;
1131
+ feed: z.ZodString;
1132
+ feedDecimals: z.ZodNumber;
1133
+ maxAgeSeconds: z.ZodNumber;
1134
+ minimumAnswer: z.ZodString;
1135
+ maximumAnswer: z.ZodString;
1136
+ upwardMarginBps: z.ZodNumber;
1137
+ reviewId: z.ZodString;
1138
+ }, z.core.$strict>>;
1139
+ }, z.core.$strict>;
1140
+ policyPhase: z.ZodEnum<{
1141
+ "legacy-v2": "legacy-v2";
1142
+ "native-v3": "native-v3";
1143
+ }>;
1144
+ requiresSeparateOperationReview: z.ZodLiteral<true>;
1145
+ automaticExecutionEnabled: z.ZodLiteral<false>;
1146
+ }, z.core.$strict>;
1147
+ export declare const NATIVE_ACCOUNT_CONSENT_CONFIRM_OUTPUT_SCHEMA: z.ZodObject<{
1148
+ schemaVersion: z.ZodLiteral<"1">;
1149
+ consent: z.ZodObject<{
1150
+ consentId: z.ZodString;
1151
+ authority: z.ZodObject<{
1152
+ userId: z.ZodString;
1153
+ account: z.ZodString;
1154
+ mintKey: z.ZodString;
1155
+ grantExpiresAt: z.ZodString;
1156
+ revokeGeneration: z.ZodNumber;
1157
+ capRulesetVersion: z.ZodNumber;
1158
+ perSwapCapUsd: z.ZodNumber;
1159
+ policyId: z.ZodString;
1160
+ policyName: z.ZodLiteral<"OTTO model b swap fence v3">;
1161
+ policyDigest: z.ZodString;
1162
+ legacyRulesDigest: z.ZodString;
1163
+ nativeRulesDigest: z.ZodString;
1164
+ activationCommitment: z.ZodString;
1165
+ scopeCommitment: z.ZodString;
1166
+ ruleset: z.ZodLiteral<"native-yield-account-v1">;
1167
+ scopes: z.ZodArray<z.ZodEnum<{
1168
+ deposit: "deposit";
1169
+ withdraw: "withdraw";
1170
+ approve: "approve";
1171
+ "approve-reset": "approve-reset";
1172
+ revoke: "revoke";
1173
+ }>>;
1174
+ }, z.core.$strict>;
1175
+ consentCommitment: z.ZodString;
1176
+ state: z.ZodEnum<{
1177
+ challenge: "challenge";
1178
+ confirmed: "confirmed";
1179
+ revoked: "revoked";
1180
+ superseded: "superseded";
1181
+ }>;
1182
+ generation: z.ZodNumber;
1183
+ createdAtMs: z.ZodNumber;
1184
+ challengeExpiresAtMs: z.ZodNumber;
1185
+ confirmedAtMs: z.ZodNullable<z.ZodNumber>;
1186
+ }, z.core.$strict>;
1187
+ policyPhase: z.ZodEnum<{
1188
+ "legacy-v2": "legacy-v2";
1189
+ "native-v3": "native-v3";
1190
+ }>;
1191
+ automaticExecutionEnabled: z.ZodLiteral<false>;
1192
+ }, z.core.$strict>;