@morpho-dev/router 0.1.17 → 0.2.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 (41) hide show
  1. package/README.md +34 -24
  2. package/dist/cli.js +3140 -2143
  3. package/dist/cli.js.map +1 -1
  4. package/dist/drizzle/VERSION.ts +3 -0
  5. package/dist/drizzle/drizzle.config.ts +18 -0
  6. package/dist/drizzle/index.ts +2 -0
  7. package/dist/drizzle/{router_v1.4/0000_add_obligation_id.sql → router_v1.5/0000_add_block_number_to_liquidity_graph_and_offer_liquidity_pools_relation.sql} +49 -39
  8. package/dist/drizzle/router_v1.5/0001_create_new_relations_to_prepare_new_liquidity_model.sql +55 -0
  9. package/dist/drizzle/router_v1.5/0002_add_new_offer_status_relation.sql +9 -0
  10. package/dist/drizzle/router_v1.5/0003_insert-status-code.sql +1 -0
  11. package/dist/drizzle/router_v1.5/0004_add_index_for_fast_book_lookup.sql +3 -0
  12. package/dist/drizzle/router_v1.5/0005_add_group_consumed_events_table.sql +12 -0
  13. package/dist/drizzle/router_v1.5/0006_add-trigger-for-consumed-events.sql +58 -0
  14. package/dist/drizzle/router_v1.5/0007_update_index_for_fast_book_lookup.sql +5 -0
  15. package/dist/drizzle/router_v1.5/0008_rename_consumed_events_table.sql +8 -0
  16. package/dist/drizzle/{router_v1.4 → router_v1.5}/meta/0000_snapshot.json +83 -27
  17. package/dist/drizzle/{router_v1.4 → router_v1.5}/meta/0001_snapshot.json +459 -27
  18. package/dist/drizzle/router_v1.5/meta/0002_snapshot.json +1463 -0
  19. package/dist/drizzle/router_v1.5/meta/0003_snapshot.json +1463 -0
  20. package/dist/drizzle/router_v1.5/meta/0004_snapshot.json +1569 -0
  21. package/dist/drizzle/router_v1.5/meta/0005_snapshot.json +1664 -0
  22. package/dist/drizzle/router_v1.5/meta/0006_snapshot.json +1664 -0
  23. package/dist/drizzle/router_v1.5/meta/0007_snapshot.json +1752 -0
  24. package/dist/drizzle/router_v1.5/meta/0008_snapshot.json +1752 -0
  25. package/dist/drizzle/router_v1.5/meta/_journal.json +69 -0
  26. package/dist/drizzle/schema.ts +363 -0
  27. package/dist/index.browser.d.cts +909 -159
  28. package/dist/index.browser.d.ts +909 -159
  29. package/dist/index.browser.js +1529 -1037
  30. package/dist/index.browser.js.map +1 -1
  31. package/dist/index.browser.mjs +1522 -1036
  32. package/dist/index.browser.mjs.map +1 -1
  33. package/dist/index.node.d.cts +2718 -912
  34. package/dist/index.node.d.ts +2718 -912
  35. package/dist/index.node.js +6827 -5521
  36. package/dist/index.node.js.map +1 -1
  37. package/dist/index.node.mjs +6816 -5515
  38. package/dist/index.node.mjs.map +1 -1
  39. package/package.json +21 -17
  40. package/dist/drizzle/router_v1.4/0001_update-primary-key-on-link.sql +0 -3
  41. package/dist/drizzle/router_v1.4/meta/_journal.json +0 -20
