@waiaas/daemon 2.11.0-rc.8 → 2.11.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 (414) hide show
  1. package/README.md +5 -5
  2. package/dist/api/middleware/address-validation.d.ts +6 -33
  3. package/dist/api/middleware/address-validation.d.ts.map +1 -1
  4. package/dist/api/middleware/address-validation.js +5 -129
  5. package/dist/api/middleware/address-validation.js.map +1 -1
  6. package/dist/api/middleware/host-guard.d.ts +1 -1
  7. package/dist/api/middleware/host-guard.js +2 -2
  8. package/dist/api/middleware/host-guard.js.map +1 -1
  9. package/dist/api/middleware/index.d.ts +1 -0
  10. package/dist/api/middleware/index.d.ts.map +1 -1
  11. package/dist/api/middleware/index.js +1 -0
  12. package/dist/api/middleware/index.js.map +1 -1
  13. package/dist/api/middleware/master-auth.d.ts +2 -5
  14. package/dist/api/middleware/master-auth.d.ts.map +1 -1
  15. package/dist/api/middleware/master-auth.js.map +1 -1
  16. package/dist/api/middleware/rate-limiter.d.ts +51 -0
  17. package/dist/api/middleware/rate-limiter.d.ts.map +1 -0
  18. package/dist/api/middleware/rate-limiter.js +146 -0
  19. package/dist/api/middleware/rate-limiter.js.map +1 -0
  20. package/dist/api/middleware/siwe-verify.d.ts +6 -26
  21. package/dist/api/middleware/siwe-verify.d.ts.map +1 -1
  22. package/dist/api/middleware/siwe-verify.js +5 -50
  23. package/dist/api/middleware/siwe-verify.js.map +1 -1
  24. package/dist/api/routes/actions.d.ts +1 -0
  25. package/dist/api/routes/actions.d.ts.map +1 -1
  26. package/dist/api/routes/actions.js +52 -4
  27. package/dist/api/routes/actions.js.map +1 -1
  28. package/dist/api/routes/admin-actions.d.ts +1 -0
  29. package/dist/api/routes/admin-actions.d.ts.map +1 -1
  30. package/dist/api/routes/admin-actions.js +3 -3
  31. package/dist/api/routes/admin-actions.js.map +1 -1
  32. package/dist/api/routes/admin-auth.d.ts.map +1 -1
  33. package/dist/api/routes/admin-auth.js +12 -7
  34. package/dist/api/routes/admin-auth.js.map +1 -1
  35. package/dist/api/routes/admin-credentials.js +2 -2
  36. package/dist/api/routes/admin-credentials.js.map +1 -1
  37. package/dist/api/routes/admin-monitoring.d.ts +10 -0
  38. package/dist/api/routes/admin-monitoring.d.ts.map +1 -1
  39. package/dist/api/routes/admin-monitoring.js +59 -14
  40. package/dist/api/routes/admin-monitoring.js.map +1 -1
  41. package/dist/api/routes/admin-notifications.d.ts.map +1 -1
  42. package/dist/api/routes/admin-notifications.js +2 -15
  43. package/dist/api/routes/admin-notifications.js.map +1 -1
  44. package/dist/api/routes/admin-settings.d.ts.map +1 -1
  45. package/dist/api/routes/admin-settings.js +90 -1
  46. package/dist/api/routes/admin-settings.js.map +1 -1
  47. package/dist/api/routes/admin-wallets.d.ts +16 -1
  48. package/dist/api/routes/admin-wallets.d.ts.map +1 -1
  49. package/dist/api/routes/admin-wallets.js +64 -75
  50. package/dist/api/routes/admin-wallets.js.map +1 -1
  51. package/dist/api/routes/admin.d.ts +1 -0
  52. package/dist/api/routes/admin.d.ts.map +1 -1
  53. package/dist/api/routes/admin.js.map +1 -1
  54. package/dist/api/routes/credentials.js +2 -2
  55. package/dist/api/routes/credentials.js.map +1 -1
  56. package/dist/api/routes/defi-positions.js.map +1 -1
  57. package/dist/api/routes/nfts.js.map +1 -1
  58. package/dist/api/routes/openapi-schemas.d.ts +412 -12
  59. package/dist/api/routes/openapi-schemas.d.ts.map +1 -1
  60. package/dist/api/routes/openapi-schemas.js +38 -5
  61. package/dist/api/routes/openapi-schemas.js.map +1 -1
  62. package/dist/api/routes/policies.d.ts +2 -0
  63. package/dist/api/routes/policies.d.ts.map +1 -1
  64. package/dist/api/routes/policies.js +55 -6
  65. package/dist/api/routes/policies.js.map +1 -1
  66. package/dist/api/routes/rpc-proxy.js.map +1 -1
  67. package/dist/api/routes/sessions.d.ts.map +1 -1
  68. package/dist/api/routes/sessions.js +47 -28
  69. package/dist/api/routes/sessions.js.map +1 -1
  70. package/dist/api/routes/staking.d.ts.map +1 -1
  71. package/dist/api/routes/staking.js +4 -76
  72. package/dist/api/routes/staking.js.map +1 -1
  73. package/dist/api/routes/tokens.d.ts.map +1 -1
  74. package/dist/api/routes/tokens.js.map +1 -1
  75. package/dist/api/routes/transactions.d.ts +1 -0
  76. package/dist/api/routes/transactions.d.ts.map +1 -1
  77. package/dist/api/routes/transactions.js +8 -2
  78. package/dist/api/routes/transactions.js.map +1 -1
  79. package/dist/api/routes/userop.d.ts.map +1 -1
  80. package/dist/api/routes/userop.js +0 -2
  81. package/dist/api/routes/userop.js.map +1 -1
  82. package/dist/api/routes/wallet-apps.d.ts.map +1 -1
  83. package/dist/api/routes/wallet-apps.js +20 -13
  84. package/dist/api/routes/wallet-apps.js.map +1 -1
  85. package/dist/api/routes/wallet.js.map +1 -1
  86. package/dist/api/routes/wallets.d.ts.map +1 -1
  87. package/dist/api/routes/wallets.js +3 -0
  88. package/dist/api/routes/wallets.js.map +1 -1
  89. package/dist/api/routes/wc.d.ts.map +1 -1
  90. package/dist/api/routes/wc.js +13 -8
  91. package/dist/api/routes/wc.js.map +1 -1
  92. package/dist/api/routes/x402.d.ts.map +1 -1
  93. package/dist/api/routes/x402.js +1 -2
  94. package/dist/api/routes/x402.js.map +1 -1
  95. package/dist/api/server.d.ts +8 -4
  96. package/dist/api/server.d.ts.map +1 -1
  97. package/dist/api/server.js +46 -5
  98. package/dist/api/server.js.map +1 -1
  99. package/dist/constants.d.ts +1 -1
  100. package/dist/constants.d.ts.map +1 -1
  101. package/dist/constants.js +1 -1
  102. package/dist/constants.js.map +1 -1
  103. package/dist/infrastructure/action/action-provider-registry.d.ts.map +1 -1
  104. package/dist/infrastructure/action/action-provider-registry.js +2 -3
  105. package/dist/infrastructure/action/action-provider-registry.js.map +1 -1
  106. package/dist/infrastructure/action/builtin-metadata.d.ts +22 -0
  107. package/dist/infrastructure/action/builtin-metadata.d.ts.map +1 -0
  108. package/dist/infrastructure/action/builtin-metadata.js +29 -0
  109. package/dist/infrastructure/action/builtin-metadata.js.map +1 -0
  110. package/dist/infrastructure/adapter-pool.d.ts +2 -1
  111. package/dist/infrastructure/adapter-pool.d.ts.map +1 -1
  112. package/dist/infrastructure/adapter-pool.js.map +1 -1
  113. package/dist/infrastructure/auth/address-validation.d.ts +38 -0
  114. package/dist/infrastructure/auth/address-validation.d.ts.map +1 -0
  115. package/dist/infrastructure/auth/address-validation.js +134 -0
  116. package/dist/infrastructure/auth/address-validation.js.map +1 -0
  117. package/dist/infrastructure/auth/siwe-verify.d.ts +34 -0
  118. package/dist/infrastructure/auth/siwe-verify.d.ts.map +1 -0
  119. package/dist/infrastructure/auth/siwe-verify.js +58 -0
  120. package/dist/infrastructure/auth/siwe-verify.js.map +1 -0
  121. package/dist/infrastructure/auth/types.d.ts +12 -0
  122. package/dist/infrastructure/auth/types.d.ts.map +1 -0
  123. package/dist/infrastructure/auth/types.js +8 -0
  124. package/dist/infrastructure/auth/types.js.map +1 -0
  125. package/dist/infrastructure/config/loader.d.ts +1 -10
  126. package/dist/infrastructure/config/loader.d.ts.map +1 -1
  127. package/dist/infrastructure/config/loader.js +0 -2
  128. package/dist/infrastructure/config/loader.js.map +1 -1
  129. package/dist/infrastructure/database/migrate.d.ts +6 -18
  130. package/dist/infrastructure/database/migrate.d.ts.map +1 -1
  131. package/dist/infrastructure/database/migrate.js +25 -2856
  132. package/dist/infrastructure/database/migrate.js.map +1 -1
  133. package/dist/infrastructure/database/migrations/v11-v20.d.ts +17 -0
  134. package/dist/infrastructure/database/migrations/v11-v20.d.ts.map +1 -0
  135. package/dist/infrastructure/database/migrations/v11-v20.js +295 -0
  136. package/dist/infrastructure/database/migrations/v11-v20.js.map +1 -0
  137. package/dist/infrastructure/database/migrations/v2-v10.d.ts +16 -0
  138. package/dist/infrastructure/database/migrations/v2-v10.d.ts.map +1 -0
  139. package/dist/infrastructure/database/migrations/v2-v10.js +539 -0
  140. package/dist/infrastructure/database/migrations/v2-v10.js.map +1 -0
  141. package/dist/infrastructure/database/migrations/v21-v30.d.ts +17 -0
  142. package/dist/infrastructure/database/migrations/v21-v30.d.ts.map +1 -0
  143. package/dist/infrastructure/database/migrations/v21-v30.js +507 -0
  144. package/dist/infrastructure/database/migrations/v21-v30.js.map +1 -0
  145. package/dist/infrastructure/database/migrations/v31-v40.d.ts +17 -0
  146. package/dist/infrastructure/database/migrations/v31-v40.d.ts.map +1 -0
  147. package/dist/infrastructure/database/migrations/v31-v40.js +203 -0
  148. package/dist/infrastructure/database/migrations/v31-v40.js.map +1 -0
  149. package/dist/infrastructure/database/migrations/v41-v50.d.ts +17 -0
  150. package/dist/infrastructure/database/migrations/v41-v50.d.ts.map +1 -0
  151. package/dist/infrastructure/database/migrations/v41-v50.js +188 -0
  152. package/dist/infrastructure/database/migrations/v41-v50.js.map +1 -0
  153. package/dist/infrastructure/database/migrations/v51-v59.d.ts +17 -0
  154. package/dist/infrastructure/database/migrations/v51-v59.d.ts.map +1 -0
  155. package/dist/infrastructure/database/migrations/v51-v59.js +420 -0
  156. package/dist/infrastructure/database/migrations/v51-v59.js.map +1 -0
  157. package/dist/infrastructure/database/schema-ddl.d.ts +24 -0
  158. package/dist/infrastructure/database/schema-ddl.d.ts.map +1 -0
  159. package/dist/infrastructure/database/schema-ddl.js +596 -0
  160. package/dist/infrastructure/database/schema-ddl.js.map +1 -0
  161. package/dist/infrastructure/database/schema.d.ts +38 -0
  162. package/dist/infrastructure/database/schema.d.ts.map +1 -1
  163. package/dist/infrastructure/database/schema.js +2 -0
  164. package/dist/infrastructure/database/schema.js.map +1 -1
  165. package/dist/infrastructure/jwt/jwt-secret-manager.d.ts.map +1 -1
  166. package/dist/infrastructure/jwt/jwt-secret-manager.js +16 -3
  167. package/dist/infrastructure/jwt/jwt-secret-manager.js.map +1 -1
  168. package/dist/infrastructure/nft/alchemy-nft-indexer.d.ts.map +1 -1
  169. package/dist/infrastructure/nft/alchemy-nft-indexer.js +0 -1
  170. package/dist/infrastructure/nft/alchemy-nft-indexer.js.map +1 -1
  171. package/dist/infrastructure/nft/helius-nft-indexer.d.ts.map +1 -1
  172. package/dist/infrastructure/nft/helius-nft-indexer.js +1 -2
  173. package/dist/infrastructure/nft/helius-nft-indexer.js.map +1 -1
  174. package/dist/infrastructure/nft/nft-indexer-client.d.ts.map +1 -1
  175. package/dist/infrastructure/nft/nft-indexer-client.js +0 -2
  176. package/dist/infrastructure/nft/nft-indexer-client.js.map +1 -1
  177. package/dist/infrastructure/security/ssrf-guard.d.ts +33 -0
  178. package/dist/infrastructure/security/ssrf-guard.d.ts.map +1 -0
  179. package/dist/infrastructure/security/ssrf-guard.js +244 -0
  180. package/dist/infrastructure/security/ssrf-guard.js.map +1 -0
  181. package/dist/infrastructure/settings/hot-reload.d.ts +1 -1
  182. package/dist/infrastructure/settings/hot-reload.d.ts.map +1 -1
  183. package/dist/infrastructure/settings/hot-reload.js +0 -2
  184. package/dist/infrastructure/settings/hot-reload.js.map +1 -1
  185. package/dist/infrastructure/settings/index.d.ts +2 -2
  186. package/dist/infrastructure/settings/index.d.ts.map +1 -1
  187. package/dist/infrastructure/settings/index.js +1 -1
  188. package/dist/infrastructure/settings/index.js.map +1 -1
  189. package/dist/infrastructure/settings/setting-keys.d.ts +14 -0
  190. package/dist/infrastructure/settings/setting-keys.d.ts.map +1 -1
  191. package/dist/infrastructure/settings/setting-keys.js +296 -214
  192. package/dist/infrastructure/settings/setting-keys.js.map +1 -1
  193. package/dist/infrastructure/settings/settings-service.d.ts +6 -1
  194. package/dist/infrastructure/settings/settings-service.d.ts.map +1 -1
  195. package/dist/infrastructure/settings/settings-service.js +15 -5
  196. package/dist/infrastructure/settings/settings-service.js.map +1 -1
  197. package/dist/infrastructure/telegram/telegram-bot-service.d.ts.map +1 -1
  198. package/dist/infrastructure/telegram/telegram-bot-service.js +3 -2
  199. package/dist/infrastructure/telegram/telegram-bot-service.js.map +1 -1
  200. package/dist/infrastructure/token-registry/builtin-tokens.d.ts.map +1 -1
  201. package/dist/infrastructure/token-registry/builtin-tokens.js +4 -7
  202. package/dist/infrastructure/token-registry/builtin-tokens.js.map +1 -1
  203. package/dist/lifecycle/daemon-pipeline.d.ts +49 -0
  204. package/dist/lifecycle/daemon-pipeline.d.ts.map +1 -0
  205. package/dist/lifecycle/daemon-pipeline.js +281 -0
  206. package/dist/lifecycle/daemon-pipeline.js.map +1 -0
  207. package/dist/lifecycle/daemon-shutdown.d.ts +14 -0
  208. package/dist/lifecycle/daemon-shutdown.d.ts.map +1 -0
  209. package/dist/lifecycle/daemon-shutdown.js +176 -0
  210. package/dist/lifecycle/daemon-shutdown.js.map +1 -0
  211. package/dist/lifecycle/daemon-startup.d.ts +15 -0
  212. package/dist/lifecycle/daemon-startup.d.ts.map +1 -0
  213. package/dist/lifecycle/daemon-startup.js +1527 -0
  214. package/dist/lifecycle/daemon-startup.js.map +1 -0
  215. package/dist/lifecycle/daemon.d.ts +171 -114
  216. package/dist/lifecycle/daemon.d.ts.map +1 -1
  217. package/dist/lifecycle/daemon.js +22 -1904
  218. package/dist/lifecycle/daemon.js.map +1 -1
  219. package/dist/notifications/channels/discord.d.ts.map +1 -1
  220. package/dist/notifications/channels/discord.js +1 -0
  221. package/dist/notifications/channels/discord.js.map +1 -1
  222. package/dist/notifications/channels/slack.d.ts.map +1 -1
  223. package/dist/notifications/channels/slack.js +1 -0
  224. package/dist/notifications/channels/slack.js.map +1 -1
  225. package/dist/notifications/index.d.ts +0 -1
  226. package/dist/notifications/index.d.ts.map +1 -1
  227. package/dist/notifications/index.js +0 -1
  228. package/dist/notifications/index.js.map +1 -1
  229. package/dist/notifications/notification-service.d.ts.map +1 -1
  230. package/dist/notifications/notification-service.js +8 -6
  231. package/dist/notifications/notification-service.js.map +1 -1
  232. package/dist/pipeline/database-policy-engine.d.ts +18 -438
  233. package/dist/pipeline/database-policy-engine.d.ts.map +1 -1
  234. package/dist/pipeline/database-policy-engine.js +154 -1321
  235. package/dist/pipeline/database-policy-engine.js.map +1 -1
  236. package/dist/pipeline/dry-run.d.ts +5 -2
  237. package/dist/pipeline/dry-run.d.ts.map +1 -1
  238. package/dist/pipeline/dry-run.js +102 -8
  239. package/dist/pipeline/dry-run.js.map +1 -1
  240. package/dist/pipeline/evaluators/allowed-tokens.d.ts +28 -0
  241. package/dist/pipeline/evaluators/allowed-tokens.d.ts.map +1 -0
  242. package/dist/pipeline/evaluators/allowed-tokens.js +129 -0
  243. package/dist/pipeline/evaluators/allowed-tokens.js.map +1 -0
  244. package/dist/pipeline/evaluators/approved-spenders.d.ts +26 -0
  245. package/dist/pipeline/evaluators/approved-spenders.d.ts.map +1 -0
  246. package/dist/pipeline/evaluators/approved-spenders.js +115 -0
  247. package/dist/pipeline/evaluators/approved-spenders.js.map +1 -0
  248. package/dist/pipeline/evaluators/contract-whitelist.d.ts +28 -0
  249. package/dist/pipeline/evaluators/contract-whitelist.d.ts.map +1 -0
  250. package/dist/pipeline/evaluators/contract-whitelist.js +168 -0
  251. package/dist/pipeline/evaluators/contract-whitelist.js.map +1 -0
  252. package/dist/pipeline/evaluators/helpers.d.ts +9 -0
  253. package/dist/pipeline/evaluators/helpers.d.ts.map +1 -0
  254. package/dist/pipeline/evaluators/helpers.js +13 -0
  255. package/dist/pipeline/evaluators/helpers.js.map +1 -0
  256. package/dist/pipeline/evaluators/lending-asset-whitelist.d.ts +18 -0
  257. package/dist/pipeline/evaluators/lending-asset-whitelist.d.ts.map +1 -0
  258. package/dist/pipeline/evaluators/lending-asset-whitelist.js +44 -0
  259. package/dist/pipeline/evaluators/lending-asset-whitelist.js.map +1 -0
  260. package/dist/pipeline/evaluators/lending-ltv-limit.d.ts +24 -0
  261. package/dist/pipeline/evaluators/lending-ltv-limit.d.ts.map +1 -0
  262. package/dist/pipeline/evaluators/lending-ltv-limit.js +130 -0
  263. package/dist/pipeline/evaluators/lending-ltv-limit.js.map +1 -0
  264. package/dist/pipeline/evaluators/spending-limit.d.ts +46 -0
  265. package/dist/pipeline/evaluators/spending-limit.d.ts.map +1 -0
  266. package/dist/pipeline/evaluators/spending-limit.js +241 -0
  267. package/dist/pipeline/evaluators/spending-limit.js.map +1 -0
  268. package/dist/pipeline/evaluators/types.d.ts +71 -0
  269. package/dist/pipeline/evaluators/types.d.ts.map +1 -0
  270. package/dist/pipeline/evaluators/types.js +7 -0
  271. package/dist/pipeline/evaluators/types.js.map +1 -0
  272. package/dist/pipeline/external-action-pipeline.js.map +1 -1
  273. package/dist/pipeline/gas-condition-tracker.d.ts +1 -1
  274. package/dist/pipeline/gas-condition-tracker.js +1 -1
  275. package/dist/pipeline/pipeline-helpers.d.ts +146 -0
  276. package/dist/pipeline/pipeline-helpers.d.ts.map +1 -0
  277. package/dist/pipeline/pipeline-helpers.js +260 -0
  278. package/dist/pipeline/pipeline-helpers.js.map +1 -0
  279. package/dist/pipeline/pipeline.d.ts +1 -0
  280. package/dist/pipeline/pipeline.d.ts.map +1 -1
  281. package/dist/pipeline/pipeline.js +3 -2
  282. package/dist/pipeline/pipeline.js.map +1 -1
  283. package/dist/pipeline/resolve-effective-amount-usd.d.ts.map +1 -1
  284. package/dist/pipeline/resolve-effective-amount-usd.js +4 -10
  285. package/dist/pipeline/resolve-effective-amount-usd.js.map +1 -1
  286. package/dist/pipeline/sign-message.js +1 -1
  287. package/dist/pipeline/sign-message.js.map +1 -1
  288. package/dist/pipeline/sleep.d.ts +1 -5
  289. package/dist/pipeline/sleep.d.ts.map +1 -1
  290. package/dist/pipeline/sleep.js +2 -7
  291. package/dist/pipeline/sleep.js.map +1 -1
  292. package/dist/pipeline/stage1-validate.d.ts +8 -0
  293. package/dist/pipeline/stage1-validate.d.ts.map +1 -0
  294. package/dist/pipeline/stage1-validate.js +69 -0
  295. package/dist/pipeline/stage1-validate.js.map +1 -0
  296. package/dist/pipeline/stage2-auth.d.ts +12 -0
  297. package/dist/pipeline/stage2-auth.d.ts.map +1 -0
  298. package/dist/pipeline/stage2-auth.js +18 -0
  299. package/dist/pipeline/stage2-auth.js.map +1 -0
  300. package/dist/pipeline/stage3-policy.d.ts +26 -0
  301. package/dist/pipeline/stage3-policy.d.ts.map +1 -0
  302. package/dist/pipeline/stage3-policy.js +384 -0
  303. package/dist/pipeline/stage3-policy.js.map +1 -0
  304. package/dist/pipeline/stage4-wait.d.ts +8 -0
  305. package/dist/pipeline/stage4-wait.d.ts.map +1 -0
  306. package/dist/pipeline/stage4-wait.js +87 -0
  307. package/dist/pipeline/stage4-wait.js.map +1 -0
  308. package/dist/pipeline/stage5-execute.d.ts +120 -0
  309. package/dist/pipeline/stage5-execute.d.ts.map +1 -0
  310. package/dist/pipeline/stage5-execute.js +1070 -0
  311. package/dist/pipeline/stage5-execute.js.map +1 -0
  312. package/dist/pipeline/stage6-confirm.d.ts +11 -0
  313. package/dist/pipeline/stage6-confirm.d.ts.map +1 -0
  314. package/dist/pipeline/stage6-confirm.js +110 -0
  315. package/dist/pipeline/stage6-confirm.js.map +1 -0
  316. package/dist/pipeline/stages.d.ts +11 -245
  317. package/dist/pipeline/stages.d.ts.map +1 -1
  318. package/dist/pipeline/stages.js +11 -1896
  319. package/dist/pipeline/stages.js.map +1 -1
  320. package/dist/rpc-proxy/sync-pipeline.js +2 -2
  321. package/dist/rpc-proxy/sync-pipeline.js.map +1 -1
  322. package/dist/services/autostop/autostop-service.d.ts +4 -1
  323. package/dist/services/autostop/autostop-service.d.ts.map +1 -1
  324. package/dist/services/autostop/autostop-service.js +27 -7
  325. package/dist/services/autostop/autostop-service.js.map +1 -1
  326. package/dist/services/defi/position-tracker.d.ts +5 -0
  327. package/dist/services/defi/position-tracker.d.ts.map +1 -1
  328. package/dist/services/defi/position-tracker.js +41 -6
  329. package/dist/services/defi/position-tracker.js.map +1 -1
  330. package/dist/services/defi/position-write-queue.d.ts.map +1 -1
  331. package/dist/services/defi/position-write-queue.js +3 -2
  332. package/dist/services/defi/position-write-queue.js.map +1 -1
  333. package/dist/services/incoming/__tests__/integration-wiring.test.js +58 -0
  334. package/dist/services/incoming/__tests__/integration-wiring.test.js.map +1 -1
  335. package/dist/services/incoming/incoming-tx-monitor-service.d.ts.map +1 -1
  336. package/dist/services/incoming/incoming-tx-monitor-service.js +11 -14
  337. package/dist/services/incoming/incoming-tx-monitor-service.js.map +1 -1
  338. package/dist/services/incoming/incoming-tx-workers.d.ts +2 -2
  339. package/dist/services/incoming/incoming-tx-workers.d.ts.map +1 -1
  340. package/dist/services/incoming/incoming-tx-workers.js +1 -1
  341. package/dist/services/incoming/incoming-tx-workers.js.map +1 -1
  342. package/dist/services/incoming/safety-rules.d.ts.map +1 -1
  343. package/dist/services/incoming/safety-rules.js +3 -2
  344. package/dist/services/incoming/safety-rules.js.map +1 -1
  345. package/dist/services/incoming/subscription-multiplexer.d.ts +2 -6
  346. package/dist/services/incoming/subscription-multiplexer.d.ts.map +1 -1
  347. package/dist/services/incoming/subscription-multiplexer.js +1 -3
  348. package/dist/services/incoming/subscription-multiplexer.js.map +1 -1
  349. package/dist/services/monitoring/balance-monitor-service.d.ts.map +1 -1
  350. package/dist/services/monitoring/balance-monitor-service.js +2 -2
  351. package/dist/services/monitoring/balance-monitor-service.js.map +1 -1
  352. package/dist/services/signing-sdk/approval-channel-router.d.ts +7 -7
  353. package/dist/services/signing-sdk/approval-channel-router.d.ts.map +1 -1
  354. package/dist/services/signing-sdk/approval-channel-router.js +13 -13
  355. package/dist/services/signing-sdk/approval-channel-router.js.map +1 -1
  356. package/dist/services/signing-sdk/channels/index.d.ts +2 -2
  357. package/dist/services/signing-sdk/channels/index.d.ts.map +1 -1
  358. package/dist/services/signing-sdk/channels/index.js +1 -1
  359. package/dist/services/signing-sdk/channels/index.js.map +1 -1
  360. package/dist/services/signing-sdk/channels/push-relay-signing-channel.d.ts +59 -0
  361. package/dist/services/signing-sdk/channels/push-relay-signing-channel.d.ts.map +1 -0
  362. package/dist/services/signing-sdk/channels/push-relay-signing-channel.js +190 -0
  363. package/dist/services/signing-sdk/channels/push-relay-signing-channel.js.map +1 -0
  364. package/dist/services/signing-sdk/channels/telegram-signing-channel.d.ts +1 -1
  365. package/dist/services/signing-sdk/channels/telegram-signing-channel.js +1 -1
  366. package/dist/services/signing-sdk/channels/wallet-notification-channel.d.ts +6 -7
  367. package/dist/services/signing-sdk/channels/wallet-notification-channel.d.ts.map +1 -1
  368. package/dist/services/signing-sdk/channels/wallet-notification-channel.js +38 -55
  369. package/dist/services/signing-sdk/channels/wallet-notification-channel.js.map +1 -1
  370. package/dist/services/signing-sdk/index.d.ts +3 -3
  371. package/dist/services/signing-sdk/index.d.ts.map +1 -1
  372. package/dist/services/signing-sdk/index.js +2 -2
  373. package/dist/services/signing-sdk/index.js.map +1 -1
  374. package/dist/services/signing-sdk/preset-auto-setup.js +2 -2
  375. package/dist/services/signing-sdk/preset-auto-setup.js.map +1 -1
  376. package/dist/services/signing-sdk/sign-request-builder.d.ts +2 -2
  377. package/dist/services/signing-sdk/sign-request-builder.d.ts.map +1 -1
  378. package/dist/services/signing-sdk/sign-request-builder.js +17 -25
  379. package/dist/services/signing-sdk/sign-request-builder.js.map +1 -1
  380. package/dist/services/signing-sdk/wallet-app-service.d.ts +4 -0
  381. package/dist/services/signing-sdk/wallet-app-service.d.ts.map +1 -1
  382. package/dist/services/signing-sdk/wallet-app-service.js +12 -5
  383. package/dist/services/signing-sdk/wallet-app-service.js.map +1 -1
  384. package/dist/services/staking/aggregate-staking-balance.d.ts +24 -0
  385. package/dist/services/staking/aggregate-staking-balance.d.ts.map +1 -0
  386. package/dist/services/staking/aggregate-staking-balance.js +82 -0
  387. package/dist/services/staking/aggregate-staking-balance.js.map +1 -0
  388. package/dist/services/wc-session-service.d.ts.map +1 -1
  389. package/dist/services/wc-session-service.js +2 -1
  390. package/dist/services/wc-session-service.js.map +1 -1
  391. package/dist/services/wc-signing-bridge.js +2 -2
  392. package/dist/services/wc-signing-bridge.js.map +1 -1
  393. package/dist/services/x402/payment-signer.d.ts.map +1 -1
  394. package/dist/services/x402/payment-signer.js +2 -5
  395. package/dist/services/x402/payment-signer.js.map +1 -1
  396. package/dist/services/x402/ssrf-guard.d.ts +4 -23
  397. package/dist/services/x402/ssrf-guard.d.ts.map +1 -1
  398. package/dist/services/x402/ssrf-guard.js +3 -232
  399. package/dist/services/x402/ssrf-guard.js.map +1 -1
  400. package/dist/signing/capabilities/eip712-signer.d.ts.map +1 -1
  401. package/dist/signing/capabilities/eip712-signer.js +2 -0
  402. package/dist/signing/capabilities/eip712-signer.js.map +1 -1
  403. package/package.json +5 -5
  404. package/public/admin/assets/index-CpFF2lCo.js +3 -0
  405. package/public/admin/index.html +1 -1
  406. package/dist/notifications/channels/ntfy.d.ts +0 -13
  407. package/dist/notifications/channels/ntfy.d.ts.map +0 -1
  408. package/dist/notifications/channels/ntfy.js +0 -74
  409. package/dist/notifications/channels/ntfy.js.map +0 -1
  410. package/dist/services/signing-sdk/channels/ntfy-signing-channel.d.ts +0 -66
  411. package/dist/services/signing-sdk/channels/ntfy-signing-channel.d.ts.map +0 -1
  412. package/dist/services/signing-sdk/channels/ntfy-signing-channel.js +0 -270
  413. package/dist/services/signing-sdk/channels/ntfy-signing-channel.js.map +0 -1
  414. package/public/admin/assets/index-CQ3i4P2U.js +0 -3
