tapimo 0.10.2 → 0.12.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 (386) hide show
  1. package/dist/App.d.ts +4896 -2166
  2. package/dist/App.d.ts.map +1 -1
  3. package/dist/App.js +2 -2
  4. package/dist/App.js.map +1 -1
  5. package/dist/Assets.d.ts +15 -0
  6. package/dist/Assets.d.ts.map +1 -1
  7. package/dist/Assets.js +7 -0
  8. package/dist/Assets.js.map +1 -1
  9. package/dist/Webhooks.d.ts +0 -75
  10. package/dist/Webhooks.d.ts.map +1 -1
  11. package/dist/Webhooks.js +1 -143
  12. package/dist/Webhooks.js.map +1 -1
  13. package/dist/admin/App.d.ts +127 -78
  14. package/dist/admin/App.d.ts.map +1 -1
  15. package/dist/admin/apps/earn-vaults.d.ts +115 -1
  16. package/dist/admin/apps/earn-vaults.d.ts.map +1 -1
  17. package/dist/admin/apps/earn-vaults.js +59 -6
  18. package/dist/admin/apps/earn-vaults.js.map +1 -1
  19. package/dist/admin/apps/organizations.d.ts +3 -3
  20. package/dist/admin/apps/organizations.d.ts.map +1 -1
  21. package/dist/admin/apps/organizations.js +4 -2
  22. package/dist/admin/apps/organizations.js.map +1 -1
  23. package/dist/admin/apps/verified-tokens.d.ts +83 -83
  24. package/dist/admin/ui.generated.d.ts +1 -1
  25. package/dist/admin/ui.generated.d.ts.map +1 -1
  26. package/dist/admin/ui.generated.js +151 -151
  27. package/dist/admin/ui.generated.js.map +1 -1
  28. package/dist/apps/data/App.d.ts +5924 -4310
  29. package/dist/apps/data/App.d.ts.map +1 -1
  30. package/dist/apps/data/App.js +61 -9
  31. package/dist/apps/data/App.js.map +1 -1
  32. package/dist/apps/data/ZoneSelection.d.ts +62 -0
  33. package/dist/apps/data/ZoneSelection.d.ts.map +1 -0
  34. package/dist/apps/data/ZoneSelection.js +44 -0
  35. package/dist/apps/data/ZoneSelection.js.map +1 -0
  36. package/dist/apps/data/routes/activities.d.ts +2368 -5
  37. package/dist/apps/data/routes/activities.d.ts.map +1 -1
  38. package/dist/apps/data/routes/activities.js +423 -114
  39. package/dist/apps/data/routes/activities.js.map +1 -1
  40. package/dist/apps/data/routes/addresses.d.ts +131 -0
  41. package/dist/apps/data/routes/addresses.d.ts.map +1 -1
  42. package/dist/apps/data/routes/balances.d.ts +25 -25
  43. package/dist/apps/data/routes/balances.js +1 -1
  44. package/dist/apps/data/routes/balances.js.map +1 -1
  45. package/dist/apps/data/routes/blocks.d.ts +1 -1
  46. package/dist/apps/data/routes/blocks.js +1 -1
  47. package/dist/apps/data/routes/blocks.js.map +1 -1
  48. package/dist/apps/data/routes/earn.d.ts +135 -10
  49. package/dist/apps/data/routes/earn.d.ts.map +1 -1
  50. package/dist/apps/data/routes/earn.js +157 -25
  51. package/dist/apps/data/routes/earn.js.map +1 -1
  52. package/dist/apps/data/routes/exchanges.d.ts +829 -123
  53. package/dist/apps/data/routes/exchanges.d.ts.map +1 -1
  54. package/dist/apps/data/routes/exchanges.js +16 -13
  55. package/dist/apps/data/routes/exchanges.js.map +1 -1
  56. package/dist/apps/data/routes/fee-amm.d.ts +26 -26
  57. package/dist/apps/data/routes/fee-amm.d.ts.map +1 -1
  58. package/dist/apps/data/routes/fee-amm.js +9 -11
  59. package/dist/apps/data/routes/fee-amm.js.map +1 -1
  60. package/dist/apps/data/routes/receipts.d.ts +54 -54
  61. package/dist/apps/data/routes/receipts.js +1 -1
  62. package/dist/apps/data/routes/receipts.js.map +1 -1
  63. package/dist/apps/data/routes/rpc.js +24 -10
  64. package/dist/apps/data/routes/rpc.js.map +1 -1
  65. package/dist/apps/data/routes/tokenlist.d.ts +12 -12
  66. package/dist/apps/data/routes/tokenlist.d.ts.map +1 -1
  67. package/dist/apps/data/routes/tokenlist.js +16 -15
  68. package/dist/apps/data/routes/tokenlist.js.map +1 -1
  69. package/dist/apps/data/routes/tokens.d.ts +17 -3
  70. package/dist/apps/data/routes/tokens.d.ts.map +1 -1
  71. package/dist/apps/data/routes/tokens.js +34 -15
  72. package/dist/apps/data/routes/tokens.js.map +1 -1
  73. package/dist/apps/data/routes/transactions.d.ts +1 -1
  74. package/dist/apps/data/routes/transactions.js +1 -1
  75. package/dist/apps/data/routes/transactions.js.map +1 -1
  76. package/dist/apps/data/routes/transfers.d.ts +13 -13
  77. package/dist/apps/data/routes/transfers.d.ts.map +1 -1
  78. package/dist/apps/data/routes/transfers.js +7 -9
  79. package/dist/apps/data/routes/transfers.js.map +1 -1
  80. package/dist/apps/data/routes/valuation.d.ts +21 -21
  81. package/dist/apps/data/routes/verified-tokens.d.ts +5 -5
  82. package/dist/apps/data/routes/webhooks.d.ts +1011 -151
  83. package/dist/apps/data/routes/webhooks.d.ts.map +1 -1
  84. package/dist/apps/data/routes/webhooks.js +126 -739
  85. package/dist/apps/data/routes/webhooks.js.map +1 -1
  86. package/dist/apps/data/routes/zones.d.ts +15 -15
  87. package/dist/apps/funding/App.d.ts +27 -27
  88. package/dist/apps/funding/routes/chains.d.ts.map +1 -1
  89. package/dist/apps/funding/routes/chains.js +5 -4
  90. package/dist/apps/funding/routes/chains.js.map +1 -1
  91. package/dist/apps/funding/routes/deposit-addresses.d.ts +18 -18
  92. package/dist/apps/funding/routes/deposit-addresses.d.ts.map +1 -1
  93. package/dist/apps/funding/routes/deposit-addresses.js +8 -8
  94. package/dist/apps/funding/routes/deposit-addresses.js.map +1 -1
  95. package/dist/apps/funding/routes/providers.d.ts.map +1 -1
  96. package/dist/apps/funding/routes/providers.js +3 -2
  97. package/dist/apps/funding/routes/providers.js.map +1 -1
  98. package/dist/apps/funding/routes/quotes.d.ts.map +1 -1
  99. package/dist/apps/funding/routes/quotes.js +2 -2
  100. package/dist/apps/funding/routes/quotes.js.map +1 -1
  101. package/dist/apps/funding/routes/transfers.d.ts +33 -33
  102. package/dist/apps/management/App.d.ts +1433 -322
  103. package/dist/apps/management/App.d.ts.map +1 -1
  104. package/dist/apps/management/Billing.d.ts.map +1 -1
  105. package/dist/apps/management/Billing.js +19 -6
  106. package/dist/apps/management/Billing.js.map +1 -1
  107. package/dist/apps/management/routes/api-keys.d.ts +154 -94
  108. package/dist/apps/management/routes/api-keys.d.ts.map +1 -1
  109. package/dist/apps/management/routes/api-keys.js +76 -30
  110. package/dist/apps/management/routes/api-keys.js.map +1 -1
  111. package/dist/apps/management/routes/billing.d.ts +103 -30
  112. package/dist/apps/management/routes/billing.d.ts.map +1 -1
  113. package/dist/apps/management/routes/billing.js +91 -32
  114. package/dist/apps/management/routes/billing.js.map +1 -1
  115. package/dist/apps/management/routes/faucet.d.ts +12 -12
  116. package/dist/apps/management/routes/faucet.d.ts.map +1 -1
  117. package/dist/apps/management/routes/faucet.js +23 -12
  118. package/dist/apps/management/routes/faucet.js.map +1 -1
  119. package/dist/apps/management/routes/invitations.d.ts +46 -13
  120. package/dist/apps/management/routes/invitations.d.ts.map +1 -1
  121. package/dist/apps/management/routes/invitations.js +79 -29
  122. package/dist/apps/management/routes/invitations.js.map +1 -1
  123. package/dist/apps/management/routes/invite-links.d.ts +128 -83
  124. package/dist/apps/management/routes/invite-links.d.ts.map +1 -1
  125. package/dist/apps/management/routes/invite-links.js +100 -41
  126. package/dist/apps/management/routes/invite-links.js.map +1 -1
  127. package/dist/apps/management/routes/me.d.ts +5 -5
  128. package/dist/apps/management/routes/me.d.ts.map +1 -1
  129. package/dist/apps/management/routes/me.js +14 -10
  130. package/dist/apps/management/routes/me.js.map +1 -1
  131. package/dist/apps/management/routes/members.d.ts +68 -47
  132. package/dist/apps/management/routes/members.d.ts.map +1 -1
  133. package/dist/apps/management/routes/members.js +37 -18
  134. package/dist/apps/management/routes/members.js.map +1 -1
  135. package/dist/apps/management/routes/orgs.d.ts +48 -8
  136. package/dist/apps/management/routes/orgs.d.ts.map +1 -1
  137. package/dist/apps/management/routes/orgs.js +48 -19
  138. package/dist/apps/management/routes/orgs.js.map +1 -1
  139. package/dist/apps/management/routes/projects.d.ts +130 -68
  140. package/dist/apps/management/routes/projects.d.ts.map +1 -1
  141. package/dist/apps/management/routes/projects.js +72 -21
  142. package/dist/apps/management/routes/projects.js.map +1 -1
  143. package/dist/apps/management/routes/scopes.d.ts.map +1 -1
  144. package/dist/apps/management/routes/scopes.js +8 -5
  145. package/dist/apps/management/routes/scopes.js.map +1 -1
  146. package/dist/apps/management/routes/usage.d.ts +38 -38
  147. package/dist/apps/management/routes/usage.d.ts.map +1 -1
  148. package/dist/apps/management/routes/usage.js +41 -31
  149. package/dist/apps/management/routes/usage.js.map +1 -1
  150. package/dist/apps/management/routes/verified-token-requests.d.ts +34 -6
  151. package/dist/apps/management/routes/verified-token-requests.d.ts.map +1 -1
  152. package/dist/apps/management/routes/verified-token-requests.js +36 -17
  153. package/dist/apps/management/routes/verified-token-requests.js.map +1 -1
  154. package/dist/apps/management/routes/webhooks.d.ts +1186 -197
  155. package/dist/apps/management/routes/webhooks.d.ts.map +1 -1
  156. package/dist/apps/management/routes/webhooks.js +106 -38
  157. package/dist/apps/management/routes/webhooks.js.map +1 -1
  158. package/dist/apps/mpp/internal/Adapter.d.ts +1 -1
  159. package/dist/apps/mpp/internal/Adapter.d.ts.map +1 -1
  160. package/dist/apps/mpp/internal/Adapter.js +12 -0
  161. package/dist/apps/mpp/internal/Adapter.js.map +1 -1
  162. package/dist/db/Db.d.ts +2 -0
  163. package/dist/db/Db.d.ts.map +1 -1
  164. package/dist/db/Db.js +61 -0
  165. package/dist/db/Db.js.map +1 -1
  166. package/dist/db/Schema.d.ts +30 -2
  167. package/dist/db/Schema.d.ts.map +1 -1
  168. package/dist/db/Schema.js +28 -3
  169. package/dist/db/Schema.js.map +1 -1
  170. package/dist/db/tables/earnVaults.d.ts +5 -1
  171. package/dist/db/tables/earnVaults.d.ts.map +1 -1
  172. package/dist/db/tables/earnVaults.js +5 -0
  173. package/dist/db/tables/earnVaults.js.map +1 -1
  174. package/dist/db/tables/webhookDeliveries.d.ts.map +1 -1
  175. package/dist/db/tables/webhookDeliveries.js +10 -0
  176. package/dist/db/tables/webhookDeliveries.js.map +1 -1
  177. package/dist/db/tables/webhookQueueCompletions.d.ts +15 -0
  178. package/dist/db/tables/webhookQueueCompletions.d.ts.map +1 -0
  179. package/dist/db/tables/webhookQueueCompletions.js +32 -0
  180. package/dist/db/tables/webhookQueueCompletions.js.map +1 -0
  181. package/dist/db/tables/webhookQueueEvents.d.ts +16 -20
  182. package/dist/db/tables/webhookQueueEvents.d.ts.map +1 -1
  183. package/dist/db/tables/webhookQueueEvents.js +68 -43
  184. package/dist/db/tables/webhookQueueEvents.js.map +1 -1
  185. package/dist/db/tables/webhookSubscriptions.d.ts +47 -72
  186. package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -1
  187. package/dist/db/tables/webhookSubscriptions.js +92 -105
  188. package/dist/db/tables/webhookSubscriptions.js.map +1 -1
  189. package/dist/internal/Auth.d.ts +8 -1
  190. package/dist/internal/Auth.d.ts.map +1 -1
  191. package/dist/internal/Auth.js +13 -3
  192. package/dist/internal/Auth.js.map +1 -1
  193. package/dist/internal/Cache.d.ts.map +1 -1
  194. package/dist/internal/Cache.js +11 -7
  195. package/dist/internal/Cache.js.map +1 -1
  196. package/dist/internal/EarnVaults.d.ts +41 -2
  197. package/dist/internal/EarnVaults.d.ts.map +1 -1
  198. package/dist/internal/EarnVaults.js +167 -0
  199. package/dist/internal/EarnVaults.js.map +1 -1
  200. package/dist/internal/MetricSink.d.ts +35 -125
  201. package/dist/internal/MetricSink.d.ts.map +1 -1
  202. package/dist/internal/MetricSink.js +50 -121
  203. package/dist/internal/MetricSink.js.map +1 -1
  204. package/dist/internal/OpenApi.d.ts +26 -22
  205. package/dist/internal/OpenApi.d.ts.map +1 -1
  206. package/dist/internal/OpenApi.js +128 -39
  207. package/dist/internal/OpenApi.js.map +1 -1
  208. package/dist/internal/Response.d.ts +13 -8
  209. package/dist/internal/Response.d.ts.map +1 -1
  210. package/dist/internal/Response.js +16 -5
  211. package/dist/internal/Response.js.map +1 -1
  212. package/dist/internal/Schema.d.ts +8 -8
  213. package/dist/internal/Schema.d.ts.map +1 -1
  214. package/dist/internal/Schema.js +10 -9
  215. package/dist/internal/Schema.js.map +1 -1
  216. package/dist/internal/Store.d.ts +15 -6
  217. package/dist/internal/Store.d.ts.map +1 -1
  218. package/dist/internal/Store.js +45 -15
  219. package/dist/internal/Store.js.map +1 -1
  220. package/dist/internal/Tidx.d.ts +2 -0
  221. package/dist/internal/Tidx.d.ts.map +1 -1
  222. package/dist/internal/Tidx.js +16 -4
  223. package/dist/internal/Tidx.js.map +1 -1
  224. package/dist/internal/WebhookTransfer.d.ts +1 -55
  225. package/dist/internal/WebhookTransfer.d.ts.map +1 -1
  226. package/dist/internal/WebhookTransfer.js +1 -239
  227. package/dist/internal/WebhookTransfer.js.map +1 -1
  228. package/dist/internal/Webhooks.d.ts +112 -56
  229. package/dist/internal/Webhooks.d.ts.map +1 -1
  230. package/dist/internal/Webhooks.js +124 -93
  231. package/dist/internal/Webhooks.js.map +1 -1
  232. package/dist/internal/funding/Deposit.d.ts +2 -2
  233. package/dist/internal/funding/Deposit.d.ts.map +1 -1
  234. package/dist/internal/funding/Deposit.js +9 -8
  235. package/dist/internal/funding/Deposit.js.map +1 -1
  236. package/dist/internal/funding/DepositAddress.d.ts +4 -4
  237. package/dist/internal/funding/DepositAddress.d.ts.map +1 -1
  238. package/dist/internal/funding/DepositAddress.js +9 -8
  239. package/dist/internal/funding/DepositAddress.js.map +1 -1
  240. package/dist/internal/funding/DepositWebhook.d.ts +25 -0
  241. package/dist/internal/funding/DepositWebhook.d.ts.map +1 -0
  242. package/dist/internal/funding/DepositWebhook.js +74 -0
  243. package/dist/internal/funding/DepositWebhook.js.map +1 -0
  244. package/dist/internal/funding/Provider.d.ts.map +1 -1
  245. package/dist/internal/funding/Provider.js +13 -12
  246. package/dist/internal/funding/Provider.js.map +1 -1
  247. package/dist/internal/funding/Reconciliation.d.ts +6 -0
  248. package/dist/internal/funding/Reconciliation.d.ts.map +1 -1
  249. package/dist/internal/funding/Reconciliation.js +42 -10
  250. package/dist/internal/funding/Reconciliation.js.map +1 -1
  251. package/dist/internal/funding/index.d.ts +1 -0
  252. package/dist/internal/funding/index.d.ts.map +1 -1
  253. package/dist/internal/funding/index.js +1 -0
  254. package/dist/internal/funding/index.js.map +1 -1
  255. package/dist/internal/funding/providers/stargate.d.ts +19 -0
  256. package/dist/internal/funding/providers/stargate.d.ts.map +1 -0
  257. package/dist/internal/funding/providers/stargate.js +143 -0
  258. package/dist/internal/funding/providers/stargate.js.map +1 -0
  259. package/dist/internal/webhookDestinations/slack.d.ts.map +1 -1
  260. package/dist/internal/webhookDestinations/slack.js +16 -0
  261. package/dist/internal/webhookDestinations/slack.js.map +1 -1
  262. package/dist/providers/index.d.ts +7 -0
  263. package/dist/providers/index.d.ts.map +1 -1
  264. package/dist/providers/index.js +3 -0
  265. package/dist/providers/index.js.map +1 -1
  266. package/package.json +2 -2
  267. package/src/App.test.ts +48 -0
  268. package/src/App.ts +7 -2
  269. package/src/Assets.test.ts +18 -0
  270. package/src/Assets.ts +22 -0
  271. package/src/Client.test-d.ts +287 -17
  272. package/src/Webhooks.ts +1 -220
  273. package/src/admin/apps/earn-vaults.test.ts +143 -0
  274. package/src/admin/apps/earn-vaults.ts +83 -6
  275. package/src/admin/apps/organizations.ts +6 -2
  276. package/src/admin/ui/src/routes/api-keys.tsx +36 -0
  277. package/src/admin/ui.generated.ts +151 -189
  278. package/src/apps/data/App.test.ts +31 -0
  279. package/src/apps/data/App.ts +64 -10
  280. package/src/apps/data/ZoneSelection.test.ts +196 -0
  281. package/src/apps/data/ZoneSelection.ts +108 -0
  282. package/src/apps/data/routes/activities.test.ts +435 -12
  283. package/src/apps/data/routes/activities.ts +562 -125
  284. package/src/apps/data/routes/balances.ts +1 -1
  285. package/src/apps/data/routes/blocks.ts +1 -1
  286. package/src/apps/data/routes/earn.test.ts +183 -23
  287. package/src/apps/data/routes/earn.ts +225 -29
  288. package/src/apps/data/routes/earn.zone-access.test.ts +46 -0
  289. package/src/apps/data/routes/exchanges.test.ts +31 -1
  290. package/src/apps/data/routes/exchanges.ts +19 -15
  291. package/src/apps/data/routes/fee-amm.ts +18 -11
  292. package/src/apps/data/routes/receipts.ts +1 -1
  293. package/src/apps/data/routes/rpc.test.ts +75 -0
  294. package/src/apps/data/routes/rpc.ts +23 -9
  295. package/src/apps/data/routes/tokenlist.ts +21 -18
  296. package/src/apps/data/routes/tokens.test.ts +29 -0
  297. package/src/apps/data/routes/tokens.ts +38 -15
  298. package/src/apps/data/routes/transactions.ts +1 -1
  299. package/src/apps/data/routes/transfers.test.ts +3 -3
  300. package/src/apps/data/routes/transfers.ts +12 -9
  301. package/src/apps/data/routes/webhooks.test.ts +179 -1497
  302. package/src/apps/data/routes/webhooks.ts +156 -976
  303. package/src/apps/data/routes/zones.test.ts +19 -13
  304. package/src/apps/funding/routes/chains.test.ts +211 -7
  305. package/src/apps/funding/routes/chains.ts +19 -12
  306. package/src/apps/funding/routes/deposit-addresses.test.ts +394 -0
  307. package/src/apps/funding/routes/deposit-addresses.ts +84 -72
  308. package/src/apps/funding/routes/providers.ts +9 -5
  309. package/src/apps/funding/routes/quotes.test.ts +46 -0
  310. package/src/apps/funding/routes/quotes.ts +8 -5
  311. package/src/apps/funding/routes/transfers.test.ts +35 -32
  312. package/src/apps/management/Billing.test.ts +26 -0
  313. package/src/apps/management/Billing.ts +24 -7
  314. package/src/apps/management/routes/api-keys.test.ts +178 -0
  315. package/src/apps/management/routes/api-keys.ts +203 -144
  316. package/src/apps/management/routes/billing.test.ts +209 -0
  317. package/src/apps/management/routes/billing.ts +254 -177
  318. package/src/apps/management/routes/faucet.test.ts +39 -0
  319. package/src/apps/management/routes/faucet.ts +75 -41
  320. package/src/apps/management/routes/invitations.test.ts +216 -0
  321. package/src/apps/management/routes/invitations.ts +186 -109
  322. package/src/apps/management/routes/invite-links.test.ts +263 -1
  323. package/src/apps/management/routes/invite-links.ts +295 -214
  324. package/src/apps/management/routes/me.test.ts +49 -0
  325. package/src/apps/management/routes/me.ts +42 -32
  326. package/src/apps/management/routes/members.test.ts +124 -1
  327. package/src/apps/management/routes/members.ts +81 -51
  328. package/src/apps/management/routes/orgs.test.ts +176 -0
  329. package/src/apps/management/routes/orgs.ts +101 -59
  330. package/src/apps/management/routes/projects.test.ts +183 -0
  331. package/src/apps/management/routes/projects.ts +124 -60
  332. package/src/apps/management/routes/scopes.test.ts +44 -0
  333. package/src/apps/management/routes/scopes.ts +37 -28
  334. package/src/apps/management/routes/usage.test.ts +92 -0
  335. package/src/apps/management/routes/usage.ts +186 -151
  336. package/src/apps/management/routes/verified-token-requests.test.ts +114 -0
  337. package/src/apps/management/routes/verified-token-requests.ts +166 -133
  338. package/src/apps/management/routes/webhooks.test.ts +313 -1
  339. package/src/apps/management/routes/webhooks.ts +220 -71
  340. package/src/apps/mpp/internal/Adapter.ts +13 -1
  341. package/src/db/Db.test.ts +42 -5
  342. package/src/db/Db.ts +85 -0
  343. package/src/db/Schema.ts +41 -3
  344. package/src/db/tables/earnVaults.test.ts +22 -0
  345. package/src/db/tables/earnVaults.ts +11 -1
  346. package/src/db/tables/organizations.test.ts +5 -2
  347. package/src/db/tables/webhookDeliveries.ts +13 -0
  348. package/src/db/tables/webhookQueueCompletions.ts +55 -0
  349. package/src/db/tables/webhookQueueEvents.ts +97 -57
  350. package/src/db/tables/webhookSubscriptions.ts +134 -144
  351. package/src/internal/Auth.ts +23 -5
  352. package/src/internal/Cache.ts +14 -7
  353. package/src/internal/EarnVaults.capabilities.test.ts +33 -0
  354. package/src/internal/EarnVaults.test.ts +79 -0
  355. package/src/internal/EarnVaults.ts +277 -0
  356. package/src/internal/MetricSink.test.ts +41 -373
  357. package/src/internal/MetricSink.ts +92 -273
  358. package/src/internal/OpenApi.ts +165 -49
  359. package/src/internal/Response.test.ts +95 -0
  360. package/src/internal/Response.ts +40 -2
  361. package/src/internal/Schema.test.ts +34 -0
  362. package/src/internal/Schema.ts +20 -9
  363. package/src/internal/Store.test.ts +186 -0
  364. package/src/internal/Store.ts +57 -17
  365. package/src/internal/Tidx.test.ts +19 -0
  366. package/src/internal/Tidx.ts +16 -4
  367. package/src/internal/WebhookTransfer.ts +1 -351
  368. package/src/internal/Webhooks.test.ts +222 -145
  369. package/src/internal/Webhooks.ts +234 -135
  370. package/src/internal/funding/Deposit.ts +71 -64
  371. package/src/internal/funding/DepositAddress.ts +50 -43
  372. package/src/internal/funding/DepositWebhook.test.ts +131 -0
  373. package/src/internal/funding/DepositWebhook.ts +101 -0
  374. package/src/internal/funding/Provider.ts +164 -142
  375. package/src/internal/funding/Reconciliation.test.ts +14 -0
  376. package/src/internal/funding/Reconciliation.ts +161 -86
  377. package/src/internal/funding/index.test.ts +1 -0
  378. package/src/internal/funding/index.ts +1 -0
  379. package/src/internal/funding/providers/index.test.ts +185 -0
  380. package/src/internal/funding/providers/stargate.ts +184 -0
  381. package/src/internal/webhookDestinations/slack.ts +15 -0
  382. package/src/providers/index.test.ts +1 -0
  383. package/src/providers/index.ts +9 -0
  384. package/src/Webhooks.bench.ts +0 -714
  385. package/src/Webhooks.memory.bench.ts +0 -250
  386. package/src/Webhooks.test.ts +0 -146
