ox 1.0.0-beta.8 → 1.0.0

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 (413) hide show
  1. package/CHANGELOG.md +1143 -0
  2. package/dist/core/Abi.d.ts +6 -2
  3. package/dist/core/Abi.d.ts.map +1 -1
  4. package/dist/core/Abi.js +6 -3
  5. package/dist/core/Abi.js.map +1 -1
  6. package/dist/core/AbiConstructor.d.ts +2 -1
  7. package/dist/core/AbiConstructor.d.ts.map +1 -1
  8. package/dist/core/AbiConstructor.js +2 -2
  9. package/dist/core/AbiConstructor.js.map +1 -1
  10. package/dist/core/AbiError.d.ts +3 -1
  11. package/dist/core/AbiError.d.ts.map +1 -1
  12. package/dist/core/AbiError.js +2 -2
  13. package/dist/core/AbiError.js.map +1 -1
  14. package/dist/core/AbiEvent.d.ts +3 -1
  15. package/dist/core/AbiEvent.d.ts.map +1 -1
  16. package/dist/core/AbiEvent.js +2 -2
  17. package/dist/core/AbiEvent.js.map +1 -1
  18. package/dist/core/AbiFunction.d.ts +3 -1
  19. package/dist/core/AbiFunction.d.ts.map +1 -1
  20. package/dist/core/AbiFunction.js +2 -2
  21. package/dist/core/AbiFunction.js.map +1 -1
  22. package/dist/core/AbiItem.d.ts +6 -3
  23. package/dist/core/AbiItem.d.ts.map +1 -1
  24. package/dist/core/AbiItem.js +9 -7
  25. package/dist/core/AbiItem.js.map +1 -1
  26. package/dist/core/AbiParameter.d.ts +88 -0
  27. package/dist/core/AbiParameter.d.ts.map +1 -0
  28. package/dist/core/AbiParameter.js +82 -0
  29. package/dist/core/AbiParameter.js.map +1 -0
  30. package/dist/core/AbiParameters.d.ts +58 -2
  31. package/dist/core/AbiParameters.d.ts.map +1 -1
  32. package/dist/core/AbiParameters.js +60 -6
  33. package/dist/core/AbiParameters.js.map +1 -1
  34. package/dist/core/Rlp.d.ts +27 -5
  35. package/dist/core/Rlp.d.ts.map +1 -1
  36. package/dist/core/Rlp.js +40 -4
  37. package/dist/core/Rlp.js.map +1 -1
  38. package/dist/core/RpcSchema.d.ts +2 -2
  39. package/dist/core/internal/abiParameters.d.ts.map +1 -1
  40. package/dist/core/internal/abiParameters.js +21 -3
  41. package/dist/core/internal/abiParameters.js.map +1 -1
  42. package/dist/core/internal/human-readable/errors.d.ts +103 -0
  43. package/dist/core/internal/human-readable/errors.d.ts.map +1 -0
  44. package/dist/core/internal/human-readable/errors.js +142 -0
  45. package/dist/core/internal/human-readable/errors.js.map +1 -0
  46. package/dist/core/internal/human-readable/formatAbi.d.ts +19 -0
  47. package/dist/core/internal/human-readable/formatAbi.d.ts.map +1 -0
  48. package/dist/core/internal/human-readable/formatAbi.js +18 -0
  49. package/dist/core/internal/human-readable/formatAbi.js.map +1 -0
  50. package/dist/core/internal/human-readable/formatAbiItem.d.ts +23 -0
  51. package/dist/core/internal/human-readable/formatAbiItem.d.ts.map +1 -0
  52. package/dist/core/internal/human-readable/formatAbiItem.js +25 -0
  53. package/dist/core/internal/human-readable/formatAbiItem.js.map +1 -0
  54. package/dist/core/internal/human-readable/formatAbiParameter.d.ts +41 -0
  55. package/dist/core/internal/human-readable/formatAbiParameter.d.ts.map +1 -0
  56. package/dist/core/internal/human-readable/formatAbiParameter.js +36 -0
  57. package/dist/core/internal/human-readable/formatAbiParameter.js.map +1 -0
  58. package/dist/core/internal/human-readable/formatAbiParameters.d.ts +26 -0
  59. package/dist/core/internal/human-readable/formatAbiParameters.d.ts.map +1 -0
  60. package/dist/core/internal/human-readable/formatAbiParameters.js +19 -0
  61. package/dist/core/internal/human-readable/formatAbiParameters.js.map +1 -0
  62. package/dist/core/internal/human-readable/parseAbi.d.ts +22 -0
  63. package/dist/core/internal/human-readable/parseAbi.d.ts.map +1 -0
  64. package/dist/core/internal/human-readable/parseAbi.js +22 -0
  65. package/dist/core/internal/human-readable/parseAbi.js.map +1 -0
  66. package/dist/core/internal/human-readable/parseAbiItem.d.ts +23 -0
  67. package/dist/core/internal/human-readable/parseAbiItem.d.ts.map +1 -0
  68. package/dist/core/internal/human-readable/parseAbiItem.js +30 -0
  69. package/dist/core/internal/human-readable/parseAbiItem.js.map +1 -0
  70. package/dist/core/internal/human-readable/parseAbiParameter.d.ts +28 -0
  71. package/dist/core/internal/human-readable/parseAbiParameter.d.ts.map +1 -0
  72. package/dist/core/internal/human-readable/parseAbiParameter.js +32 -0
  73. package/dist/core/internal/human-readable/parseAbiParameter.js.map +1 -0
  74. package/dist/core/internal/human-readable/parseAbiParameters.d.ts +38 -0
  75. package/dist/core/internal/human-readable/parseAbiParameters.d.ts.map +1 -0
  76. package/dist/core/internal/human-readable/parseAbiParameters.js +39 -0
  77. package/dist/core/internal/human-readable/parseAbiParameters.js.map +1 -0
  78. package/dist/core/internal/human-readable/regex.d.ts +9 -0
  79. package/dist/core/internal/human-readable/regex.d.ts.map +1 -0
  80. package/dist/core/internal/human-readable/regex.js +12 -0
  81. package/dist/core/internal/human-readable/regex.js.map +1 -0
  82. package/dist/core/internal/human-readable/runtime/cache.d.ts +22 -0
  83. package/dist/core/internal/human-readable/runtime/cache.d.ts.map +1 -0
  84. package/dist/core/internal/human-readable/runtime/cache.js +86 -0
  85. package/dist/core/internal/human-readable/runtime/cache.js.map +1 -0
  86. package/dist/core/internal/human-readable/runtime/signatures.d.ts +39 -0
  87. package/dist/core/internal/human-readable/runtime/signatures.d.ts.map +1 -0
  88. package/dist/core/internal/human-readable/runtime/signatures.js +67 -0
  89. package/dist/core/internal/human-readable/runtime/signatures.js.map +1 -0
  90. package/dist/core/internal/human-readable/runtime/structs.d.ts +3 -0
  91. package/dist/core/internal/human-readable/runtime/structs.d.ts.map +1 -0
  92. package/dist/core/internal/human-readable/runtime/structs.js +79 -0
  93. package/dist/core/internal/human-readable/runtime/structs.js.map +1 -0
  94. package/dist/core/internal/human-readable/runtime/utils.d.ts +205 -0
  95. package/dist/core/internal/human-readable/runtime/utils.d.ts.map +1 -0
  96. package/dist/core/internal/human-readable/runtime/utils.js +232 -0
  97. package/dist/core/internal/human-readable/runtime/utils.js.map +1 -0
  98. package/dist/core/internal/human-readable/types/signatures.d.ts +38 -0
  99. package/dist/core/internal/human-readable/types/signatures.d.ts.map +1 -0
  100. package/dist/core/internal/human-readable/types/signatures.js +2 -0
  101. package/dist/core/internal/human-readable/types/signatures.js.map +1 -0
  102. package/dist/core/internal/human-readable/types/structs.d.ts +48 -0
  103. package/dist/core/internal/human-readable/types/structs.d.ts.map +1 -0
  104. package/dist/core/internal/human-readable/types/structs.js +2 -0
  105. package/dist/core/internal/human-readable/types/structs.js.map +1 -0
  106. package/dist/core/internal/human-readable/types/utils.d.ts +163 -0
  107. package/dist/core/internal/human-readable/types/utils.d.ts.map +1 -0
  108. package/dist/core/internal/human-readable/types/utils.js +2 -0
  109. package/dist/core/internal/human-readable/types/utils.js.map +1 -0
  110. package/dist/core/internal/human-readable/types.d.ts +29 -0
  111. package/dist/core/internal/human-readable/types.d.ts.map +1 -0
  112. package/dist/core/internal/human-readable/types.js +2 -0
  113. package/dist/core/internal/human-readable/types.js.map +1 -0
  114. package/dist/core/internal/rpcSchemas/eth.d.ts +36 -0
  115. package/dist/core/internal/rpcSchemas/eth.d.ts.map +1 -1
  116. package/dist/erc4337/EntryPoint.d.ts +1072 -1
  117. package/dist/erc4337/EntryPoint.d.ts.map +1 -1
  118. package/dist/erc4337/EntryPoint.js +872 -0
  119. package/dist/erc4337/EntryPoint.js.map +1 -1
  120. package/dist/erc4337/RpcSchema.d.ts +2 -2
  121. package/dist/erc4337/RpcSchema.d.ts.map +1 -1
  122. package/dist/erc4337/UserOperation.d.ts +39 -10
  123. package/dist/erc4337/UserOperation.d.ts.map +1 -1
  124. package/dist/erc4337/UserOperation.js +62 -48
  125. package/dist/erc4337/UserOperation.js.map +1 -1
  126. package/dist/erc4337/UserOperationGas.d.ts +9 -5
  127. package/dist/erc4337/UserOperationGas.d.ts.map +1 -1
  128. package/dist/erc4337/UserOperationGas.js +17 -15
  129. package/dist/erc4337/UserOperationGas.js.map +1 -1
  130. package/dist/erc4337/UserOperationReceipt.d.ts +4 -4
  131. package/dist/erc4337/UserOperationReceipt.d.ts.map +1 -1
  132. package/dist/erc4337/UserOperationReceipt.js.map +1 -1
  133. package/dist/index.d.ts +37 -0
  134. package/dist/index.d.ts.map +1 -1
  135. package/dist/index.js +37 -0
  136. package/dist/index.js.map +1 -1
  137. package/dist/tempo/Channel.d.ts +8 -14
  138. package/dist/tempo/Channel.d.ts.map +1 -1
  139. package/dist/tempo/Channel.js +4 -8
  140. package/dist/tempo/Channel.js.map +1 -1
  141. package/dist/tempo/KeyAuthorization.d.ts +5 -5
  142. package/dist/tempo/KeyAuthorization.d.ts.map +1 -1
  143. package/dist/tempo/KeyAuthorization.js +4 -4
  144. package/dist/tempo/KeyAuthorization.js.map +1 -1
  145. package/dist/tempo/MultisigConfig.d.ts +37 -85
  146. package/dist/tempo/MultisigConfig.d.ts.map +1 -1
  147. package/dist/tempo/MultisigConfig.js +39 -83
  148. package/dist/tempo/MultisigConfig.js.map +1 -1
  149. package/dist/tempo/PoolId.d.ts +8 -7
  150. package/dist/tempo/PoolId.d.ts.map +1 -1
  151. package/dist/tempo/PoolId.js +10 -6
  152. package/dist/tempo/PoolId.js.map +1 -1
  153. package/dist/tempo/SignatureEnvelope.d.ts +32 -30
  154. package/dist/tempo/SignatureEnvelope.d.ts.map +1 -1
  155. package/dist/tempo/SignatureEnvelope.js +56 -51
  156. package/dist/tempo/SignatureEnvelope.js.map +1 -1
  157. package/dist/tempo/Transaction.d.ts +16 -5
  158. package/dist/tempo/Transaction.d.ts.map +1 -1
  159. package/dist/tempo/Transaction.js +34 -7
  160. package/dist/tempo/Transaction.js.map +1 -1
  161. package/dist/tempo/TransactionReceipt.d.ts +3 -3
  162. package/dist/tempo/TransactionReceipt.d.ts.map +1 -1
  163. package/dist/tempo/TransactionReceipt.js +8 -1
  164. package/dist/tempo/TransactionReceipt.js.map +1 -1
  165. package/dist/tempo/TransactionRequest.d.ts +15 -2
  166. package/dist/tempo/TransactionRequest.d.ts.map +1 -1
  167. package/dist/tempo/TransactionRequest.js +65 -29
  168. package/dist/tempo/TransactionRequest.js.map +1 -1
  169. package/dist/tempo/TxEnvelopeTempo.d.ts +2 -3
  170. package/dist/tempo/TxEnvelopeTempo.d.ts.map +1 -1
  171. package/dist/tempo/TxEnvelopeTempo.js +5 -6
  172. package/dist/tempo/TxEnvelopeTempo.js.map +1 -1
  173. package/dist/tempo/index.d.ts +6 -26
  174. package/dist/tempo/index.d.ts.map +1 -1
  175. package/dist/tempo/index.js +6 -26
  176. package/dist/tempo/index.js.map +1 -1
  177. package/dist/zod/Abi.d.ts +214 -0
  178. package/dist/zod/Abi.d.ts.map +1 -0
  179. package/dist/zod/Abi.js +5 -0
  180. package/dist/zod/Abi.js.map +1 -0
  181. package/dist/zod/AbiConstructor.d.ts +58 -0
  182. package/dist/zod/AbiConstructor.d.ts.map +1 -0
  183. package/dist/zod/AbiConstructor.js +18 -0
  184. package/dist/zod/AbiConstructor.js.map +1 -0
  185. package/dist/zod/AbiError.d.ts +20 -0
  186. package/dist/zod/AbiError.d.ts.map +1 -0
  187. package/dist/zod/AbiError.js +9 -0
  188. package/dist/zod/AbiError.js.map +1 -0
  189. package/dist/zod/AbiEvent.d.ts +23 -0
  190. package/dist/zod/AbiEvent.d.ts.map +1 -0
  191. package/dist/zod/AbiEvent.js +11 -0
  192. package/dist/zod/AbiEvent.js.map +1 -0
  193. package/dist/zod/AbiFallback.d.ts +16 -0
  194. package/dist/zod/AbiFallback.d.ts.map +1 -0
  195. package/dist/zod/AbiFallback.js +16 -0
  196. package/dist/zod/AbiFallback.js.map +1 -0
  197. package/dist/zod/AbiFunction.d.ts +109 -0
  198. package/dist/zod/AbiFunction.d.ts.map +1 -0
  199. package/dist/zod/AbiFunction.js +26 -0
  200. package/dist/zod/AbiFunction.js.map +1 -0
  201. package/dist/zod/AbiItem.d.ts +216 -0
  202. package/dist/zod/AbiItem.d.ts.map +1 -0
  203. package/dist/zod/AbiItem.js +26 -0
  204. package/dist/zod/AbiItem.js.map +1 -0
  205. package/dist/zod/AbiParameter.d.ts +32 -0
  206. package/dist/zod/AbiParameter.d.ts.map +1 -0
  207. package/dist/zod/AbiParameter.js +28 -0
  208. package/dist/zod/AbiParameter.js.map +1 -0
  209. package/dist/zod/AbiParameters.d.ts +30 -0
  210. package/dist/zod/AbiParameters.d.ts.map +1 -0
  211. package/dist/zod/AbiParameters.js +6 -0
  212. package/dist/zod/AbiParameters.js.map +1 -0
  213. package/dist/zod/AbiReceive.d.ts +6 -0
  214. package/dist/zod/AbiReceive.d.ts.map +1 -0
  215. package/dist/zod/AbiReceive.js +7 -0
  216. package/dist/zod/AbiReceive.js.map +1 -0
  217. package/dist/zod/RpcSchema.d.ts +6 -5
  218. package/dist/zod/RpcSchema.d.ts.map +1 -1
  219. package/dist/zod/Solidity.d.ts +15 -0
  220. package/dist/zod/Solidity.d.ts.map +1 -0
  221. package/dist/zod/Solidity.js +41 -0
  222. package/dist/zod/Solidity.js.map +1 -0
  223. package/dist/zod/TypedData.d.ts +226 -0
  224. package/dist/zod/TypedData.d.ts.map +1 -0
  225. package/dist/zod/TypedData.js +84 -0
  226. package/dist/zod/TypedData.js.map +1 -0
  227. package/dist/zod/internal/rpcSchemas/Eth.d.ts +1 -0
  228. package/dist/zod/internal/rpcSchemas/Eth.d.ts.map +1 -1
  229. package/dist/zod/internal/rpcSchemas/Eth.js +5 -0
  230. package/dist/zod/internal/rpcSchemas/Eth.js.map +1 -1
  231. package/dist/zod/tempo/AuthorizationTempo.d.ts +0 -20
  232. package/dist/zod/tempo/AuthorizationTempo.d.ts.map +1 -1
  233. package/dist/zod/tempo/KeyAuthorization.d.ts +503 -67
  234. package/dist/zod/tempo/KeyAuthorization.d.ts.map +1 -1
  235. package/dist/zod/tempo/KeyAuthorization.js +32 -15
  236. package/dist/zod/tempo/KeyAuthorization.js.map +1 -1
  237. package/dist/zod/tempo/RpcSchemaTempo.d.ts +216 -34
  238. package/dist/zod/tempo/RpcSchemaTempo.d.ts.map +1 -1
  239. package/dist/zod/tempo/SignatureEnvelope.d.ts +0 -6
  240. package/dist/zod/tempo/SignatureEnvelope.d.ts.map +1 -1
  241. package/dist/zod/tempo/SignatureEnvelope.js +0 -2
  242. package/dist/zod/tempo/SignatureEnvelope.js.map +1 -1
  243. package/dist/zod/tempo/Transaction.d.ts +1479 -333
  244. package/dist/zod/tempo/Transaction.d.ts.map +1 -1
  245. package/dist/zod/tempo/Transaction.js +65 -16
  246. package/dist/zod/tempo/Transaction.js.map +1 -1
  247. package/dist/zod/tempo/TransactionRequest.d.ts +410 -57
  248. package/dist/zod/tempo/TransactionRequest.d.ts.map +1 -1
  249. package/dist/zod/tempo/TransactionRequest.js +81 -18
  250. package/dist/zod/tempo/TransactionRequest.js.map +1 -1
  251. package/dist/zod/tempo/TxEnvelopeTempo.d.ts +225 -18
  252. package/dist/zod/tempo/TxEnvelopeTempo.d.ts.map +1 -1
  253. package/dist/zod/tempo/TxEnvelopeTempo.js +1 -1
  254. package/dist/zod/tempo/TxEnvelopeTempo.js.map +1 -1
  255. package/dist/zod/tempo/ZoneRpcAuthentication.d.ts +0 -3
  256. package/dist/zod/tempo/ZoneRpcAuthentication.d.ts.map +1 -1
  257. package/dist/zod/tempo/z.d.ts +0 -1
  258. package/dist/zod/tempo/z.d.ts.map +1 -1
  259. package/dist/zod/tempo/z.js +0 -1
  260. package/dist/zod/tempo/z.js.map +1 -1
  261. package/dist/zod/z.d.ts +12 -0
  262. package/dist/zod/z.d.ts.map +1 -1
  263. package/dist/zod/z.js +12 -0
  264. package/dist/zod/z.js.map +1 -1
  265. package/package.json +67 -11
  266. package/src/core/Abi.bench.ts +30 -0
  267. package/src/core/Abi.ts +13 -4
  268. package/src/core/AbiConstructor.ts +3 -2
  269. package/src/core/AbiError.ts +6 -2
  270. package/src/core/AbiEvent.ts +6 -2
  271. package/src/core/AbiFunction.ts +6 -2
  272. package/src/core/AbiItem.bench.ts +19 -0
  273. package/src/core/AbiItem.ts +20 -10
  274. package/src/core/AbiParameter.bench.ts +35 -0
  275. package/src/core/AbiParameter.ts +126 -0
  276. package/src/core/AbiParameters.bench.ts +22 -0
  277. package/src/core/AbiParameters.ts +77 -8
  278. package/src/core/Rlp.ts +66 -3
  279. package/src/core/RpcSchema.ts +2 -2
  280. package/src/core/_test/Abi.test.ts +4 -0
  281. package/src/core/_test/AbiItem.test.ts +3 -0
  282. package/src/core/_test/AbiParameter.test-d.ts +41 -0
  283. package/src/core/_test/AbiParameter.test.ts +84 -0
  284. package/src/core/_test/AbiParameters.decode.test.ts +88 -12
  285. package/src/core/_test/AbiParameters.encode.test.ts +68 -0
  286. package/src/core/_test/AbiParameters.test.ts +7 -0
  287. package/src/core/_test/Rlp.test.ts +101 -0
  288. package/src/core/_test/index.test.ts +1 -0
  289. package/src/core/internal/abiParameters.ts +21 -3
  290. package/src/core/internal/human-readable/_snap/formatAbi.test.ts.snap +74 -0
  291. package/src/core/internal/human-readable/_snap/parseAbi.test.ts.snap +2353 -0
  292. package/src/core/internal/human-readable/errors.test.ts +258 -0
  293. package/src/core/internal/human-readable/errors.ts +205 -0
  294. package/src/core/internal/human-readable/formatAbi.test-d.ts +144 -0
  295. package/src/core/internal/human-readable/formatAbi.test.ts +23 -0
  296. package/src/core/internal/human-readable/formatAbi.ts +37 -0
  297. package/src/core/internal/human-readable/formatAbiItem.test-d.ts +115 -0
  298. package/src/core/internal/human-readable/formatAbiItem.test.ts +102 -0
  299. package/src/core/internal/human-readable/formatAbiItem.ts +136 -0
  300. package/src/core/internal/human-readable/formatAbiParameter.test-d.ts +125 -0
  301. package/src/core/internal/human-readable/formatAbiParameter.test.ts +126 -0
  302. package/src/core/internal/human-readable/formatAbiParameter.ts +86 -0
  303. package/src/core/internal/human-readable/formatAbiParameters.test-d.ts +92 -0
  304. package/src/core/internal/human-readable/formatAbiParameters.test.ts +32 -0
  305. package/src/core/internal/human-readable/formatAbiParameters.ts +46 -0
  306. package/src/core/internal/human-readable/human-readable.bench-d.ts +58 -0
  307. package/src/core/internal/human-readable/integration.test.ts +68 -0
  308. package/src/core/internal/human-readable/parseAbi.test-d.ts +188 -0
  309. package/src/core/internal/human-readable/parseAbi.test.ts +82 -0
  310. package/src/core/internal/human-readable/parseAbi.ts +59 -0
  311. package/src/core/internal/human-readable/parseAbiItem.test-d.ts +183 -0
  312. package/src/core/internal/human-readable/parseAbiItem.test.ts +264 -0
  313. package/src/core/internal/human-readable/parseAbiItem.ts +91 -0
  314. package/src/core/internal/human-readable/parseAbiParameter.test-d.ts +68 -0
  315. package/src/core/internal/human-readable/parseAbiParameter.test.ts +207 -0
  316. package/src/core/internal/human-readable/parseAbiParameter.ts +95 -0
  317. package/src/core/internal/human-readable/parseAbiParameters.test-d.ts +160 -0
  318. package/src/core/internal/human-readable/parseAbiParameters.test.ts +80 -0
  319. package/src/core/internal/human-readable/parseAbiParameters.ts +123 -0
  320. package/src/core/internal/human-readable/regex.ts +15 -0
  321. package/src/core/internal/human-readable/runtime/cache.ts +96 -0
  322. package/src/core/internal/human-readable/runtime/signatures.test.ts +236 -0
  323. package/src/core/internal/human-readable/runtime/signatures.ts +106 -0
  324. package/src/core/internal/human-readable/runtime/structs.test.ts +210 -0
  325. package/src/core/internal/human-readable/runtime/structs.ts +97 -0
  326. package/src/core/internal/human-readable/runtime/utils.test.ts +717 -0
  327. package/src/core/internal/human-readable/runtime/utils.ts +344 -0
  328. package/src/core/internal/human-readable/types/signatures.test-d.ts +255 -0
  329. package/src/core/internal/human-readable/types/signatures.ts +369 -0
  330. package/src/core/internal/human-readable/types/structs.test-d.ts +221 -0
  331. package/src/core/internal/human-readable/types/structs.ts +88 -0
  332. package/src/core/internal/human-readable/types/utils.test-d.ts +1029 -0
  333. package/src/core/internal/human-readable/types/utils.ts +392 -0
  334. package/src/core/internal/human-readable/types.ts +69 -0
  335. package/src/core/internal/rpcSchemas/eth.ts +36 -0
  336. package/src/erc4337/EntryPoint.ts +875 -1
  337. package/src/erc4337/RpcSchema.ts +4 -2
  338. package/src/erc4337/UserOperation.ts +130 -60
  339. package/src/erc4337/UserOperationGas.ts +36 -28
  340. package/src/erc4337/UserOperationReceipt.ts +15 -7
  341. package/src/erc4337/_test/EntryPoint.test.ts +48 -0
  342. package/src/erc4337/_test/RpcSchema.test-d.ts +56 -0
  343. package/src/erc4337/_test/UserOperation.snap-d.ts +31 -0
  344. package/src/erc4337/_test/UserOperation.test.ts +221 -5
  345. package/src/erc4337/_test/UserOperationGas.test.ts +30 -1
  346. package/src/index.ts +38 -0
  347. package/src/tempo/Channel.test.ts +2 -23
  348. package/src/tempo/Channel.ts +10 -22
  349. package/src/tempo/KeyAuthorization.test.ts +22 -0
  350. package/src/tempo/KeyAuthorization.ts +9 -9
  351. package/src/tempo/MultisigConfig.test.ts +54 -37
  352. package/src/tempo/MultisigConfig.ts +59 -134
  353. package/src/tempo/PoolId.test.ts +7 -41
  354. package/src/tempo/PoolId.ts +15 -10
  355. package/src/tempo/SignatureEnvelope.test.ts +118 -17
  356. package/src/tempo/SignatureEnvelope.ts +77 -72
  357. package/src/tempo/Transaction.test.ts +0 -15
  358. package/src/tempo/Transaction.ts +63 -12
  359. package/src/tempo/TransactionReceipt.test.ts +76 -0
  360. package/src/tempo/TransactionReceipt.ts +11 -5
  361. package/src/tempo/TransactionRequest.test.ts +174 -1
  362. package/src/tempo/TransactionRequest.ts +84 -32
  363. package/src/tempo/TxEnvelopeTempo.test.ts +2 -2
  364. package/src/tempo/TxEnvelopeTempo.ts +7 -7
  365. package/src/tempo/e2e.test.ts +228 -50
  366. package/src/tempo/index.ts +6 -26
  367. package/src/version.ts +1 -1
  368. package/src/zod/Abi.ts +5 -0
  369. package/src/zod/AbiConstructor.ts +24 -0
  370. package/src/zod/AbiError.ts +9 -0
  371. package/src/zod/AbiEvent.ts +11 -0
  372. package/src/zod/AbiFallback.ts +22 -0
  373. package/src/zod/AbiFunction.ts +32 -0
  374. package/src/zod/AbiItem.ts +28 -0
  375. package/src/zod/AbiParameter.ts +36 -0
  376. package/src/zod/AbiParameters.ts +7 -0
  377. package/src/zod/AbiReceive.ts +7 -0
  378. package/src/zod/RpcSchema.ts +5 -5
  379. package/src/zod/Solidity.ts +83 -0
  380. package/src/zod/TypedData.ts +111 -0
  381. package/src/zod/_test/Abi.test-d.ts +46 -0
  382. package/src/zod/_test/Abi.test.ts +163 -0
  383. package/src/zod/_test/TypedData.test-d.ts +20 -0
  384. package/src/zod/_test/TypedData.test.ts +87 -0
  385. package/src/zod/_test/z.test-d.ts +6 -0
  386. package/src/zod/_test/z.test.ts +17 -0
  387. package/src/zod/internal/rpcSchemas/Eth.ts +6 -0
  388. package/src/zod/tempo/KeyAuthorization.ts +34 -15
  389. package/src/zod/tempo/SignatureEnvelope.ts +0 -2
  390. package/src/zod/tempo/Transaction.ts +84 -22
  391. package/src/zod/tempo/TransactionRequest.ts +86 -20
  392. package/src/zod/tempo/TxEnvelopeTempo.ts +1 -1
  393. package/src/zod/tempo/_test/KeyAuthorization.test.ts +53 -0
  394. package/src/zod/tempo/_test/SignatureEnvelope.test.ts +0 -2
  395. package/src/zod/tempo/_test/Transaction.test.ts +155 -0
  396. package/src/zod/tempo/_test/TransactionRequest.test.ts +44 -0
  397. package/src/zod/tempo/z.ts +0 -1
  398. package/src/zod/z.ts +12 -0
  399. package/dist/tempo/TokenId.d.ts +0 -87
  400. package/dist/tempo/TokenId.d.ts.map +0 -1
  401. package/dist/tempo/TokenId.js +0 -123
  402. package/dist/tempo/TokenId.js.map +0 -1
  403. package/dist/zod/tempo/TokenId.d.ts +0 -6
  404. package/dist/zod/tempo/TokenId.d.ts.map +0 -1
  405. package/dist/zod/tempo/TokenId.js +0 -14
  406. package/dist/zod/tempo/TokenId.js.map +0 -1
  407. package/src/CHANGELOG.md +0 -820
  408. package/src/tempo/TokenId.bench.ts +0 -36
  409. package/src/tempo/TokenId.test.ts +0 -79
  410. package/src/tempo/TokenId.ts +0 -141
  411. package/src/zod/tempo/TokenId.ts +0 -15
  412. package/src/zod/tempo/_test/TokenId.test-d.ts +0 -17
  413. package/src/zod/tempo/_test/TokenId.test.ts +0 -21