@@ -433,6 +433,137 @@ export declare const SessionListItemSchema: z.ZodObject<{
433
433
  walletId: string;
434
434
  walletName: string | null;
435
435
  }>;
436
+ export declare const PaginationQuerySchema: z.ZodObject<{
437
+ limit: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
438
+ offset: z.ZodOptional<z.ZodDefault<z.ZodNumber>>;
439
+ }, "strip", z.ZodTypeAny, {
440
+ limit?: number | undefined;
441
+ offset?: number | undefined;
442
+ }, {
443
+ limit?: number | undefined;
444
+ offset?: number | undefined;
445
+ }>;
446
+ /**
447
+ * Factory to create paginated response schema wrapping an item schema.
448
+ */
449
+ export declare function createPaginatedSchema<T extends z.ZodTypeAny>(itemSchema: T, name: string): z.ZodObject<{
450
+ data: z.ZodArray<T, "many">;
451
+ total: z.ZodNumber;
452
+ limit: z.ZodNumber;
453
+ offset: z.ZodNumber;
454
+ }, "strip", z.ZodTypeAny, {
455
+ data: T["_output"][];
456
+ limit: number;
457
+ offset: number;
458
+ total: number;
459
+ }, {
460
+ data: T["_input"][];
461
+ limit: number;
462
+ offset: number;
463
+ total: number;
464
+ }>;
465
+ export declare const PaginatedSessionListSchema: z.ZodObject<{
466
+ data: z.ZodArray<z.ZodObject<{
467
+ id: z.ZodString;
468
+ walletId: z.ZodString;
469
+ walletName: z.ZodNullable<z.ZodString>;
470
+ wallets: z.ZodArray<z.ZodObject<{
471
+ id: z.ZodString;
472
+ name: z.ZodString;
473
+ }, "strip", z.ZodTypeAny, {
474
+ id: string;
475
+ name: string;
476
+ }, {
477
+ id: string;
478
+ name: string;
479
+ }>, "many">;
480
+ status: z.ZodString;
481
+ renewalCount: z.ZodNumber;
482
+ maxRenewals: z.ZodNumber;
483
+ expiresAt: z.ZodNumber;
484
+ absoluteExpiresAt: z.ZodNumber;
485
+ createdAt: z.ZodNumber;
486
+ lastRenewedAt: z.ZodNullable<z.ZodNumber>;
487
+ source: z.ZodEnum<["api", "mcp"]>;
488
+ }, "strip", z.ZodTypeAny, {
489
+ wallets: {
490
+ id: string;
491
+ name: string;
492
+ }[];
493
+ id: string;
494
+ status: string;
495
+ createdAt: number;
496
+ expiresAt: number;
497
+ renewalCount: number;
498
+ maxRenewals: number;
499
+ lastRenewedAt: number | null;
500
+ absoluteExpiresAt: number;
501
+ source: "api" | "mcp";
502
+ walletId: string;
503
+ walletName: string | null;
504
+ }, {
505
+ wallets: {
506
+ id: string;
507
+ name: string;
508
+ }[];
509
+ id: string;
510
+ status: string;
511
+ createdAt: number;
512
+ expiresAt: number;
513
+ renewalCount: number;
514
+ maxRenewals: number;
515
+ lastRenewedAt: number | null;
516
+ absoluteExpiresAt: number;
517
+ source: "api" | "mcp";
518
+ walletId: string;
519
+ walletName: string | null;
520
+ }>, "many">;
521
+ total: z.ZodNumber;
522
+ limit: z.ZodNumber;
523
+ offset: z.ZodNumber;
524
+ }, "strip", z.ZodTypeAny, {
525
+ data: {
526
+ wallets: {
527
+ id: string;
528
+ name: string;
529
+ }[];
530
+ id: string;
531
+ status: string;
532
+ createdAt: number;
533
+ expiresAt: number;
534
+ renewalCount: number;
535
+ maxRenewals: number;
536
+ lastRenewedAt: number | null;
537
+ absoluteExpiresAt: number;
538
+ source: "api" | "mcp";
539
+ walletId: string;
540
+ walletName: string | null;
541
+ }[];
542
+ limit: number;
543
+ offset: number;
544
+ total: number;
545
+ }, {
546
+ data: {
547
+ wallets: {
548
+ id: string;
549
+ name: string;
550
+ }[];
551
+ id: string;
552
+ status: string;
553
+ createdAt: number;
554
+ expiresAt: number;
555
+ renewalCount: number;
556
+ maxRenewals: number;
557
+ lastRenewedAt: number | null;
558
+ absoluteExpiresAt: number;
559
+ source: "api" | "mcp";
560
+ walletId: string;
561
+ walletName: string | null;
562
+ }[];
563
+ limit: number;
564
+ offset: number;
565
+ total: number;
566
+ }>;
436
567
  export declare const SessionWalletSchema: z.ZodObject<{
437
568
  sessionId: z.ZodString;
438
569
  walletId: z.ZodString;
@@ -537,6 +668,8 @@ export declare const TxDetailResponseSchema: z.ZodObject<{
537
668
  amountDecimals: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
538
669
  amountSymbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
539
670
  chainId: z.ZodOptional<z.ZodString>;
671
+ contractName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
672
+ contractNameSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
540
673
  }, "strip", z.ZodTypeAny, {
541
674
  id: string;
542
675
  chain: string;
@@ -557,6 +690,8 @@ export declare const TxDetailResponseSchema: z.ZodObject<{
557
690
  amountFormatted?: string | null | undefined;
558
691
  amountDecimals?: number | null | undefined;
559
692
  amountSymbol?: string | null | undefined;
693
+ contractName?: string | null | undefined;
694
+ contractNameSource?: string | null | undefined;
560
695
  }, {
561
696
  id: string;
562
697
  chain: string;
@@ -577,6 +712,8 @@ export declare const TxDetailResponseSchema: z.ZodObject<{
577
712
  amountFormatted?: string | null | undefined;
578
713
  amountDecimals?: number | null | undefined;
579
714
  amountSymbol?: string | null | undefined;
715
+ contractName?: string | null | undefined;
716
+ contractNameSource?: string | null | undefined;
580
717
  }>;
581
718
  export declare const TxApproveResponseSchema: z.ZodObject<{
582
719
  id: z.ZodString;
@@ -645,6 +782,72 @@ export declare const PolicyResponseSchema: z.ZodObject<{
645
782
  priority: number;
646
783
  enabled: boolean;
647
784
  }>;
785
+ export declare const PaginatedPolicyListSchema: z.ZodObject<{
786
+ data: z.ZodArray<z.ZodObject<{
787
+ id: z.ZodString;
788
+ walletId: z.ZodNullable<z.ZodString>;
789
+ type: z.ZodString;
790
+ rules: z.ZodRecord<z.ZodString, z.ZodUnknown>;
791
+ priority: z.ZodNumber;
792
+ enabled: z.ZodBoolean;
793
+ network: z.ZodNullable<z.ZodString>;
794
+ createdAt: z.ZodNumber;
795
+ updatedAt: z.ZodNumber;
796
+ }, "strip", z.ZodTypeAny, {
797
+ id: string;
798
+ createdAt: number;
799
+ updatedAt: number;
800
+ walletId: string | null;
801
+ type: string;
802
+ network: string | null;
803
+ rules: Record<string, unknown>;
804
+ priority: number;
805
+ enabled: boolean;
806
+ }, {
807
+ id: string;
808
+ createdAt: number;
809
+ updatedAt: number;
810
+ walletId: string | null;
811
+ type: string;
812
+ network: string | null;
813
+ rules: Record<string, unknown>;
814
+ priority: number;
815
+ enabled: boolean;
816
+ }>, "many">;
817
+ total: z.ZodNumber;
818
+ limit: z.ZodNumber;
819
+ offset: z.ZodNumber;
820
+ }, "strip", z.ZodTypeAny, {
821
+ data: {
822
+ id: string;
823
+ createdAt: number;
824
+ updatedAt: number;
825
+ walletId: string | null;
826
+ type: string;
827
+ network: string | null;
828
+ rules: Record<string, unknown>;
829
+ priority: number;
830
+ enabled: boolean;
831
+ }[];
832
+ limit: number;
833
+ offset: number;
834
+ total: number;
835
+ }, {
836
+ data: {
837
+ id: string;
838
+ createdAt: number;
839
+ updatedAt: number;
840
+ walletId: string | null;
841
+ type: string;
842
+ network: string | null;
843
+ rules: Record<string, unknown>;
844
+ priority: number;
845
+ enabled: boolean;
846
+ }[];
847
+ limit: number;
848
+ offset: number;
849
+ total: number;
850
+ }>;
648
851
  export declare const PolicyDeleteResponseSchema: z.ZodObject<{
649
852
  id: z.ZodString;
650
853
  deleted: z.ZodBoolean;
@@ -665,6 +868,7 @@ export declare const WalletAppSchema: z.ZodObject<{
665
868
  sign_topic: z.ZodNullable<z.ZodString>;
666
869
  notify_topic: z.ZodNullable<z.ZodString>;
667
870
  subscription_token: z.ZodNullable<z.ZodString>;
871
+ push_relay_url: z.ZodNullable<z.ZodString>;
668
872
  used_by: z.ZodArray<z.ZodObject<{
669
873
  id: z.ZodString;
670
874
  label: z.ZodString;
@@ -689,6 +893,7 @@ export declare const WalletAppSchema: z.ZodObject<{
689
893
  sign_topic: string | null;
690
894
  notify_topic: string | null;
691
895
  subscription_token: string | null;
896
+ push_relay_url: string | null;
692
897
  used_by: {
693
898
  id: string;
694
899
  label: string;
@@ -705,6 +910,7 @@ export declare const WalletAppSchema: z.ZodObject<{
705
910
  sign_topic: string | null;
706
911
  notify_topic: string | null;
707
912
  subscription_token: string | null;
913
+ push_relay_url: string | null;
708
914
  used_by: {
709
915
  id: string;
710
916
  label: string;
@@ -721,6 +927,7 @@ export declare const WalletAppListResponseSchema: z.ZodObject<{
721
927
  sign_topic: z.ZodNullable<z.ZodString>;
722
928
  notify_topic: z.ZodNullable<z.ZodString>;
723
929
  subscription_token: z.ZodNullable<z.ZodString>;
930
+ push_relay_url: z.ZodNullable<z.ZodString>;
724
931
  used_by: z.ZodArray<z.ZodObject<{
725
932
  id: z.ZodString;
726
933
  label: z.ZodString;
@@ -745,6 +952,7 @@ export declare const WalletAppListResponseSchema: z.ZodObject<{
745
952
  sign_topic: string | null;
746
953
  notify_topic: string | null;
747
954
  subscription_token: string | null;
955
+ push_relay_url: string | null;
748
956
  used_by: {
749
957
  id: string;
750
958
  label: string;
@@ -761,6 +969,7 @@ export declare const WalletAppListResponseSchema: z.ZodObject<{
761
969
  sign_topic: string | null;
762
970
  notify_topic: string | null;
763
971
  subscription_token: string | null;
972
+ push_relay_url: string | null;
764
973
  used_by: {
765
974
  id: string;
766
975
  label: string;
@@ -779,6 +988,7 @@ export declare const WalletAppListResponseSchema: z.ZodObject<{
779
988
  sign_topic: string | null;
780
989
  notify_topic: string | null;
781
990
  subscription_token: string | null;
991
+ push_relay_url: string | null;
782
992
  used_by: {
783
993
  id: string;
784
994
  label: string;
@@ -797,6 +1007,7 @@ export declare const WalletAppListResponseSchema: z.ZodObject<{
797
1007
  sign_topic: string | null;
798
1008
  notify_topic: string | null;
799
1009
  subscription_token: string | null;
1010
+ push_relay_url: string | null;
800
1011
  used_by: {
801
1012
  id: string;
802
1013
  label: string;
@@ -809,18 +1020,21 @@ export declare const WalletAppCreateRequestSchema: z.ZodObject<{
809
1020
  wallet_type: z.ZodOptional<z.ZodString>;
810
1021
  sign_topic: z.ZodOptional<z.ZodString>;
811
1022
  notify_topic: z.ZodOptional<z.ZodString>;
1023
+ push_relay_url: z.ZodOptional<z.ZodString>;
812
1024
  }, "strip", z.ZodTypeAny, {
813
1025
  name: string;
814
1026
  display_name: string;
815
1027
  wallet_type?: string | undefined;
816
1028
  sign_topic?: string | undefined;
817
1029
  notify_topic?: string | undefined;
1030
+ push_relay_url?: string | undefined;
818
1031
  }, {
819
1032
  name: string;
820
1033
  display_name: string;
821
1034
  wallet_type?: string | undefined;
822
1035
  sign_topic?: string | undefined;
823
1036
  notify_topic?: string | undefined;
1037
+ push_relay_url?: string | undefined;
824
1038
  }>;
825
1039
  export declare const WalletAppUpdateRequestSchema: z.ZodObject<{
826
1040
  signing_enabled: z.ZodOptional<z.ZodBoolean>;
@@ -828,18 +1042,21 @@ export declare const WalletAppUpdateRequestSchema: z.ZodObject<{
828
1042
  sign_topic: z.ZodOptional<z.ZodString>;
829
1043
  notify_topic: z.ZodOptional<z.ZodString>;
830
1044
  subscription_token: z.ZodOptional<z.ZodString>;
1045
+ push_relay_url: z.ZodOptional<z.ZodString>;
831
1046
  }, "strip", z.ZodTypeAny, {
832
1047
  signing_enabled?: boolean | undefined;
833
1048
  alerts_enabled?: boolean | undefined;
834
1049
  sign_topic?: string | undefined;
835
1050
  notify_topic?: string | undefined;
836
1051
  subscription_token?: string | undefined;
1052
+ push_relay_url?: string | undefined;
837
1053
  }, {
838
1054
  signing_enabled?: boolean | undefined;
839
1055
  alerts_enabled?: boolean | undefined;
840
1056
  sign_topic?: string | undefined;
841
1057
  notify_topic?: string | undefined;
842
1058
  subscription_token?: string | undefined;
1059
+ push_relay_url?: string | undefined;
843
1060
  }>;
844
1061
  export declare const WalletAppResponseSchema: z.ZodObject<{
845
1062
  app: z.ZodObject<{
@@ -852,6 +1069,7 @@ export declare const WalletAppResponseSchema: z.ZodObject<{
852
1069
  sign_topic: z.ZodNullable<z.ZodString>;
853
1070
  notify_topic: z.ZodNullable<z.ZodString>;
854
1071
  subscription_token: z.ZodNullable<z.ZodString>;
1072
+ push_relay_url: z.ZodNullable<z.ZodString>;
855
1073
  used_by: z.ZodArray<z.ZodObject<{
856
1074
  id: z.ZodString;
857
1075
  label: z.ZodString;
@@ -876,6 +1094,7 @@ export declare const WalletAppResponseSchema: z.ZodObject<{
876
1094
  sign_topic: string | null;
877
1095
  notify_topic: string | null;
878
1096
  subscription_token: string | null;
1097
+ push_relay_url: string | null;
879
1098
  used_by: {
880
1099
  id: string;
881
1100
  label: string;
@@ -892,6 +1111,7 @@ export declare const WalletAppResponseSchema: z.ZodObject<{
892
1111
  sign_topic: string | null;
893
1112
  notify_topic: string | null;
894
1113
  subscription_token: string | null;
1114
+ push_relay_url: string | null;
895
1115
  used_by: {
896
1116
  id: string;
897
1117
  label: string;
@@ -910,6 +1130,7 @@ export declare const WalletAppResponseSchema: z.ZodObject<{
910
1130
  sign_topic: string | null;
911
1131
  notify_topic: string | null;
912
1132
  subscription_token: string | null;
1133
+ push_relay_url: string | null;
913
1134
  used_by: {
914
1135
  id: string;
915
1136
  label: string;
@@ -928,6 +1149,7 @@ export declare const WalletAppResponseSchema: z.ZodObject<{
928
1149
  sign_topic: string | null;
929
1150
  notify_topic: string | null;
930
1151
  subscription_token: string | null;
1152
+ push_relay_url: string | null;
931
1153
  used_by: {
932
1154
  id: string;
933
1155
  label: string;
@@ -936,16 +1158,13 @@ export declare const WalletAppResponseSchema: z.ZodObject<{
936
1158
  }>;
937
1159
  export declare const WalletAppTestNotificationResponseSchema: z.ZodObject<{
938
1160
  success: z.ZodBoolean;
939
- topic: z.ZodOptional<z.ZodString>;
940
1161
  error: z.ZodOptional<z.ZodString>;
941
1162
  }, "strip", z.ZodTypeAny, {
942
1163
  success: boolean;
943
1164
  error?: string | undefined;
944
- topic?: string | undefined;
945
1165
  }, {
946
1166
  success: boolean;
947
1167
  error?: string | undefined;
948
- topic?: string | undefined;
949
1168
  }>;
950
1169
  /**
951
1170
  * Build OpenAPI error response entries from a list of error codes.
@@ -1354,6 +1573,40 @@ export declare const ContractCallRequestOpenAPI: z.ZodObject<{
1354
1573
  }[];
1355
1574
  data: string;
1356
1575
  }>, "many">>;
1576
+ postInstructions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1577
+ programId: z.ZodString;
1578
+ data: z.ZodString;
1579
+ accounts: z.ZodArray<z.ZodObject<{
1580
+ pubkey: z.ZodString;
1581
+ isSigner: z.ZodBoolean;
1582
+ isWritable: z.ZodBoolean;
1583
+ }, "strip", z.ZodTypeAny, {
1584
+ pubkey: string;
1585
+ isSigner: boolean;
1586
+ isWritable: boolean;
1587
+ }, {
1588
+ pubkey: string;
1589
+ isSigner: boolean;
1590
+ isWritable: boolean;
1591
+ }>, "many">;
1592
+ }, "strip", z.ZodTypeAny, {
1593
+ programId: string;
1594
+ accounts: {
1595
+ pubkey: string;
1596
+ isSigner: boolean;
1597
+ isWritable: boolean;
1598
+ }[];
1599
+ data: string;
1600
+ }, {
1601
+ programId: string;
1602
+ accounts: {
1603
+ pubkey: string;
1604
+ isSigner: boolean;
1605
+ isWritable: boolean;
1606
+ }[];
1607
+ data: string;
1608
+ }>, "many">>;
1609
+ addressLookupTableAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1357
1610
  network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet", unknown>>;
1358
1611
  actionProvider: z.ZodOptional<z.ZodString>;
1359
1612
  actionName: z.ZodOptional<z.ZodString>;
@@ -1385,6 +1638,16 @@ export declare const ContractCallRequestOpenAPI: z.ZodObject<{
1385
1638
  }[];
1386
1639
  data: string;
1387
1640
  }[] | undefined;
1641
+ postInstructions?: {
1642
+ programId: string;
1643
+ accounts: {
1644
+ pubkey: string;
1645
+ isSigner: boolean;
1646
+ isWritable: boolean;
1647
+ }[];
1648
+ data: string;
1649
+ }[] | undefined;
1650
+ addressLookupTableAddresses?: string[] | undefined;
1388
1651
  actionProvider?: string | undefined;
1389
1652
  actionName?: string | undefined;
1390
1653
  }, {
@@ -1415,6 +1678,16 @@ export declare const ContractCallRequestOpenAPI: z.ZodObject<{
1415
1678
  }[];
1416
1679
  data: string;
1417
1680
  }[] | undefined;
1681
+ postInstructions?: {
1682
+ programId: string;
1683
+ accounts: {
1684
+ pubkey: string;
1685
+ isSigner: boolean;
1686
+ isWritable: boolean;
1687
+ }[];
1688
+ data: string;
1689
+ }[] | undefined;
1690
+ addressLookupTableAddresses?: string[] | undefined;
1418
1691
  actionProvider?: string | undefined;
1419
1692
  actionName?: string | undefined;
1420
1693
  }>;
@@ -1760,6 +2033,40 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
1760
2033
  }[];
1761
2034
  data: string;
1762
2035
  }>, "many">>;
2036
+ postInstructions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2037
+ programId: z.ZodString;
2038
+ data: z.ZodString;
2039
+ accounts: z.ZodArray<z.ZodObject<{
2040
+ pubkey: z.ZodString;
2041
+ isSigner: z.ZodBoolean;
2042
+ isWritable: z.ZodBoolean;
2043
+ }, "strip", z.ZodTypeAny, {
2044
+ pubkey: string;
2045
+ isSigner: boolean;
2046
+ isWritable: boolean;
2047
+ }, {
2048
+ pubkey: string;
2049
+ isSigner: boolean;
2050
+ isWritable: boolean;
2051
+ }>, "many">;
2052
+ }, "strip", z.ZodTypeAny, {
2053
+ programId: string;
2054
+ accounts: {
2055
+ pubkey: string;
2056
+ isSigner: boolean;
2057
+ isWritable: boolean;
2058
+ }[];
2059
+ data: string;
2060
+ }, {
2061
+ programId: string;
2062
+ accounts: {
2063
+ pubkey: string;
2064
+ isSigner: boolean;
2065
+ isWritable: boolean;
2066
+ }[];
2067
+ data: string;
2068
+ }>, "many">>;
2069
+ addressLookupTableAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1763
2070
  network: z.ZodOptional<z.ZodEffects<z.ZodEnum<["solana-mainnet", "solana-devnet", "solana-testnet", "ethereum-mainnet", "ethereum-sepolia", "polygon-mainnet", "polygon-amoy", "arbitrum-mainnet", "arbitrum-sepolia", "optimism-mainnet", "optimism-sepolia", "base-mainnet", "base-sepolia", "hyperevm-mainnet", "hyperevm-testnet"]>, "solana-mainnet" | "solana-devnet" | "solana-testnet" | "ethereum-mainnet" | "ethereum-sepolia" | "polygon-mainnet" | "polygon-amoy" | "arbitrum-mainnet" | "arbitrum-sepolia" | "optimism-mainnet" | "optimism-sepolia" | "base-mainnet" | "base-sepolia" | "hyperevm-mainnet" | "hyperevm-testnet", unknown>>;
1764
2071
  actionProvider: z.ZodOptional<z.ZodString>;
1765
2072
  actionName: z.ZodOptional<z.ZodString>;
@@ -1790,6 +2097,16 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
1790
2097
  }[];
1791
2098
  data: string;
1792
2099
  }[] | undefined;
2100
+ postInstructions?: {
2101
+ programId: string;
2102
+ accounts: {
2103
+ pubkey: string;
2104
+ isSigner: boolean;
2105
+ isWritable: boolean;
2106
+ }[];
2107
+ data: string;
2108
+ }[] | undefined;
2109
+ addressLookupTableAddresses?: string[] | undefined;
1793
2110
  actionProvider?: string | undefined;
1794
2111
  actionName?: string | undefined;
1795
2112
  }, {
@@ -1819,6 +2136,16 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
1819
2136
  }[];
1820
2137
  data: string;
1821
2138
  }[] | undefined;
2139
+ postInstructions?: {
2140
+ programId: string;
2141
+ accounts: {
2142
+ pubkey: string;
2143
+ isSigner: boolean;
2144
+ isWritable: boolean;
2145
+ }[];
2146
+ data: string;
2147
+ }[] | undefined;
2148
+ addressLookupTableAddresses?: string[] | undefined;
1822
2149
  actionProvider?: string | undefined;
1823
2150
  actionName?: string | undefined;
1824
2151
  }>, z.ZodObject<Omit<{
@@ -1983,6 +2310,16 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
1983
2310
  }[];
1984
2311
  data: string;
1985
2312
  }[] | undefined;
2313
+ postInstructions?: {
2314
+ programId: string;
2315
+ accounts: {
2316
+ pubkey: string;
2317
+ isSigner: boolean;
2318
+ isWritable: boolean;
2319
+ }[];
2320
+ data: string;
2321
+ }[] | undefined;
2322
+ addressLookupTableAddresses?: string[] | undefined;
1986
2323
  actionProvider?: string | undefined;
1987
2324
  actionName?: string | undefined;
1988
2325
  } | {
@@ -2069,6 +2406,16 @@ export declare const BatchRequestOpenAPI: z.ZodObject<{
2069
2406
  }[];
2070
2407
  data: string;
2071
2408
  }[] | undefined;
2409
+ postInstructions?: {
2410
+ programId: string;
2411
+ accounts: {
2412
+ pubkey: string;
2413
+ isSigner: boolean;
2414
+ isWritable: boolean;
2415
+ }[];
2416
+ data: string;
2417
+ }[] | undefined;
2418
+ addressLookupTableAddresses?: string[] | undefined;
2072
2419
  actionProvider?: string | undefined;
2073
2420
  actionName?: string | undefined;
2074
2421
  } | {
@@ -2213,6 +2560,8 @@ export declare const TxListResponseSchema: z.ZodObject<{
2213
2560
  amountDecimals: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2214
2561
  amountSymbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2215
2562
  chainId: z.ZodOptional<z.ZodString>;
2563
+ contractName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2564
+ contractNameSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2216
2565
  }, "strip", z.ZodTypeAny, {
2217
2566
  id: string;
2218
2567
  chain: string;
@@ -2233,6 +2582,8 @@ export declare const TxListResponseSchema: z.ZodObject<{
2233
2582
  amountFormatted?: string | null | undefined;
2234
2583
  amountDecimals?: number | null | undefined;
2235
2584
  amountSymbol?: string | null | undefined;
2585
+ contractName?: string | null | undefined;
2586
+ contractNameSource?: string | null | undefined;
2236
2587
  }, {
2237
2588
  id: string;
2238
2589
  chain: string;
@@ -2253,6 +2604,8 @@ export declare const TxListResponseSchema: z.ZodObject<{
2253
2604
  amountFormatted?: string | null | undefined;
2254
2605
  amountDecimals?: number | null | undefined;
2255
2606
  amountSymbol?: string | null | undefined;
2607
+ contractName?: string | null | undefined;
2608
+ contractNameSource?: string | null | undefined;
2256
2609
  }>, "many">;
2257
2610
  cursor: z.ZodNullable<z.ZodString>;
2258
2611
  hasMore: z.ZodBoolean;
@@ -2277,6 +2630,8 @@ export declare const TxListResponseSchema: z.ZodObject<{
2277
2630
  amountFormatted?: string | null | undefined;
2278
2631
  amountDecimals?: number | null | undefined;
2279
2632
  amountSymbol?: string | null | undefined;
2633
+ contractName?: string | null | undefined;
2634
+ contractNameSource?: string | null | undefined;
2280
2635
  }[];
2281
2636
  cursor: string | null;
2282
2637
  hasMore: boolean;
@@ -2301,6 +2656,8 @@ export declare const TxListResponseSchema: z.ZodObject<{
2301
2656
  amountFormatted?: string | null | undefined;
2302
2657
  amountDecimals?: number | null | undefined;
2303
2658
  amountSymbol?: string | null | undefined;
2659
+ contractName?: string | null | undefined;
2660
+ contractNameSource?: string | null | undefined;
2304
2661
  }[];
2305
2662
  cursor: string | null;
2306
2663
  hasMore: boolean;
@@ -2326,6 +2683,8 @@ export declare const TxPendingListResponseSchema: z.ZodObject<{
2326
2683
  amountDecimals: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
2327
2684
  amountSymbol: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2328
2685
  chainId: z.ZodOptional<z.ZodString>;
2686
+ contractName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2687
+ contractNameSource: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2329
2688
  }, "strip", z.ZodTypeAny, {
2330
2689
  id: string;
2331
2690
  chain: string;
@@ -2346,6 +2705,8 @@ export declare const TxPendingListResponseSchema: z.ZodObject<{
2346
2705
  amountFormatted?: string | null | undefined;
2347
2706
  amountDecimals?: number | null | undefined;
2348
2707
  amountSymbol?: string | null | undefined;
2708
+ contractName?: string | null | undefined;
2709
+ contractNameSource?: string | null | undefined;
2349
2710
  }, {
2350
2711
  id: string;
2351
2712
  chain: string;
@@ -2366,6 +2727,8 @@ export declare const TxPendingListResponseSchema: z.ZodObject<{
2366
2727
  amountFormatted?: string | null | undefined;
2367
2728
  amountDecimals?: number | null | undefined;
2368
2729
  amountSymbol?: string | null | undefined;
2730
+ contractName?: string | null | undefined;
2731
+ contractNameSource?: string | null | undefined;
2369
2732
  }>, "many">;
2370
2733
  }, "strip", z.ZodTypeAny, {
2371
2734
  items: {
@@ -2388,6 +2751,8 @@ export declare const TxPendingListResponseSchema: z.ZodObject<{
2388
2751
  amountFormatted?: string | null | undefined;
2389
2752
  amountDecimals?: number | null | undefined;
2390
2753
  amountSymbol?: string | null | undefined;
2754
+ contractName?: string | null | undefined;
2755
+ contractNameSource?: string | null | undefined;
2391
2756
  }[];
2392
2757
  }, {
2393
2758
  items: {
@@ -2410,6 +2775,8 @@ export declare const TxPendingListResponseSchema: z.ZodObject<{
2410
2775
  amountFormatted?: string | null | undefined;
2411
2776
  amountDecimals?: number | null | undefined;
2412
2777
  amountSymbol?: string | null | undefined;
2778
+ contractName?: string | null | undefined;
2779
+ contractNameSource?: string | null | undefined;
2413
2780
  }[];
2414
2781
  }>;
2415
2782
  export declare const NonceResponseSchema: z.ZodObject<{
@@ -2658,16 +3025,16 @@ export declare const WalletNetworksResponseSchema: z.ZodObject<{
2658
3025
  }>;
2659
3026
  export declare const SetOwnerRequestSchema: z.ZodObject<{
2660
3027
  owner_address: z.ZodString;
2661
- approval_method: z.ZodOptional<z.ZodNullable<z.ZodEnum<["sdk_ntfy", "sdk_telegram", "walletconnect", "telegram_bot", "rest"]>>>;
3028
+ approval_method: z.ZodOptional<z.ZodNullable<z.ZodEnum<["sdk_push", "sdk_telegram", "walletconnect", "telegram_bot", "rest"]>>>;
2662
3029
  wallet_type: z.ZodOptional<z.ZodEnum<["dcent"]>>;
2663
3030
  }, "strip", z.ZodTypeAny, {
2664
3031
  owner_address: string;
2665
3032
  wallet_type?: "dcent" | undefined;
2666
- approval_method?: "walletconnect" | "sdk_ntfy" | "sdk_telegram" | "telegram_bot" | "rest" | null | undefined;
3033
+ approval_method?: "walletconnect" | "sdk_push" | "sdk_telegram" | "telegram_bot" | "rest" | null | undefined;
2667
3034
  }, {
2668
3035
  owner_address: string;
2669
3036
  wallet_type?: "dcent" | undefined;
2670
- approval_method?: "walletconnect" | "sdk_ntfy" | "sdk_telegram" | "telegram_bot" | "rest" | null | undefined;
3037
+ approval_method?: "walletconnect" | "sdk_push" | "sdk_telegram" | "telegram_bot" | "rest" | null | undefined;
2671
3038
  }>;
2672
3039
  export declare const UpdateWalletRequestSchema: z.ZodObject<{
2673
3040
  name: z.ZodString;
@@ -3212,6 +3579,7 @@ export declare const NotificationLogResponseSchema: z.ZodObject<{
3212
3579
  page: z.ZodNumber;
3213
3580
  pageSize: z.ZodNumber;
3214
3581
  }, "strip", z.ZodTypeAny, {
3582
+ total: number;
3215
3583
  logs: {
3216
3584
  id: string;
3217
3585
  status: string;
@@ -3222,10 +3590,10 @@ export declare const NotificationLogResponseSchema: z.ZodObject<{
3222
3590
  channel: string;
3223
3591
  message: string | null;
3224
3592
  }[];
3225
- total: number;
3226
3593
  page: number;
3227
3594
  pageSize: number;
3228
3595
  }, {
3596
+ total: number;
3229
3597
  logs: {
3230
3598
  id: string;
3231
3599
  status: string;
@@ -3236,7 +3604,6 @@ export declare const NotificationLogResponseSchema: z.ZodObject<{
3236
3604
  channel: string;
3237
3605
  message: string | null;
3238
3606
  }[];
3239
- total: number;
3240
3607
  page: number;
3241
3608
  pageSize: number;
3242
3609
  }>;
@@ -3586,12 +3953,12 @@ export declare const EncodeCalldataResponseSchema: z.ZodObject<{
3586
3953
  selector: z.ZodString;
3587
3954
  functionName: z.ZodString;
3588
3955
  }, "strip", z.ZodTypeAny, {
3589
- functionName: string;
3590
3956
  calldata: string;
3957
+ functionName: string;
3591
3958
  selector: string;
3592
3959
  }, {
3593
- functionName: string;
3594
3960
  calldata: string;
3961
+ functionName: string;
3595
3962
  selector: string;
3596
3963
  }>;
3597
3964
  export declare const TxSignRequestSchema: z.ZodObject<{
@@ -3935,6 +4302,25 @@ export declare const DryRunSimulationResultOpenAPI: z.ZodObject<{
3935
4302
  transactionType: string;
3936
4303
  durationMs: number;
3937
4304
  }>;
4305
+ gasCondition: z.ZodOptional<z.ZodObject<{
4306
+ met: z.ZodBoolean;
4307
+ currentGasPrice: z.ZodString;
4308
+ currentPriorityFee: z.ZodOptional<z.ZodString>;
4309
+ maxGasPrice: z.ZodOptional<z.ZodString>;
4310
+ maxPriorityFee: z.ZodOptional<z.ZodString>;
4311
+ }, "strip", z.ZodTypeAny, {
4312
+ currentGasPrice: string;
4313
+ met: boolean;
4314
+ maxGasPrice?: string | undefined;
4315
+ maxPriorityFee?: string | undefined;
4316
+ currentPriorityFee?: string | undefined;
4317
+ }, {
4318
+ currentGasPrice: string;
4319
+ met: boolean;
4320
+ maxGasPrice?: string | undefined;
4321
+ maxPriorityFee?: string | undefined;
4322
+ currentPriorityFee?: string | undefined;
4323
+ }>>;
3938
4324
  }, "strip", z.ZodTypeAny, {
3939
4325
  policy: {
3940
4326
  tier: string;
@@ -3984,6 +4370,13 @@ export declare const DryRunSimulationResultOpenAPI: z.ZodObject<{
3984
4370
  transactionType: string;
3985
4371
  durationMs: number;
3986
4372
  };
4373
+ gasCondition?: {
4374
+ currentGasPrice: string;
4375
+ met: boolean;
4376
+ maxGasPrice?: string | undefined;
4377
+ maxPriorityFee?: string | undefined;
4378
+ currentPriorityFee?: string | undefined;
4379
+ } | undefined;
3987
4380
  }, {
3988
4381
  policy: {
3989
4382
  tier: string;
@@ -4033,6 +4426,13 @@ export declare const DryRunSimulationResultOpenAPI: z.ZodObject<{
4033
4426
  transactionType: string;
4034
4427
  durationMs: number;
4035
4428
  };
4429
+ gasCondition?: {
4430
+ currentGasPrice: string;
4431
+ met: boolean;
4432
+ maxGasPrice?: string | undefined;
4433
+ maxPriorityFee?: string | undefined;
4434
+ currentPriorityFee?: string | undefined;
4435
+ } | undefined;
4036
4436
  }>;
4037
4437
  export declare const OracleStatusResponseSchema: z.ZodObject<{
4038
4438
  cache: z.ZodObject<{
@@ -4277,6 +4677,7 @@ export declare const WithdrawResponseSchema: z.ZodObject<{
4277
4677
  }>, "many">;
4278
4678
  }, "strip", z.ZodTypeAny, {
4279
4679
  failed: number;
4680
+ total: number;
4280
4681
  results: {
4281
4682
  status: "failed" | "success";
4282
4683
  amount: string;
@@ -4284,10 +4685,10 @@ export declare const WithdrawResponseSchema: z.ZodObject<{
4284
4685
  txHash?: string | undefined;
4285
4686
  error?: string | undefined;
4286
4687
  }[];
4287
- total: number;
4288
4688
  succeeded: number;
4289
4689
  }, {
4290
4690
  failed: number;
4691
+ total: number;
4291
4692
  results: {
4292
4693
  status: "failed" | "success";
4293
4694
  amount: string;
@@ -4295,7 +4696,6 @@ export declare const WithdrawResponseSchema: z.ZodObject<{
4295
4696
  txHash?: string | undefined;
4296
4697
  error?: string | undefined;
4297
4698
  }[];
4298
- total: number;
4299
4699
  succeeded: number;
4300
4700
  }>;
4301
4701
  export declare const ConnectInfoResponseSchema: z.ZodObject<{