@@ -0,0 +1,1463 @@
1
+ {
2
+ "id": "e727a4ad-079c-4533-a86c-decd25a74e04",
3
+ "prevId": "b1fce416-5707-4ab1-8125-c465e47cd17b",
4
+ "version": "7",
5
+ "dialect": "postgresql",
6
+ "tables": {
7
+ "router_v1.5.chains": {
8
+ "name": "chains",
9
+ "schema": "router_v1.5",
10
+ "columns": {
11
+ "chain_id": {
12
+ "name": "chain_id",
13
+ "type": "bigint",
14
+ "primaryKey": false,
15
+ "notNull": true
16
+ },
17
+ "block_number": {
18
+ "name": "block_number",
19
+ "type": "bigint",
20
+ "primaryKey": false,
21
+ "notNull": true
22
+ },
23
+ "epoch": {
24
+ "name": "epoch",
25
+ "type": "numeric(78, 0)",
26
+ "primaryKey": false,
27
+ "notNull": true,
28
+ "default": "'0'"
29
+ },
30
+ "updated_at": {
31
+ "name": "updated_at",
32
+ "type": "timestamp",
33
+ "primaryKey": false,
34
+ "notNull": true,
35
+ "default": "now()"
36
+ }
37
+ },
38
+ "indexes": {
39
+ "chains_id_epoch_idx": {
40
+ "name": "chains_id_epoch_idx",
41
+ "columns": [
42
+ {
43
+ "expression": "chain_id",
44
+ "isExpression": false,
45
+ "asc": true,
46
+ "nulls": "last"
47
+ },
48
+ {
49
+ "expression": "epoch",
50
+ "isExpression": false,
51
+ "asc": true,
52
+ "nulls": "last"
53
+ }
54
+ ],
55
+ "isUnique": true,
56
+ "concurrently": false,
57
+ "method": "btree",
58
+ "with": {}
59
+ }
60
+ },
61
+ "foreignKeys": {},
62
+ "compositePrimaryKeys": {},
63
+ "uniqueConstraints": {},
64
+ "policies": {},
65
+ "checkConstraints": {},
66
+ "isRLSEnabled": false
67
+ },
68
+ "router_v1.5.collectors": {
69
+ "name": "collectors",
70
+ "schema": "router_v1.5",
71
+ "columns": {
72
+ "chain_id": {
73
+ "name": "chain_id",
74
+ "type": "bigint",
75
+ "primaryKey": false,
76
+ "notNull": true
77
+ },
78
+ "name": {
79
+ "name": "name",
80
+ "type": "text",
81
+ "primaryKey": false,
82
+ "notNull": true
83
+ },
84
+ "block_number": {
85
+ "name": "block_number",
86
+ "type": "bigint",
87
+ "primaryKey": false,
88
+ "notNull": true
89
+ },
90
+ "epoch": {
91
+ "name": "epoch",
92
+ "type": "numeric(78, 0)",
93
+ "primaryKey": false,
94
+ "notNull": true,
95
+ "default": "'0'"
96
+ },
97
+ "updated_at": {
98
+ "name": "updated_at",
99
+ "type": "timestamp",
100
+ "primaryKey": false,
101
+ "notNull": true,
102
+ "default": "now()"
103
+ }
104
+ },
105
+ "indexes": {
106
+ "collectors_chain_name_epoch_idx": {
107
+ "name": "collectors_chain_name_epoch_idx",
108
+ "columns": [
109
+ {
110
+ "expression": "chain_id",
111
+ "isExpression": false,
112
+ "asc": true,
113
+ "nulls": "last"
114
+ },
115
+ {
116
+ "expression": "name",
117
+ "isExpression": false,
118
+ "asc": true,
119
+ "nulls": "last"
120
+ },
121
+ {
122
+ "expression": "epoch",
123
+ "isExpression": false,
124
+ "asc": true,
125
+ "nulls": "last"
126
+ }
127
+ ],
128
+ "isUnique": true,
129
+ "concurrently": false,
130
+ "method": "btree",
131
+ "with": {}
132
+ }
133
+ },
134
+ "foreignKeys": {},
135
+ "compositePrimaryKeys": {},
136
+ "uniqueConstraints": {},
137
+ "policies": {},
138
+ "checkConstraints": {},
139
+ "isRLSEnabled": false
140
+ },
141
+ "router_v1.5.consumed_per_user_and_nonce": {
142
+ "name": "consumed_per_user_and_nonce",
143
+ "schema": "router_v1.5",
144
+ "columns": {
145
+ "id": {
146
+ "name": "id",
147
+ "type": "varchar(255)",
148
+ "primaryKey": true,
149
+ "notNull": true
150
+ },
151
+ "chain_id": {
152
+ "name": "chain_id",
153
+ "type": "bigint",
154
+ "primaryKey": false,
155
+ "notNull": true
156
+ },
157
+ "offering": {
158
+ "name": "offering",
159
+ "type": "varchar(42)",
160
+ "primaryKey": false,
161
+ "notNull": true
162
+ },
163
+ "nonce": {
164
+ "name": "nonce",
165
+ "type": "bigint",
166
+ "primaryKey": false,
167
+ "notNull": true
168
+ },
169
+ "consumed": {
170
+ "name": "consumed",
171
+ "type": "numeric(78, 0)",
172
+ "primaryKey": false,
173
+ "notNull": true
174
+ },
175
+ "block_number": {
176
+ "name": "block_number",
177
+ "type": "bigint",
178
+ "primaryKey": false,
179
+ "notNull": true
180
+ },
181
+ "created_at": {
182
+ "name": "created_at",
183
+ "type": "timestamp",
184
+ "primaryKey": false,
185
+ "notNull": true,
186
+ "default": "now()"
187
+ }
188
+ },
189
+ "indexes": {
190
+ "consumed_per_user_and_nonce_chain_id_offering_nonce_block_number_idx": {
191
+ "name": "consumed_per_user_and_nonce_chain_id_offering_nonce_block_number_idx",
192
+ "columns": [
193
+ {
194
+ "expression": "chain_id",
195
+ "isExpression": false,
196
+ "asc": true,
197
+ "nulls": "last"
198
+ },
199
+ {
200
+ "expression": "offering",
201
+ "isExpression": false,
202
+ "asc": true,
203
+ "nulls": "last"
204
+ },
205
+ {
206
+ "expression": "nonce",
207
+ "isExpression": false,
208
+ "asc": true,
209
+ "nulls": "last"
210
+ },
211
+ {
212
+ "expression": "\"block_number\" desc",
213
+ "asc": true,
214
+ "isExpression": true,
215
+ "nulls": "last"
216
+ }
217
+ ],
218
+ "isUnique": false,
219
+ "concurrently": false,
220
+ "method": "btree",
221
+ "with": {}
222
+ }
223
+ },
224
+ "foreignKeys": {},
225
+ "compositePrimaryKeys": {},
226
+ "uniqueConstraints": {},
227
+ "policies": {},
228
+ "checkConstraints": {},
229
+ "isRLSEnabled": false
230
+ },
231
+ "router_v1.5.groups": {
232
+ "name": "groups",
233
+ "schema": "router_v1.5",
234
+ "columns": {
235
+ "chain_id": {
236
+ "name": "chain_id",
237
+ "type": "bigint",
238
+ "primaryKey": false,
239
+ "notNull": true
240
+ },
241
+ "maker": {
242
+ "name": "maker",
243
+ "type": "varchar(42)",
244
+ "primaryKey": false,
245
+ "notNull": true
246
+ },
247
+ "group": {
248
+ "name": "group",
249
+ "type": "varchar(66)",
250
+ "primaryKey": false,
251
+ "notNull": true
252
+ },
253
+ "consumed": {
254
+ "name": "consumed",
255
+ "type": "numeric(78, 0)",
256
+ "primaryKey": false,
257
+ "notNull": true
258
+ },
259
+ "block_number": {
260
+ "name": "block_number",
261
+ "type": "bigint",
262
+ "primaryKey": false,
263
+ "notNull": true
264
+ },
265
+ "updated_at": {
266
+ "name": "updated_at",
267
+ "type": "timestamp",
268
+ "primaryKey": false,
269
+ "notNull": true,
270
+ "default": "now()"
271
+ }
272
+ },
273
+ "indexes": {},
274
+ "foreignKeys": {},
275
+ "compositePrimaryKeys": {
276
+ "groups_pk": {
277
+ "name": "groups_pk",
278
+ "columns": ["chain_id", "maker", "group"]
279
+ }
280
+ },
281
+ "uniqueConstraints": {},
282
+ "policies": {},
283
+ "checkConstraints": {},
284
+ "isRLSEnabled": false
285
+ },
286
+ "router_v1.5.liquidity_links": {
287
+ "name": "liquidity_links",
288
+ "schema": "router_v1.5",
289
+ "columns": {
290
+ "parent_pool_id": {
291
+ "name": "parent_pool_id",
292
+ "type": "varchar(255)",
293
+ "primaryKey": false,
294
+ "notNull": true
295
+ },
296
+ "child_pool_id": {
297
+ "name": "child_pool_id",
298
+ "type": "varchar(255)",
299
+ "primaryKey": false,
300
+ "notNull": true
301
+ },
302
+ "priority": {
303
+ "name": "priority",
304
+ "type": "integer",
305
+ "primaryKey": false,
306
+ "notNull": true
307
+ },
308
+ "block_number": {
309
+ "name": "block_number",
310
+ "type": "bigint",
311
+ "primaryKey": false,
312
+ "notNull": true
313
+ },
314
+ "updated_at": {
315
+ "name": "updated_at",
316
+ "type": "timestamp",
317
+ "primaryKey": false,
318
+ "notNull": true,
319
+ "default": "now()"
320
+ }
321
+ },
322
+ "indexes": {
323
+ "liquidity_links_parent_pool_id_idx": {
324
+ "name": "liquidity_links_parent_pool_id_idx",
325
+ "columns": [
326
+ {
327
+ "expression": "parent_pool_id",
328
+ "isExpression": false,
329
+ "asc": true,
330
+ "nulls": "last"
331
+ }
332
+ ],
333
+ "isUnique": false,
334
+ "concurrently": false,
335
+ "method": "btree",
336
+ "with": {}
337
+ },
338
+ "liquidity_links_child_pool_id_idx": {
339
+ "name": "liquidity_links_child_pool_id_idx",
340
+ "columns": [
341
+ {
342
+ "expression": "child_pool_id",
343
+ "isExpression": false,
344
+ "asc": true,
345
+ "nulls": "last"
346
+ }
347
+ ],
348
+ "isUnique": false,
349
+ "concurrently": false,
350
+ "method": "btree",
351
+ "with": {}
352
+ }
353
+ },
354
+ "foreignKeys": {
355
+ "liquidity_links_parent_pool_id_liquidity_pools_id_fk": {
356
+ "name": "liquidity_links_parent_pool_id_liquidity_pools_id_fk",
357
+ "tableFrom": "liquidity_links",
358
+ "tableTo": "liquidity_pools",
359
+ "schemaTo": "router_v1.5",
360
+ "columnsFrom": ["parent_pool_id"],
361
+ "columnsTo": ["id"],
362
+ "onDelete": "cascade",
363
+ "onUpdate": "no action"
364
+ },
365
+ "liquidity_links_child_pool_id_liquidity_pools_id_fk": {
366
+ "name": "liquidity_links_child_pool_id_liquidity_pools_id_fk",
367
+ "tableFrom": "liquidity_links",
368
+ "tableTo": "liquidity_pools",
369
+ "schemaTo": "router_v1.5",
370
+ "columnsFrom": ["child_pool_id"],
371
+ "columnsTo": ["id"],
372
+ "onDelete": "cascade",
373
+ "onUpdate": "no action"
374
+ }
375
+ },
376
+ "compositePrimaryKeys": {
377
+ "liquidity_links_pk": {
378
+ "name": "liquidity_links_pk",
379
+ "columns": ["parent_pool_id", "priority"]
380
+ }
381
+ },
382
+ "uniqueConstraints": {},
383
+ "policies": {},
384
+ "checkConstraints": {},
385
+ "isRLSEnabled": false
386
+ },
387
+ "router_v1.5.liquidity_pools": {
388
+ "name": "liquidity_pools",
389
+ "schema": "router_v1.5",
390
+ "columns": {
391
+ "id": {
392
+ "name": "id",
393
+ "type": "varchar(255)",
394
+ "primaryKey": true,
395
+ "notNull": true
396
+ },
397
+ "amount": {
398
+ "name": "amount",
399
+ "type": "numeric(78, 0)",
400
+ "primaryKey": false,
401
+ "notNull": true
402
+ },
403
+ "block_number": {
404
+ "name": "block_number",
405
+ "type": "bigint",
406
+ "primaryKey": false,
407
+ "notNull": true
408
+ },
409
+ "updated_at": {
410
+ "name": "updated_at",
411
+ "type": "timestamp",
412
+ "primaryKey": false,
413
+ "notNull": true,
414
+ "default": "now()"
415
+ }
416
+ },
417
+ "indexes": {},
418
+ "foreignKeys": {},
419
+ "compositePrimaryKeys": {},
420
+ "uniqueConstraints": {},
421
+ "policies": {},
422
+ "checkConstraints": {},
423
+ "isRLSEnabled": false
424
+ },
425
+ "router_v1.5.obligation_collaterals": {
426
+ "name": "obligation_collaterals",
427
+ "schema": "router_v1.5",
428
+ "columns": {
429
+ "obligation_id": {
430
+ "name": "obligation_id",
431
+ "type": "varchar(66)",
432
+ "primaryKey": false,
433
+ "notNull": true
434
+ },
435
+ "asset": {
436
+ "name": "asset",
437
+ "type": "varchar(42)",
438
+ "primaryKey": false,
439
+ "notNull": true
440
+ },
441
+ "oracle": {
442
+ "name": "oracle",
443
+ "type": "varchar(42)",
444
+ "primaryKey": false,
445
+ "notNull": true
446
+ },
447
+ "lltv": {
448
+ "name": "lltv",
449
+ "type": "bigint",
450
+ "primaryKey": false,
451
+ "notNull": true
452
+ }
453
+ },
454
+ "indexes": {
455
+ "obligation_collaterals_obligation_id_idx": {
456
+ "name": "obligation_collaterals_obligation_id_idx",
457
+ "columns": [
458
+ {
459
+ "expression": "obligation_id",
460
+ "isExpression": false,
461
+ "asc": true,
462
+ "nulls": "last"
463
+ }
464
+ ],
465
+ "isUnique": false,
466
+ "concurrently": false,
467
+ "method": "btree",
468
+ "with": {}
469
+ }
470
+ },
471
+ "foreignKeys": {
472
+ "obligation_collaterals_obligation_id_obligations_obligation_id_fk": {
473
+ "name": "obligation_collaterals_obligation_id_obligations_obligation_id_fk",
474
+ "tableFrom": "obligation_collaterals",
475
+ "tableTo": "obligations",
476
+ "schemaTo": "router_v1.5",
477
+ "columnsFrom": ["obligation_id"],
478
+ "columnsTo": ["obligation_id"],
479
+ "onDelete": "cascade",
480
+ "onUpdate": "no action"
481
+ }
482
+ },
483
+ "compositePrimaryKeys": {
484
+ "obligation_collaterals_pk": {
485
+ "name": "obligation_collaterals_pk",
486
+ "columns": ["obligation_id", "asset"]
487
+ }
488
+ },
489
+ "uniqueConstraints": {},
490
+ "policies": {},
491
+ "checkConstraints": {},
492
+ "isRLSEnabled": false
493
+ },
494
+ "router_v1.5.obligation_collaterals_v2": {
495
+ "name": "obligation_collaterals_v2",
496
+ "schema": "router_v1.5",
497
+ "columns": {
498
+ "obligation_id": {
499
+ "name": "obligation_id",
500
+ "type": "varchar(66)",
501
+ "primaryKey": false,
502
+ "notNull": true
503
+ },
504
+ "asset": {
505
+ "name": "asset",
506
+ "type": "varchar(42)",
507
+ "primaryKey": false,
508
+ "notNull": true
509
+ },
510
+ "oracle_chain_id": {
511
+ "name": "oracle_chain_id",
512
+ "type": "bigint",
513
+ "primaryKey": false,
514
+ "notNull": true
515
+ },
516
+ "oracle_address": {
517
+ "name": "oracle_address",
518
+ "type": "varchar(42)",
519
+ "primaryKey": false,
520
+ "notNull": true
521
+ },
522
+ "lltv": {
523
+ "name": "lltv",
524
+ "type": "bigint",
525
+ "primaryKey": false,
526
+ "notNull": true
527
+ },
528
+ "block_number": {
529
+ "name": "block_number",
530
+ "type": "bigint",
531
+ "primaryKey": false,
532
+ "notNull": true
533
+ },
534
+ "updated_at": {
535
+ "name": "updated_at",
536
+ "type": "timestamp",
537
+ "primaryKey": false,
538
+ "notNull": true,
539
+ "default": "now()"
540
+ }
541
+ },
542
+ "indexes": {
543
+ "obligation_collaterals_v2_obligation_id_idx": {
544
+ "name": "obligation_collaterals_v2_obligation_id_idx",
545
+ "columns": [
546
+ {
547
+ "expression": "obligation_id",
548
+ "isExpression": false,
549
+ "asc": true,
550
+ "nulls": "last"
551
+ }
552
+ ],
553
+ "isUnique": false,
554
+ "concurrently": false,
555
+ "method": "btree",
556
+ "with": {}
557
+ },
558
+ "obligation_collaterals_v2_oracle_fk_idx": {
559
+ "name": "obligation_collaterals_v2_oracle_fk_idx",
560
+ "columns": [
561
+ {
562
+ "expression": "oracle_chain_id",
563
+ "isExpression": false,
564
+ "asc": true,
565
+ "nulls": "last"
566
+ },
567
+ {
568
+ "expression": "oracle_address",
569
+ "isExpression": false,
570
+ "asc": true,
571
+ "nulls": "last"
572
+ }
573
+ ],
574
+ "isUnique": false,
575
+ "concurrently": false,
576
+ "method": "btree",
577
+ "with": {}
578
+ }
579
+ },
580
+ "foreignKeys": {
581
+ "obligation_collaterals_v2_obligation_id_obligations_obligation_id_fk": {
582
+ "name": "obligation_collaterals_v2_obligation_id_obligations_obligation_id_fk",
583
+ "tableFrom": "obligation_collaterals_v2",
584
+ "tableTo": "obligations",
585
+ "schemaTo": "router_v1.5",
586
+ "columnsFrom": ["obligation_id"],
587
+ "columnsTo": ["obligation_id"],
588
+ "onDelete": "cascade",
589
+ "onUpdate": "no action"
590
+ },
591
+ "obligation_collaterals_v2_oracles_fk": {
592
+ "name": "obligation_collaterals_v2_oracles_fk",
593
+ "tableFrom": "obligation_collaterals_v2",
594
+ "tableTo": "oracles",
595
+ "schemaTo": "router_v1.5",
596
+ "columnsFrom": ["oracle_chain_id", "oracle_address"],
597
+ "columnsTo": ["chain_id", "address"],
598
+ "onDelete": "no action",
599
+ "onUpdate": "no action"
600
+ }
601
+ },
602
+ "compositePrimaryKeys": {
603
+ "obligation_collaterals_v2_pk": {
604
+ "name": "obligation_collaterals_v2_pk",
605
+ "columns": ["obligation_id", "asset"]
606
+ }
607
+ },
608
+ "uniqueConstraints": {},
609
+ "policies": {},
610
+ "checkConstraints": {},
611
+ "isRLSEnabled": false
612
+ },
613
+ "router_v1.5.obligations": {
614
+ "name": "obligations",
615
+ "schema": "router_v1.5",
616
+ "columns": {
617
+ "obligation_id": {
618
+ "name": "obligation_id",
619
+ "type": "varchar(66)",
620
+ "primaryKey": true,
621
+ "notNull": true
622
+ },
623
+ "chain_id": {
624
+ "name": "chain_id",
625
+ "type": "bigint",
626
+ "primaryKey": false,
627
+ "notNull": true
628
+ },
629
+ "loan_token": {
630
+ "name": "loan_token",
631
+ "type": "varchar(42)",
632
+ "primaryKey": false,
633
+ "notNull": true
634
+ },
635
+ "maturity": {
636
+ "name": "maturity",
637
+ "type": "integer",
638
+ "primaryKey": false,
639
+ "notNull": true
640
+ }
641
+ },
642
+ "indexes": {},
643
+ "foreignKeys": {},
644
+ "compositePrimaryKeys": {},
645
+ "uniqueConstraints": {},
646
+ "policies": {},
647
+ "checkConstraints": {},
648
+ "isRLSEnabled": false
649
+ },
650
+ "router_v1.5.offer_liquidity_pools": {
651
+ "name": "offer_liquidity_pools",
652
+ "schema": "router_v1.5",
653
+ "columns": {
654
+ "offer_hash": {
655
+ "name": "offer_hash",
656
+ "type": "varchar(66)",
657
+ "primaryKey": false,
658
+ "notNull": true
659
+ },
660
+ "pool_id": {
661
+ "name": "pool_id",
662
+ "type": "varchar(255)",
663
+ "primaryKey": false,
664
+ "notNull": true
665
+ },
666
+ "amount": {
667
+ "name": "amount",
668
+ "type": "numeric(78, 0)",
669
+ "primaryKey": false,
670
+ "notNull": true
671
+ },
672
+ "block_number": {
673
+ "name": "block_number",
674
+ "type": "bigint",
675
+ "primaryKey": false,
676
+ "notNull": true
677
+ },
678
+ "updated_at": {
679
+ "name": "updated_at",
680
+ "type": "timestamp",
681
+ "primaryKey": false,
682
+ "notNull": true,
683
+ "default": "now()"
684
+ }
685
+ },
686
+ "indexes": {
687
+ "offer_liquidity_pools_pool_id_idx": {
688
+ "name": "offer_liquidity_pools_pool_id_idx",
689
+ "columns": [
690
+ {
691
+ "expression": "pool_id",
692
+ "isExpression": false,
693
+ "asc": true,
694
+ "nulls": "last"
695
+ }
696
+ ],
697
+ "isUnique": false,
698
+ "concurrently": false,
699
+ "method": "btree",
700
+ "with": {}
701
+ }
702
+ },
703
+ "foreignKeys": {
704
+ "offer_liquidity_pools_offer_hash_offers_hash_fk": {
705
+ "name": "offer_liquidity_pools_offer_hash_offers_hash_fk",
706
+ "tableFrom": "offer_liquidity_pools",
707
+ "tableTo": "offers",
708
+ "schemaTo": "router_v1.5",
709
+ "columnsFrom": ["offer_hash"],
710
+ "columnsTo": ["hash"],
711
+ "onDelete": "cascade",
712
+ "onUpdate": "no action"
713
+ },
714
+ "offer_liquidity_pools_pool_id_liquidity_pools_id_fk": {
715
+ "name": "offer_liquidity_pools_pool_id_liquidity_pools_id_fk",
716
+ "tableFrom": "offer_liquidity_pools",
717
+ "tableTo": "liquidity_pools",
718
+ "schemaTo": "router_v1.5",
719
+ "columnsFrom": ["pool_id"],
720
+ "columnsTo": ["id"],
721
+ "onDelete": "cascade",
722
+ "onUpdate": "no action"
723
+ }
724
+ },
725
+ "compositePrimaryKeys": {
726
+ "offer_liquidity_pools_pk": {
727
+ "name": "offer_liquidity_pools_pk",
728
+ "columns": ["offer_hash", "pool_id"]
729
+ }
730
+ },
731
+ "uniqueConstraints": {},
732
+ "policies": {},
733
+ "checkConstraints": {},
734
+ "isRLSEnabled": false
735
+ },
736
+ "router_v1.5.offer_status": {
737
+ "name": "offer_status",
738
+ "schema": "router_v1.5",
739
+ "columns": {
740
+ "offer_hash": {
741
+ "name": "offer_hash",
742
+ "type": "varchar(66)",
743
+ "primaryKey": true,
744
+ "notNull": true
745
+ },
746
+ "status_id": {
747
+ "name": "status_id",
748
+ "type": "serial",
749
+ "primaryKey": false,
750
+ "notNull": true
751
+ },
752
+ "block_number": {
753
+ "name": "block_number",
754
+ "type": "bigint",
755
+ "primaryKey": false,
756
+ "notNull": true
757
+ },
758
+ "updated_at": {
759
+ "name": "updated_at",
760
+ "type": "timestamp",
761
+ "primaryKey": false,
762
+ "notNull": true,
763
+ "default": "now()"
764
+ }
765
+ },
766
+ "indexes": {},
767
+ "foreignKeys": {
768
+ "offer_status_offer_hash_offers_v2_hash_fk": {
769
+ "name": "offer_status_offer_hash_offers_v2_hash_fk",
770
+ "tableFrom": "offer_status",
771
+ "tableTo": "offers_v2",
772
+ "schemaTo": "router_v1.5",
773
+ "columnsFrom": ["offer_hash"],
774
+ "columnsTo": ["hash"],
775
+ "onDelete": "cascade",
776
+ "onUpdate": "no action"
777
+ },
778
+ "offer_status_status_id_status_id_fk": {
779
+ "name": "offer_status_status_id_status_id_fk",
780
+ "tableFrom": "offer_status",
781
+ "tableTo": "status",
782
+ "schemaTo": "router_v1.5",
783
+ "columnsFrom": ["status_id"],
784
+ "columnsTo": ["id"],
785
+ "onDelete": "cascade",
786
+ "onUpdate": "no action"
787
+ }
788
+ },
789
+ "compositePrimaryKeys": {},
790
+ "uniqueConstraints": {},
791
+ "policies": {},
792
+ "checkConstraints": {},
793
+ "isRLSEnabled": false
794
+ },
795
+ "router_v1.5.offers": {
796
+ "name": "offers",
797
+ "schema": "router_v1.5",
798
+ "columns": {
799
+ "hash": {
800
+ "name": "hash",
801
+ "type": "varchar(66)",
802
+ "primaryKey": true,
803
+ "notNull": true
804
+ },
805
+ "obligation_id": {
806
+ "name": "obligation_id",
807
+ "type": "varchar(66)",
808
+ "primaryKey": false,
809
+ "notNull": true
810
+ },
811
+ "offering": {
812
+ "name": "offering",
813
+ "type": "varchar(42)",
814
+ "primaryKey": false,
815
+ "notNull": true
816
+ },
817
+ "assets": {
818
+ "name": "assets",
819
+ "type": "numeric(78, 0)",
820
+ "primaryKey": false,
821
+ "notNull": true
822
+ },
823
+ "rate": {
824
+ "name": "rate",
825
+ "type": "bigint",
826
+ "primaryKey": false,
827
+ "notNull": true
828
+ },
829
+ "maturity": {
830
+ "name": "maturity",
831
+ "type": "integer",
832
+ "primaryKey": false,
833
+ "notNull": true
834
+ },
835
+ "expiry": {
836
+ "name": "expiry",
837
+ "type": "integer",
838
+ "primaryKey": false,
839
+ "notNull": true
840
+ },
841
+ "start": {
842
+ "name": "start",
843
+ "type": "integer",
844
+ "primaryKey": false,
845
+ "notNull": true
846
+ },
847
+ "nonce": {
848
+ "name": "nonce",
849
+ "type": "bigint",
850
+ "primaryKey": false,
851
+ "notNull": true
852
+ },
853
+ "buy": {
854
+ "name": "buy",
855
+ "type": "boolean",
856
+ "primaryKey": false,
857
+ "notNull": true
858
+ },
859
+ "chain_id": {
860
+ "name": "chain_id",
861
+ "type": "bigint",
862
+ "primaryKey": false,
863
+ "notNull": true
864
+ },
865
+ "loan_token": {
866
+ "name": "loan_token",
867
+ "type": "varchar(42)",
868
+ "primaryKey": false,
869
+ "notNull": true
870
+ },
871
+ "callback_address": {
872
+ "name": "callback_address",
873
+ "type": "varchar(42)",
874
+ "primaryKey": false,
875
+ "notNull": true
876
+ },
877
+ "callback_data": {
878
+ "name": "callback_data",
879
+ "type": "text",
880
+ "primaryKey": false,
881
+ "notNull": true
882
+ },
883
+ "callback_gas_limit": {
884
+ "name": "callback_gas_limit",
885
+ "type": "bigint",
886
+ "primaryKey": false,
887
+ "notNull": true
888
+ },
889
+ "signature": {
890
+ "name": "signature",
891
+ "type": "varchar(132)",
892
+ "primaryKey": false,
893
+ "notNull": false
894
+ },
895
+ "created_at": {
896
+ "name": "created_at",
897
+ "type": "timestamp",
898
+ "primaryKey": false,
899
+ "notNull": true,
900
+ "default": "now()"
901
+ },
902
+ "block_number": {
903
+ "name": "block_number",
904
+ "type": "bigint",
905
+ "primaryKey": false,
906
+ "notNull": true
907
+ }
908
+ },
909
+ "indexes": {
910
+ "offers_obligation_id_idx": {
911
+ "name": "offers_obligation_id_idx",
912
+ "columns": [
913
+ {
914
+ "expression": "obligation_id",
915
+ "isExpression": false,
916
+ "asc": true,
917
+ "nulls": "last"
918
+ }
919
+ ],
920
+ "isUnique": false,
921
+ "concurrently": false,
922
+ "method": "btree",
923
+ "with": {}
924
+ },
925
+ "offers_offering_idx": {
926
+ "name": "offers_offering_idx",
927
+ "columns": [
928
+ {
929
+ "expression": "offering",
930
+ "isExpression": false,
931
+ "asc": true,
932
+ "nulls": "last"
933
+ }
934
+ ],
935
+ "isUnique": false,
936
+ "concurrently": false,
937
+ "method": "btree",
938
+ "with": {}
939
+ },
940
+ "offers_buy_idx": {
941
+ "name": "offers_buy_idx",
942
+ "columns": [
943
+ {
944
+ "expression": "buy",
945
+ "isExpression": false,
946
+ "asc": true,
947
+ "nulls": "last"
948
+ }
949
+ ],
950
+ "isUnique": false,
951
+ "concurrently": false,
952
+ "method": "btree",
953
+ "with": {}
954
+ },
955
+ "offers_chain_id_idx": {
956
+ "name": "offers_chain_id_idx",
957
+ "columns": [
958
+ {
959
+ "expression": "chain_id",
960
+ "isExpression": false,
961
+ "asc": true,
962
+ "nulls": "last"
963
+ }
964
+ ],
965
+ "isUnique": false,
966
+ "concurrently": false,
967
+ "method": "btree",
968
+ "with": {}
969
+ },
970
+ "offers_loan_token_idx": {
971
+ "name": "offers_loan_token_idx",
972
+ "columns": [
973
+ {
974
+ "expression": "loan_token",
975
+ "isExpression": false,
976
+ "asc": true,
977
+ "nulls": "last"
978
+ }
979
+ ],
980
+ "isUnique": false,
981
+ "concurrently": false,
982
+ "method": "btree",
983
+ "with": {}
984
+ },
985
+ "offers_maturity_idx": {
986
+ "name": "offers_maturity_idx",
987
+ "columns": [
988
+ {
989
+ "expression": "maturity",
990
+ "isExpression": false,
991
+ "asc": true,
992
+ "nulls": "last"
993
+ }
994
+ ],
995
+ "isUnique": false,
996
+ "concurrently": false,
997
+ "method": "btree",
998
+ "with": {}
999
+ },
1000
+ "offers_expiry_idx": {
1001
+ "name": "offers_expiry_idx",
1002
+ "columns": [
1003
+ {
1004
+ "expression": "expiry",
1005
+ "isExpression": false,
1006
+ "asc": true,
1007
+ "nulls": "last"
1008
+ }
1009
+ ],
1010
+ "isUnique": false,
1011
+ "concurrently": false,
1012
+ "method": "btree",
1013
+ "with": {}
1014
+ },
1015
+ "offers_rate_idx": {
1016
+ "name": "offers_rate_idx",
1017
+ "columns": [
1018
+ {
1019
+ "expression": "rate",
1020
+ "isExpression": false,
1021
+ "asc": true,
1022
+ "nulls": "last"
1023
+ }
1024
+ ],
1025
+ "isUnique": false,
1026
+ "concurrently": false,
1027
+ "method": "btree",
1028
+ "with": {}
1029
+ },
1030
+ "offers_assets_idx": {
1031
+ "name": "offers_assets_idx",
1032
+ "columns": [
1033
+ {
1034
+ "expression": "assets",
1035
+ "isExpression": false,
1036
+ "asc": true,
1037
+ "nulls": "last"
1038
+ }
1039
+ ],
1040
+ "isUnique": false,
1041
+ "concurrently": false,
1042
+ "method": "btree",
1043
+ "with": {}
1044
+ },
1045
+ "offers_created_at_idx": {
1046
+ "name": "offers_created_at_idx",
1047
+ "columns": [
1048
+ {
1049
+ "expression": "created_at",
1050
+ "isExpression": false,
1051
+ "asc": true,
1052
+ "nulls": "last"
1053
+ }
1054
+ ],
1055
+ "isUnique": false,
1056
+ "concurrently": false,
1057
+ "method": "btree",
1058
+ "with": {}
1059
+ },
1060
+ "offers_block_number_idx": {
1061
+ "name": "offers_block_number_idx",
1062
+ "columns": [
1063
+ {
1064
+ "expression": "block_number",
1065
+ "isExpression": false,
1066
+ "asc": true,
1067
+ "nulls": "last"
1068
+ }
1069
+ ],
1070
+ "isUnique": false,
1071
+ "concurrently": false,
1072
+ "method": "btree",
1073
+ "with": {}
1074
+ },
1075
+ "offers_rate_hash_idx": {
1076
+ "name": "offers_rate_hash_idx",
1077
+ "columns": [
1078
+ {
1079
+ "expression": "rate",
1080
+ "isExpression": false,
1081
+ "asc": true,
1082
+ "nulls": "last"
1083
+ },
1084
+ {
1085
+ "expression": "hash",
1086
+ "isExpression": false,
1087
+ "asc": true,
1088
+ "nulls": "last"
1089
+ }
1090
+ ],
1091
+ "isUnique": false,
1092
+ "concurrently": false,
1093
+ "method": "btree",
1094
+ "with": {}
1095
+ },
1096
+ "offers_maturity_hash_idx": {
1097
+ "name": "offers_maturity_hash_idx",
1098
+ "columns": [
1099
+ {
1100
+ "expression": "maturity",
1101
+ "isExpression": false,
1102
+ "asc": true,
1103
+ "nulls": "last"
1104
+ },
1105
+ {
1106
+ "expression": "hash",
1107
+ "isExpression": false,
1108
+ "asc": true,
1109
+ "nulls": "last"
1110
+ }
1111
+ ],
1112
+ "isUnique": false,
1113
+ "concurrently": false,
1114
+ "method": "btree",
1115
+ "with": {}
1116
+ },
1117
+ "offers_expiry_hash_idx": {
1118
+ "name": "offers_expiry_hash_idx",
1119
+ "columns": [
1120
+ {
1121
+ "expression": "expiry",
1122
+ "isExpression": false,
1123
+ "asc": true,
1124
+ "nulls": "last"
1125
+ },
1126
+ {
1127
+ "expression": "hash",
1128
+ "isExpression": false,
1129
+ "asc": true,
1130
+ "nulls": "last"
1131
+ }
1132
+ ],
1133
+ "isUnique": false,
1134
+ "concurrently": false,
1135
+ "method": "btree",
1136
+ "with": {}
1137
+ },
1138
+ "offers_assets_hash_idx": {
1139
+ "name": "offers_assets_hash_idx",
1140
+ "columns": [
1141
+ {
1142
+ "expression": "assets",
1143
+ "isExpression": false,
1144
+ "asc": true,
1145
+ "nulls": "last"
1146
+ },
1147
+ {
1148
+ "expression": "hash",
1149
+ "isExpression": false,
1150
+ "asc": true,
1151
+ "nulls": "last"
1152
+ }
1153
+ ],
1154
+ "isUnique": false,
1155
+ "concurrently": false,
1156
+ "method": "btree",
1157
+ "with": {}
1158
+ },
1159
+ "offers_rate_created_at_assets_hash_idx": {
1160
+ "name": "offers_rate_created_at_assets_hash_idx",
1161
+ "columns": [
1162
+ {
1163
+ "expression": "rate",
1164
+ "isExpression": false,
1165
+ "asc": true,
1166
+ "nulls": "last"
1167
+ },
1168
+ {
1169
+ "expression": "\"created_at\" asc",
1170
+ "asc": true,
1171
+ "isExpression": true,
1172
+ "nulls": "last"
1173
+ },
1174
+ {
1175
+ "expression": "\"assets\" desc",
1176
+ "asc": true,
1177
+ "isExpression": true,
1178
+ "nulls": "last"
1179
+ },
1180
+ {
1181
+ "expression": "\"hash\" asc",
1182
+ "asc": true,
1183
+ "isExpression": true,
1184
+ "nulls": "last"
1185
+ }
1186
+ ],
1187
+ "isUnique": false,
1188
+ "concurrently": false,
1189
+ "method": "btree",
1190
+ "with": {}
1191
+ }
1192
+ },
1193
+ "foreignKeys": {
1194
+ "offers_obligation_id_obligations_obligation_id_fk": {
1195
+ "name": "offers_obligation_id_obligations_obligation_id_fk",
1196
+ "tableFrom": "offers",
1197
+ "tableTo": "obligations",
1198
+ "schemaTo": "router_v1.5",
1199
+ "columnsFrom": ["obligation_id"],
1200
+ "columnsTo": ["obligation_id"],
1201
+ "onDelete": "cascade",
1202
+ "onUpdate": "no action"
1203
+ }
1204
+ },
1205
+ "compositePrimaryKeys": {},
1206
+ "uniqueConstraints": {},
1207
+ "policies": {},
1208
+ "checkConstraints": {},
1209
+ "isRLSEnabled": false
1210
+ },
1211
+ "router_v1.5.offers_v2": {
1212
+ "name": "offers_v2",
1213
+ "schema": "router_v1.5",
1214
+ "columns": {
1215
+ "hash": {
1216
+ "name": "hash",
1217
+ "type": "varchar(66)",
1218
+ "primaryKey": true,
1219
+ "notNull": true
1220
+ },
1221
+ "obligation_id": {
1222
+ "name": "obligation_id",
1223
+ "type": "varchar(66)",
1224
+ "primaryKey": false,
1225
+ "notNull": true
1226
+ },
1227
+ "assets": {
1228
+ "name": "assets",
1229
+ "type": "numeric(78, 0)",
1230
+ "primaryKey": false,
1231
+ "notNull": true
1232
+ },
1233
+ "rate": {
1234
+ "name": "rate",
1235
+ "type": "numeric(78, 0)",
1236
+ "primaryKey": false,
1237
+ "notNull": true
1238
+ },
1239
+ "maturity": {
1240
+ "name": "maturity",
1241
+ "type": "integer",
1242
+ "primaryKey": false,
1243
+ "notNull": true
1244
+ },
1245
+ "expiry": {
1246
+ "name": "expiry",
1247
+ "type": "integer",
1248
+ "primaryKey": false,
1249
+ "notNull": true
1250
+ },
1251
+ "start": {
1252
+ "name": "start",
1253
+ "type": "integer",
1254
+ "primaryKey": false,
1255
+ "notNull": true
1256
+ },
1257
+ "group_chain_id": {
1258
+ "name": "group_chain_id",
1259
+ "type": "bigint",
1260
+ "primaryKey": false,
1261
+ "notNull": true
1262
+ },
1263
+ "group_maker": {
1264
+ "name": "group_maker",
1265
+ "type": "varchar(42)",
1266
+ "primaryKey": false,
1267
+ "notNull": true
1268
+ },
1269
+ "group_group": {
1270
+ "name": "group_group",
1271
+ "type": "varchar(66)",
1272
+ "primaryKey": false,
1273
+ "notNull": true
1274
+ },
1275
+ "nonce": {
1276
+ "name": "nonce",
1277
+ "type": "varchar(66)",
1278
+ "primaryKey": false,
1279
+ "notNull": true
1280
+ },
1281
+ "buy": {
1282
+ "name": "buy",
1283
+ "type": "boolean",
1284
+ "primaryKey": false,
1285
+ "notNull": true
1286
+ },
1287
+ "callback_address": {
1288
+ "name": "callback_address",
1289
+ "type": "varchar(42)",
1290
+ "primaryKey": false,
1291
+ "notNull": true
1292
+ },
1293
+ "callback_data": {
1294
+ "name": "callback_data",
1295
+ "type": "text",
1296
+ "primaryKey": false,
1297
+ "notNull": true
1298
+ },
1299
+ "block_number": {
1300
+ "name": "block_number",
1301
+ "type": "bigint",
1302
+ "primaryKey": false,
1303
+ "notNull": true
1304
+ },
1305
+ "updated_at": {
1306
+ "name": "updated_at",
1307
+ "type": "timestamp",
1308
+ "primaryKey": false,
1309
+ "notNull": true,
1310
+ "default": "now()"
1311
+ }
1312
+ },
1313
+ "indexes": {
1314
+ "offers_v2_group_fk_idx": {
1315
+ "name": "offers_v2_group_fk_idx",
1316
+ "columns": [
1317
+ {
1318
+ "expression": "group_chain_id",
1319
+ "isExpression": false,
1320
+ "asc": true,
1321
+ "nulls": "last"
1322
+ },
1323
+ {
1324
+ "expression": "group_maker",
1325
+ "isExpression": false,
1326
+ "asc": true,
1327
+ "nulls": "last"
1328
+ },
1329
+ {
1330
+ "expression": "group_group",
1331
+ "isExpression": false,
1332
+ "asc": true,
1333
+ "nulls": "last"
1334
+ }
1335
+ ],
1336
+ "isUnique": false,
1337
+ "concurrently": false,
1338
+ "method": "btree",
1339
+ "with": {}
1340
+ }
1341
+ },
1342
+ "foreignKeys": {
1343
+ "offers_v2_obligation_id_obligations_obligation_id_fk": {
1344
+ "name": "offers_v2_obligation_id_obligations_obligation_id_fk",
1345
+ "tableFrom": "offers_v2",
1346
+ "tableTo": "obligations",
1347
+ "schemaTo": "router_v1.5",
1348
+ "columnsFrom": ["obligation_id"],
1349
+ "columnsTo": ["obligation_id"],
1350
+ "onDelete": "cascade",
1351
+ "onUpdate": "no action"
1352
+ },
1353
+ "offers_v2_groups_fk": {
1354
+ "name": "offers_v2_groups_fk",
1355
+ "tableFrom": "offers_v2",
1356
+ "tableTo": "groups",
1357
+ "schemaTo": "router_v1.5",
1358
+ "columnsFrom": ["group_chain_id", "group_maker", "group_group"],
1359
+ "columnsTo": ["chain_id", "maker", "group"],
1360
+ "onDelete": "cascade",
1361
+ "onUpdate": "no action"
1362
+ }
1363
+ },
1364
+ "compositePrimaryKeys": {},
1365
+ "uniqueConstraints": {},
1366
+ "policies": {},
1367
+ "checkConstraints": {},
1368
+ "isRLSEnabled": false
1369
+ },
1370
+ "router_v1.5.oracles": {
1371
+ "name": "oracles",
1372
+ "schema": "router_v1.5",
1373
+ "columns": {
1374
+ "chain_id": {
1375
+ "name": "chain_id",
1376
+ "type": "bigint",
1377
+ "primaryKey": false,
1378
+ "notNull": true
1379
+ },
1380
+ "address": {
1381
+ "name": "address",
1382
+ "type": "varchar(42)",
1383
+ "primaryKey": false,
1384
+ "notNull": true
1385
+ },
1386
+ "block_number": {
1387
+ "name": "block_number",
1388
+ "type": "bigint",
1389
+ "primaryKey": false,
1390
+ "notNull": true
1391
+ },
1392
+ "updated_at": {
1393
+ "name": "updated_at",
1394
+ "type": "timestamp",
1395
+ "primaryKey": false,
1396
+ "notNull": true,
1397
+ "default": "now()"
1398
+ }
1399
+ },
1400
+ "indexes": {},
1401
+ "foreignKeys": {},
1402
+ "compositePrimaryKeys": {
1403
+ "oracles_pk": {
1404
+ "name": "oracles_pk",
1405
+ "columns": ["chain_id", "address"]
1406
+ }
1407
+ },
1408
+ "uniqueConstraints": {},
1409
+ "policies": {},
1410
+ "checkConstraints": {},
1411
+ "isRLSEnabled": false
1412
+ },
1413
+ "router_v1.5.status": {
1414
+ "name": "status",
1415
+ "schema": "router_v1.5",
1416
+ "columns": {
1417
+ "id": {
1418
+ "name": "id",
1419
+ "type": "serial",
1420
+ "primaryKey": true,
1421
+ "notNull": true
1422
+ },
1423
+ "code": {
1424
+ "name": "code",
1425
+ "type": "status_code",
1426
+ "typeSchema": "router_v1.5",
1427
+ "primaryKey": false,
1428
+ "notNull": false
1429
+ }
1430
+ },
1431
+ "indexes": {},
1432
+ "foreignKeys": {},
1433
+ "compositePrimaryKeys": {},
1434
+ "uniqueConstraints": {
1435
+ "status_code_unique": {
1436
+ "name": "status_code_unique",
1437
+ "nullsNotDistinct": false,
1438
+ "columns": ["code"]
1439
+ }
1440
+ },
1441
+ "policies": {},
1442
+ "checkConstraints": {},
1443
+ "isRLSEnabled": false
1444
+ }
1445
+ },
1446
+ "enums": {
1447
+ "router_v1.5.status_code": {
1448
+ "name": "status_code",
1449
+ "schema": "router_v1.5",
1450
+ "values": ["VALID", "NOT_ENOUGH_LIQUIDITY"]
1451
+ }
1452
+ },
1453
+ "schemas": {},
1454
+ "sequences": {},
1455
+ "roles": {},
1456
+ "policies": {},
1457
+ "views": {},
1458
+ "_meta": {
1459
+ "columns": {},
1460
+ "schemas": {},
1461
+ "tables": {}
1462
+ }
1463
+ }