@@ -1 +1 @@
1
- {"version":3,"file":"KeyAuthorization.d.ts","sourceRoot":"","sources":["../../../src/zod/tempo/KeyAuthorization.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAG7B,uCAAuC;AACvC,eAAO,MAAM,aAAa;;;;iBAIxB,CAAA;AAEF,gCAAgC;AAChC,eAAO,MAAM,eAAe;;;iBAG1B,CAAA;AAEF,6BAA6B;AAC7B,eAAO,MAAM,YAAY;;;;;;iBAGvB,CAAA;AAEF,oCAAoC;AACpC,eAAO,MAAM,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQd,CAAA;AAEF,mCAAmC;AACnC,eAAO,MAAM,UAAU;;;;iBAIrB,CAAA;AAEF,kFAAkF;AAClF,eAAO,MAAM,eAAe;;;;iBAI1B,CAAA;AAEF,yBAAyB;AACzB,eAAO,MAAM,KAAK;;;;iBAIhB,CAAA;AAEF,wCAAwC;AACxC,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQjB,CAAA;AAEF,uFAAuF;AACvF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQtB,CAAA;AAEF,+EAA+E;AAC/E,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAG3B,CAAA;AAEF,8EAA8E;AAC9E,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;AACtF,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBAAwB,CAAA"}
@@ -8,28 +8,31 @@ import * as z_SignatureEnvelope from './SignatureEnvelope.js';
8
8
  /** RPC token spending limit schema. */
9
9
  export const RpcTokenLimit = z.object({
10
10
  limit: z_Hex.Hex,
11
- period: z.optional(z_Hex.Hex),
11
+ period: z.optional(z.nullable(z_Hex.Hex)),
12
12
  token: z_Address.Address,
13
13
  });
14
14
  /** RPC selector rule schema. */
15
15
  export const RpcSelectorRule = z.object({
16
- recipients: z.optional(z.readonly(z.array(z_Address.Address))),
16
+ recipients: z.optional(z.nullable(z.readonly(z.array(z_Address.Address)))),
17
17
  selector: z_Hex.Hex,
18
18
  });
19
19
  /** RPC call scope schema. */
20
20
  export const RpcCallScope = z.object({
21
- selectorRules: z.optional(z.readonly(z.array(RpcSelectorRule))),
21
+ selectorRules: z.optional(z.nullable(z.readonly(z.array(RpcSelectorRule)))),
22
22
  target: z_Address.Address,
23
23
  });
24
24
  /** RPC key authorization schema. */
25
25
  export const Rpc = z.object({
26
- allowedCalls: z.optional(z.readonly(z.array(RpcCallScope))),
26
+ account: z.optional(z.nullable(z_Address.Address)),
27
+ allowedCalls: z.optional(z.nullable(z.readonly(z.array(RpcCallScope)))),
27
28
  chainId: z_Hex.Hex,
28
29
  expiry: z.optional(z.nullable(z_Hex.Hex)),
30
+ isAdmin: z.optional(z.nullable(z.boolean())),
29
31
  keyId: z_Address.Address,
30
32
  keyType: z_SignatureEnvelope.Type,
31
- limits: z.optional(z.readonly(z.array(RpcTokenLimit))),
33
+ limits: z.optional(z.nullable(z.readonly(z.array(RpcTokenLimit)))),
32
34
  signature: z_SignatureEnvelope.Rpc,
35
+ witness: z.optional(z.nullable(z_Hex.Hex)),
33
36
  });
34
37
  /** Token spending limit schema. */
35
38
  export const TokenLimit = z.object({
@@ -49,8 +52,7 @@ export const Scope = z.object({
49
52
  recipients: z.optional(z.readonly(z.array(z_Address.Address))),
50
53
  selector: z.optional(z.union([z_Hex.Hex, z.string()])),
51
54
  });
52
- /** Decoded key authorization schema. */
53
- export const Domain = z.object({
55
+ const domainShape = {
54
56
  address: z_Address.Address,
55
57
  chainId: z.bigint(),
56
58
  expiry: z.optional(z.number()),
@@ -58,17 +60,32 @@ export const Domain = z.object({
58
60
  scopes: z.optional(z.readonly(z.array(Scope))),
59
61
  signature: z_SignatureEnvelope.Domain,
60
62
  type: z_SignatureEnvelope.Type,
61
- });
62
- /** Encode-only decoded key authorization schema accepting numberish `toRpc` inputs. */
63
- export const DomainToRpc = z.object({
64
- address: z_Address.Address,
63
+ witness: z.optional(z_Hex.Hex),
64
+ };
65
+ /** Decoded key authorization schema (TIP-1049 admin fields are paired: both or neither). */
66
+ export const Domain = z.union([
67
+ z.object({
68
+ ...domainShape,
69
+ account: z_Address.Address,
70
+ isAdmin: z.boolean(),
71
+ }),
72
+ z.object(domainShape),
73
+ ]);
74
+ const domainToRpcShape = {
75
+ ...domainShape,
65
76
  chainId: uintBigintNumberish(),
66
77
  expiry: z.optional(uintNumberNumberish()),
67
78
  limits: z.optional(z.readonly(z.array(TokenLimitToRpc))),
68
- scopes: z.optional(z.readonly(z.array(Scope))),
69
- signature: z_SignatureEnvelope.Domain,
70
- type: z_SignatureEnvelope.Type,
71
- });
79
+ };
80
+ /** Encode-only decoded key authorization schema accepting numberish `toRpc` inputs. */
81
+ export const DomainToRpc = z.union([
82
+ z.object({
83
+ ...domainToRpcShape,
84
+ account: z_Address.Address,
85
+ isAdmin: z.boolean(),
86
+ }),
87
+ z.object(domainToRpcShape),
88
+ ]);
72
89
  /** Codec decoding an RPC key authorization into a signed key authorization. */
73
90
  export const KeyAuthorization = z.codec(Rpc, Domain, {
74
91
  decode: (value) => core_KeyAuthorization.fromRpc(value),
@@ -1 +1 @@
1
- {"version":3,"file":"KeyAuthorization.js","sourceRoot":"","sources":["../../../src/zod/tempo/KeyAuthorization.ts"],"names":[],"mappings":"AAAA,mGAAmG;AACnG,OAAO,KAAK,qBAAqB,MAAM,iCAAiC,CAAA;AACxE,OAAO,KAAK,SAAS,MAAM,eAAe,CAAA;AAC1C,OAAO,KAAK,KAAK,MAAM,WAAW,CAAA;AAClC,OAAO,EACL,mBAAmB,EACnB,mBAAmB,GACpB,MAAM,wBAAwB,CAAA;AAC/B,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAC7B,OAAO,KAAK,mBAAmB,MAAM,wBAAwB,CAAA;AAE7D,uCAAuC;AACvC,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,KAAK,EAAE,KAAK,CAAC,GAAG;IAChB,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,KAAK,CAAC,GAAG,CAAC;IAC7B,KAAK,EAAE,SAAS,CAAC,OAAO;CACzB,CAAC,CAAA;AAEF,gCAAgC;AAChC,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,UAAU,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAC;IAC9D,QAAQ,EAAE,KAAK,CAAC,GAAG;CACpB,CAAC,CAAA;AAEF,6BAA6B;AAC7B,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,aAAa,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,eAAe,CAAC,CAAC,CAAC;IAC/D,MAAM,EAAE,SAAS,CAAC,OAAO;CAC1B,CAAC,CAAA;AAE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AAe,CAAC,CAAC,CAAC;CACzD,CAAA;AAED,uFAAuF;AACvF,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC;IACjC,CAAC,CAAC,MAAM,CAAC;QACP,GAAG,gBAAgB;QACnB,OAAO,EAAE,SAAS,CAAC,OAAO;QAC1B,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;KACrB,CAAC;IACF,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC;CAC3B,CAAC,CAAA;AAEF,+EAA+E;AAC/E,MAAM,CAAC,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,MAAM,EAAE;IACnD,MAAM,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,qBAAqB,CAAC,OAAO,CAAC,KAAc,CAAU;IACzE,MAAM,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,qBAAqB,CAAC,KAAK,CAAC,KAAc,CAAU;CACxE,CAAC,CAAA;AAEF,8EAA8E;AAC9E,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,GAAG,EAAE,WAAW,EAAE;IAC7D,MAAM,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,qBAAqB,CAAC,OAAO,CAAC,KAAc,CAAU;IACzE,MAAM,EAAE,CAAC,KAAK,EAAE,EAAE,CAAC,qBAAqB,CAAC,KAAK,CAAC,KAAc,CAAU;CACxE,CAAC,CAAA;AAEF,uCAAuC;AACvC,MAAM,CAAC,MAAM,MAAM,GAAG,gBAAgB,CAAA;AAEtC,sFAAsF;AACtF,MAAM,CAAC,MAAM,WAAW,GAAG,qBAAqB,CAAA"}
@@ -54,7 +54,6 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
54
54
  version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
55
55
  }, z.core.$strip>, z.ZodMiniObject<{
56
56
  account: z.ZodMiniTemplateLiteral<`0x${string}`>;
57
- configId: z.ZodMiniTemplateLiteral<`0x${string}`>;
58
57
  init: z.ZodMiniOptional<z.ZodMiniObject<{
59
58
  salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
60
59
  threshold: z.ZodMiniNumber<number>;
@@ -74,6 +73,7 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
74
73
  to: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
75
74
  value: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
76
75
  }, z.core.$strip>>>>;
76
+ capabilities: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
77
77
  chainId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
78
78
  data: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
79
79
  feePayer: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
@@ -89,22 +89,24 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
89
89
  gasPrice: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
90
90
  input: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
91
91
  keyAuthorization: z.ZodMiniOptional<z.ZodMiniObject<{
92
- allowedCalls: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
93
- selectorRules: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
94
- recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
92
+ account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
93
+ allowedCalls: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
94
+ selectorRules: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
95
+ recipients: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>>;
95
96
  selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
96
- }, z.core.$strip>>>>;
97
+ }, z.core.$strip>>>>>;
97
98
  target: z.ZodMiniTemplateLiteral<`0x${string}`>;
98
- }, z.core.$strip>>>>;
99
+ }, z.core.$strip>>>>>;
99
100
  chainId: z.ZodMiniTemplateLiteral<`0x${string}`>;
100
101
  expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
102
+ isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
101
103
  keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
102
104
  keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
103
- limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
105
+ limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
104
106
  limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
105
- period: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
107
+ period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
106
108
  token: z.ZodMiniTemplateLiteral<`0x${string}`>;
107
- }, z.core.$strip>>>>;
109
+ }, z.core.$strip>>>>>;
108
110
  signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
109
111
  r: z.ZodMiniTemplateLiteral<`0x${string}`>;
110
112
  s: z.ZodMiniTemplateLiteral<`0x${string}`>;
@@ -133,7 +135,6 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
133
135
  version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
134
136
  }, z.core.$strip>, z.ZodMiniObject<{
135
137
  account: z.ZodMiniTemplateLiteral<`0x${string}`>;
136
- configId: z.ZodMiniTemplateLiteral<`0x${string}`>;
137
138
  init: z.ZodMiniOptional<z.ZodMiniObject<{
138
139
  salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
139
140
  threshold: z.ZodMiniNumber<number>;
@@ -145,12 +146,23 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
145
146
  signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
146
147
  type: z.ZodMiniLiteral<"multisig">;
147
148
  }, z.core.$strip>]>;
149
+ witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
148
150
  }, z.core.$strip>>;
