tapimo 0.0.0 → 0.0.2

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 (422) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +119 -0
  3. package/dist/ApiKey.d.ts +65 -0
  4. package/dist/ApiKey.d.ts.map +1 -0
  5. package/dist/ApiKey.js +105 -0
  6. package/dist/ApiKey.js.map +1 -0
  7. package/dist/ApiKeySource.d.ts +166 -0
  8. package/dist/ApiKeySource.d.ts.map +1 -0
  9. package/dist/ApiKeySource.js +234 -0
  10. package/dist/ApiKeySource.js.map +1 -0
  11. package/dist/App.d.ts +19317 -0
  12. package/dist/App.d.ts.map +1 -0
  13. package/dist/App.js +612 -0
  14. package/dist/App.js.map +1 -0
  15. package/dist/Assets.d.ts +44 -0
  16. package/dist/Assets.d.ts.map +1 -0
  17. package/dist/Assets.js +23 -0
  18. package/dist/Assets.js.map +1 -0
  19. package/dist/Auth.d.ts +2 -0
  20. package/dist/Auth.d.ts.map +1 -0
  21. package/dist/Auth.js +2 -0
  22. package/dist/Auth.js.map +1 -0
  23. package/dist/Cli.d.ts +21 -0
  24. package/dist/Cli.d.ts.map +1 -0
  25. package/dist/Cli.js +13 -0
  26. package/dist/Cli.js.map +1 -0
  27. package/dist/Client.d.ts +20 -0
  28. package/dist/Client.d.ts.map +1 -0
  29. package/dist/Client.js +24 -0
  30. package/dist/Client.js.map +1 -0
  31. package/dist/Metrics.d.ts +70 -0
  32. package/dist/Metrics.d.ts.map +1 -0
  33. package/dist/Metrics.js +91 -0
  34. package/dist/Metrics.js.map +1 -0
  35. package/dist/Scope.d.ts +35 -0
  36. package/dist/Scope.d.ts.map +1 -0
  37. package/dist/Scope.js +38 -0
  38. package/dist/Scope.js.map +1 -0
  39. package/dist/Webhooks.d.ts +79 -0
  40. package/dist/Webhooks.d.ts.map +1 -0
  41. package/dist/Webhooks.js +107 -0
  42. package/dist/Webhooks.js.map +1 -0
  43. package/dist/admin/Access.d.ts +41 -0
  44. package/dist/admin/Access.d.ts.map +1 -0
  45. package/dist/admin/Access.js +75 -0
  46. package/dist/admin/Access.js.map +1 -0
  47. package/dist/admin/App.d.ts +1221 -0
  48. package/dist/admin/App.d.ts.map +1 -0
  49. package/dist/admin/App.js +113 -0
  50. package/dist/admin/App.js.map +1 -0
  51. package/dist/admin/apps/api-keys.d.ts +209 -0
  52. package/dist/admin/apps/api-keys.d.ts.map +1 -0
  53. package/dist/admin/apps/api-keys.js +129 -0
  54. package/dist/admin/apps/api-keys.js.map +1 -0
  55. package/dist/admin/apps/scopes.d.ts +46 -0
  56. package/dist/admin/apps/scopes.d.ts.map +1 -0
  57. package/dist/admin/apps/scopes.js +41 -0
  58. package/dist/admin/apps/scopes.js.map +1 -0
  59. package/dist/admin/apps/verified-tokens.d.ts +1206 -0
  60. package/dist/admin/apps/verified-tokens.d.ts.map +1 -0
  61. package/dist/admin/apps/verified-tokens.js +485 -0
  62. package/dist/admin/apps/verified-tokens.js.map +1 -0
  63. package/dist/admin/index.d.ts +3 -0
  64. package/dist/admin/index.d.ts.map +1 -0
  65. package/dist/admin/index.js +3 -0
  66. package/dist/admin/index.js.map +1 -0
  67. package/dist/admin/ui.generated.d.ts +11 -0
  68. package/dist/admin/ui.generated.d.ts.map +1 -0
  69. package/dist/admin/ui.generated.js +43 -0
  70. package/dist/admin/ui.generated.js.map +1 -0
  71. package/dist/apps/activities.d.ts +18725 -0
  72. package/dist/apps/activities.d.ts.map +1 -0
  73. package/dist/apps/activities.js +3138 -0
  74. package/dist/apps/activities.js.map +1 -0
  75. package/dist/apps/addresses.d.ts +3662 -0
  76. package/dist/apps/addresses.d.ts.map +1 -0
  77. package/dist/apps/addresses.js +22 -0
  78. package/dist/apps/addresses.js.map +1 -0
  79. package/dist/apps/balances.d.ts +342 -0
  80. package/dist/apps/balances.d.ts.map +1 -0
  81. package/dist/apps/balances.js +393 -0
  82. package/dist/apps/balances.js.map +1 -0
  83. package/dist/apps/blocks.d.ts +931 -0
  84. package/dist/apps/blocks.d.ts.map +1 -0
  85. package/dist/apps/blocks.js +689 -0
  86. package/dist/apps/blocks.js.map +1 -0
  87. package/dist/apps/coingecko.d.ts +1053 -0
  88. package/dist/apps/coingecko.d.ts.map +1 -0
  89. package/dist/apps/coingecko.js +1015 -0
  90. package/dist/apps/coingecko.js.map +1 -0
  91. package/dist/apps/exchanges.d.ts +3000 -0
  92. package/dist/apps/exchanges.d.ts.map +1 -0
  93. package/dist/apps/exchanges.js +3570 -0
  94. package/dist/apps/exchanges.js.map +1 -0
  95. package/dist/apps/fee-amm.d.ts +640 -0
  96. package/dist/apps/fee-amm.d.ts.map +1 -0
  97. package/dist/apps/fee-amm.js +815 -0
  98. package/dist/apps/fee-amm.js.map +1 -0
  99. package/dist/apps/indexer.d.ts +116 -0
  100. package/dist/apps/indexer.d.ts.map +1 -0
  101. package/dist/apps/indexer.js +270 -0
  102. package/dist/apps/indexer.js.map +1 -0
  103. package/dist/apps/receipts.d.ts +1438 -0
  104. package/dist/apps/receipts.d.ts.map +1 -0
  105. package/dist/apps/receipts.js +874 -0
  106. package/dist/apps/receipts.js.map +1 -0
  107. package/dist/apps/rpc.d.ts +173 -0
  108. package/dist/apps/rpc.d.ts.map +1 -0
  109. package/dist/apps/rpc.js +191 -0
  110. package/dist/apps/rpc.js.map +1 -0
  111. package/dist/apps/tokenlist.d.ts +192 -0
  112. package/dist/apps/tokenlist.d.ts.map +1 -0
  113. package/dist/apps/tokenlist.js +153 -0
  114. package/dist/apps/tokenlist.js.map +1 -0
  115. package/dist/apps/tokens.d.ts +2246 -0
  116. package/dist/apps/tokens.d.ts.map +1 -0
  117. package/dist/apps/tokens.js +1789 -0
  118. package/dist/apps/tokens.js.map +1 -0
  119. package/dist/apps/transactions.d.ts +2327 -0
  120. package/dist/apps/transactions.d.ts.map +1 -0
  121. package/dist/apps/transactions.js +975 -0
  122. package/dist/apps/transactions.js.map +1 -0
  123. package/dist/apps/transfers.d.ts +589 -0
  124. package/dist/apps/transfers.d.ts.map +1 -0
  125. package/dist/apps/transfers.js +769 -0
  126. package/dist/apps/transfers.js.map +1 -0
  127. package/dist/apps/verified-tokens.d.ts +544 -0
  128. package/dist/apps/verified-tokens.d.ts.map +1 -0
  129. package/dist/apps/verified-tokens.js +234 -0
  130. package/dist/apps/verified-tokens.js.map +1 -0
  131. package/dist/apps/webhooks.d.ts +7684 -0
  132. package/dist/apps/webhooks.d.ts.map +1 -0
  133. package/dist/apps/webhooks.js +2112 -0
  134. package/dist/apps/webhooks.js.map +1 -0
  135. package/dist/cloudflare.d.ts +32 -0
  136. package/dist/cloudflare.d.ts.map +1 -0
  137. package/dist/cloudflare.js +45 -0
  138. package/dist/cloudflare.js.map +1 -0
  139. package/dist/index.d.ts +16 -0
  140. package/dist/index.d.ts.map +1 -0
  141. package/dist/index.js +16 -0
  142. package/dist/index.js.map +1 -0
  143. package/dist/internal/Auth.d.ts +298 -0
  144. package/dist/internal/Auth.d.ts.map +1 -0
  145. package/dist/internal/Auth.js +618 -0
  146. package/dist/internal/Auth.js.map +1 -0
  147. package/dist/internal/Cache.d.ts +74 -0
  148. package/dist/internal/Cache.d.ts.map +1 -0
  149. package/dist/internal/Cache.js +215 -0
  150. package/dist/internal/Cache.js.map +1 -0
  151. package/dist/internal/Cursor.d.ts +79 -0
  152. package/dist/internal/Cursor.d.ts.map +1 -0
  153. package/dist/internal/Cursor.js +116 -0
  154. package/dist/internal/Cursor.js.map +1 -0
  155. package/dist/internal/EdgeCache.d.ts +59 -0
  156. package/dist/internal/EdgeCache.d.ts.map +1 -0
  157. package/dist/internal/EdgeCache.js +174 -0
  158. package/dist/internal/EdgeCache.js.map +1 -0
  159. package/dist/internal/Log.d.ts +104 -0
  160. package/dist/internal/Log.d.ts.map +1 -0
  161. package/dist/internal/Log.js +118 -0
  162. package/dist/internal/Log.js.map +1 -0
  163. package/dist/internal/MetricSink.d.ts +65 -0
  164. package/dist/internal/MetricSink.d.ts.map +1 -0
  165. package/dist/internal/MetricSink.js +146 -0
  166. package/dist/internal/MetricSink.js.map +1 -0
  167. package/dist/internal/Mpp.d.ts +71 -0
  168. package/dist/internal/Mpp.d.ts.map +1 -0
  169. package/dist/internal/Mpp.js +105 -0
  170. package/dist/internal/Mpp.js.map +1 -0
  171. package/dist/internal/OpenApi.d.ts +313 -0
  172. package/dist/internal/OpenApi.d.ts.map +1 -0
  173. package/dist/internal/OpenApi.fonts.d.ts +2 -0
  174. package/dist/internal/OpenApi.fonts.d.ts.map +1 -0
  175. package/dist/internal/OpenApi.fonts.js +39 -0
  176. package/dist/internal/OpenApi.fonts.js.map +1 -0
  177. package/dist/internal/OpenApi.js +335 -0
  178. package/dist/internal/OpenApi.js.map +1 -0
  179. package/dist/internal/OpenApi.logo.d.ts +6 -0
  180. package/dist/internal/OpenApi.logo.d.ts.map +1 -0
  181. package/dist/internal/OpenApi.logo.js +19 -0
  182. package/dist/internal/OpenApi.logo.js.map +1 -0
  183. package/dist/internal/Path.d.ts +5 -0
  184. package/dist/internal/Path.d.ts.map +1 -0
  185. package/dist/internal/Path.js +16 -0
  186. package/dist/internal/Path.js.map +1 -0
  187. package/dist/internal/RateLimit.d.ts +60 -0
  188. package/dist/internal/RateLimit.d.ts.map +1 -0
  189. package/dist/internal/RateLimit.js +48 -0
  190. package/dist/internal/RateLimit.js.map +1 -0
  191. package/dist/internal/Response.d.ts +132 -0
  192. package/dist/internal/Response.d.ts.map +1 -0
  193. package/dist/internal/Response.js +72 -0
  194. package/dist/internal/Response.js.map +1 -0
  195. package/dist/internal/Schema.d.ts +257 -0
  196. package/dist/internal/Schema.d.ts.map +1 -0
  197. package/dist/internal/Schema.js +360 -0
  198. package/dist/internal/Schema.js.map +1 -0
  199. package/dist/internal/Store.d.ts +204 -0
  200. package/dist/internal/Store.d.ts.map +1 -0
  201. package/dist/internal/Store.js +291 -0
  202. package/dist/internal/Store.js.map +1 -0
  203. package/dist/internal/Tidx.d.ts +120 -0
  204. package/dist/internal/Tidx.d.ts.map +1 -0
  205. package/dist/internal/Tidx.js +156 -0
  206. package/dist/internal/Tidx.js.map +1 -0
  207. package/dist/internal/Timing.d.ts +22 -0
  208. package/dist/internal/Timing.d.ts.map +1 -0
  209. package/dist/internal/Timing.js +32 -0
  210. package/dist/internal/Timing.js.map +1 -0
  211. package/dist/internal/Ttl.d.ts +25 -0
  212. package/dist/internal/Ttl.d.ts.map +1 -0
  213. package/dist/internal/Ttl.js +49 -0
  214. package/dist/internal/Ttl.js.map +1 -0
  215. package/dist/internal/Value.d.ts +47 -0
  216. package/dist/internal/Value.d.ts.map +1 -0
  217. package/dist/internal/Value.js +122 -0
  218. package/dist/internal/Value.js.map +1 -0
  219. package/dist/internal/VerifiedTokens.d.ts +228 -0
  220. package/dist/internal/VerifiedTokens.d.ts.map +1 -0
  221. package/dist/internal/VerifiedTokens.js +450 -0
  222. package/dist/internal/VerifiedTokens.js.map +1 -0
  223. package/dist/internal/Viem.d.ts +2082 -0
  224. package/dist/internal/Viem.d.ts.map +1 -0
  225. package/dist/internal/Viem.js +63 -0
  226. package/dist/internal/Viem.js.map +1 -0
  227. package/dist/internal/WebhookDestination.d.ts +198 -0
  228. package/dist/internal/WebhookDestination.d.ts.map +1 -0
  229. package/dist/internal/WebhookDestination.js +170 -0
  230. package/dist/internal/WebhookDestination.js.map +1 -0
  231. package/dist/internal/Webhooks.d.ts +433 -0
  232. package/dist/internal/Webhooks.d.ts.map +1 -0
  233. package/dist/internal/Webhooks.js +489 -0
  234. package/dist/internal/Webhooks.js.map +1 -0
  235. package/dist/internal/webhookDestinations/betterStack.d.ts +26 -0
  236. package/dist/internal/webhookDestinations/betterStack.d.ts.map +1 -0
  237. package/dist/internal/webhookDestinations/betterStack.js +76 -0
  238. package/dist/internal/webhookDestinations/betterStack.js.map +1 -0
  239. package/dist/internal/webhookDestinations/slack.d.ts +59 -0
  240. package/dist/internal/webhookDestinations/slack.d.ts.map +1 -0
  241. package/dist/internal/webhookDestinations/slack.js +422 -0
  242. package/dist/internal/webhookDestinations/slack.js.map +1 -0
  243. package/dist/internal/webhookDestinations/url.d.ts +17 -0
  244. package/dist/internal/webhookDestinations/url.d.ts.map +1 -0
  245. package/dist/internal/webhookDestinations/url.js +130 -0
  246. package/dist/internal/webhookDestinations/url.js.map +1 -0
  247. package/dist/openrpc.json +5302 -0
  248. package/package.json +46 -4
  249. package/seeds/31318/icons/0x20c0000000000000000000000000000000000000.svg +1 -0
  250. package/seeds/31318/icons/0x20c0000000000000000000000000000000000001.svg +1 -0
  251. package/seeds/31318/icons/0x20c0000000000000000000000000000000000002.svg +1 -0
  252. package/seeds/31318/icons/0x20c0000000000000000000000000000000000003.svg +1 -0
  253. package/seeds/31318/verified-tokens.json +30 -0
  254. package/seeds/4217/icons/0x20c0000000000000000000000000000000000000.svg +25 -0
  255. package/seeds/4217/icons/0x20c000000000000000000000048c8f36df1c9a4a.svg +1 -0
  256. package/seeds/4217/icons/0x20c0000000000000000000000520792dcccccccc.svg +1 -0
  257. package/seeds/4217/icons/0x20c0000000000000000000000a6da882d075a4c3.svg +4 -0
  258. package/seeds/4217/icons/0x20c000000000000000000000111111111e910f0f.svg +30 -0
  259. package/seeds/4217/icons/0x20c00000000000000000000014f22ca97301eb73.svg +1 -0
  260. package/seeds/4217/icons/0x20c0000000000000000000001621e21f71cf12fb.svg +1 -0
  261. package/seeds/4217/icons/0x20c0000000000000000000002f52d5cc21a3207b.svg +1 -0
  262. package/seeds/4217/icons/0x20c0000000000000000000003158081efd85bfc2.svg +11 -0
  263. package/seeds/4217/icons/0x20c0000000000000000000003554d28269e0f3c2.svg +1 -0
  264. package/seeds/4217/icons/0x20c000000000000000000000383a23bacb546ab9.svg +1 -0
  265. package/seeds/4217/icons/0x20c00000000000000000000042109aef2f8b28e1.png +0 -0
  266. package/seeds/4217/icons/0x20c0000000000000000000005c0bac7cef389a11.svg +1 -0
  267. package/seeds/4217/icons/0x20c0000000000000000000006fd9a167923ba194.png +0 -0
  268. package/seeds/4217/icons/0x20c0000000000000000000007f7ba549dd0251b9.svg +1 -0
  269. package/seeds/4217/icons/0x20c0000000000000000000008191667423f70e67.svg +5 -0
  270. package/seeds/4217/icons/0x20c0000000000000000000008ee4fcff88888888.svg +1 -0
  271. package/seeds/4217/icons/0x20c0000000000000000000009a4a4b17e0dc6651.svg +1 -0
  272. package/seeds/4217/icons/0x20c000000000000000000000ab02d39df30bd17e.svg +1 -0
  273. package/seeds/4217/icons/0x20c000000000000000000000ae247a1130450f09.svg +1 -0
  274. package/seeds/4217/icons/0x20c000000000000000000000aeed2ec36a54d0e5.svg +1 -0
  275. package/seeds/4217/icons/0x20c000000000000000000000b9537d11c60e8b50.svg +1 -0
  276. package/seeds/4217/icons/0x20c000000000000000000000bd95bfb69fbe6ce3.svg +1 -0
  277. package/seeds/4217/icons/0x20c000000000000000000000c412ec89d0c08be5.svg +1 -0
  278. package/seeds/4217/icons/0x20c000000000000000000000f047dd7018e50367.png +0 -0
  279. package/seeds/4217/verified-tokens.json +177 -0
  280. package/seeds/42431/icons/0x20c0000000000000000000000000000000000000.svg +25 -0
  281. package/seeds/42431/icons/0x20c0000000000000000000000000000000000001.svg +1 -0
  282. package/seeds/42431/icons/0x20c0000000000000000000000000000000000002.svg +1 -0
  283. package/seeds/42431/icons/0x20c0000000000000000000000000000000000003.svg +1 -0
  284. package/seeds/42431/icons/0x20c0000000000000000000009e8d7eb59b783726.svg +1 -0
  285. package/seeds/42431/icons/0x20c000000000000000000000d72572838bbee59c.svg +1 -0
  286. package/seeds/42431/verified-tokens.json +44 -0
  287. package/seeds/openrpc/README.md +27 -0
  288. package/seeds/openrpc/execution-apis.json +8989 -0
  289. package/src/ApiKey.test.ts +91 -0
  290. package/src/ApiKey.ts +122 -0
  291. package/src/ApiKeySource.test-d.ts +11 -0
  292. package/src/ApiKeySource.test.ts +295 -0
  293. package/src/ApiKeySource.ts +303 -0
  294. package/src/App.test-d.ts +38 -0
  295. package/src/App.test.ts +65927 -0
  296. package/src/App.ts +855 -0
  297. package/src/Assets.ts +58 -0
  298. package/src/Auth.ts +1 -0
  299. package/src/Cli.test.ts +81 -0
  300. package/src/Cli.ts +38 -0
  301. package/src/Client.test-d.ts +1438 -0
  302. package/src/Client.test.ts +134 -0
  303. package/src/Client.ts +45 -0
  304. package/src/Metrics.ts +154 -0
  305. package/src/Scope.ts +50 -0
  306. package/src/Webhooks.test.ts +49 -0
  307. package/src/Webhooks.ts +172 -0
  308. package/src/admin/Access.test.ts +130 -0
  309. package/src/admin/Access.ts +87 -0
  310. package/src/admin/App.test.ts +225 -0
  311. package/src/admin/App.ts +216 -0
  312. package/src/admin/apps/api-keys.test.ts +156 -0
  313. package/src/admin/apps/api-keys.ts +157 -0
  314. package/src/admin/apps/scopes.test.ts +52 -0
  315. package/src/admin/apps/scopes.ts +47 -0
  316. package/src/admin/apps/verified-tokens.test.ts +415 -0
  317. package/src/admin/apps/verified-tokens.ts +566 -0
  318. package/src/admin/index.ts +2 -0
  319. package/src/admin/ui/plugin.ts +135 -0
  320. package/src/admin/ui/src/components/Checkbox.tsx +22 -0
  321. package/src/admin/ui/src/components/Dialog.tsx +32 -0
  322. package/src/admin/ui/src/components/MobileProfile.tsx +31 -0
  323. package/src/admin/ui/src/components/Page.tsx +53 -0
  324. package/src/admin/ui/src/components/TempoLogo.tsx +37 -0
  325. package/src/admin/ui/src/fonts/Pilat-Demi.woff2 +0 -0
  326. package/src/admin/ui/src/fonts/Pilat-Regular.woff2 +0 -0
  327. package/src/admin/ui/src/lib/api-keys.ts +63 -0
  328. package/src/admin/ui/src/lib/client.ts +15 -0
  329. package/src/admin/ui/src/lib/config.ts +57 -0
  330. package/src/admin/ui/src/lib/query-client.ts +26 -0
  331. package/src/admin/ui/src/lib/scopes.ts +25 -0
  332. package/src/admin/ui/src/lib/verified-tokens.ts +89 -0
  333. package/src/admin/ui/src/lib/wagmi.ts +18 -0
  334. package/src/admin/ui/src/routeTree.gen.ts +104 -0
  335. package/src/admin/ui/src/router.tsx +25 -0
  336. package/src/admin/ui/src/routes/__root.tsx +219 -0
  337. package/src/admin/ui/src/routes/api-keys.tsx +329 -0
  338. package/src/admin/ui/src/routes/index.tsx +7 -0
  339. package/src/admin/ui/src/routes/verified-tokens.tsx +331 -0
  340. package/src/admin/ui/src/styles.css +20 -0
  341. package/src/admin/ui/tsconfig.json +16 -0
  342. package/src/admin/ui/vite.config.ts +29 -0
  343. package/src/admin/ui.generated.ts +60 -0
  344. package/src/apps/activities.test.ts +1020 -0
  345. package/src/apps/activities.ts +3934 -0
  346. package/src/apps/addresses.ts +24 -0
  347. package/src/apps/balances.test.ts +274 -0
  348. package/src/apps/balances.ts +533 -0
  349. package/src/apps/blocks.test.ts +385 -0
  350. package/src/apps/blocks.ts +896 -0
  351. package/src/apps/coingecko.test.ts +218 -0
  352. package/src/apps/coingecko.ts +1383 -0
  353. package/src/apps/exchanges.test.ts +958 -0
  354. package/src/apps/exchanges.ts +4773 -0
  355. package/src/apps/fee-amm.test.ts +321 -0
  356. package/src/apps/fee-amm.ts +1121 -0
  357. package/src/apps/indexer.test.ts +153 -0
  358. package/src/apps/indexer.ts +330 -0
  359. package/src/apps/receipts.test.ts +285 -0
  360. package/src/apps/receipts.ts +1193 -0
  361. package/src/apps/rpc.test.ts +302 -0
  362. package/src/apps/rpc.ts +222 -0
  363. package/src/apps/tokenlist.test.ts +80 -0
  364. package/src/apps/tokenlist.ts +207 -0
  365. package/src/apps/tokens.test.ts +1062 -0
  366. package/src/apps/tokens.ts +2292 -0
  367. package/src/apps/transactions.test.ts +408 -0
  368. package/src/apps/transactions.ts +1363 -0
  369. package/src/apps/transfers.test.ts +371 -0
  370. package/src/apps/transfers.ts +1116 -0
  371. package/src/apps/verified-tokens.test.ts +114 -0
  372. package/src/apps/verified-tokens.ts +295 -0
  373. package/src/apps/webhooks.test.ts +1937 -0
  374. package/src/apps/webhooks.ts +2926 -0
  375. package/src/cloudflare.ts +55 -0
  376. package/src/index.ts +15 -0
  377. package/src/internal/Auth.test.ts +980 -0
  378. package/src/internal/Auth.ts +1012 -0
  379. package/src/internal/Cache.test.ts +240 -0
  380. package/src/internal/Cache.ts +262 -0
  381. package/src/internal/Cursor.test.ts +100 -0
  382. package/src/internal/Cursor.ts +149 -0
  383. package/src/internal/EdgeCache.test.ts +234 -0
  384. package/src/internal/EdgeCache.ts +224 -0
  385. package/src/internal/Errors.ts +14 -0
  386. package/src/internal/Log.test.ts +244 -0
  387. package/src/internal/Log.ts +216 -0
  388. package/src/internal/MetricSink.ts +220 -0
  389. package/src/internal/Mpp.test.ts +64 -0
  390. package/src/internal/Mpp.ts +141 -0
  391. package/src/internal/OpenApi.fonts.ts +38 -0
  392. package/src/internal/OpenApi.logo.ts +18 -0
  393. package/src/internal/OpenApi.ts +488 -0
  394. package/src/internal/Path.test.ts +14 -0
  395. package/src/internal/Path.ts +15 -0
  396. package/src/internal/RateLimit.test.ts +93 -0
  397. package/src/internal/RateLimit.ts +93 -0
  398. package/src/internal/Response.ts +131 -0
  399. package/src/internal/Schema.test.ts +34 -0
  400. package/src/internal/Schema.ts +523 -0
  401. package/src/internal/Store.test.ts +545 -0
  402. package/src/internal/Store.ts +526 -0
  403. package/src/internal/Tidx.local.test.ts +33 -0
  404. package/src/internal/Tidx.test.ts +294 -0
  405. package/src/internal/Tidx.ts +238 -0
  406. package/src/internal/Timing.test.ts +22 -0
  407. package/src/internal/Timing.ts +62 -0
  408. package/src/internal/Ttl.test.ts +18 -0
  409. package/src/internal/Ttl.ts +59 -0
  410. package/src/internal/Value.ts +114 -0
  411. package/src/internal/VerifiedTokens.test.ts +333 -0
  412. package/src/internal/VerifiedTokens.ts +645 -0
  413. package/src/internal/Viem.test.ts +115 -0
  414. package/src/internal/Viem.ts +165 -0
  415. package/src/internal/WebhookDestination.test.ts +648 -0
  416. package/src/internal/WebhookDestination.ts +331 -0
  417. package/src/internal/Webhooks.test.ts +668 -0
  418. package/src/internal/Webhooks.ts +940 -0
  419. package/src/internal/webhookDestinations/betterStack.ts +91 -0
  420. package/src/internal/webhookDestinations/slack.ts +496 -0
  421. package/src/internal/webhookDestinations/url.ts +128 -0
  422. package/src/openrpc.json +5302 -0
