tapimo 0.0.2 → 0.1.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.
- package/README.md +11 -2
- package/dist/ApiKey.d.ts +12 -11
- package/dist/ApiKey.d.ts.map +1 -1
- package/dist/ApiKey.js +10 -12
- package/dist/ApiKey.js.map +1 -1
- package/dist/ApiKeys.d.ts +139 -0
- package/dist/ApiKeys.d.ts.map +1 -0
- package/dist/ApiKeys.js +166 -0
- package/dist/ApiKeys.js.map +1 -0
- package/dist/App.d.ts +920 -910
- package/dist/App.d.ts.map +1 -1
- package/dist/App.js +36 -12
- package/dist/App.js.map +1 -1
- package/dist/Handler.d.ts +86 -0
- package/dist/Handler.d.ts.map +1 -0
- package/dist/Handler.js +83 -0
- package/dist/Handler.js.map +1 -0
- package/dist/Scope.d.ts +4 -1
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +5 -1
- package/dist/Scope.js.map +1 -1
- package/dist/Webhooks.d.ts +3 -5
- package/dist/Webhooks.d.ts.map +1 -1
- package/dist/Webhooks.js +9 -2
- package/dist/Webhooks.js.map +1 -1
- package/dist/admin/Access.d.ts +1 -3
- package/dist/admin/Access.d.ts.map +1 -1
- package/dist/admin/Access.js +1 -3
- package/dist/admin/Access.js.map +1 -1
- package/dist/admin/App.d.ts +98 -209
- package/dist/admin/App.d.ts.map +1 -1
- package/dist/admin/App.js +2 -4
- package/dist/admin/App.js.map +1 -1
- package/dist/admin/apps/api-keys.d.ts +7 -5
- package/dist/admin/apps/api-keys.d.ts.map +1 -1
- package/dist/admin/apps/api-keys.js +8 -9
- package/dist/admin/apps/api-keys.js.map +1 -1
- package/dist/admin/apps/scopes.d.ts +3 -0
- package/dist/admin/apps/scopes.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.d.ts +101 -215
- package/dist/admin/apps/verified-tokens.d.ts.map +1 -1
- package/dist/admin/apps/verified-tokens.js +17 -38
- package/dist/admin/apps/verified-tokens.js.map +1 -1
- package/dist/admin/ui.generated.d.ts +1 -1
- package/dist/admin/ui.generated.js +1 -1
- package/dist/apps/balances.d.ts +2 -2
- package/dist/apps/receipts.d.ts +43 -43
- package/dist/apps/tokens.d.ts +454 -454
- package/dist/apps/transactions.d.ts +43 -43
- package/dist/apps/transfers.d.ts +29 -29
- package/dist/apps/webhooks.d.ts +5 -2
- package/dist/apps/webhooks.d.ts.map +1 -1
- package/dist/apps/webhooks.js +38 -34
- package/dist/apps/webhooks.js.map +1 -1
- package/dist/{Cli.d.ts → cli/Cli.d.ts} +13 -2
- package/dist/cli/Cli.d.ts.map +1 -0
- package/dist/cli/Cli.js +19 -0
- package/dist/cli/Cli.js.map +1 -0
- package/dist/cli/bin.d.ts +3 -0
- package/dist/cli/bin.d.ts.map +1 -0
- package/dist/cli/bin.js +4 -0
- package/dist/cli/bin.js.map +1 -0
- package/dist/cli/commands/admin.d.ts +15 -0
- package/dist/cli/commands/admin.d.ts.map +1 -0
- package/dist/cli/commands/admin.js +60 -0
- package/dist/cli/commands/admin.js.map +1 -0
- package/dist/cloudflare.d.ts +7 -0
- package/dist/cloudflare.d.ts.map +1 -1
- package/dist/cloudflare.js +9 -0
- package/dist/cloudflare.js.map +1 -1
- package/dist/db/Db.d.ts +103 -0
- package/dist/db/Db.d.ts.map +1 -0
- package/dist/db/Db.js +274 -0
- package/dist/db/Db.js.map +1 -0
- package/dist/db/Schema.d.ts +88 -0
- package/dist/db/Schema.d.ts.map +1 -0
- package/dist/db/Schema.js +130 -0
- package/dist/db/Schema.js.map +1 -0
- package/dist/db/tables/organizations.d.ts +79 -0
- package/dist/db/tables/organizations.d.ts.map +1 -0
- package/dist/db/tables/organizations.js +81 -0
- package/dist/db/tables/organizations.js.map +1 -0
- package/dist/db/tables/verifiedTokens.d.ts +53 -0
- package/dist/db/tables/verifiedTokens.d.ts.map +1 -0
- package/dist/db/tables/verifiedTokens.js +74 -0
- package/dist/db/tables/verifiedTokens.js.map +1 -0
- package/dist/db/tables/webhookDeliveries.d.ts +71 -0
- package/dist/db/tables/webhookDeliveries.d.ts.map +1 -0
- package/dist/db/tables/webhookDeliveries.js +119 -0
- package/dist/db/tables/webhookDeliveries.js.map +1 -0
- package/dist/db/tables/webhookSubscriptions.d.ts +158 -0
- package/dist/db/tables/webhookSubscriptions.d.ts.map +1 -0
- package/dist/db/tables/webhookSubscriptions.js +272 -0
- package/dist/db/tables/webhookSubscriptions.js.map +1 -0
- package/dist/handlers/internal/executionError.d.ts +25 -0
- package/dist/handlers/internal/executionError.d.ts.map +1 -0
- package/dist/handlers/internal/executionError.js +184 -0
- package/dist/handlers/internal/executionError.js.map +1 -0
- package/dist/handlers/internal/multisig.d.ts +237 -0
- package/dist/handlers/internal/multisig.d.ts.map +1 -0
- package/dist/handlers/internal/multisig.js +567 -0
- package/dist/handlers/internal/multisig.js.map +1 -0
- package/dist/handlers/internal/requestListener.d.ts +124 -0
- package/dist/handlers/internal/requestListener.d.ts.map +1 -0
- package/dist/handlers/internal/requestListener.js +173 -0
- package/dist/handlers/internal/requestListener.js.map +1 -0
- package/dist/handlers/internal/sponsorship.d.ts +83 -0
- package/dist/handlers/internal/sponsorship.d.ts.map +1 -0
- package/dist/handlers/internal/sponsorship.js +103 -0
- package/dist/handlers/internal/sponsorship.js.map +1 -0
- package/dist/handlers/internal/types.d.ts +284 -0
- package/dist/handlers/internal/types.d.ts.map +1 -0
- package/dist/handlers/internal/types.js +2 -0
- package/dist/handlers/internal/types.js.map +1 -0
- package/dist/handlers/internal/utils.d.ts +34 -0
- package/dist/handlers/internal/utils.d.ts.map +1 -0
- package/dist/handlers/internal/utils.js +131 -0
- package/dist/handlers/internal/utils.js.map +1 -0
- package/dist/handlers/relay.d.ts +119 -0
- package/dist/handlers/relay.d.ts.map +1 -0
- package/dist/handlers/relay.js +1264 -0
- package/dist/handlers/relay.js.map +1 -0
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/internal/Auth.d.ts +16 -10
- package/dist/internal/Auth.d.ts.map +1 -1
- package/dist/internal/Auth.js +72 -12
- package/dist/internal/Auth.js.map +1 -1
- package/dist/internal/RpcSchema.d.ts +10 -0
- package/dist/internal/RpcSchema.d.ts.map +1 -0
- package/dist/internal/RpcSchema.js +2 -0
- package/dist/internal/RpcSchema.js.map +1 -0
- package/dist/internal/Store.d.ts +42 -3
- package/dist/internal/Store.d.ts.map +1 -1
- package/dist/internal/Store.js +65 -3
- package/dist/internal/Store.js.map +1 -1
- package/dist/internal/VerifiedTokens.d.ts +15 -34
- package/dist/internal/VerifiedTokens.d.ts.map +1 -1
- package/dist/internal/VerifiedTokens.js +115 -159
- package/dist/internal/VerifiedTokens.js.map +1 -1
- package/dist/internal/Webhooks.d.ts +49 -35
- package/dist/internal/Webhooks.d.ts.map +1 -1
- package/dist/internal/Webhooks.js +92 -205
- package/dist/internal/Webhooks.js.map +1 -1
- package/package.json +7 -2
- package/src/ApiKey.test.ts +3 -3
- package/src/ApiKey.ts +10 -12
- package/src/ApiKeys.test.ts +175 -0
- package/src/ApiKeys.ts +205 -0
- package/src/App.test-d.ts +1 -1
- package/src/App.test.ts +10768 -351
- package/src/App.ts +79 -36
- package/src/Client.test-d.ts +1 -1
- package/src/Handler.ts +154 -0
- package/src/Scope.ts +5 -1
- package/src/Webhooks.test.ts +8 -7
- package/src/Webhooks.ts +11 -5
- package/src/admin/Access.ts +1 -3
- package/src/admin/App.ts +19 -24
- package/src/admin/apps/api-keys.test.ts +19 -18
- package/src/admin/apps/api-keys.ts +8 -9
- package/src/admin/apps/scopes.test.ts +4 -0
- package/src/admin/apps/verified-tokens.test.ts +3 -30
- package/src/admin/apps/verified-tokens.ts +17 -36
- package/src/admin/ui.generated.ts +1 -1
- package/src/apps/balances.test.ts +4 -3
- package/src/apps/blocks.test.ts +1 -1
- package/src/apps/exchanges.test.ts +1 -1
- package/src/apps/indexer.test.ts +1 -1
- package/src/apps/receipts.test.ts +1 -1
- package/src/apps/rpc.test.ts +100 -10
- package/src/apps/tokenlist.test.ts +5 -7
- package/src/apps/tokens.test.ts +4 -3
- package/src/apps/transactions.test.ts +1 -1
- package/src/apps/transfers.test.ts +1 -1
- package/src/apps/verified-tokens.test.ts +24 -12
- package/src/apps/webhooks.test.ts +130 -143
- package/src/apps/webhooks.ts +45 -47
- package/src/{Cli.test.ts → cli/Cli.test.ts} +10 -9
- package/src/{Cli.ts → cli/Cli.ts} +16 -9
- package/src/cli/bin.ts +4 -0
- package/src/cli/commands/admin.test.ts +71 -0
- package/src/cli/commands/admin.ts +60 -0
- package/src/cloudflare.ts +10 -0
- package/src/db/Db.test.ts +84 -0
- package/src/db/Db.ts +383 -0
- package/src/db/Schema.ts +164 -0
- package/src/db/tables/organizations.test.ts +124 -0
- package/src/db/tables/organizations.ts +127 -0
- package/src/db/tables/verifiedTokens.ts +111 -0
- package/src/db/tables/webhookDeliveries.ts +159 -0
- package/src/db/tables/webhookSubscriptions.ts +358 -0
- package/src/handlers/internal/executionError.ts +205 -0
- package/src/handlers/internal/multisig.localnet.test.ts +146 -0
- package/src/handlers/internal/multisig.test.ts +744 -0
- package/src/handlers/internal/multisig.ts +858 -0
- package/src/handlers/internal/relay.localnet.test.ts +2035 -0
- package/src/handlers/internal/requestListener.ts +273 -0
- package/src/handlers/internal/sponsorship.ts +186 -0
- package/src/handlers/internal/types.ts +378 -0
- package/src/handlers/internal/utils.ts +153 -0
- package/src/handlers/relay.ts +1605 -0
- package/src/index.ts +4 -2
- package/src/internal/Auth.test.ts +21 -21
- package/src/internal/Auth.ts +92 -19
- package/src/internal/RateLimit.test.ts +1 -1
- package/src/internal/RpcSchema.ts +10 -0
- package/src/internal/Store.test.ts +98 -10
- package/src/internal/Store.ts +112 -6
- package/src/internal/VerifiedTokens.test.ts +99 -115
- package/src/internal/VerifiedTokens.ts +123 -175
- package/src/internal/Webhooks.test.ts +107 -107
- package/src/internal/Webhooks.ts +102 -220
- package/dist/ApiKeySource.d.ts +0 -166
- package/dist/ApiKeySource.d.ts.map +0 -1
- package/dist/ApiKeySource.js +0 -234
- package/dist/ApiKeySource.js.map +0 -1
- package/dist/Cli.d.ts.map +0 -1
- package/dist/Cli.js +0 -13
- package/dist/Cli.js.map +0 -1
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000000.svg +0 -1
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000001.svg +0 -1
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000002.svg +0 -1
- package/seeds/31318/icons/0x20c0000000000000000000000000000000000003.svg +0 -1
- package/seeds/31318/verified-tokens.json +0 -30
- package/seeds/4217/icons/0x20c0000000000000000000000000000000000000.svg +0 -25
- package/seeds/4217/icons/0x20c000000000000000000000048c8f36df1c9a4a.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000000520792dcccccccc.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000000a6da882d075a4c3.svg +0 -4
- package/seeds/4217/icons/0x20c000000000000000000000111111111e910f0f.svg +0 -30
- package/seeds/4217/icons/0x20c00000000000000000000014f22ca97301eb73.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000001621e21f71cf12fb.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000002f52d5cc21a3207b.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000003158081efd85bfc2.svg +0 -11
- package/seeds/4217/icons/0x20c0000000000000000000003554d28269e0f3c2.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000383a23bacb546ab9.svg +0 -1
- package/seeds/4217/icons/0x20c00000000000000000000042109aef2f8b28e1.png +0 -0
- package/seeds/4217/icons/0x20c0000000000000000000005c0bac7cef389a11.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000006fd9a167923ba194.png +0 -0
- package/seeds/4217/icons/0x20c0000000000000000000007f7ba549dd0251b9.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000008191667423f70e67.svg +0 -5
- package/seeds/4217/icons/0x20c0000000000000000000008ee4fcff88888888.svg +0 -1
- package/seeds/4217/icons/0x20c0000000000000000000009a4a4b17e0dc6651.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000ab02d39df30bd17e.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000ae247a1130450f09.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000aeed2ec36a54d0e5.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000b9537d11c60e8b50.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000bd95bfb69fbe6ce3.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000c412ec89d0c08be5.svg +0 -1
- package/seeds/4217/icons/0x20c000000000000000000000f047dd7018e50367.png +0 -0
- package/seeds/4217/verified-tokens.json +0 -177
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000000.svg +0 -25
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000001.svg +0 -1
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000002.svg +0 -1
- package/seeds/42431/icons/0x20c0000000000000000000000000000000000003.svg +0 -1
- package/seeds/42431/icons/0x20c0000000000000000000009e8d7eb59b783726.svg +0 -1
- package/seeds/42431/icons/0x20c000000000000000000000d72572838bbee59c.svg +0 -1
- package/seeds/42431/verified-tokens.json +0 -44
- package/seeds/openrpc/README.md +0 -27
- package/seeds/openrpc/execution-apis.json +0 -8989
- package/src/ApiKeySource.test-d.ts +0 -11
- package/src/ApiKeySource.test.ts +0 -295
- package/src/ApiKeySource.ts +0 -303
|
@@ -185,9 +185,9 @@ export declare namespace schema {
|
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
/**
|
|
188
|
-
* Management routes for the curated verified-token list, backed by the
|
|
189
|
-
*
|
|
190
|
-
*
|
|
188
|
+
* Management routes for the curated verified-token list, backed by the app
|
|
189
|
+
* database (snapshot rows). Mutations accept an optional `If-Match`
|
|
190
|
+
* precondition (`412` on mismatch).
|
|
191
191
|
*
|
|
192
192
|
* - `POST /` creates a token (`409` on a duplicate address or symbol).
|
|
193
193
|
* - `PUT /` replaces a chain's entire list (seed/rollback).
|
|
@@ -198,22 +198,6 @@ export declare namespace schema {
|
|
|
198
198
|
export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.Environment, {
|
|
199
199
|
"/": {
|
|
200
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
201
|
output: {
|
|
218
202
|
data: {
|
|
219
203
|
address: `0x${string}`;
|
|
@@ -240,14 +224,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
240
224
|
$post: {
|
|
241
225
|
output: {
|
|
242
226
|
error: {
|
|
243
|
-
code:
|
|
227
|
+
code: "assets_not_enabled";
|
|
244
228
|
details?: readonly Response.error.Detail[] | undefined;
|
|
245
229
|
message: string;
|
|
246
230
|
};
|
|
247
231
|
requestId: string;
|
|
248
232
|
};
|
|
249
233
|
outputFormat: "json";
|
|
250
|
-
status:
|
|
234
|
+
status: 404;
|
|
251
235
|
input: {
|
|
252
236
|
json: {
|
|
253
237
|
address: `0x${string}`;
|
|
@@ -263,14 +247,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
263
247
|
} | {
|
|
264
248
|
output: {
|
|
265
249
|
error: {
|
|
266
|
-
code: "
|
|
250
|
+
code: "verified_token_not_found";
|
|
267
251
|
details?: readonly Response.error.Detail[] | undefined;
|
|
268
252
|
message: string;
|
|
269
253
|
};
|
|
270
254
|
requestId: string;
|
|
271
255
|
};
|
|
272
256
|
outputFormat: "json";
|
|
273
|
-
status:
|
|
257
|
+
status: 404;
|
|
274
258
|
input: {
|
|
275
259
|
json: {
|
|
276
260
|
address: `0x${string}`;
|
|
@@ -286,14 +270,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
286
270
|
} | {
|
|
287
271
|
output: {
|
|
288
272
|
error: {
|
|
289
|
-
code: "
|
|
273
|
+
code: "duplicate_address";
|
|
290
274
|
details?: readonly Response.error.Detail[] | undefined;
|
|
291
275
|
message: string;
|
|
292
276
|
};
|
|
293
277
|
requestId: string;
|
|
294
278
|
};
|
|
295
279
|
outputFormat: "json";
|
|
296
|
-
status:
|
|
280
|
+
status: 409;
|
|
297
281
|
input: {
|
|
298
282
|
json: {
|
|
299
283
|
address: `0x${string}`;
|
|
@@ -309,14 +293,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
309
293
|
} | {
|
|
310
294
|
output: {
|
|
311
295
|
error: {
|
|
312
|
-
code: "
|
|
296
|
+
code: "duplicate_symbol";
|
|
313
297
|
details?: readonly Response.error.Detail[] | undefined;
|
|
314
298
|
message: string;
|
|
315
299
|
};
|
|
316
300
|
requestId: string;
|
|
317
301
|
};
|
|
318
302
|
outputFormat: "json";
|
|
319
|
-
status:
|
|
303
|
+
status: 409;
|
|
320
304
|
input: {
|
|
321
305
|
json: {
|
|
322
306
|
address: `0x${string}`;
|
|
@@ -331,19 +315,15 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
331
315
|
};
|
|
332
316
|
} | {
|
|
333
317
|
output: {
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
logoUri?: string | undefined;
|
|
339
|
-
name: string;
|
|
340
|
-
symbol: string;
|
|
341
|
-
id: string;
|
|
318
|
+
error: {
|
|
319
|
+
code: "version_mismatch";
|
|
320
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
321
|
+
message: string;
|
|
342
322
|
};
|
|
343
|
-
|
|
323
|
+
requestId: string;
|
|
344
324
|
};
|
|
345
325
|
outputFormat: "json";
|
|
346
|
-
status:
|
|
326
|
+
status: 412;
|
|
347
327
|
input: {
|
|
348
328
|
json: {
|
|
349
329
|
address: `0x${string}`;
|
|
@@ -359,14 +339,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
359
339
|
} | {
|
|
360
340
|
output: {
|
|
361
341
|
error: {
|
|
362
|
-
code: "
|
|
342
|
+
code: "upstream_error";
|
|
363
343
|
details?: readonly Response.error.Detail[] | undefined;
|
|
364
344
|
message: string;
|
|
365
345
|
};
|
|
366
346
|
requestId: string;
|
|
367
347
|
};
|
|
368
348
|
outputFormat: "json";
|
|
369
|
-
status:
|
|
349
|
+
status: 502;
|
|
370
350
|
input: {
|
|
371
351
|
json: {
|
|
372
352
|
address: `0x${string}`;
|
|
@@ -381,38 +361,19 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
381
361
|
};
|
|
382
362
|
} | {
|
|
383
363
|
output: {
|
|
384
|
-
|
|
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: {
|
|
364
|
+
data: {
|
|
395
365
|
address: `0x${string}`;
|
|
396
366
|
currency: string;
|
|
397
367
|
decimals: number;
|
|
398
368
|
logoUri?: string | undefined;
|
|
399
369
|
name: string;
|
|
400
370
|
symbol: string;
|
|
401
|
-
|
|
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;
|
|
371
|
+
id: string;
|
|
411
372
|
};
|
|
412
|
-
|
|
373
|
+
version: string;
|
|
413
374
|
};
|
|
414
375
|
outputFormat: "json";
|
|
415
|
-
status:
|
|
376
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
416
377
|
input: {
|
|
417
378
|
json: {
|
|
418
379
|
address: `0x${string}`;
|
|
@@ -428,14 +389,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
428
389
|
} | {
|
|
429
390
|
output: {
|
|
430
391
|
error: {
|
|
431
|
-
code:
|
|
392
|
+
code: string;
|
|
432
393
|
details?: readonly Response.error.Detail[] | undefined;
|
|
433
394
|
message: string;
|
|
434
395
|
};
|
|
435
396
|
requestId: string;
|
|
436
397
|
};
|
|
437
398
|
outputFormat: "json";
|
|
438
|
-
status:
|
|
399
|
+
status: 400 | 413 | 415;
|
|
439
400
|
input: {
|
|
440
401
|
json: {
|
|
441
402
|
address: `0x${string}`;
|
|
@@ -455,61 +416,7 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
455
416
|
$put: {
|
|
456
417
|
output: {
|
|
457
418
|
error: {
|
|
458
|
-
code:
|
|
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";
|
|
419
|
+
code: "verified_token_not_found";
|
|
513
420
|
details?: readonly Response.error.Detail[] | undefined;
|
|
514
421
|
message: string;
|
|
515
422
|
};
|
|
@@ -590,14 +497,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
590
497
|
} | {
|
|
591
498
|
output: {
|
|
592
499
|
error: {
|
|
593
|
-
code: "
|
|
500
|
+
code: "version_mismatch";
|
|
594
501
|
details?: readonly Response.error.Detail[] | undefined;
|
|
595
502
|
message: string;
|
|
596
503
|
};
|
|
597
504
|
requestId: string;
|
|
598
505
|
};
|
|
599
506
|
outputFormat: "json";
|
|
600
|
-
status:
|
|
507
|
+
status: 412;
|
|
601
508
|
input: {
|
|
602
509
|
query: {
|
|
603
510
|
chainId: string | string[];
|
|
@@ -617,14 +524,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
617
524
|
} | {
|
|
618
525
|
output: {
|
|
619
526
|
error: {
|
|
620
|
-
code: "
|
|
527
|
+
code: "upstream_error";
|
|
621
528
|
details?: readonly Response.error.Detail[] | undefined;
|
|
622
529
|
message: string;
|
|
623
530
|
};
|
|
624
531
|
requestId: string;
|
|
625
532
|
};
|
|
626
533
|
outputFormat: "json";
|
|
627
|
-
status:
|
|
534
|
+
status: 502;
|
|
628
535
|
input: {
|
|
629
536
|
query: {
|
|
630
537
|
chainId: string | string[];
|
|
@@ -672,11 +579,7 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
672
579
|
}[];
|
|
673
580
|
};
|
|
674
581
|
};
|
|
675
|
-
}
|
|
676
|
-
};
|
|
677
|
-
} & {
|
|
678
|
-
"/:address": {
|
|
679
|
-
$patch: {
|
|
582
|
+
} | {
|
|
680
583
|
output: {
|
|
681
584
|
error: {
|
|
682
585
|
code: string;
|
|
@@ -688,33 +591,36 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
688
591
|
outputFormat: "json";
|
|
689
592
|
status: 400 | 413 | 415;
|
|
690
593
|
input: {
|
|
691
|
-
param: {
|
|
692
|
-
address: `0x${string}`;
|
|
693
|
-
};
|
|
694
|
-
} & {
|
|
695
594
|
query: {
|
|
696
595
|
chainId: string | string[];
|
|
697
596
|
};
|
|
698
597
|
} & {
|
|
699
598
|
json: {
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
599
|
+
tokens: {
|
|
600
|
+
address: `0x${string}`;
|
|
601
|
+
currency: string;
|
|
602
|
+
decimals: number;
|
|
603
|
+
logoUri?: string | undefined;
|
|
604
|
+
name: string;
|
|
605
|
+
symbol: string;
|
|
606
|
+
}[];
|
|
705
607
|
};
|
|
706
608
|
};
|
|
707
|
-
}
|
|
609
|
+
};
|
|
610
|
+
};
|
|
611
|
+
} & {
|
|
612
|
+
"/:address": {
|
|
613
|
+
$patch: {
|
|
708
614
|
output: {
|
|
709
615
|
error: {
|
|
710
|
-
code: "
|
|
616
|
+
code: "verified_token_not_found";
|
|
711
617
|
details?: readonly Response.error.Detail[] | undefined;
|
|
712
618
|
message: string;
|
|
713
619
|
};
|
|
714
620
|
requestId: string;
|
|
715
621
|
};
|
|
716
622
|
outputFormat: "json";
|
|
717
|
-
status:
|
|
623
|
+
status: 404;
|
|
718
624
|
input: {
|
|
719
625
|
param: {
|
|
720
626
|
address: `0x${string}`;
|
|
@@ -735,14 +641,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
735
641
|
} | {
|
|
736
642
|
output: {
|
|
737
643
|
error: {
|
|
738
|
-
code: "
|
|
644
|
+
code: "duplicate_address";
|
|
739
645
|
details?: readonly Response.error.Detail[] | undefined;
|
|
740
646
|
message: string;
|
|
741
647
|
};
|
|
742
648
|
requestId: string;
|
|
743
649
|
};
|
|
744
650
|
outputFormat: "json";
|
|
745
|
-
status:
|
|
651
|
+
status: 409;
|
|
746
652
|
input: {
|
|
747
653
|
param: {
|
|
748
654
|
address: `0x${string}`;
|
|
@@ -762,19 +668,15 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
762
668
|
};
|
|
763
669
|
} | {
|
|
764
670
|
output: {
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
logoUri?: string | undefined;
|
|
770
|
-
name: string;
|
|
771
|
-
symbol: string;
|
|
772
|
-
id: string;
|
|
671
|
+
error: {
|
|
672
|
+
code: "duplicate_symbol";
|
|
673
|
+
details?: readonly Response.error.Detail[] | undefined;
|
|
674
|
+
message: string;
|
|
773
675
|
};
|
|
774
|
-
|
|
676
|
+
requestId: string;
|
|
775
677
|
};
|
|
776
678
|
outputFormat: "json";
|
|
777
|
-
status:
|
|
679
|
+
status: 409;
|
|
778
680
|
input: {
|
|
779
681
|
param: {
|
|
780
682
|
address: `0x${string}`;
|
|
@@ -795,14 +697,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
795
697
|
} | {
|
|
796
698
|
output: {
|
|
797
699
|
error: {
|
|
798
|
-
code: "
|
|
700
|
+
code: "version_mismatch";
|
|
799
701
|
details?: readonly Response.error.Detail[] | undefined;
|
|
800
702
|
message: string;
|
|
801
703
|
};
|
|
802
704
|
requestId: string;
|
|
803
705
|
};
|
|
804
706
|
outputFormat: "json";
|
|
805
|
-
status:
|
|
707
|
+
status: 412;
|
|
806
708
|
input: {
|
|
807
709
|
param: {
|
|
808
710
|
address: `0x${string}`;
|
|
@@ -823,14 +725,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
823
725
|
} | {
|
|
824
726
|
output: {
|
|
825
727
|
error: {
|
|
826
|
-
code: "
|
|
728
|
+
code: "upstream_error";
|
|
827
729
|
details?: readonly Response.error.Detail[] | undefined;
|
|
828
730
|
message: string;
|
|
829
731
|
};
|
|
830
732
|
requestId: string;
|
|
831
733
|
};
|
|
832
734
|
outputFormat: "json";
|
|
833
|
-
status:
|
|
735
|
+
status: 502;
|
|
834
736
|
input: {
|
|
835
737
|
param: {
|
|
836
738
|
address: `0x${string}`;
|
|
@@ -850,15 +752,19 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
850
752
|
};
|
|
851
753
|
} | {
|
|
852
754
|
output: {
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
755
|
+
data: {
|
|
756
|
+
address: `0x${string}`;
|
|
757
|
+
currency: string;
|
|
758
|
+
decimals: number;
|
|
759
|
+
logoUri?: string | undefined;
|
|
760
|
+
name: string;
|
|
761
|
+
symbol: string;
|
|
762
|
+
id: string;
|
|
857
763
|
};
|
|
858
|
-
|
|
764
|
+
version: string;
|
|
859
765
|
};
|
|
860
766
|
outputFormat: "json";
|
|
861
|
-
status:
|
|
767
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
862
768
|
input: {
|
|
863
769
|
param: {
|
|
864
770
|
address: `0x${string}`;
|
|
@@ -879,14 +785,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
879
785
|
} | {
|
|
880
786
|
output: {
|
|
881
787
|
error: {
|
|
882
|
-
code:
|
|
788
|
+
code: string;
|
|
883
789
|
details?: readonly Response.error.Detail[] | undefined;
|
|
884
790
|
message: string;
|
|
885
791
|
};
|
|
886
792
|
requestId: string;
|
|
887
793
|
};
|
|
888
794
|
outputFormat: "json";
|
|
889
|
-
status:
|
|
795
|
+
status: 400 | 413 | 415;
|
|
890
796
|
input: {
|
|
891
797
|
param: {
|
|
892
798
|
address: `0x${string}`;
|
|
@@ -911,14 +817,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
911
817
|
$delete: {
|
|
912
818
|
output: {
|
|
913
819
|
error: {
|
|
914
|
-
code:
|
|
820
|
+
code: "verified_token_not_found";
|
|
915
821
|
details?: readonly Response.error.Detail[] | undefined;
|
|
916
822
|
message: string;
|
|
917
823
|
};
|
|
918
824
|
requestId: string;
|
|
919
825
|
};
|
|
920
826
|
outputFormat: "json";
|
|
921
|
-
status:
|
|
827
|
+
status: 404;
|
|
922
828
|
input: {
|
|
923
829
|
param: {
|
|
924
830
|
address: `0x${string}`;
|
|
@@ -931,14 +837,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
931
837
|
} | {
|
|
932
838
|
output: {
|
|
933
839
|
error: {
|
|
934
|
-
code: "
|
|
840
|
+
code: "duplicate_address";
|
|
935
841
|
details?: readonly Response.error.Detail[] | undefined;
|
|
936
842
|
message: string;
|
|
937
843
|
};
|
|
938
844
|
requestId: string;
|
|
939
845
|
};
|
|
940
846
|
outputFormat: "json";
|
|
941
|
-
status:
|
|
847
|
+
status: 409;
|
|
942
848
|
input: {
|
|
943
849
|
param: {
|
|
944
850
|
address: `0x${string}`;
|
|
@@ -951,14 +857,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
951
857
|
} | {
|
|
952
858
|
output: {
|
|
953
859
|
error: {
|
|
954
|
-
code: "
|
|
860
|
+
code: "duplicate_symbol";
|
|
955
861
|
details?: readonly Response.error.Detail[] | undefined;
|
|
956
862
|
message: string;
|
|
957
863
|
};
|
|
958
864
|
requestId: string;
|
|
959
865
|
};
|
|
960
866
|
outputFormat: "json";
|
|
961
|
-
status:
|
|
867
|
+
status: 409;
|
|
962
868
|
input: {
|
|
963
869
|
param: {
|
|
964
870
|
address: `0x${string}`;
|
|
@@ -971,14 +877,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
971
877
|
} | {
|
|
972
878
|
output: {
|
|
973
879
|
error: {
|
|
974
|
-
code: "
|
|
880
|
+
code: "version_mismatch";
|
|
975
881
|
details?: readonly Response.error.Detail[] | undefined;
|
|
976
882
|
message: string;
|
|
977
883
|
};
|
|
978
884
|
requestId: string;
|
|
979
885
|
};
|
|
980
886
|
outputFormat: "json";
|
|
981
|
-
status:
|
|
887
|
+
status: 412;
|
|
982
888
|
input: {
|
|
983
889
|
param: {
|
|
984
890
|
address: `0x${string}`;
|
|
@@ -991,14 +897,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
991
897
|
} | {
|
|
992
898
|
output: {
|
|
993
899
|
error: {
|
|
994
|
-
code: "
|
|
900
|
+
code: "upstream_error";
|
|
995
901
|
details?: readonly Response.error.Detail[] | undefined;
|
|
996
902
|
message: string;
|
|
997
903
|
};
|
|
998
904
|
requestId: string;
|
|
999
905
|
};
|
|
1000
906
|
outputFormat: "json";
|
|
1001
|
-
status:
|
|
907
|
+
status: 502;
|
|
1002
908
|
input: {
|
|
1003
909
|
param: {
|
|
1004
910
|
address: `0x${string}`;
|
|
@@ -1010,15 +916,10 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
1010
916
|
};
|
|
1011
917
|
} | {
|
|
1012
918
|
output: {
|
|
1013
|
-
|
|
1014
|
-
code: "verified_token_not_found";
|
|
1015
|
-
details?: readonly Response.error.Detail[] | undefined;
|
|
1016
|
-
message: string;
|
|
1017
|
-
};
|
|
1018
|
-
requestId: string;
|
|
919
|
+
version: string;
|
|
1019
920
|
};
|
|
1020
921
|
outputFormat: "json";
|
|
1021
|
-
status:
|
|
922
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
1022
923
|
input: {
|
|
1023
924
|
param: {
|
|
1024
925
|
address: `0x${string}`;
|
|
@@ -1031,29 +932,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
1031
932
|
} | {
|
|
1032
933
|
output: {
|
|
1033
934
|
error: {
|
|
1034
|
-
code:
|
|
935
|
+
code: string;
|
|
1035
936
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1036
937
|
message: string;
|
|
1037
938
|
};
|
|
1038
939
|
requestId: string;
|
|
1039
940
|
};
|
|
1040
941
|
outputFormat: "json";
|
|
1041
|
-
status:
|
|
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;
|
|
942
|
+
status: 400 | 413 | 415;
|
|
1057
943
|
input: {
|
|
1058
944
|
param: {
|
|
1059
945
|
address: `0x${string}`;
|
|
@@ -1068,19 +954,6 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
1068
954
|
} & {
|
|
1069
955
|
"/:address/logo": {
|
|
1070
956
|
$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
957
|
output: {
|
|
1085
958
|
error: {
|
|
1086
959
|
code: "logo_not_found";
|
|
@@ -1100,6 +973,19 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
1100
973
|
chainId: string | string[];
|
|
1101
974
|
};
|
|
1102
975
|
};
|
|
976
|
+
} | {
|
|
977
|
+
output: ArrayBuffer;
|
|
978
|
+
outputFormat: "body";
|
|
979
|
+
status: import("hono/utils/http-status").ContentfulStatusCode;
|
|
980
|
+
input: {
|
|
981
|
+
param: {
|
|
982
|
+
address: `0x${string}`;
|
|
983
|
+
};
|
|
984
|
+
} & {
|
|
985
|
+
query: {
|
|
986
|
+
chainId: string | string[];
|
|
987
|
+
};
|
|
988
|
+
};
|
|
1103
989
|
};
|
|
1104
990
|
};
|
|
1105
991
|
} & {
|
|
@@ -1147,14 +1033,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
1147
1033
|
} | {
|
|
1148
1034
|
output: {
|
|
1149
1035
|
error: {
|
|
1150
|
-
code: "
|
|
1036
|
+
code: "payload_too_large";
|
|
1151
1037
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1152
1038
|
message: string;
|
|
1153
1039
|
};
|
|
1154
1040
|
requestId: string;
|
|
1155
1041
|
};
|
|
1156
1042
|
outputFormat: "json";
|
|
1157
|
-
status:
|
|
1043
|
+
status: 413;
|
|
1158
1044
|
input: {
|
|
1159
1045
|
param: {
|
|
1160
1046
|
address: `0x${string}`;
|
|
@@ -1167,14 +1053,14 @@ export declare function verifiedTokens(): import("hono/hono-base").HonoBase<App.
|
|
|
1167
1053
|
} | {
|
|
1168
1054
|
output: {
|
|
1169
1055
|
error: {
|
|
1170
|
-
code: "
|
|
1056
|
+
code: "unsupported_media_type";
|
|
1171
1057
|
details?: readonly Response.error.Detail[] | undefined;
|
|
1172
1058
|
message: string;
|
|
1173
1059
|
};
|
|
1174
1060
|
requestId: string;
|
|
1175
1061
|
};
|
|
1176
1062
|
outputFormat: "json";
|
|
1177
|
-
status:
|
|
1063
|
+
status: 415;
|
|
1178
1064
|
input: {
|
|
1179
1065
|
param: {
|
|
1180
1066
|
address: `0x${string}`;
|