149
151
  keyData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
152
+ keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
150
153
  keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
151
154
  maxFeePerBlobGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
152
155
  maxFeePerGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
153
156
  maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
157
+ multisigInit: z.ZodMiniOptional<z.ZodMiniObject<{
158
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
159
+ threshold: z.ZodMiniNumber<number>;
160
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
161
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
162
+ weight: z.ZodMiniNumber<number>;
163
+ }, z.core.$strip>>>;
164
+ }, z.core.$strip>>;
165
+ multisigSignatureCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
154
166
  nonce: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
155
167
  nonceKey: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
156
168
  r: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
@@ -183,7 +195,6 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
183
195
  version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
184
196
  }, z.core.$strip>, z.ZodMiniObject<{
185
197
  account: z.ZodMiniTemplateLiteral<`0x${string}`>;
186
- configId: z.ZodMiniTemplateLiteral<`0x${string}`>;
187
198
  init: z.ZodMiniOptional<z.ZodMiniObject<{
188
199
  salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
189
200
  threshold: z.ZodMiniNumber<number>;
@@ -253,7 +264,6 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
253
264
  version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
254
265
  }, z.core.$strip>, z.ZodMiniObject<{
255
266
  account: z.ZodMiniTemplateLiteral<`0x${string}`>;
256
- genesisConfigId: z.ZodMiniTemplateLiteral<`0x${string}`>;
257
267
  init: z.ZodMiniOptional<z.ZodMiniObject<{
258
268
  salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
259
269
  threshold: z.ZodMiniNumber<number>;
@@ -273,6 +283,7 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
273
283
  to: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
274
284
  value: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
275
285
  }, z.core.$strip>>>>;
286
+ capabilities: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
276
287
  chainId: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
277
288
  data: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
278
289
  feePayer: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
@@ -282,12 +293,14 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
282
293
  v: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
283
294
  yParity: z.ZodMiniNumber<number>;
284
295
  }, z.core.$strip>, z.ZodMiniNull]>>;