@@ -0,0 +1,1206 @@
1
+ import * as z from 'zod/mini';
2
+ import * as Response from '../../internal/Response.js';
3
+ import type * as App from '../App.js';
4
+ /** Zod schemas owned by the admin verified-tokens handler. */
5
+ export declare namespace schema {
6
+ /** A curated verified TIP-20 token entry (shared with the public read API). */
7
+ const Token: z.ZodMiniObject<{
8
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
9
+ currency: z.ZodMiniString<string>;
10
+ decimals: z.ZodMiniNumber<number>;
11
+ logoUri: z.ZodMiniOptional<z.ZodMiniURL>;
12
+ name: z.ZodMiniString<string>;
13
+ symbol: z.ZodMiniString<string>;
14
+ id: z.ZodMiniString<string>;
15
+ }, z.core.$strip>;
16
+ /** Verified-token write/input fields without the server-derived `id`. */
17
+ const Input: z.ZodMiniObject<{
18
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
19
+ currency: z.ZodMiniString<string>;
20
+ decimals: z.ZodMiniNumber<number>;
21
+ logoUri: z.ZodMiniOptional<z.ZodMiniURL>;
22
+ name: z.ZodMiniString<string>;
23
+ symbol: z.ZodMiniString<string>;
24
+ }, z.core.$strip>;
25
+ /** Path parameters addressing a single verified token. */
26
+ const Params: z.ZodMiniObject<{
27
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
28
+ }, z.core.$strip>;
29
+ /** Schemas for the listVerifiedTokens operation. */
30
+ namespace listVerifiedTokens {
31
+ /** Query parameters for the verified-token list. */
32
+ const Query: z.ZodMiniObject<{
33
+ chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
34
+ mainnet: "mainnet";
35
+ testnet: "testnet";
36
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>;
37
+ }, z.core.$strict>;
38
+ /** Response: the curated list and the current snapshot version. */
39
+ const Response: z.ZodMiniObject<{
40
+ data: z.ZodMiniArray<z.ZodMiniObject<{
41
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
42
+ currency: z.ZodMiniString<string>;
43
+ decimals: z.ZodMiniNumber<number>;
44
+ logoUri: z.ZodMiniOptional<z.ZodMiniURL>;
45
+ name: z.ZodMiniString<string>;
46
+ symbol: z.ZodMiniString<string>;
47
+ id: z.ZodMiniString<string>;
48
+ }, z.core.$strip>>;
49
+ version: z.ZodMiniNullable<z.ZodMiniString<string>>;
50
+ }, z.core.$strip>;
51
+ }
52
+ /** Schemas for the createVerifiedToken operation. */
53
+ namespace createVerifiedToken {
54
+ /** Request body for creating a verified token. */
55
+ const Body: z.ZodMiniObject<{
56
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
57
+ currency: z.ZodMiniString<string>;
58
+ decimals: z.ZodMiniNumber<number>;
59
+ logoUri: z.ZodMiniOptional<z.ZodMiniURL>;
60
+ name: z.ZodMiniString<string>;
61
+ symbol: z.ZodMiniString<string>;
62
+ chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
63
+ mainnet: "mainnet";
64
+ testnet: "testnet";
65
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>;
66
+ logo: z.ZodMiniOptional<z.ZodMiniString<string>>;
67
+ }, z.core.$strip>;
68
+ /** Response after a successful create. */
69
+ const Response: z.ZodMiniObject<{
70
+ data: z.ZodMiniObject<{
71
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
72
+ currency: z.ZodMiniString<string>;
73
+ decimals: z.ZodMiniNumber<number>;
74
+ logoUri: z.ZodMiniOptional<z.ZodMiniURL>;
75
+ name: z.ZodMiniString<string>;
76
+ symbol: z.ZodMiniString<string>;
77
+ id: z.ZodMiniString<string>;
78
+ }, z.core.$strip>;
79
+ version: z.ZodMiniString<string>;
80
+ }, z.core.$strip>;
81
+ }
82
+ /** Schemas for the patchVerifiedToken operation. */
83
+ namespace patchVerifiedToken {
84
+ /** Query parameters for a verified-token patch. */
85
+ const Query: z.ZodMiniObject<{
86
+ chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
87
+ mainnet: "mainnet";
88
+ testnet: "testnet";
89
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>;
90
+ }, z.core.$strict>;
91
+ /** Request body for partially updating a verified token. */
92
+ const Body: z.ZodMiniObject<{
93
+ currency: z.ZodMiniOptional<z.ZodMiniString<string>>;
94
+ decimals: z.ZodMiniOptional<z.ZodMiniNumber<number>>;
95
+ logoUri: z.ZodMiniOptional<z.ZodMiniOptional<z.ZodMiniURL>>;
96
+ name: z.ZodMiniOptional<z.ZodMiniString<string>>;
97
+ symbol: z.ZodMiniOptional<z.ZodMiniString<string>>;
98
+ }, z.core.$strip>;
99
+ /** Response after a successful patch. */
100
+ const Response: z.ZodMiniObject<{
101
+ data: z.ZodMiniObject<{
102
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
103
+ currency: z.ZodMiniString<string>;
104
+ decimals: z.ZodMiniNumber<number>;
105
+ logoUri: z.ZodMiniOptional<z.ZodMiniURL>;
106
+ name: z.ZodMiniString<string>;
107
+ symbol: z.ZodMiniString<string>;
108
+ id: z.ZodMiniString<string>;
109
+ }, z.core.$strip>;
110
+ version: z.ZodMiniString<string>;
111
+ }, z.core.$strip>;
112
+ }
113
+ /** Schemas for the deleteVerifiedToken operation. */
114
+ namespace deleteVerifiedToken {
115
+ /** Query parameters for a verified-token delete. */
116
+ const Query: z.ZodMiniObject<{
117
+ chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
118
+ mainnet: "mainnet";
119
+ testnet: "testnet";
120
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>;
121
+ }, z.core.$strict>;
122
+ /** Response after a successful delete. */
123
+ const Response: z.ZodMiniObject<{
124
+ version: z.ZodMiniString<string>;
125
+ }, z.core.$strip>;
126
+ }
127
+ /** Schemas for the uploadVerifiedTokenLogo operation. */
128
+ namespace uploadVerifiedTokenLogo {
129
+ /** Query parameters for a logo upload. */
130
+ const Query: z.ZodMiniObject<{
131
+ chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
132
+ mainnet: "mainnet";
133
+ testnet: "testnet";
134
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>;
135
+ }, z.core.$strict>;
136
+ /** Response after a successful logo upload. */
137
+ const Response: z.ZodMiniObject<{
138
+ key: z.ZodMiniString<string>;
139
+ path: z.ZodMiniString<string>;
140
+ }, z.core.$strip>;
141
+ }
142
+ /** Schemas for the getVerifiedTokenLogo operation. */
143
+ namespace getVerifiedTokenLogo {
144
+ /** Query parameters for a logo read. */
145
+ const Query: z.ZodMiniObject<{
146
+ chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
147
+ mainnet: "mainnet";
148
+ testnet: "testnet";
149
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>;
150
+ }, z.core.$strict>;
151
+ }
152
+ /** Schemas for the replaceVerifiedTokens operation. */
153
+ namespace replaceVerifiedTokens {
154
+ /** Query parameters for a bulk replace. */
155
+ const Query: z.ZodMiniObject<{
156
+ chainId: z.ZodMiniPipe<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniEnum<{
157
+ mainnet: "mainnet";
158
+ testnet: "testnet";
159
+ }>, z.ZodMiniTransform<4217 | 42431, "mainnet" | "testnet">>, z.ZodMiniNumber<unknown>]>, z.ZodMiniNumber<number>>;
160
+ }, z.core.$strict>;
161
+ /** Request body for replacing a chain's entire verified list. */
162
+ const Body: z.ZodMiniObject<{
163
+ tokens: z.ZodMiniArray<z.ZodMiniObject<{
164
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
165
+ currency: z.ZodMiniString<string>;
166
+ decimals: z.ZodMiniNumber<number>;
167
+ logoUri: z.ZodMiniOptional<z.ZodMiniURL>;
168
+ name: z.ZodMiniString<string>;
169
+ symbol: z.ZodMiniString<string>;
170
+ }, z.core.$strip>>;
171
+ }, z.core.$strip>;
172
+ /** Response after a successful bulk replace. */
173
+ const Response: z.ZodMiniObject<{
174
+ data: z.ZodMiniArray<z.ZodMiniObject<{
175
+ address: z.ZodMiniPipe<z.ZodMiniTemplateLiteral<`0x${string}`>, z.ZodMiniTransform<`0x${string}`, `0x${string}`>>;
176
+ currency: z.ZodMiniString<string>;
177
+ decimals: z.ZodMiniNumber<number>;
178
+ logoUri: z.ZodMiniOptional<z.ZodMiniURL>;
179
+ name: z.ZodMiniString<string>;
180
+ symbol: z.ZodMiniString<string>;
181
+ id: z.ZodMiniString<string>;
182
+ }, z.core.$strip>>;
183
+ version: z.ZodMiniString<string>;
184
+ }, z.core.$strip>;
185
+ }
186
+ }
187
+ /**
188
+ * Management routes for the curated verified-token list, backed by the request's
189
+ * `verifiedTokens` store; all `404` when no store is configured. Mutations accept
190
+ * an optional `If-Match` precondition (`412` on mismatch).
191
+ *
192
+ * - `POST /` creates a token (`409` on a duplicate address or symbol).
193
+ * - `PUT /` replaces a chain's entire list (seed/rollback).
194
+ * - `PATCH /:address` partially updates a token (`404` if absent).
195
+ * - `DELETE /:address` removes a token (`404` if absent).
196
+ * - `PUT /:address/logo` uploads a curated logo SVG (gated on `assets`).
197
+ */
198
+ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.Environment, {
199
+ "/": {
200
+ $get: {
201
+ output: {
202
+ error: {
203
+ code: "verified_tokens_not_enabled";
204
+ details?: readonly Response.error.Detail[] | undefined;
205
+ message: string;
206
+ };
207
+ requestId: string;
208
+ };
209
+ outputFormat: "json";
210
+ status: 404;
211
+ input: {
212
+ query: {
213
+ chainId: string | string[];
214
+ };
215
+ };
216
+ } | {
217
+ output: {
218
+ data: {
219
+ address: `0x${string}`;
220
+ currency: string;
221
+ decimals: number;
222
+ logoUri?: string | undefined;
223
+ name: string;
224
+ symbol: string;
225
+ id: string;
226
+ }[];
227
+ version: string | null;
228
+ };
229
+ outputFormat: "json";
230
+ status: import("hono/utils/http-status").ContentfulStatusCode;
231
+ input: {
232
+ query: {
233
+ chainId: string | string[];
234
+ };
235
+ };
236
+ };
237
+ };
238
+ } & {
239
+ "/": {
240
+ $post: {
241
+ output: {
242
+ error: {
243
+ code: string;
244
+ details?: readonly Response.error.Detail[] | undefined;
245
+ message: string;
246
+ };
247
+ requestId: string;
248
+ };
249
+ outputFormat: "json";
250
+ status: 400 | 413 | 415;
251
+ input: {
252
+ json: {
253
+ address: `0x${string}`;
254
+ currency: string;
255
+ decimals: number;
256
+ logoUri?: string | undefined;
257
+ name: string;
258
+ symbol: string;
259
+ chainId: unknown;
260
+ logo?: string | undefined;
261
+ };
262
+ };
263
+ } | {
264
+ output: {
265
+ error: {
266
+ code: "upstream_error";
267
+ details?: readonly Response.error.Detail[] | undefined;
268
+ message: string;
269
+ };
270
+ requestId: string;
271
+ };
272
+ outputFormat: "json";
273
+ status: 502;
274
+ input: {
275
+ json: {
276
+ address: `0x${string}`;
277
+ currency: string;
278
+ decimals: number;
279
+ logoUri?: string | undefined;
280
+ name: string;
281
+ symbol: string;
282
+ chainId: unknown;
283
+ logo?: string | undefined;
284
+ };
285
+ };
286
+ } | {
287
+ output: {
288
+ error: {
289
+ code: "verified_tokens_not_enabled";
290
+ details?: readonly Response.error.Detail[] | undefined;
291
+ message: string;
292
+ };
293
+ requestId: string;
294
+ };
295
+ outputFormat: "json";
296
+ status: 404;
297
+ input: {
298
+ json: {
299
+ address: `0x${string}`;
300
+ currency: string;
301
+ decimals: number;
302
+ logoUri?: string | undefined;
303
+ name: string;
304
+ symbol: string;
305
+ chainId: unknown;
306
+ logo?: string | undefined;
307
+ };
308
+ };
309
+ } | {
310
+ output: {
311
+ error: {
312
+ code: "assets_not_enabled";
313
+ details?: readonly Response.error.Detail[] | undefined;
314
+ message: string;
315
+ };
316
+ requestId: string;
317
+ };
318
+ outputFormat: "json";
319
+ status: 404;
320
+ input: {
321
+ json: {
322
+ address: `0x${string}`;
323
+ currency: string;
324
+ decimals: number;
325
+ logoUri?: string | undefined;
326
+ name: string;
327
+ symbol: string;
328
+ chainId: unknown;
329
+ logo?: string | undefined;
330
+ };
331
+ };
332
+ } | {
333
+ output: {
334
+ data: {
335
+ address: `0x${string}`;
336
+ currency: string;
337
+ decimals: number;
338
+ logoUri?: string | undefined;
339
+ name: string;
340
+ symbol: string;
341
+ id: string;
342
+ };
343
+ version: string;
344
+ };
345
+ outputFormat: "json";
346
+ status: import("hono/utils/http-status").ContentfulStatusCode;
347
+ input: {
348
+ json: {
349
+ address: `0x${string}`;
350
+ currency: string;
351
+ decimals: number;
352
+ logoUri?: string | undefined;
353
+ name: string;
354
+ symbol: string;
355
+ chainId: unknown;
356
+ logo?: string | undefined;
357
+ };
358
+ };
359
+ } | {
360
+ output: {
361
+ error: {
362
+ code: "duplicate_address";
363
+ details?: readonly Response.error.Detail[] | undefined;
364
+ message: string;
365
+ };
366
+ requestId: string;
367
+ };
368
+ outputFormat: "json";
369
+ status: 409;
370
+ input: {
371
+ json: {
372
+ address: `0x${string}`;
373
+ currency: string;
374
+ decimals: number;
375
+ logoUri?: string | undefined;
376
+ name: string;
377
+ symbol: string;
378
+ chainId: unknown;
379
+ logo?: string | undefined;
380
+ };
381
+ };
382
+ } | {
383
+ output: {
384
+ error: {
385
+ code: "duplicate_symbol";
386
+ details?: readonly Response.error.Detail[] | undefined;
387
+ message: string;
388
+ };
389
+ requestId: string;
390
+ };
391
+ outputFormat: "json";
392
+ status: 409;
393
+ input: {
394
+ json: {
395
+ address: `0x${string}`;
396
+ currency: string;
397
+ decimals: number;
398
+ logoUri?: string | undefined;
399
+ name: string;
400
+ symbol: string;
401
+ chainId: unknown;
402
+ logo?: string | undefined;
403
+ };
404
+ };
405
+ } | {
406
+ output: {
407
+ error: {
408
+ code: "verified_token_not_found";
409
+ details?: readonly Response.error.Detail[] | undefined;
410
+ message: string;
411
+ };
412
+ requestId: string;
413
+ };
414
+ outputFormat: "json";
415
+ status: 404;
416
+ input: {
417
+ json: {
418
+ address: `0x${string}`;
419
+ currency: string;
420
+ decimals: number;
421
+ logoUri?: string | undefined;
422
+ name: string;
423
+ symbol: string;
424
+ chainId: unknown;
425
+ logo?: string | undefined;
426
+ };
427
+ };
428
+ } | {
429
+ output: {
430
+ error: {
431
+ code: "version_mismatch";
432
+ details?: readonly Response.error.Detail[] | undefined;
433
+ message: string;
434
+ };
435
+ requestId: string;
436
+ };
437
+ outputFormat: "json";
438
+ status: 412;
439
+ input: {
440
+ json: {
441
+ address: `0x${string}`;
442
+ currency: string;
443
+ decimals: number;
444
+ logoUri?: string | undefined;
445
+ name: string;
446
+ symbol: string;
447
+ chainId: unknown;
448
+ logo?: string | undefined;
449
+ };
450
+ };
451
+ };
452
+ };
453
+ } & {
454
+ "/": {
455
+ $put: {
456
+ output: {
457
+ error: {
458
+ code: string;
459
+ details?: readonly Response.error.Detail[] | undefined;
460
+ message: string;
461
+ };
462
+ requestId: string;
463
+ };
464
+ outputFormat: "json";
465
+ status: 400 | 413 | 415;
466
+ input: {
467
+ query: {
468
+ chainId: string | string[];
469
+ };
470
+ } & {
471
+ json: {
472
+ tokens: {
473
+ address: `0x${string}`;
474
+ currency: string;
475
+ decimals: number;
476
+ logoUri?: string | undefined;
477
+ name: string;
478
+ symbol: string;
479
+ }[];
480
+ };
481
+ };
482
+ } | {
483
+ output: {
484
+ error: {
485
+ code: "upstream_error";
486
+ details?: readonly Response.error.Detail[] | undefined;
487
+ message: string;
488
+ };
489
+ requestId: string;
490
+ };
491
+ outputFormat: "json";
492
+ status: 502;
493
+ input: {
494
+ query: {
495
+ chainId: string | string[];
496
+ };
497
+ } & {
498
+ json: {
499
+ tokens: {
500
+ address: `0x${string}`;
501
+ currency: string;
502
+ decimals: number;
503
+ logoUri?: string | undefined;
504
+ name: string;
505
+ symbol: string;
506
+ }[];
507
+ };
508
+ };
509
+ } | {
510
+ output: {
511
+ error: {
512
+ code: "verified_tokens_not_enabled";
513
+ details?: readonly Response.error.Detail[] | undefined;
514
+ message: string;
515
+ };
516
+ requestId: string;
517
+ };
518
+ outputFormat: "json";
519
+ status: 404;
520
+ input: {
521
+ query: {
522
+ chainId: string | string[];
523
+ };
524
+ } & {
525
+ json: {
526
+ tokens: {
527
+ address: `0x${string}`;
528
+ currency: string;
529
+ decimals: number;
530
+ logoUri?: string | undefined;
531
+ name: string;
532
+ symbol: string;
533
+ }[];
534
+ };
535
+ };
536
+ } | {
537
+ output: {
538
+ error: {
539
+ code: "duplicate_address";
540
+ details?: readonly Response.error.Detail[] | undefined;
541
+ message: string;
542
+ };
543
+ requestId: string;
544
+ };
545
+ outputFormat: "json";
546
+ status: 409;
547
+ input: {
548
+ query: {
549
+ chainId: string | string[];
550
+ };
551
+ } & {
552
+ json: {
553
+ tokens: {
554
+ address: `0x${string}`;
555
+ currency: string;
556
+ decimals: number;
557
+ logoUri?: string | undefined;
558
+ name: string;
559
+ symbol: string;
560
+ }[];
561
+ };
562
+ };
563
+ } | {
564
+ output: {
565
+ error: {
566
+ code: "duplicate_symbol";
567
+ details?: readonly Response.error.Detail[] | undefined;
568
+ message: string;
569
+ };
570
+ requestId: string;
571
+ };
572
+ outputFormat: "json";
573
+ status: 409;
574
+ input: {
575
+ query: {
576
+ chainId: string | string[];
577
+ };
578
+ } & {
579
+ json: {
580
+ tokens: {
581
+ address: `0x${string}`;
582
+ currency: string;
583
+ decimals: number;
584
+ logoUri?: string | undefined;
585
+ name: string;
586
+ symbol: string;
587
+ }[];
588
+ };
589
+ };
590
+ } | {
591
+ output: {
592
+ error: {
593
+ code: "verified_token_not_found";
594
+ details?: readonly Response.error.Detail[] | undefined;
595
+ message: string;
596
+ };
597
+ requestId: string;
598
+ };
599
+ outputFormat: "json";
600
+ status: 404;
601
+ input: {
602
+ query: {
603
+ chainId: string | string[];
604
+ };
605
+ } & {
606
+ json: {
607
+ tokens: {
608
+ address: `0x${string}`;
609
+ currency: string;
610
+ decimals: number;
611
+ logoUri?: string | undefined;
612
+ name: string;
613
+ symbol: string;
614
+ }[];
615
+ };
616
+ };
617
+ } | {
618
+ output: {
619
+ error: {
620
+ code: "version_mismatch";
621
+ details?: readonly Response.error.Detail[] | undefined;
622
+ message: string;
623
+ };
624
+ requestId: string;
625
+ };
626
+ outputFormat: "json";
627
+ status: 412;
628
+ input: {
629
+ query: {
630
+ chainId: string | string[];
631
+ };
632
+ } & {
633
+ json: {
634
+ tokens: {
635
+ address: `0x${string}`;
636
+ currency: string;
637
+ decimals: number;
638
+ logoUri?: string | undefined;
639
+ name: string;
640
+ symbol: string;
641
+ }[];
642
+ };
643
+ };
644
+ } | {
645
+ output: {
646
+ data: {
647
+ address: `0x${string}`;
648
+ currency: string;
649
+ decimals: number;
650
+ logoUri?: string | undefined;
651
+ name: string;
652
+ symbol: string;
653
+ id: string;
654
+ }[];
655
+ version: string;
656
+ };
657
+ outputFormat: "json";
658
+ status: import("hono/utils/http-status").ContentfulStatusCode;
659
+ input: {
660
+ query: {
661
+ chainId: string | string[];
662
+ };
663
+ } & {
664
+ json: {
665
+ tokens: {
666
+ address: `0x${string}`;
667
+ currency: string;
668
+ decimals: number;
669
+ logoUri?: string | undefined;
670
+ name: string;
671
+ symbol: string;
672
+ }[];
673
+ };
674
+ };
675
+ };
676
+ };
677
+ } & {
678
+ "/:address": {
679
+ $patch: {
680
+ output: {
681
+ error: {
682
+ code: string;
683
+ details?: readonly Response.error.Detail[] | undefined;
684
+ message: string;
685
+ };
686
+ requestId: string;
687
+ };
688
+ outputFormat: "json";
689
+ status: 400 | 413 | 415;
690
+ input: {
691
+ param: {
692
+ address: `0x${string}`;
693
+ };
694
+ } & {
695
+ query: {
696
+ chainId: string | string[];
697
+ };
698
+ } & {
699
+ json: {
700
+ currency?: string | undefined;
701
+ decimals?: number | undefined;
702
+ logoUri?: string | undefined;
703
+ name?: string | undefined;
704
+ symbol?: string | undefined;
705
+ };
706
+ };
707
+ } | {
708
+ output: {
709
+ error: {
710
+ code: "upstream_error";
711
+ details?: readonly Response.error.Detail[] | undefined;
712
+ message: string;
713
+ };
714
+ requestId: string;
715
+ };
716
+ outputFormat: "json";
717
+ status: 502;
718
+ input: {
719
+ param: {
720
+ address: `0x${string}`;
721
+ };
722
+ } & {
723
+ query: {
724
+ chainId: string | string[];
725
+ };
726
+ } & {
727
+ json: {
728
+ currency?: string | undefined;
729
+ decimals?: number | undefined;
730
+ logoUri?: string | undefined;
731
+ name?: string | undefined;
732
+ symbol?: string | undefined;
733
+ };
734
+ };
735
+ } | {
736
+ output: {
737
+ error: {
738
+ code: "verified_tokens_not_enabled";
739
+ details?: readonly Response.error.Detail[] | undefined;
740
+ message: string;
741
+ };
742
+ requestId: string;
743
+ };
744
+ outputFormat: "json";
745
+ status: 404;
746
+ input: {
747
+ param: {
748
+ address: `0x${string}`;
749
+ };
750
+ } & {
751
+ query: {
752
+ chainId: string | string[];
753
+ };
754
+ } & {
755
+ json: {
756
+ currency?: string | undefined;
757
+ decimals?: number | undefined;
758
+ logoUri?: string | undefined;
759
+ name?: string | undefined;
760
+ symbol?: string | undefined;
761
+ };
762
+ };
763
+ } | {
764
+ output: {
765
+ data: {
766
+ address: `0x${string}`;
767
+ currency: string;
768
+ decimals: number;
769
+ logoUri?: string | undefined;
770
+ name: string;
771
+ symbol: string;
772
+ id: string;
773
+ };
774
+ version: string;
775
+ };
776
+ outputFormat: "json";
777
+ status: import("hono/utils/http-status").ContentfulStatusCode;
778
+ input: {
779
+ param: {
780
+ address: `0x${string}`;
781
+ };
782
+ } & {
783
+ query: {
784
+ chainId: string | string[];
785
+ };
786
+ } & {
787
+ json: {
788
+ currency?: string | undefined;
789
+ decimals?: number | undefined;
790
+ logoUri?: string | undefined;
791
+ name?: string | undefined;
792
+ symbol?: string | undefined;
793
+ };
794
+ };
795
+ } | {
796
+ output: {
797
+ error: {
798
+ code: "duplicate_address";
799
+ details?: readonly Response.error.Detail[] | undefined;
800
+ message: string;
801
+ };
802
+ requestId: string;
803
+ };
804
+ outputFormat: "json";
805
+ status: 409;
806
+ input: {
807
+ param: {
808
+ address: `0x${string}`;
809
+ };
810
+ } & {
811
+ query: {
812
+ chainId: string | string[];
813
+ };
814
+ } & {
815
+ json: {
816
+ currency?: string | undefined;
817
+ decimals?: number | undefined;
818
+ logoUri?: string | undefined;
819
+ name?: string | undefined;
820
+ symbol?: string | undefined;
821
+ };
822
+ };
823
+ } | {
824
+ output: {
825
+ error: {
826
+ code: "duplicate_symbol";
827
+ details?: readonly Response.error.Detail[] | undefined;
828
+ message: string;
829
+ };
830
+ requestId: string;
831
+ };
832
+ outputFormat: "json";
833
+ status: 409;
834
+ input: {
835
+ param: {
836
+ address: `0x${string}`;
837
+ };
838
+ } & {
839
+ query: {
840
+ chainId: string | string[];
841
+ };
842
+ } & {
843
+ json: {
844
+ currency?: string | undefined;
845
+ decimals?: number | undefined;
846
+ logoUri?: string | undefined;
847
+ name?: string | undefined;
848
+ symbol?: string | undefined;
849
+ };
850
+ };
851
+ } | {
852
+ output: {
853
+ error: {
854
+ code: "verified_token_not_found";
855
+ details?: readonly Response.error.Detail[] | undefined;
856
+ message: string;
857
+ };
858
+ requestId: string;
859
+ };
860
+ outputFormat: "json";
861
+ status: 404;
862
+ input: {
863
+ param: {
864
+ address: `0x${string}`;
865
+ };
866
+ } & {
867
+ query: {
868
+ chainId: string | string[];
869
+ };
870
+ } & {
871
+ json: {
872
+ currency?: string | undefined;
873
+ decimals?: number | undefined;
874
+ logoUri?: string | undefined;
875
+ name?: string | undefined;
876
+ symbol?: string | undefined;
877
+ };
878
+ };
879
+ } | {
880
+ output: {
881
+ error: {
882
+ code: "version_mismatch";
883
+ details?: readonly Response.error.Detail[] | undefined;
884
+ message: string;
885
+ };
886
+ requestId: string;
887
+ };
888
+ outputFormat: "json";
889
+ status: 412;
890
+ input: {
891
+ param: {
892
+ address: `0x${string}`;
893
+ };
894
+ } & {
895
+ query: {
896
+ chainId: string | string[];
897
+ };
898
+ } & {
899
+ json: {
900
+ currency?: string | undefined;
901
+ decimals?: number | undefined;
902
+ logoUri?: string | undefined;
903
+ name?: string | undefined;
904
+ symbol?: string | undefined;
905
+ };
906
+ };
907
+ };
908
+ };
909
+ } & {
910
+ "/:address": {
911
+ $delete: {
912
+ output: {
913
+ error: {
914
+ code: string;
915
+ details?: readonly Response.error.Detail[] | undefined;
916
+ message: string;
917
+ };
918
+ requestId: string;
919
+ };
920
+ outputFormat: "json";
921
+ status: 400 | 413 | 415;
922
+ input: {
923
+ param: {
924
+ address: `0x${string}`;
925
+ };
926
+ } & {
927
+ query: {
928
+ chainId: string | string[];
929
+ };
930
+ };
931
+ } | {
932
+ output: {
933
+ error: {
934
+ code: "upstream_error";
935
+ details?: readonly Response.error.Detail[] | undefined;
936
+ message: string;
937
+ };
938
+ requestId: string;
939
+ };
940
+ outputFormat: "json";
941
+ status: 502;
942
+ input: {
943
+ param: {
944
+ address: `0x${string}`;
945
+ };
946
+ } & {
947
+ query: {
948
+ chainId: string | string[];
949
+ };
950
+ };
951
+ } | {
952
+ output: {
953
+ error: {
954
+ code: "verified_tokens_not_enabled";
955
+ details?: readonly Response.error.Detail[] | undefined;
956
+ message: string;
957
+ };
958
+ requestId: string;
959
+ };
960
+ outputFormat: "json";
961
+ status: 404;
962
+ input: {
963
+ param: {
964
+ address: `0x${string}`;
965
+ };
966
+ } & {
967
+ query: {
968
+ chainId: string | string[];
969
+ };
970
+ };
971
+ } | {
972
+ output: {
973
+ error: {
974
+ code: "duplicate_address";
975
+ details?: readonly Response.error.Detail[] | undefined;
976
+ message: string;
977
+ };
978
+ requestId: string;
979
+ };
980
+ outputFormat: "json";
981
+ status: 409;
982
+ input: {
983
+ param: {
984
+ address: `0x${string}`;
985
+ };
986
+ } & {
987
+ query: {
988
+ chainId: string | string[];
989
+ };
990
+ };
991
+ } | {
992
+ output: {
993
+ error: {
994
+ code: "duplicate_symbol";
995
+ details?: readonly Response.error.Detail[] | undefined;
996
+ message: string;
997
+ };
998
+ requestId: string;
999
+ };
1000
+ outputFormat: "json";
1001
+ status: 409;
1002
+ input: {
1003
+ param: {
1004
+ address: `0x${string}`;
1005
+ };
1006
+ } & {
1007
+ query: {
1008
+ chainId: string | string[];
1009
+ };
1010
+ };
1011
+ } | {
1012
+ output: {
1013
+ error: {
1014
+ code: "verified_token_not_found";
1015
+ details?: readonly Response.error.Detail[] | undefined;
1016
+ message: string;
1017
+ };
1018
+ requestId: string;
1019
+ };
1020
+ outputFormat: "json";
1021
+ status: 404;
1022
+ input: {
1023
+ param: {
1024
+ address: `0x${string}`;
1025
+ };
1026
+ } & {
1027
+ query: {
1028
+ chainId: string | string[];
1029
+ };
1030
+ };
1031
+ } | {
1032
+ output: {
1033
+ error: {
1034
+ code: "version_mismatch";
1035
+ details?: readonly Response.error.Detail[] | undefined;
1036
+ message: string;
1037
+ };
1038
+ requestId: string;
1039
+ };
1040
+ outputFormat: "json";
1041
+ status: 412;
1042
+ input: {
1043
+ param: {
1044
+ address: `0x${string}`;
1045
+ };
1046
+ } & {
1047
+ query: {
1048
+ chainId: string | string[];
1049
+ };
1050
+ };
1051
+ } | {
1052
+ output: {
1053
+ version: string;
1054
+ };
1055
+ outputFormat: "json";
1056
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1057
+ input: {
1058
+ param: {
1059
+ address: `0x${string}`;
1060
+ };
1061
+ } & {
1062
+ query: {
1063
+ chainId: string | string[];
1064
+ };
1065
+ };
1066
+ };
1067
+ };
1068
+ } & {
1069
+ "/:address/logo": {
1070
+ $get: {
1071
+ output: ArrayBuffer;
1072
+ outputFormat: "body";
1073
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1074
+ input: {
1075
+ param: {
1076
+ address: `0x${string}`;
1077
+ };
1078
+ } & {
1079
+ query: {
1080
+ chainId: string | string[];
1081
+ };
1082
+ };
1083
+ } | {
1084
+ output: {
1085
+ error: {
1086
+ code: "logo_not_found";
1087
+ details?: readonly Response.error.Detail[] | undefined;
1088
+ message: string;
1089
+ };
1090
+ requestId: string;
1091
+ };
1092
+ outputFormat: "json";
1093
+ status: 404;
1094
+ input: {
1095
+ param: {
1096
+ address: `0x${string}`;
1097
+ };
1098
+ } & {
1099
+ query: {
1100
+ chainId: string | string[];
1101
+ };
1102
+ };
1103
+ };
1104
+ };
1105
+ } & {
1106
+ "/:address/logo": {
1107
+ $put: {
1108
+ output: {
1109
+ error: {
1110
+ code: "body_invalid";
1111
+ details?: readonly Response.error.Detail[] | undefined;
1112
+ message: string;
1113
+ };
1114
+ requestId: string;
1115
+ };
1116
+ outputFormat: "json";
1117
+ status: 400;
1118
+ input: {
1119
+ param: {
1120
+ address: `0x${string}`;
1121
+ };
1122
+ } & {
1123
+ query: {
1124
+ chainId: string | string[];
1125
+ };
1126
+ };
1127
+ } | {
1128
+ output: {
1129
+ error: {
1130
+ code: "assets_not_enabled";
1131
+ details?: readonly Response.error.Detail[] | undefined;
1132
+ message: string;
1133
+ };
1134
+ requestId: string;
1135
+ };
1136
+ outputFormat: "json";
1137
+ status: 404;
1138
+ input: {
1139
+ param: {
1140
+ address: `0x${string}`;
1141
+ };
1142
+ } & {
1143
+ query: {
1144
+ chainId: string | string[];
1145
+ };
1146
+ };
1147
+ } | {
1148
+ output: {
1149
+ error: {
1150
+ code: "unsupported_media_type";
1151
+ details?: readonly Response.error.Detail[] | undefined;
1152
+ message: string;
1153
+ };
1154
+ requestId: string;
1155
+ };
1156
+ outputFormat: "json";
1157
+ status: 415;
1158
+ input: {
1159
+ param: {
1160
+ address: `0x${string}`;
1161
+ };
1162
+ } & {
1163
+ query: {
1164
+ chainId: string | string[];
1165
+ };
1166
+ };
1167
+ } | {
1168
+ output: {
1169
+ error: {
1170
+ code: "payload_too_large";
1171
+ details?: readonly Response.error.Detail[] | undefined;
1172
+ message: string;
1173
+ };
1174
+ requestId: string;
1175
+ };
1176
+ outputFormat: "json";
1177
+ status: 413;
1178
+ input: {
1179
+ param: {
1180
+ address: `0x${string}`;
1181
+ };
1182
+ } & {
1183
+ query: {
1184
+ chainId: string | string[];
1185
+ };
1186
+ };
1187
+ } | {
1188
+ output: {
1189
+ key: string;
1190
+ path: string;
1191
+ };
1192
+ outputFormat: "json";
1193
+ status: import("hono/utils/http-status").ContentfulStatusCode;
1194
+ input: {
1195
+ param: {
1196
+ address: `0x${string}`;
1197
+ };
1198
+ } & {
1199
+ query: {
1200
+ chainId: string | string[];
1201
+ };
1202
+ };
1203
+ };
1204
+ };
1205
+ }, "/", "/:address/logo">;
1206
+ //# sourceMappingURL=verified-tokens.d.ts.map