@@ -219,6 +219,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
219
219
  } | {
220
220
  output: {
221
221
  data: ({
222
+ chainId?: number | undefined;
222
223
  perspective: "incoming" | "outgoing";
223
224
  events?: {
224
225
  address: `0x${string}`;
@@ -247,6 +248,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
247
248
  };
248
249
  type: "assets-deposited";
249
250
  } | {
251
+ chainId?: number | undefined;
250
252
  perspective: "incoming" | "outgoing";
251
253
  events?: {
252
254
  address: `0x${string}`;
@@ -276,6 +278,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
276
278
  };
277
279
  type: "shares-deposited";
278
280
  } | {
281
+ chainId?: number | undefined;
279
282
  perspective: "incoming" | "outgoing";
280
283
  events?: {
281
284
  address: `0x${string}`;
@@ -304,6 +307,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
304
307
  };
305
308
  type: "shares-redeemed";
306
309
  } | {
310
+ chainId?: number | undefined;
307
311
  perspective: "incoming" | "outgoing";
308
312
  events?: {
309
313
  address: `0x${string}`;
@@ -332,6 +336,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
332
336
  };
333
337
  type: "assets-withdrawn";
334
338
  } | {
339
+ chainId?: number | undefined;
335
340
  perspective: "incoming" | "outgoing";
336
341
  events?: {
337
342
  address: `0x${string}`;
@@ -360,6 +365,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
360
365
  };
361
366
  type: "shares-redemption-requested";
362
367
  } | {
368
+ chainId?: number | undefined;
363
369
  perspective: "incoming" | "outgoing";
364
370
  events?: {
365
371
  address: `0x${string}`;
@@ -389,6 +395,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
389
395
  };
390
396
  type: "shares-redemption-finalized";
391
397
  } | {
398
+ chainId?: number | undefined;
392
399
  perspective: "incoming" | "outgoing";
393
400
  events?: {
394
401
  address: `0x${string}`;
@@ -416,6 +423,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
416
423
  };
417
424
  type: "shares-redemption-cancelled";
418
425
  } | {
426
+ chainId?: number | undefined;
419
427
  perspective: "incoming" | "outgoing";
420
428
  events?: {
421
429
  address: `0x${string}`;
@@ -446,6 +454,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
446
454
  };
447
455
  type: "private-assets-deposited";
448
456
  } | {
457
+ chainId?: number | undefined;
449
458
  perspective: "incoming" | "outgoing";
450
459
  events?: {
451
460
  address: `0x${string}`;
@@ -476,6 +485,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
476
485
  };
477
486
  type: "private-shares-redeemed";
478
487
  } | {
488
+ chainId?: number | undefined;
479
489
  perspective: "incoming" | "outgoing";
480
490
  events?: {
481
491
  address: `0x${string}`;
@@ -544,6 +554,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
544
554
  };
545
555
  type: "transfer";
546
556
  } | {
557
+ chainId?: number | undefined;
547
558
  perspective: "incoming" | "outgoing";
548
559
  events?: {
549
560
  address: `0x${string}`;
@@ -585,6 +596,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
585
596
  };
586
597
  type: "mint";
587
598
  } | {
599
+ chainId?: number | undefined;
588
600
  perspective: "incoming" | "outgoing";
589
601
  events?: {
590
602
  address: `0x${string}`;
@@ -627,6 +639,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
627
639
  };
628
640
  type: "burn";
629
641
  } | {
642
+ chainId?: number | undefined;
630
643
  perspective: "incoming" | "outgoing";
631
644
  events?: {
632
645
  address: `0x${string}`;
@@ -687,6 +700,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
687
700
  };
688
701
  type: "swap";
689
702
  } | {
703
+ chainId?: number | undefined;
690
704
  perspective: "incoming" | "outgoing";
691
705
  events?: {
692
706
  address: `0x${string}`;
@@ -729,6 +743,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
729
743
  };
730
744
  type: "approval";
731
745
  } | {
746
+ chainId?: number | undefined;
732
747
  perspective: "incoming" | "outgoing";
733
748
  events?: {
734
749
  address: `0x${string}`;
@@ -770,6 +785,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
770
785
  };
771
786
  type: "session-closed";
772
787
  } | {
788
+ chainId?: number | undefined;
773
789
  perspective: "incoming" | "outgoing";
774
790
  events?: {
775
791
  address: `0x${string}`;
@@ -795,6 +811,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
795
811
  };
796
812
  type: "access-key-created";
797
813
  } | {
814
+ chainId?: number | undefined;
798
815
  perspective: "incoming" | "outgoing";
799
816
  events?: {
800
817
  address: `0x${string}`;
@@ -818,6 +835,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
818
835
  };
819
836
  type: "access-key-revoked";
820
837
  } | {
838
+ chainId?: number | undefined;
821
839
  perspective: "incoming" | "outgoing";
822
840
  events?: {
823
841
  address: `0x${string}`;
@@ -843,6 +861,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
843
861
  };
844
862
  type: "token-created";
845
863
  } | {
864
+ chainId?: number | undefined;
846
865
  perspective: "incoming" | "outgoing";
847
866
  events?: {
848
867
  address: `0x${string}`;
@@ -885,6 +904,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
885
904
  };
886
905
  type: "burn-blocked";
887
906
  } | {
907
+ chainId?: number | undefined;
888
908
  perspective: "incoming" | "outgoing";
889
909
  events?: {
890
910
  address: `0x${string}`;
@@ -929,6 +949,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
929
949
  };
930
950
  type: "channel-opened";
931
951
  } | {
952
+ chainId?: number | undefined;
932
953
  perspective: "incoming" | "outgoing";
933
954
  events?: {
934
955
  address: `0x${string}`;
@@ -971,6 +992,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
971
992
  };
972
993
  type: "channel-funded";
973
994
  } | {
995
+ chainId?: number | undefined;
974
996
  perspective: "incoming" | "outgoing";
975
997
  events?: {
976
998
  address: `0x${string}`;
@@ -1015,6 +1037,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1015
1037
  };
1016
1038
  type: "channel-settled";
1017
1039
  } | {
1040
+ chainId?: number | undefined;
1018
1041
  perspective: "incoming" | "outgoing";
1019
1042
  events?: {
1020
1043
  address: `0x${string}`;
@@ -1078,6 +1101,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1078
1101
  };
1079
1102
  type: "channel-closed";
1080
1103
  } | {
1104
+ chainId?: number | undefined;
1081
1105
  perspective: "incoming" | "outgoing";
1082
1106
  events?: {
1083
1107
  address: `0x${string}`;
@@ -1103,6 +1127,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1103
1127
  };
1104
1128
  type: "channel-close-cancelled";
1105
1129
  } | {
1130
+ chainId?: number | undefined;
1106
1131
  perspective: "incoming" | "outgoing";
1107
1132
  events?: {
1108
1133
  address: `0x${string}`;
@@ -1147,6 +1172,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1147
1172
  };
1148
1173
  type: "order-placed";
1149
1174
  } | {
1175
+ chainId?: number | undefined;
1150
1176
  perspective: "incoming" | "outgoing";
1151
1177
  events?: {
1152
1178
  address: `0x${string}`;
@@ -1170,6 +1196,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1170
1196
  };
1171
1197
  type: "order-cancelled";
1172
1198
  } | {
1199
+ chainId?: number | undefined;
1173
1200
  perspective: "incoming" | "outgoing";
1174
1201
  events?: {
1175
1202
  address: `0x${string}`;
@@ -1212,6 +1239,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1212
1239
  };
1213
1240
  type: "fees-distributed";
1214
1241
  } | {
1242
+ chainId?: number | undefined;
1215
1243
  perspective: "incoming" | "outgoing";
1216
1244
  events?: {
1217
1245
  address: `0x${string}`;
@@ -1273,6 +1301,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1273
1301
  };
1274
1302
  type: "fee-rebalance-swap";
1275
1303
  } | {
1304
+ chainId?: number | undefined;
1276
1305
  perspective: "incoming" | "outgoing";
1277
1306
  events?: {
1278
1307
  address: `0x${string}`;
@@ -1315,6 +1344,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1315
1344
  };
1316
1345
  type: "reward-distributed";
1317
1346
  } | {
1347
+ chainId?: number | undefined;
1318
1348
  perspective: "incoming" | "outgoing";
1319
1349
  events?: {
1320
1350
  address: `0x${string}`;
@@ -1339,6 +1369,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1339
1369
  };
1340
1370
  type: "reward-recipient-set";
1341
1371
  } | {
1372
+ chainId?: number | undefined;
1342
1373
  perspective: "incoming" | "outgoing";
1343
1374
  events?: {
1344
1375
  address: `0x${string}`;
@@ -1382,6 +1413,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1382
1413
  };
1383
1414
  type: "spending-limit-updated";
1384
1415
  } | {
1416
+ chainId?: number | undefined;
1385
1417
  perspective: "incoming" | "outgoing";
1386
1418
  events?: {
1387
1419
  address: `0x${string}`;
@@ -1409,6 +1441,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1409
1441
  };
1410
1442
  type: "order-filled";
1411
1443
  } | {
1444
+ chainId?: number | undefined;
1412
1445
  perspective: "incoming" | "outgoing";
1413
1446
  events?: {
1414
1447
  address: `0x${string}`;
@@ -1455,6 +1488,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1455
1488
  };
1456
1489
  type: "order-flipped";
1457
1490
  } | {
1491
+ chainId?: number | undefined;
1458
1492
  perspective: "incoming" | "outgoing";
1459
1493
  events?: {
1460
1494
  address: `0x${string}`;
@@ -1480,6 +1514,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1480
1514
  };
1481
1515
  type: "pair-created";
1482
1516
  } | {
1517
+ chainId?: number | undefined;
1483
1518
  perspective: "incoming" | "outgoing";
1484
1519
  events?: {
1485
1520
  address: `0x${string}`;
@@ -1504,6 +1539,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1504
1539
  };
1505
1540
  type: "token-pause-set";
1506
1541
  } | {
1542
+ chainId?: number | undefined;
1507
1543
  perspective: "incoming" | "outgoing";
1508
1544
  events?: {
1509
1545
  address: `0x${string}`;
@@ -1528,6 +1564,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1528
1564
  };
1529
1565
  type: "token-supply-cap-set";
1530
1566
  } | {
1567
+ chainId?: number | undefined;
1531
1568
  perspective: "incoming" | "outgoing";
1532
1569
  events?: {
1533
1570
  address: `0x${string}`;
@@ -1552,6 +1589,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1552
1589
  };
1553
1590
  type: "token-transfer-policy-set";
1554
1591
  } | {
1592
+ chainId?: number | undefined;
1555
1593
  perspective: "incoming" | "outgoing";
1556
1594
  events?: {
1557
1595
  address: `0x${string}`;
@@ -1576,6 +1614,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1576
1614
  };
1577
1615
  type: "token-quote-token-set";
1578
1616
  } | {
1617
+ chainId?: number | undefined;
1579
1618
  perspective: "incoming" | "outgoing";
1580
1619
  events?: {
1581
1620
  address: `0x${string}`;
@@ -1600,6 +1639,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1600
1639
  };
1601
1640
  type: "token-next-quote-token-set";
1602
1641
  } | {
1642
+ chainId?: number | undefined;
1603
1643
  perspective: "incoming" | "outgoing";
1604
1644
  events?: {
1605
1645
  address: `0x${string}`;
@@ -1624,6 +1664,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1624
1664
  };
1625
1665
  type: "token-logo-set";
1626
1666
  } | {
1667
+ chainId?: number | undefined;
1627
1668
  perspective: "incoming" | "outgoing";
1628
1669
  events?: {
1629
1670
  address: `0x${string}`;
@@ -1650,6 +1691,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1650
1691
  };
1651
1692
  type: "role-membership-set";
1652
1693
  } | {
1694
+ chainId?: number | undefined;
1653
1695
  perspective: "incoming" | "outgoing";
1654
1696
  events?: {
1655
1697
  address: `0x${string}`;
@@ -1675,6 +1717,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1675
1717
  };
1676
1718
  type: "role-admin-set";
1677
1719
  } | {
1720
+ chainId?: number | undefined;
1678
1721
  perspective: "incoming" | "outgoing";
1679
1722
  events?: {
1680
1723
  address: `0x${string}`;
@@ -1699,6 +1742,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1699
1742
  };
1700
1743
  type: "fee-user-token-set";
1701
1744
  } | {
1745
+ chainId?: number | undefined;
1702
1746
  perspective: "incoming" | "outgoing";
1703
1747
  events?: {
1704
1748
  address: `0x${string}`;
@@ -1723,6 +1767,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1723
1767
  };
1724
1768
  type: "fee-validator-token-set";
1725
1769
  } | {
1770
+ chainId?: number | undefined;
1726
1771
  perspective: "incoming" | "outgoing";
1727
1772
  events?: {
1728
1773
  address: `0x${string}`;
@@ -1748,6 +1793,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1748
1793
  };
1749
1794
  type: "policy-created";
1750
1795
  } | {
1796
+ chainId?: number | undefined;
1751
1797
  perspective: "incoming" | "outgoing";
1752
1798
  events?: {
1753
1799
  address: `0x${string}`;
@@ -1773,6 +1819,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1773
1819
  };
1774
1820
  type: "policy-admin-set";
1775
1821
  } | {
1822
+ chainId?: number | undefined;
1776
1823
  perspective: "incoming" | "outgoing";
1777
1824
  events?: {
1778
1825
  address: `0x${string}`;
@@ -1799,6 +1846,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1799
1846
  };
1800
1847
  type: "whitelist-updated";
1801
1848
  } | {
1849
+ chainId?: number | undefined;
1802
1850
  perspective: "incoming" | "outgoing";
1803
1851
  events?: {
1804
1852
  address: `0x${string}`;
@@ -1825,6 +1873,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1825
1873
  };
1826
1874
  type: "blacklist-updated";
1827
1875
  } | {
1876
+ chainId?: number | undefined;
1828
1877
  perspective: "incoming" | "outgoing";
1829
1878
  events?: {
1830
1879
  address: `0x${string}`;
@@ -1852,6 +1901,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1852
1901
  };
1853
1902
  type: "compound-policy-created";
1854
1903
  } | {
1904
+ chainId?: number | undefined;
1855
1905
  perspective: "incoming" | "outgoing";
1856
1906
  events?: {
1857
1907
  address: `0x${string}`;
@@ -1876,6 +1926,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1876
1926
  };
1877
1927
  type: "master-registered";
1878
1928
  } | {
1929
+ chainId?: number | undefined;
1879
1930
  perspective: "incoming" | "outgoing";
1880
1931
  events?: {
1881
1932
  address: `0x${string}`;
@@ -1901,6 +1952,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1901
1952
  };
1902
1953
  type: "nonce-incremented";
1903
1954
  } | {
1955
+ chainId?: number | undefined;
1904
1956
  perspective: "incoming" | "outgoing";
1905
1957
  events?: {
1906
1958
  address: `0x${string}`;
@@ -1925,6 +1977,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1925
1977
  };
1926
1978
  type: "key-authorization-witness";
1927
1979
  } | {
1980
+ chainId?: number | undefined;
1928
1981
  perspective: "incoming" | "outgoing";
1929
1982
  events?: {
1930
1983
  address: `0x${string}`;
@@ -1949,6 +2002,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1949
2002
  };
1950
2003
  type: "key-authorization-witness-burned";
1951
2004
  } | {
2005
+ chainId?: number | undefined;
1952
2006
  perspective: "incoming" | "outgoing";
1953
2007
  events?: {
1954
2008
  address: `0x${string}`;
@@ -1977,6 +2031,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
1977
2031
  };
1978
2032
  type: "validator-added";
1979
2033
  } | {
2034
+ chainId?: number | undefined;
1980
2035
  perspective: "incoming" | "outgoing";
1981
2036
  events?: {
1982
2037
  address: `0x${string}`;
@@ -2001,6 +2056,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2001
2056
  };
2002
2057
  type: "validator-deactivated";
2003
2058
  } | {
2059
+ chainId?: number | undefined;
2004
2060
  perspective: "incoming" | "outgoing";
2005
2061
  events?: {
2006
2062
  address: `0x${string}`;
@@ -2031,6 +2087,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2031
2087
  };
2032
2088
  type: "validator-rotated";
2033
2089
  } | {
2090
+ chainId?: number | undefined;
2034
2091
  perspective: "incoming" | "outgoing";
2035
2092
  events?: {
2036
2093
  address: `0x${string}`;
@@ -2056,6 +2113,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2056
2113
  };
2057
2114
  type: "validator-fee-recipient-set";
2058
2115
  } | {
2116
+ chainId?: number | undefined;
2059
2117
  perspective: "incoming" | "outgoing";
2060
2118
  events?: {
2061
2119
  address: `0x${string}`;
@@ -2082,6 +2140,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2082
2140
  };
2083
2141
  type: "validator-ip-set";
2084
2142
  } | {
2143
+ chainId?: number | undefined;
2085
2144
  perspective: "incoming" | "outgoing";
2086
2145
  events?: {
2087
2146
  address: `0x${string}`;
@@ -2108,6 +2167,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2108
2167
  };
2109
2168
  type: "validator-ownership-transferred";
2110
2169
  } | {
2170
+ chainId?: number | undefined;
2111
2171
  perspective: "incoming" | "outgoing";
2112
2172
  events?: {
2113
2173
  address: `0x${string}`;
@@ -2132,6 +2192,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2132
2192
  };
2133
2193
  type: "ownership-transferred";
2134
2194
  } | {
2195
+ chainId?: number | undefined;
2135
2196
  perspective: "incoming" | "outgoing";
2136
2197
  events?: {
2137
2198
  address: `0x${string}`;
@@ -2157,6 +2218,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2157
2218
  };
2158
2219
  type: "validator-migrated";
2159
2220
  } | {
2221
+ chainId?: number | undefined;
2160
2222
  perspective: "incoming" | "outgoing";
2161
2223
  events?: {
2162
2224
  address: `0x${string}`;
@@ -2182,6 +2244,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2182
2244
  };
2183
2245
  type: "validator-migration-skipped";
2184
2246
  } | {
2247
+ chainId?: number | undefined;
2185
2248
  perspective: "incoming" | "outgoing";
2186
2249
  events?: {
2187
2250
  address: `0x${string}`;
@@ -2206,6 +2269,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2206
2269
  };
2207
2270
  type: "network-identity-rotation-epoch-set";
2208
2271
  } | {
2272
+ chainId?: number | undefined;
2209
2273
  perspective: "incoming" | "outgoing";
2210
2274
  events?: {
2211
2275
  address: `0x${string}`;
@@ -2229,6 +2293,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2229
2293
  };
2230
2294
  type: "initialized";
2231
2295
  } | {
2296
+ chainId?: number | undefined;
2232
2297
  perspective: "incoming" | "outgoing";
2233
2298
  events?: {
2234
2299
  address: `0x${string}`;
@@ -2251,8 +2316,10 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2251
2316
  };
2252
2317
  type: "unknown";
2253
2318
  } | {
2319
+ chainId?: number | undefined;
2254
2320
  data: {
2255
2321
  items: ({
2322
+ chainId?: number | undefined;
2256
2323
  perspective: "incoming" | "outgoing";
2257
2324
  events?: {
2258
2325
  address: `0x${string}`;
@@ -2281,6 +2348,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2281
2348
  };
2282
2349
  type: "assets-deposited";
2283
2350
  } | {
2351
+ chainId?: number | undefined;
2284
2352
  perspective: "incoming" | "outgoing";
2285
2353
  events?: {
2286
2354
  address: `0x${string}`;
@@ -2310,6 +2378,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2310
2378
  };
2311
2379
  type: "shares-deposited";
2312
2380
  } | {
2381
+ chainId?: number | undefined;
2313
2382
  perspective: "incoming" | "outgoing";
2314
2383
  events?: {
2315
2384
  address: `0x${string}`;
@@ -2338,6 +2407,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2338
2407
  };
2339
2408
  type: "shares-redeemed";
2340
2409
  } | {
2410
+ chainId?: number | undefined;
2341
2411
  perspective: "incoming" | "outgoing";
2342
2412
  events?: {
2343
2413
  address: `0x${string}`;
@@ -2366,6 +2436,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2366
2436
  };
2367
2437
  type: "assets-withdrawn";
2368
2438
  } | {
2439
+ chainId?: number | undefined;
2369
2440
  perspective: "incoming" | "outgoing";
2370
2441
  events?: {
2371
2442
  address: `0x${string}`;
@@ -2394,6 +2465,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2394
2465
  };
2395
2466
  type: "shares-redemption-requested";
2396
2467
  } | {
2468
+ chainId?: number | undefined;
2397
2469
  perspective: "incoming" | "outgoing";
2398
2470
  events?: {
2399
2471
  address: `0x${string}`;
@@ -2423,6 +2495,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2423
2495
  };
2424
2496
  type: "shares-redemption-finalized";
2425
2497
  } | {
2498
+ chainId?: number | undefined;
2426
2499
  perspective: "incoming" | "outgoing";
2427
2500
  events?: {
2428
2501
  address: `0x${string}`;
@@ -2450,6 +2523,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2450
2523
  };
2451
2524
  type: "shares-redemption-cancelled";
2452
2525
  } | {
2526
+ chainId?: number | undefined;
2453
2527
  perspective: "incoming" | "outgoing";
2454
2528
  events?: {
2455
2529
  address: `0x${string}`;
@@ -2480,6 +2554,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2480
2554
  };
2481
2555
  type: "private-assets-deposited";
2482
2556
  } | {
2557
+ chainId?: number | undefined;
2483
2558
  perspective: "incoming" | "outgoing";
2484
2559
  events?: {
2485
2560
  address: `0x${string}`;
@@ -2510,6 +2585,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2510
2585
  };
2511
2586
  type: "private-shares-redeemed";
2512
2587
  } | {
2588
+ chainId?: number | undefined;
2513
2589
  perspective: "incoming" | "outgoing";
2514
2590
  events?: {
2515
2591
  address: `0x${string}`;
@@ -2578,6 +2654,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2578
2654
  };
2579
2655
  type: "transfer";
2580
2656
  } | {
2657
+ chainId?: number | undefined;
2581
2658
  perspective: "incoming" | "outgoing";
2582
2659
  events?: {
2583
2660
  address: `0x${string}`;
@@ -2619,6 +2696,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2619
2696
  };
2620
2697
  type: "mint";
2621
2698
  } | {
2699
+ chainId?: number | undefined;
2622
2700
  perspective: "incoming" | "outgoing";
2623
2701
  events?: {
2624
2702
  address: `0x${string}`;
@@ -2661,6 +2739,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2661
2739
  };
2662
2740
  type: "burn";
2663
2741
  } | {
2742
+ chainId?: number | undefined;
2664
2743
  perspective: "incoming" | "outgoing";
2665
2744
  events?: {
2666
2745
  address: `0x${string}`;
@@ -2721,6 +2800,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2721
2800
  };
2722
2801
  type: "swap";
2723
2802
  } | {
2803
+ chainId?: number | undefined;
2724
2804
  perspective: "incoming" | "outgoing";
2725
2805
  events?: {
2726
2806
  address: `0x${string}`;
@@ -2763,6 +2843,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2763
2843
  };
2764
2844
  type: "approval";
2765
2845
  } | {
2846
+ chainId?: number | undefined;
2766
2847
  perspective: "incoming" | "outgoing";
2767
2848
  events?: {
2768
2849
  address: `0x${string}`;
@@ -2804,6 +2885,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2804
2885
  };
2805
2886
  type: "session-closed";
2806
2887
  } | {
2888
+ chainId?: number | undefined;
2807
2889
  perspective: "incoming" | "outgoing";
2808
2890
  events?: {
2809
2891
  address: `0x${string}`;
@@ -2829,6 +2911,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2829
2911
  };
2830
2912
  type: "access-key-created";
2831
2913
  } | {
2914
+ chainId?: number | undefined;
2832
2915
  perspective: "incoming" | "outgoing";
2833
2916
  events?: {
2834
2917
  address: `0x${string}`;
@@ -2852,6 +2935,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2852
2935
  };
2853
2936
  type: "access-key-revoked";
2854
2937
  } | {
2938
+ chainId?: number | undefined;
2855
2939
  perspective: "incoming" | "outgoing";
2856
2940
  events?: {
2857
2941
  address: `0x${string}`;
@@ -2877,6 +2961,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2877
2961
  };
2878
2962
  type: "token-created";
2879
2963
  } | {
2964
+ chainId?: number | undefined;
2880
2965
  perspective: "incoming" | "outgoing";
2881
2966
  events?: {
2882
2967
  address: `0x${string}`;
@@ -2919,6 +3004,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2919
3004
  };
2920
3005
  type: "burn-blocked";
2921
3006
  } | {
3007
+ chainId?: number | undefined;
2922
3008
  perspective: "incoming" | "outgoing";
2923
3009
  events?: {
2924
3010
  address: `0x${string}`;
@@ -2963,6 +3049,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
2963
3049
  };
2964
3050
  type: "channel-opened";
2965
3051
  } | {
3052
+ chainId?: number | undefined;
2966
3053
  perspective: "incoming" | "outgoing";
2967
3054
  events?: {
2968
3055
  address: `0x${string}`;
@@ -3005,6 +3092,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3005
3092
  };
3006
3093
  type: "channel-funded";
3007
3094
  } | {
3095
+ chainId?: number | undefined;
3008
3096
  perspective: "incoming" | "outgoing";
3009
3097
  events?: {
3010
3098
  address: `0x${string}`;
@@ -3049,6 +3137,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3049
3137
  };
3050
3138
  type: "channel-settled";
3051
3139
  } | {
3140
+ chainId?: number | undefined;
3052
3141
  perspective: "incoming" | "outgoing";
3053
3142
  events?: {
3054
3143
  address: `0x${string}`;
@@ -3112,6 +3201,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3112
3201
  };
3113
3202
  type: "channel-closed";
3114
3203
  } | {
3204
+ chainId?: number | undefined;
3115
3205
  perspective: "incoming" | "outgoing";
3116
3206
  events?: {
3117
3207
  address: `0x${string}`;
@@ -3137,6 +3227,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3137
3227
  };
3138
3228
  type: "channel-close-cancelled";
3139
3229
  } | {
3230
+ chainId?: number | undefined;
3140
3231
  perspective: "incoming" | "outgoing";
3141
3232
  events?: {
3142
3233
  address: `0x${string}`;
@@ -3181,6 +3272,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3181
3272
  };
3182
3273
  type: "order-placed";
3183
3274
  } | {
3275
+ chainId?: number | undefined;
3184
3276
  perspective: "incoming" | "outgoing";
3185
3277
  events?: {
3186
3278
  address: `0x${string}`;
@@ -3204,6 +3296,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3204
3296
  };
3205
3297
  type: "order-cancelled";
3206
3298
  } | {
3299
+ chainId?: number | undefined;
3207
3300
  perspective: "incoming" | "outgoing";
3208
3301
  events?: {
3209
3302
  address: `0x${string}`;
@@ -3246,6 +3339,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3246
3339
  };
3247
3340
  type: "fees-distributed";
3248
3341
  } | {
3342
+ chainId?: number | undefined;
3249
3343
  perspective: "incoming" | "outgoing";
3250
3344
  events?: {
3251
3345
  address: `0x${string}`;
@@ -3307,6 +3401,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3307
3401
  };
3308
3402
  type: "fee-rebalance-swap";
3309
3403
  } | {
3404
+ chainId?: number | undefined;
3310
3405
  perspective: "incoming" | "outgoing";
3311
3406
  events?: {
3312
3407
  address: `0x${string}`;
@@ -3349,6 +3444,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3349
3444
  };
3350
3445
  type: "reward-distributed";
3351
3446
  } | {
3447
+ chainId?: number | undefined;
3352
3448
  perspective: "incoming" | "outgoing";
3353
3449
  events?: {
3354
3450
  address: `0x${string}`;
@@ -3373,6 +3469,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3373
3469
  };
3374
3470
  type: "reward-recipient-set";
3375
3471
  } | {
3472
+ chainId?: number | undefined;
3376
3473
  perspective: "incoming" | "outgoing";
3377
3474
  events?: {
3378
3475
  address: `0x${string}`;
@@ -3416,6 +3513,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3416
3513
  };
3417
3514
  type: "spending-limit-updated";
3418
3515
  } | {
3516
+ chainId?: number | undefined;
3419
3517
  perspective: "incoming" | "outgoing";
3420
3518
  events?: {
3421
3519
  address: `0x${string}`;
@@ -3443,6 +3541,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3443
3541
  };
3444
3542
  type: "order-filled";
3445
3543
  } | {
3544
+ chainId?: number | undefined;
3446
3545
  perspective: "incoming" | "outgoing";
3447
3546
  events?: {
3448
3547
  address: `0x${string}`;
@@ -3489,6 +3588,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3489
3588
  };
3490
3589
  type: "order-flipped";
3491
3590
  } | {
3591
+ chainId?: number | undefined;
3492
3592
  perspective: "incoming" | "outgoing";
3493
3593
  events?: {
3494
3594
  address: `0x${string}`;
@@ -3514,6 +3614,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3514
3614
  };
3515
3615
  type: "pair-created";
3516
3616
  } | {
3617
+ chainId?: number | undefined;
3517
3618
  perspective: "incoming" | "outgoing";
3518
3619
  events?: {
3519
3620
  address: `0x${string}`;
@@ -3538,6 +3639,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3538
3639
  };
3539
3640
  type: "token-pause-set";
3540
3641
  } | {
3642
+ chainId?: number | undefined;
3541
3643
  perspective: "incoming" | "outgoing";
3542
3644
  events?: {
3543
3645
  address: `0x${string}`;
@@ -3562,6 +3664,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3562
3664
  };
3563
3665
  type: "token-supply-cap-set";
3564
3666
  } | {
3667
+ chainId?: number | undefined;
3565
3668
  perspective: "incoming" | "outgoing";
3566
3669
  events?: {
3567
3670
  address: `0x${string}`;
@@ -3586,6 +3689,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3586
3689
  };
3587
3690
  type: "token-transfer-policy-set";
3588
3691
  } | {
3692
+ chainId?: number | undefined;
3589
3693
  perspective: "incoming" | "outgoing";
3590
3694
  events?: {
3591
3695
  address: `0x${string}`;
@@ -3610,6 +3714,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3610
3714
  };
3611
3715
  type: "token-quote-token-set";
3612
3716
  } | {
3717
+ chainId?: number | undefined;
3613
3718
  perspective: "incoming" | "outgoing";
3614
3719
  events?: {
3615
3720
  address: `0x${string}`;
@@ -3634,6 +3739,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3634
3739
  };
3635
3740
  type: "token-next-quote-token-set";
3636
3741
  } | {
3742
+ chainId?: number | undefined;
3637
3743
  perspective: "incoming" | "outgoing";
3638
3744
  events?: {
3639
3745
  address: `0x${string}`;
@@ -3658,6 +3764,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3658
3764
  };
3659
3765
  type: "token-logo-set";
3660
3766
  } | {
3767
+ chainId?: number | undefined;
3661
3768
  perspective: "incoming" | "outgoing";
3662
3769
  events?: {
3663
3770
  address: `0x${string}`;
@@ -3684,6 +3791,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3684
3791
  };
3685
3792
  type: "role-membership-set";
3686
3793
  } | {
3794
+ chainId?: number | undefined;
3687
3795
  perspective: "incoming" | "outgoing";
3688
3796
  events?: {
3689
3797
  address: `0x${string}`;
@@ -3709,6 +3817,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3709
3817
  };
3710
3818
  type: "role-admin-set";
3711
3819
  } | {
3820
+ chainId?: number | undefined;
3712
3821
  perspective: "incoming" | "outgoing";
3713
3822
  events?: {
3714
3823
  address: `0x${string}`;
@@ -3733,6 +3842,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3733
3842
  };
3734
3843
  type: "fee-user-token-set";
3735
3844
  } | {
3845
+ chainId?: number | undefined;
3736
3846
  perspective: "incoming" | "outgoing";
3737
3847
  events?: {
3738
3848
  address: `0x${string}`;
@@ -3757,6 +3867,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3757
3867
  };
3758
3868
  type: "fee-validator-token-set";
3759
3869
  } | {
3870
+ chainId?: number | undefined;
3760
3871
  perspective: "incoming" | "outgoing";
3761
3872
  events?: {
3762
3873
  address: `0x${string}`;
@@ -3782,6 +3893,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3782
3893
  };
3783
3894
  type: "policy-created";
3784
3895
  } | {
3896
+ chainId?: number | undefined;
3785
3897
  perspective: "incoming" | "outgoing";
3786
3898
  events?: {
3787
3899
  address: `0x${string}`;
@@ -3807,6 +3919,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3807
3919
  };
3808
3920
  type: "policy-admin-set";
3809
3921
  } | {
3922
+ chainId?: number | undefined;
3810
3923
  perspective: "incoming" | "outgoing";
3811
3924
  events?: {
3812
3925
  address: `0x${string}`;
@@ -3833,6 +3946,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3833
3946
  };
3834
3947
  type: "whitelist-updated";
3835
3948
  } | {
3949
+ chainId?: number | undefined;
3836
3950
  perspective: "incoming" | "outgoing";
3837
3951
  events?: {
3838
3952
  address: `0x${string}`;
@@ -3859,6 +3973,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3859
3973
  };
3860
3974
  type: "blacklist-updated";
3861
3975
  } | {
3976
+ chainId?: number | undefined;
3862
3977
  perspective: "incoming" | "outgoing";
3863
3978
  events?: {
3864
3979
  address: `0x${string}`;
@@ -3886,6 +4001,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3886
4001
  };
3887
4002
  type: "compound-policy-created";
3888
4003
  } | {
4004
+ chainId?: number | undefined;
3889
4005
  perspective: "incoming" | "outgoing";
3890
4006
  events?: {
3891
4007
  address: `0x${string}`;
@@ -3910,6 +4026,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3910
4026
  };
3911
4027
  type: "master-registered";
3912
4028
  } | {
4029
+ chainId?: number | undefined;
3913
4030
  perspective: "incoming" | "outgoing";
3914
4031
  events?: {
3915
4032
  address: `0x${string}`;
@@ -3935,6 +4052,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3935
4052
  };
3936
4053
  type: "nonce-incremented";
3937
4054
  } | {
4055
+ chainId?: number | undefined;
3938
4056
  perspective: "incoming" | "outgoing";
3939
4057
  events?: {
3940
4058
  address: `0x${string}`;
@@ -3959,6 +4077,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3959
4077
  };
3960
4078
  type: "key-authorization-witness";
3961
4079
  } | {
4080
+ chainId?: number | undefined;
3962
4081
  perspective: "incoming" | "outgoing";
3963
4082
  events?: {
3964
4083
  address: `0x${string}`;
@@ -3983,6 +4102,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
3983
4102
  };
3984
4103
  type: "key-authorization-witness-burned";
3985
4104
  } | {
4105
+ chainId?: number | undefined;
3986
4106
  perspective: "incoming" | "outgoing";
3987
4107
  events?: {
3988
4108
  address: `0x${string}`;
@@ -4011,6 +4131,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4011
4131
  };
4012
4132
  type: "validator-added";
4013
4133
  } | {
4134
+ chainId?: number | undefined;
4014
4135
  perspective: "incoming" | "outgoing";
4015
4136
  events?: {
4016
4137
  address: `0x${string}`;
@@ -4035,6 +4156,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4035
4156
  };
4036
4157
  type: "validator-deactivated";
4037
4158
  } | {
4159
+ chainId?: number | undefined;
4038
4160
  perspective: "incoming" | "outgoing";
4039
4161
  events?: {
4040
4162
  address: `0x${string}`;
@@ -4065,6 +4187,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4065
4187
  };
4066
4188
  type: "validator-rotated";
4067
4189
  } | {
4190
+ chainId?: number | undefined;
4068
4191
  perspective: "incoming" | "outgoing";
4069
4192
  events?: {
4070
4193
  address: `0x${string}`;
@@ -4090,6 +4213,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4090
4213
  };
4091
4214
  type: "validator-fee-recipient-set";
4092
4215
  } | {
4216
+ chainId?: number | undefined;
4093
4217
  perspective: "incoming" | "outgoing";
4094
4218
  events?: {
4095
4219
  address: `0x${string}`;
@@ -4116,6 +4240,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4116
4240
  };
4117
4241
  type: "validator-ip-set";
4118
4242
  } | {
4243
+ chainId?: number | undefined;
4119
4244
  perspective: "incoming" | "outgoing";
4120
4245
  events?: {
4121
4246
  address: `0x${string}`;
@@ -4142,6 +4267,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4142
4267
  };
4143
4268
  type: "validator-ownership-transferred";
4144
4269
  } | {
4270
+ chainId?: number | undefined;
4145
4271
  perspective: "incoming" | "outgoing";
4146
4272
  events?: {
4147
4273
  address: `0x${string}`;
@@ -4166,6 +4292,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4166
4292
  };
4167
4293
  type: "ownership-transferred";
4168
4294
  } | {
4295
+ chainId?: number | undefined;
4169
4296
  perspective: "incoming" | "outgoing";
4170
4297
  events?: {
4171
4298
  address: `0x${string}`;
@@ -4191,6 +4318,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4191
4318
  };
4192
4319
  type: "validator-migrated";
4193
4320
  } | {
4321
+ chainId?: number | undefined;
4194
4322
  perspective: "incoming" | "outgoing";
4195
4323
  events?: {
4196
4324
  address: `0x${string}`;
@@ -4216,6 +4344,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4216
4344
  };
4217
4345
  type: "validator-migration-skipped";
4218
4346
  } | {
4347
+ chainId?: number | undefined;
4219
4348
  perspective: "incoming" | "outgoing";
4220
4349
  events?: {
4221
4350
  address: `0x${string}`;
@@ -4240,6 +4369,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4240
4369
  };
4241
4370
  type: "network-identity-rotation-epoch-set";
4242
4371
  } | {
4372
+ chainId?: number | undefined;
4243
4373
  perspective: "incoming" | "outgoing";
4244
4374
  events?: {
4245
4375
  address: `0x${string}`;
@@ -4263,6 +4393,7 @@ export declare function addresses(options?: addresses.Options): import("hono/hon
4263
4393
  };
4264
4394
  type: "initialized";
4265
4395
  } | {
4396
+ chainId?: number | undefined;
4266
4397
  perspective: "incoming" | "outgoing";
4267
4398
  events?: {
4268
4399
  address: `0x${string}`;