285
- feeToken: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>]>>;
296
+ feeToken: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
286
297
  from: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
287
298
  gas: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
288
299
  gasPrice: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
289
300
  input: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
290
- keyAuthorization: z.ZodMiniOptional<z.ZodMiniObject<{
301
+ keyAuthorization: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
302
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
303
+ isAdmin: z.ZodMiniBoolean<boolean>;
291
304
  address: z.ZodMiniTemplateLiteral<`0x${string}`>;
292
305
  chainId: z.ZodMiniBigInt<bigint>;
293
306
  expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
@@ -343,7 +356,6 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
343
356
  version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
344
357
  }, z.core.$strip>, z.ZodMiniObject<{
345
358
  account: z.ZodMiniTemplateLiteral<`0x${string}`>;
346
- genesisConfigId: z.ZodMiniTemplateLiteral<`0x${string}`>;
347
359
  init: z.ZodMiniOptional<z.ZodMiniObject<{
348
360
  salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
349
361
  threshold: z.ZodMiniNumber<number>;
@@ -356,12 +368,92 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
356
368
  type: z.ZodMiniLiteral<"multisig">;
357
369
  }, z.core.$strip>]>;
358
370
  type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
359
- }, z.core.$strip>>;
371
+ witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
372
+ }, z.core.$strip>, z.ZodMiniObject<{
373
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
374
+ chainId: z.ZodMiniBigInt<bigint>;
375
+ expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
376
+ limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
377
+ limit: z.ZodMiniBigInt<bigint>;
378
+ period: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
379
+ token: z.ZodMiniTemplateLiteral<`0x${string}`>;
380
+ }, z.core.$strip>>>>;
381
+ scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
382
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
383
+ recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
384
+ selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
385
+ }, z.core.$strip>>>>;
386
+ signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
387
+ signature: z.ZodMiniObject<{
388
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
389
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
390
+ yParity: z.ZodMiniNumber<number>;
391
+ }, z.core.$strip>;
392
+ type: z.ZodMiniLiteral<"secp256k1">;
393
+ }, z.core.$strip>, z.ZodMiniObject<{
394
+ prehash: z.ZodMiniBoolean<boolean>;
395
+ publicKey: z.ZodMiniObject<{
396
+ prefix: z.ZodMiniNumber<number>;
397
+ x: z.ZodMiniTemplateLiteral<`0x${string}`>;
398
+ y: z.ZodMiniTemplateLiteral<`0x${string}`>;
399
+ }, z.core.$strip>;
400
+ signature: z.ZodMiniObject<{
401
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
402
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
403
+ }, z.core.$strip>;
404
+ type: z.ZodMiniLiteral<"p256">;
405
+ }, z.core.$strip>, z.ZodMiniObject<{
406
+ metadata: z.ZodMiniObject<{
407
+ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
408
+ clientDataJSON: z.ZodMiniString<string>;
409
+ }, z.core.$strip>;
410
+ publicKey: z.ZodMiniObject<{
411
+ prefix: z.ZodMiniNumber<number>;
412
+ x: z.ZodMiniTemplateLiteral<`0x${string}`>;
413
+ y: z.ZodMiniTemplateLiteral<`0x${string}`>;
414
+ }, z.core.$strip>;
415
+ signature: z.ZodMiniObject<{
416
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
417
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
418
+ }, z.core.$strip>;
419
+ type: z.ZodMiniLiteral<"webAuthn">;
420
+ }, z.core.$strip>, z.ZodMiniObject<{
421
+ inner: z.ZodMiniLazy<z.ZodMiniType<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown, z.core.$ZodTypeInternals<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown>>>;
422
+ keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
423
+ type: z.ZodMiniLiteral<"keychain">;
424
+ userAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
425
+ version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
426
+ }, z.core.$strip>, z.ZodMiniObject<{
427
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
428
+ init: z.ZodMiniOptional<z.ZodMiniObject<{
429
+ salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
430
+ threshold: z.ZodMiniNumber<number>;
431
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
432
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
433
+ weight: z.ZodMiniNumber<number>;
434
+ }, z.core.$strip>>>;
435
+ }, z.core.$strip>>;
436
+ signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
437
+ type: z.ZodMiniLiteral<"multisig">;
438
+ }, z.core.$strip>]>;
439
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
440
+ witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
441
+ }, z.core.$strip>]>>;
360
442
  keyData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
443
+ keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
361
444
  keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
362
445
  maxFeePerBlobGas: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
363
446
  maxFeePerGas: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
364
447
  maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
448
+ multisigInit: z.ZodMiniOptional<z.ZodMiniObject<{
449
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
450
+ threshold: z.ZodMiniNumber<number>;
451
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
452
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
453
+ weight: z.ZodMiniNumber<number>;
454
+ }, z.core.$strip>>>;
455
+ }, z.core.$strip>>;
456
+ multisigSignatureCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
365
457
  nonce: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
366
458
  nonceKey: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBigInt<bigint>, z.ZodMiniLiteral<"random">]>>;
367
459
  r: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
@@ -408,7 +500,6 @@ export declare const tempo_simulateV1: import("../internal/rpcSchemas/from.js").
408
500
  version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
409
501
  }, z.core.$strip>, z.ZodMiniObject<{
410
502
  account: z.ZodMiniTemplateLiteral<`0x${string}`>;
411
- genesisConfigId: z.ZodMiniTemplateLiteral<`0x${string}`>;
412
503
  init: z.ZodMiniOptional<z.ZodMiniObject<{
413
504
  salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
414
505
  threshold: z.ZodMiniNumber<number>;
@@ -972,7 +1063,6 @@ export declare const Tempo: {
972
1063
  version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
973
1064
  }, z.core.$strip>, z.ZodMiniObject<{
974
1065
  account: z.ZodMiniTemplateLiteral<`0x${string}`>;
975
- configId: z.ZodMiniTemplateLiteral<`0x${string}`>;
976
1066
  init: z.ZodMiniOptional<z.ZodMiniObject<{
977
1067
  salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
978
1068
  threshold: z.ZodMiniNumber<number>;
@@ -992,6 +1082,7 @@ export declare const Tempo: {
992
1082
  to: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
993
1083
  value: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
994
1084
  }, z.core.$strip>>>>;
1085
+ capabilities: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
995
1086
  chainId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
996
1087
  data: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
997
1088
  feePayer: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
@@ -1007,22 +1098,24 @@ export declare const Tempo: {
1007
1098
  gasPrice: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1008
1099
  input: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1009
1100
  keyAuthorization: z.ZodMiniOptional<z.ZodMiniObject<{
1010
- allowedCalls: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
1011
- selectorRules: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
1012
- recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
1101
+ account: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
1102
+ allowedCalls: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
1103
+ selectorRules: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
1104
+ recipients: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>>;
1013
1105
  selector: z.ZodMiniTemplateLiteral<`0x${string}`>;
1014
- }, z.core.$strip>>>>;
1106
+ }, z.core.$strip>>>>>;
1015
1107
  target: z.ZodMiniTemplateLiteral<`0x${string}`>;
1016
- }, z.core.$strip>>>>;
1108
+ }, z.core.$strip>>>>>;
1017
1109
  chainId: z.ZodMiniTemplateLiteral<`0x${string}`>;
1018
1110
  expiry: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
1111
+ isAdmin: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniBoolean<boolean>>>;
1019
1112
  keyId: z.ZodMiniTemplateLiteral<`0x${string}`>;
1020
1113
  keyType: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
1021
- limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
1114
+ limits: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
1022
1115
  limit: z.ZodMiniTemplateLiteral<`0x${string}`>;
1023
- period: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1116
+ period: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
1024
1117
  token: z.ZodMiniTemplateLiteral<`0x${string}`>;
1025
- }, z.core.$strip>>>>;
1118
+ }, z.core.$strip>>>>>;
1026
1119
  signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
1027
1120
  r: z.ZodMiniTemplateLiteral<`0x${string}`>;
1028
1121
  s: z.ZodMiniTemplateLiteral<`0x${string}`>;
@@ -1051,7 +1144,6 @@ export declare const Tempo: {
1051
1144
  version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
1052
1145
  }, z.core.$strip>, z.ZodMiniObject<{
1053
1146
  account: z.ZodMiniTemplateLiteral<`0x${string}`>;
1054
- configId: z.ZodMiniTemplateLiteral<`0x${string}`>;
1055
1147
  init: z.ZodMiniOptional<z.ZodMiniObject<{
1056
1148
  salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1057
1149
  threshold: z.ZodMiniNumber<number>;
@@ -1063,12 +1155,23 @@ export declare const Tempo: {
1063
1155
  signatures: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
1064
1156
  type: z.ZodMiniLiteral<"multisig">;
1065
1157
  }, z.core.$strip>]>;
1158
+ witness: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniTemplateLiteral<`0x${string}`>>>;
1066
1159
  }, z.core.$strip>>;
1067
1160
  keyData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1161
+ keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1068
1162
  keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
1069
1163
  maxFeePerBlobGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1070
1164
  maxFeePerGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1071
1165
  maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1166
+ multisigInit: z.ZodMiniOptional<z.ZodMiniObject<{
1167
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
1168
+ threshold: z.ZodMiniNumber<number>;
1169
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
1170
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
1171
+ weight: z.ZodMiniNumber<number>;
1172
+ }, z.core.$strip>>>;
1173
+ }, z.core.$strip>>;
1174
+ multisigSignatureCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1072
1175
  nonce: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1073
1176
  nonceKey: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1074
1177
  r: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
@@ -1101,7 +1204,6 @@ export declare const Tempo: {
1101
1204
  version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
1102
1205
  }, z.core.$strip>, z.ZodMiniObject<{
1103
1206
  account: z.ZodMiniTemplateLiteral<`0x${string}`>;
1104
- configId: z.ZodMiniTemplateLiteral<`0x${string}`>;
1105
1207
  init: z.ZodMiniOptional<z.ZodMiniObject<{
1106
1208
  salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1107
1209
  threshold: z.ZodMiniNumber<number>;
@@ -1171,7 +1273,6 @@ export declare const Tempo: {
1171
1273
  version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
1172
1274
  }, z.core.$strip>, z.ZodMiniObject<{
1173
1275
  account: z.ZodMiniTemplateLiteral<`0x${string}`>;
1174
- genesisConfigId: z.ZodMiniTemplateLiteral<`0x${string}`>;
1175
1276
  init: z.ZodMiniOptional<z.ZodMiniObject<{
1176
1277
  salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1177
1278
  threshold: z.ZodMiniNumber<number>;
@@ -1191,6 +1292,7 @@ export declare const Tempo: {
1191
1292
  to: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1192
1293
  value: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
1193
1294
  }, z.core.$strip>>>>;
1295
+ capabilities: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniUnknown>>;
1194
1296
  chainId: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1195
1297
  data: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1196
1298
  feePayer: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
@@ -1200,12 +1302,14 @@ export declare const Tempo: {
1200
1302
  v: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1201
1303
  yParity: z.ZodMiniNumber<number>;
1202
1304
  }, z.core.$strip>, z.ZodMiniNull]>>;
1203
- feeToken: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniBigInt<bigint>]>>;
1305
+ feeToken: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1204
1306
  from: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1205
1307
  gas: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
1206
1308
  gasPrice: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
1207
1309
  input: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1208
- keyAuthorization: z.ZodMiniOptional<z.ZodMiniObject<{
1310
+ keyAuthorization: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniObject<{
1311
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
1312
+ isAdmin: z.ZodMiniBoolean<boolean>;
1209
1313
  address: z.ZodMiniTemplateLiteral<`0x${string}`>;
1210
1314
  chainId: z.ZodMiniBigInt<bigint>;
1211
1315
  expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
@@ -1261,7 +1365,6 @@ export declare const Tempo: {
1261
1365
  version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
1262
1366
  }, z.core.$strip>, z.ZodMiniObject<{
1263
1367
  account: z.ZodMiniTemplateLiteral<`0x${string}`>;
1264
- genesisConfigId: z.ZodMiniTemplateLiteral<`0x${string}`>;
1265
1368
  init: z.ZodMiniOptional<z.ZodMiniObject<{
1266
1369
  salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1267
1370
  threshold: z.ZodMiniNumber<number>;
@@ -1274,12 +1377,92 @@ export declare const Tempo: {
1274
1377
  type: z.ZodMiniLiteral<"multisig">;
1275
1378
  }, z.core.$strip>]>;
1276
1379
  type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
1277
- }, z.core.$strip>>;
1380
+ witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1381
+ }, z.core.$strip>, z.ZodMiniObject<{
1382
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
1383
+ chainId: z.ZodMiniBigInt<bigint>;
1384
+ expiry: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1385
+ limits: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
1386
+ limit: z.ZodMiniBigInt<bigint>;
1387
+ period: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1388
+ token: z.ZodMiniTemplateLiteral<`0x${string}`>;
1389
+ }, z.core.$strip>>>>;
1390
+ scopes: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
1391
+ address: z.ZodMiniTemplateLiteral<`0x${string}`>;
1392
+ recipients: z.ZodMiniOptional<z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniTemplateLiteral<`0x${string}`>>>>;
1393
+ selector: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniString<string>]>>;
1394
+ }, z.core.$strip>>>>;
1395
+ signature: z.ZodMiniUnion<readonly [z.ZodMiniObject<{
1396
+ signature: z.ZodMiniObject<{
1397
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
1398
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
1399
+ yParity: z.ZodMiniNumber<number>;
1400
+ }, z.core.$strip>;
1401
+ type: z.ZodMiniLiteral<"secp256k1">;
1402
+ }, z.core.$strip>, z.ZodMiniObject<{
1403
+ prehash: z.ZodMiniBoolean<boolean>;
1404
+ publicKey: z.ZodMiniObject<{
1405
+ prefix: z.ZodMiniNumber<number>;
1406
+ x: z.ZodMiniTemplateLiteral<`0x${string}`>;
1407
+ y: z.ZodMiniTemplateLiteral<`0x${string}`>;
1408
+ }, z.core.$strip>;
1409
+ signature: z.ZodMiniObject<{
1410
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
1411
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
1412
+ }, z.core.$strip>;
1413
+ type: z.ZodMiniLiteral<"p256">;
1414
+ }, z.core.$strip>, z.ZodMiniObject<{
1415
+ metadata: z.ZodMiniObject<{
1416
+ authenticatorData: z.ZodMiniTemplateLiteral<`0x${string}`>;
1417
+ clientDataJSON: z.ZodMiniString<string>;
1418
+ }, z.core.$strip>;
1419
+ publicKey: z.ZodMiniObject<{
1420
+ prefix: z.ZodMiniNumber<number>;
1421
+ x: z.ZodMiniTemplateLiteral<`0x${string}`>;
1422
+ y: z.ZodMiniTemplateLiteral<`0x${string}`>;
1423
+ }, z.core.$strip>;
1424
+ signature: z.ZodMiniObject<{
1425
+ r: z.ZodMiniTemplateLiteral<`0x${string}`>;
1426
+ s: z.ZodMiniTemplateLiteral<`0x${string}`>;
1427
+ }, z.core.$strip>;
1428
+ type: z.ZodMiniLiteral<"webAuthn">;
1429
+ }, z.core.$strip>, z.ZodMiniObject<{
1430
+ inner: z.ZodMiniLazy<z.ZodMiniType<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown, z.core.$ZodTypeInternals<import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>, unknown>>>;
1431
+ keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1432
+ type: z.ZodMiniLiteral<"keychain">;
1433
+ userAddress: z.ZodMiniTemplateLiteral<`0x${string}`>;
1434
+ version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
1435
+ }, z.core.$strip>, z.ZodMiniObject<{
1436
+ account: z.ZodMiniTemplateLiteral<`0x${string}`>;
1437
+ init: z.ZodMiniOptional<z.ZodMiniObject<{
1438
+ salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1439
+ threshold: z.ZodMiniNumber<number>;
1440
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
1441
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
1442
+ weight: z.ZodMiniNumber<number>;
1443
+ }, z.core.$strip>>>;
1444
+ }, z.core.$strip>>;
1445
+ signatures: z.ZodMiniLazy<z.ZodMiniType<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown, z.core.$ZodTypeInternals<readonly import("../../tempo/SignatureEnvelope.js").SignatureEnvelope<number>[], unknown>>>;
1446
+ type: z.ZodMiniLiteral<"multisig">;
1447
+ }, z.core.$strip>]>;
1448
+ type: z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>;
1449
+ witness: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1450
+ }, z.core.$strip>]>>;
1278
1451
  keyData: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1452
+ keyId: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1279
1453
  keyType: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"secp256k1">, z.ZodMiniLiteral<"p256">, z.ZodMiniLiteral<"webAuthn">]>>;
1280
1454
  maxFeePerBlobGas: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
1281
1455
  maxFeePerGas: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
1282
1456
  maxPriorityFeePerGas: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
1457
+ multisigInit: z.ZodMiniOptional<z.ZodMiniObject<{
1458
+ salt: z.ZodMiniTemplateLiteral<`0x${string}`>;
1459
+ threshold: z.ZodMiniNumber<number>;
1460
+ owners: z.ZodMiniReadonly<z.ZodMiniArray<z.ZodMiniObject<{
1461
+ owner: z.ZodMiniTemplateLiteral<`0x${string}`>;
1462
+ weight: z.ZodMiniNumber<number>;
1463
+ }, z.core.$strip>>>;
1464
+ }, z.core.$strip>>;
1465
+ multisigSignatureCount: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
1283
1466
  nonce: z.ZodMiniOptional<z.ZodMiniBigInt<bigint>>;
1284
1467
  nonceKey: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniBigInt<bigint>, z.ZodMiniLiteral<"random">]>>;
1285
1468
  r: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
@@ -1326,7 +1509,6 @@ export declare const Tempo: {
1326
1509
  version: z.ZodMiniOptional<z.ZodMiniUnion<readonly [z.ZodMiniLiteral<"v1">, z.ZodMiniLiteral<"v2">]>>;
1327
1510
  }, z.core.$strip>, z.ZodMiniObject<{
1328
1511
  account: z.ZodMiniTemplateLiteral<`0x${string}`>;
1329
- genesisConfigId: z.ZodMiniTemplateLiteral<`0x${string}`>;
1330
1512
  init: z.ZodMiniOptional<z.ZodMiniObject<{
1331
1513
  salt: z.ZodMiniOptional<z.ZodMiniTemplateLiteral<`0x${string}`>>;
1332
1514
  threshold: z.ZodMiniNumber<number>;
@@ -1 +1 @@
1
- {"version":3,"file":"RpcSchemaTempo.d.ts","sourceRoot":"","sources":["../../../src/zod/tempo/RpcSchemaTempo.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAgB7B,yDAAyD;AACzD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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