@hypercerts-org/marketplace-sdk 0.3.1 → 0.3.3

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.
@@ -1,368 +1,101 @@
1
1
  export type Json = string | number | boolean | null | {
2
2
  [key: string]: Json | undefined;
3
3
  } | Json[];
4
- export interface Database {
4
+ export type Database = {
5
5
  public: {
6
6
  Tables: {
7
- allowlistCache: {
8
- Row: {
9
- address: string | null;
10
- claimId: string | null;
11
- created_at: string | null;
12
- fractionCounter: number | null;
13
- hidden: boolean;
14
- id: number;
15
- };
16
- Insert: {
17
- address?: string | null;
18
- claimId?: string | null;
19
- created_at?: string | null;
20
- fractionCounter?: number | null;
21
- hidden?: boolean;
22
- id?: number;
23
- };
24
- Update: {
25
- address?: string | null;
26
- claimId?: string | null;
27
- created_at?: string | null;
28
- fractionCounter?: number | null;
29
- hidden?: boolean;
30
- id?: number;
31
- };
32
- Relationships: [];
33
- };
34
- "allowlistCache-chainId": {
35
- Row: {
36
- address: string | null;
37
- chainId: number;
38
- claimId: string | null;
39
- created_at: string | null;
40
- fractionCounter: number | null;
41
- hidden: boolean;
42
- id: number;
43
- };
44
- Insert: {
45
- address?: string | null;
46
- chainId: number;
47
- claimId?: string | null;
48
- created_at?: string | null;
49
- fractionCounter?: number | null;
50
- hidden?: boolean;
51
- id?: number;
52
- };
53
- Update: {
54
- address?: string | null;
55
- chainId?: number;
56
- claimId?: string | null;
57
- created_at?: string | null;
58
- fractionCounter?: number | null;
59
- hidden?: boolean;
60
- id?: number;
61
- };
62
- Relationships: [];
63
- };
64
- "allowlistCache-goerli": {
65
- Row: {
66
- address: string | null;
67
- claimId: string | null;
68
- created_at: string | null;
69
- fractionCounter: number | null;
70
- hidden: boolean;
71
- id: number;
72
- };
73
- Insert: {
74
- address?: string | null;
75
- claimId?: string | null;
76
- created_at?: string | null;
77
- fractionCounter?: number | null;
78
- hidden?: boolean;
79
- id?: number;
80
- };
81
- Update: {
82
- address?: string | null;
83
- claimId?: string | null;
84
- created_at?: string | null;
85
- fractionCounter?: number | null;
86
- hidden?: boolean;
87
- id?: number;
88
- };
89
- Relationships: [];
90
- };
91
- "allowlistCache-optimism": {
92
- Row: {
93
- address: string | null;
94
- claimId: string | null;
95
- created_at: string | null;
96
- fractionCounter: number | null;
97
- hidden: boolean;
98
- id: number;
99
- };
100
- Insert: {
101
- address?: string | null;
102
- claimId?: string | null;
103
- created_at?: string | null;
104
- fractionCounter?: number | null;
105
- hidden?: boolean;
106
- id?: number;
107
- };
108
- Update: {
109
- address?: string | null;
110
- claimId?: string | null;
111
- created_at?: string | null;
112
- fractionCounter?: number | null;
113
- hidden?: boolean;
114
- id?: number;
115
- };
116
- Relationships: [];
117
- };
118
- "allowlistCache-sepolia": {
119
- Row: {
120
- address: string | null;
121
- claimId: string | null;
122
- created_at: string | null;
123
- fractionCounter: number | null;
124
- hidden: boolean;
125
- id: number;
126
- };
127
- Insert: {
128
- address?: string | null;
129
- claimId?: string | null;
130
- created_at?: string | null;
131
- fractionCounter?: number | null;
132
- hidden?: boolean;
133
- id?: number;
134
- };
135
- Update: {
136
- address?: string | null;
137
- claimId?: string | null;
138
- created_at?: string | null;
139
- fractionCounter?: number | null;
140
- hidden?: boolean;
141
- id?: number;
142
- };
143
- Relationships: [];
144
- };
145
- "claim-blueprints-optimism": {
7
+ blueprints: {
146
8
  Row: {
9
+ admin_id: string;
147
10
  created_at: string;
148
- form_values: string;
149
- id: string;
11
+ display_size: number;
12
+ form_values: Json;
13
+ id: number;
150
14
  minter_address: string;
151
15
  registry_id: string;
152
16
  };
153
17
  Insert: {
18
+ admin_id: string;
154
19
  created_at?: string;
155
- form_values: string;
156
- id?: string;
20
+ display_size?: number;
21
+ form_values: Json;
22
+ id?: number;
157
23
  minter_address: string;
158
24
  registry_id: string;
159
25
  };
160
26
  Update: {
27
+ admin_id?: string;
161
28
  created_at?: string;
162
- form_values?: string;
163
- id?: string;
29
+ display_size?: number;
30
+ form_values?: Json;
31
+ id?: number;
164
32
  minter_address?: string;
165
33
  registry_id?: string;
166
34
  };
167
35
  Relationships: [
168
36
  {
169
- foreignKeyName: "claim-blueprints-optimism_registry_id_fkey";
37
+ foreignKeyName: "blueprints_admin_id_fkey";
38
+ columns: ["admin_id"];
39
+ isOneToOne: false;
40
+ referencedRelation: "users";
41
+ referencedColumns: ["address"];
42
+ },
43
+ {
44
+ foreignKeyName: "blueprints_registry_id_fkey";
170
45
  columns: ["registry_id"];
171
46
  isOneToOne: false;
172
- referencedRelation: "registries-optimism";
47
+ referencedRelation: "registries";
173
48
  referencedColumns: ["id"];
174
49
  }
175
50
  ];
176
51
  };
177
- "claims-metadata-mapping": {
178
- Row: {
179
- chainId: number | null;
180
- claimId: string;
181
- collectionName: string | null;
182
- collision: string | null;
183
- createdAt: number | null;
184
- creatorAddress: string | null;
185
- date: string | null;
186
- featured: boolean | null;
187
- hidden: boolean;
188
- hypercert: Json | null;
189
- id: number;
190
- properties: Json | null;
191
- title: string | null;
192
- totalPrice: number | null;
193
- totalUnits: number | null;
194
- };
195
- Insert: {
196
- chainId?: number | null;
197
- claimId: string;
198
- collectionName?: string | null;
199
- collision?: string | null;
200
- createdAt?: number | null;
201
- creatorAddress?: string | null;
202
- date?: string | null;
203
- featured?: boolean | null;
204
- hidden?: boolean;
205
- hypercert?: Json | null;
206
- id?: number;
207
- properties?: Json | null;
208
- title?: string | null;
209
- totalPrice?: number | null;
210
- totalUnits?: number | null;
211
- };
212
- Update: {
213
- chainId?: number | null;
214
- claimId?: string;
215
- collectionName?: string | null;
216
- collision?: string | null;
217
- createdAt?: number | null;
218
- creatorAddress?: string | null;
219
- date?: string | null;
220
- featured?: boolean | null;
221
- hidden?: boolean;
222
- hypercert?: Json | null;
223
- id?: number;
224
- properties?: Json | null;
225
- title?: string | null;
226
- totalPrice?: number | null;
227
- totalUnits?: number | null;
228
- };
229
- Relationships: [];
230
- };
231
- collections: {
232
- Row: {
233
- chainId: number | null;
234
- claimId: string | null;
235
- collectionName: string | null;
236
- created_at: string | null;
237
- featured: boolean | null;
238
- id: number;
239
- };
240
- Insert: {
241
- chainId?: number | null;
242
- claimId?: string | null;
243
- collectionName?: string | null;
244
- created_at?: string | null;
245
- featured?: boolean | null;
246
- id?: number;
247
- };
248
- Update: {
249
- chainId?: number | null;
250
- claimId?: string | null;
251
- collectionName?: string | null;
252
- created_at?: string | null;
253
- featured?: boolean | null;
254
- id?: number;
255
- };
256
- Relationships: [];
257
- };
258
- "ftc-purchase": {
259
- Row: {
260
- address: string;
261
- ethValue: number;
262
- id: number;
263
- textForSponsor: string | null;
264
- timestamp: string;
265
- values: Json;
266
- };
267
- Insert: {
268
- address: string;
269
- ethValue: number;
270
- id?: number;
271
- textForSponsor?: string | null;
272
- timestamp?: string;
273
- values: Json;
274
- };
275
- Update: {
276
- address?: string;
277
- ethValue?: number;
278
- id?: number;
279
- textForSponsor?: string | null;
280
- timestamp?: string;
281
- values?: Json;
282
- };
283
- Relationships: [];
284
- };
285
- "gtc-alpha-allowlist": {
286
- Row: {
287
- address: string | null;
288
- id: number;
289
- project: string | null;
290
- units: number | null;
291
- };
292
- Insert: {
293
- address?: string | null;
294
- id: number;
295
- project?: string | null;
296
- units?: number | null;
297
- };
298
- Update: {
299
- address?: string | null;
300
- id?: number;
301
- project?: string | null;
302
- units?: number | null;
303
- };
304
- Relationships: [];
305
- };
306
- "hidden-hypercerts": {
307
- Row: {
308
- chainId: number | null;
309
- claimId: string | null;
310
- entry_created_at: string;
311
- hidden: boolean;
312
- id: number;
313
- };
314
- Insert: {
315
- chainId?: number | null;
316
- claimId?: string | null;
317
- entry_created_at?: string;
318
- hidden?: boolean;
319
- id?: number;
320
- };
321
- Update: {
322
- chainId?: number | null;
323
- claimId?: string | null;
324
- entry_created_at?: string;
325
- hidden?: boolean;
326
- id?: number;
327
- };
328
- Relationships: [];
329
- };
330
- "hyperboard-claims": {
52
+ claims: {
331
53
  Row: {
54
+ admin_id: string;
55
+ chain_id: number;
332
56
  created_at: string;
57
+ display_size: number;
333
58
  hypercert_id: string;
334
59
  id: string;
60
+ owner_id: string;
335
61
  registry_id: string;
336
62
  };
337
63
  Insert: {
64
+ admin_id: string;
65
+ chain_id: number;
338
66
  created_at?: string;
67
+ display_size?: number;
339
68
  hypercert_id: string;
340
69
  id?: string;
70
+ owner_id: string;
341
71
  registry_id: string;
342
72
  };
343
73
  Update: {
74
+ admin_id?: string;
75
+ chain_id?: number;
344
76
  created_at?: string;
77
+ display_size?: number;
345
78
  hypercert_id?: string;
346
79
  id?: string;
80
+ owner_id?: string;
347
81
  registry_id?: string;
348
82
  };
349
83
  Relationships: [
350
84
  {
351
- foreignKeyName: "hyperboard-claims_registry_id_fkey";
85
+ foreignKeyName: "claims_registry_id_fkey";
352
86
  columns: ["registry_id"];
353
87
  isOneToOne: false;
354
- referencedRelation: "registries-optimism";
88
+ referencedRelation: "registries";
355
89
  referencedColumns: ["id"];
356
90
  }
357
91
  ];
358
92
  };
359
- "hyperboard-sponsor-metadata": {
93
+ default_sponsor_metadata: {
360
94
  Row: {
361
95
  address: string;
362
96
  companyName: string | null;
363
97
  created_at: string;
364
98
  firstName: string | null;
365
- id: string;
366
99
  image: string;
367
100
  lastName: string | null;
368
101
  type: string;
@@ -372,7 +105,6 @@ export interface Database {
372
105
  companyName?: string | null;
373
106
  created_at?: string;
374
107
  firstName?: string | null;
375
- id?: string;
376
108
  image: string;
377
109
  lastName?: string | null;
378
110
  type: string;
@@ -382,89 +114,130 @@ export interface Database {
382
114
  companyName?: string | null;
383
115
  created_at?: string;
384
116
  firstName?: string | null;
385
- id?: string;
386
117
  image?: string;
387
118
  lastName?: string | null;
388
119
  type?: string;
389
120
  };
390
121
  Relationships: [];
391
122
  };
392
- "hypercert-projects": {
123
+ fraction_sponsor_metadata: {
393
124
  Row: {
394
- date_to_order: string | null;
395
- description: string | null;
396
- hidden: boolean;
397
- id: number;
398
- link: string | null;
399
- link_display_text: string | null;
400
- name: string | null;
401
- organization: string | null;
402
- stage: string | null;
403
- time_created: string | null;
404
- type: string | null;
405
- visible_date: string | null;
125
+ chain_id: number;
126
+ companyName: string | null;
127
+ created_at: string;
128
+ firstName: string | null;
129
+ fraction_id: string;
130
+ hypercert_id: string;
131
+ id: string;
132
+ image: string;
133
+ lastName: string | null;
134
+ strategy: string;
135
+ type: string;
136
+ value: string;
406
137
  };
407
138
  Insert: {
408
- date_to_order?: string | null;
409
- description?: string | null;
410
- hidden?: boolean;
411
- id?: number;
412
- link?: string | null;
413
- link_display_text?: string | null;
414
- name?: string | null;
415
- organization?: string | null;
416
- stage?: string | null;
417
- time_created?: string | null;
418
- type?: string | null;
419
- visible_date?: string | null;
139
+ chain_id: number;
140
+ companyName?: string | null;
141
+ created_at?: string;
142
+ firstName?: string | null;
143
+ fraction_id: string;
144
+ hypercert_id: string;
145
+ id?: string;
146
+ image: string;
147
+ lastName?: string | null;
148
+ strategy: string;
149
+ type: string;
150
+ value: string;
420
151
  };
421
152
  Update: {
422
- date_to_order?: string | null;
423
- description?: string | null;
424
- hidden?: boolean;
425
- id?: number;
426
- link?: string | null;
427
- link_display_text?: string | null;
428
- name?: string | null;
429
- organization?: string | null;
430
- stage?: string | null;
431
- time_created?: string | null;
432
- type?: string | null;
433
- visible_date?: string | null;
153
+ chain_id?: number;
154
+ companyName?: string | null;
155
+ created_at?: string;
156
+ firstName?: string | null;
157
+ fraction_id?: string;
158
+ hypercert_id?: string;
159
+ id?: string;
160
+ image?: string;
161
+ lastName?: string | null;
162
+ strategy?: string;
163
+ type?: string;
164
+ value?: string;
434
165
  };
435
166
  Relationships: [];
436
167
  };
437
- "hypercerts-store": {
168
+ hyperboard_registries: {
438
169
  Row: {
439
- chainId: number | null;
440
- claimId: string | null;
441
- collectionName: string | null;
442
- created_at: string;
443
- hidden: boolean;
444
- id: number;
445
- maxPurchase: number;
170
+ created_at: string | null;
171
+ hyperboard_id: string;
172
+ label: string | null;
173
+ registry_id: string;
174
+ render_method: string;
446
175
  };
447
176
  Insert: {
448
- chainId?: number | null;
449
- claimId?: string | null;
450
- collectionName?: string | null;
451
- created_at?: string;
452
- hidden?: boolean;
453
- id?: number;
454
- maxPurchase?: number;
177
+ created_at?: string | null;
178
+ hyperboard_id: string;
179
+ label?: string | null;
180
+ registry_id: string;
181
+ render_method?: string;
455
182
  };
456
183
  Update: {
457
- chainId?: number | null;
458
- claimId?: string | null;
459
- collectionName?: string | null;
460
- created_at?: string;
461
- hidden?: boolean;
462
- id?: number;
463
- maxPurchase?: number;
184
+ created_at?: string | null;
185
+ hyperboard_id?: string;
186
+ label?: string | null;
187
+ registry_id?: string;
188
+ render_method?: string;
189
+ };
190
+ Relationships: [
191
+ {
192
+ foreignKeyName: "hyperboard_registries_hyperboard_id_fkey";
193
+ columns: ["hyperboard_id"];
194
+ isOneToOne: false;
195
+ referencedRelation: "hyperboards";
196
+ referencedColumns: ["id"];
197
+ },
198
+ {
199
+ foreignKeyName: "hyperboard_registries_registries_id_fk";
200
+ columns: ["registry_id"];
201
+ isOneToOne: false;
202
+ referencedRelation: "registries";
203
+ referencedColumns: ["id"];
204
+ }
205
+ ];
206
+ };
207
+ hyperboards: {
208
+ Row: {
209
+ admin_id: string;
210
+ background_image: string | null;
211
+ chain_id: number;
212
+ created_at: string | null;
213
+ grayscale_images: boolean;
214
+ id: string;
215
+ name: string;
216
+ tile_border_color: string | null;
217
+ };
218
+ Insert: {
219
+ admin_id: string;
220
+ background_image?: string | null;
221
+ chain_id: number;
222
+ created_at?: string | null;
223
+ grayscale_images?: boolean;
224
+ id?: string;
225
+ name: string;
226
+ tile_border_color?: string | null;
227
+ };
228
+ Update: {
229
+ admin_id?: string;
230
+ background_image?: string | null;
231
+ chain_id?: number;
232
+ created_at?: string | null;
233
+ grayscale_images?: boolean;
234
+ id?: string;
235
+ name?: string;
236
+ tile_border_color?: string | null;
464
237
  };
465
238
  Relationships: [];
466
239
  };
467
- "marketplace-order-nonces": {
240
+ marketplace_order_nonces: {
468
241
  Row: {
469
242
  address: string;
470
243
  chain_id: number;
@@ -485,7 +258,7 @@ export interface Database {
485
258
  };
486
259
  Relationships: [];
487
260
  };
488
- "marketplace-orders": {
261
+ marketplace_orders: {
489
262
  Row: {
490
263
  additionalParameters: string;
491
264
  amounts: number[];
@@ -551,9 +324,10 @@ export interface Database {
551
324
  };
552
325
  Relationships: [];
553
326
  };
554
- "registries-optimism": {
327
+ registries: {
555
328
  Row: {
556
329
  admin_id: string;
330
+ chain_id: number;
557
331
  created_at: string;
558
332
  description: string;
559
333
  hidden: boolean;
@@ -562,6 +336,7 @@ export interface Database {
562
336
  };
563
337
  Insert: {
564
338
  admin_id: string;
339
+ chain_id: number;
565
340
  created_at?: string;
566
341
  description: string;
567
342
  hidden?: boolean;
@@ -570,6 +345,7 @@ export interface Database {
570
345
  };
571
346
  Update: {
572
347
  admin_id?: string;
348
+ chain_id?: number;
573
349
  created_at?: string;
574
350
  description?: string;
575
351
  hidden?: boolean;
@@ -578,102 +354,108 @@ export interface Database {
578
354
  };
579
355
  Relationships: [];
580
356
  };
581
- "zuconnect-funders": {
357
+ users: {
582
358
  Row: {
583
- budget: number | null;
359
+ address: string;
360
+ auth: Json;
584
361
  created_at: string;
585
- fid: string | null;
586
- id: number;
362
+ email: string | null;
363
+ id: string | null;
587
364
  };
588
365
  Insert: {
589
- budget?: number | null;
366
+ address: string;
367
+ auth?: Json;
590
368
  created_at?: string;
591
- fid?: string | null;
592
- id?: number;
369
+ email?: string | null;
370
+ id?: string | null;
593
371
  };
594
372
  Update: {
595
- budget?: number | null;
373
+ address?: string;
374
+ auth?: Json;
596
375
  created_at?: string;
597
- fid?: string | null;
598
- id?: number;
376
+ email?: string | null;
377
+ id?: string | null;
599
378
  };
600
379
  Relationships: [];
601
380
  };
602
- "zuzalu-community-hypercerts": {
381
+ zuconnect_voting: {
603
382
  Row: {
604
- chainId: number | null;
605
- claimId: string;
606
- collectionName: string | null;
607
- collision: string | null;
608
- createdAt: number | null;
609
- creatorAddress: string | null;
610
- date: string | null;
611
- featured: boolean | null;
612
- hidden: boolean;
613
- hypercert: Json | null;
383
+ allocation_hc01: number | null;
384
+ allocation_hc02: number | null;
385
+ allocation_hc03: number | null;
386
+ allocation_hc04: number | null;
387
+ allocation_hc05: number | null;
388
+ allocation_hc06: number | null;
389
+ allocation_hc07: number | null;
390
+ allocation_hc08: number | null;
391
+ created_at: string;
392
+ feedback: string | null;
393
+ fid: string | null;
614
394
  id: number;
615
- properties: Json | null;
616
- title: string | null;
617
- totalUnits: number | null;
395
+ link_to_image: string | null;
396
+ percent_core_team: number | null;
397
+ percent_direct_allocation: number | null;
398
+ percent_matching_fund: number | null;
618
399
  };
619
400
  Insert: {
620
- chainId?: number | null;
621
- claimId: string;
622
- collectionName?: string | null;
623
- collision?: string | null;
624
- createdAt?: number | null;
625
- creatorAddress?: string | null;
626
- date?: string | null;
627
- featured?: boolean | null;
628
- hidden?: boolean;
629
- hypercert?: Json | null;
401
+ allocation_hc01?: number | null;
402
+ allocation_hc02?: number | null;
403
+ allocation_hc03?: number | null;
404
+ allocation_hc04?: number | null;
405
+ allocation_hc05?: number | null;
406
+ allocation_hc06?: number | null;
407
+ allocation_hc07?: number | null;
408
+ allocation_hc08?: number | null;
409
+ created_at?: string;
410
+ feedback?: string | null;
411
+ fid?: string | null;
630
412
  id?: number;
631
- properties?: Json | null;
632
- title?: string | null;
633
- totalUnits?: number | null;
413
+ link_to_image?: string | null;
414
+ percent_core_team?: number | null;
415
+ percent_direct_allocation?: number | null;
416
+ percent_matching_fund?: number | null;
634
417
  };
635
418
  Update: {
636
- chainId?: number | null;
637
- claimId?: string;
638
- collectionName?: string | null;
639
- collision?: string | null;
640
- createdAt?: number | null;
641
- creatorAddress?: string | null;
642
- date?: string | null;
643
- featured?: boolean | null;
644
- hidden?: boolean;
645
- hypercert?: Json | null;
419
+ allocation_hc01?: number | null;
420
+ allocation_hc02?: number | null;
421
+ allocation_hc03?: number | null;
422
+ allocation_hc04?: number | null;
423
+ allocation_hc05?: number | null;
424
+ allocation_hc06?: number | null;
425
+ allocation_hc07?: number | null;
426
+ allocation_hc08?: number | null;
427
+ created_at?: string;
428
+ feedback?: string | null;
429
+ fid?: string | null;
646
430
  id?: number;
647
- properties?: Json | null;
648
- title?: string | null;
649
- totalUnits?: number | null;
431
+ link_to_image?: string | null;
432
+ percent_core_team?: number | null;
433
+ percent_direct_allocation?: number | null;
434
+ percent_matching_fund?: number | null;
650
435
  };
651
436
  Relationships: [];
652
437
  };
653
- "zuzalu-purchase": {
438
+ zuzalu_donations: {
654
439
  Row: {
655
440
  address: string;
656
- ethValue: number;
441
+ amount: string | null;
442
+ created_at: string;
443
+ email: string;
657
444
  id: number;
658
- textForSponsor: string | null;
659
- timestamp: string;
660
- values: Json;
661
445
  };
662
446
  Insert: {
663
447
  address: string;
664
- ethValue: number;
448
+ amount?: string | null;
449
+ created_at?: string;
450
+ email: string;
665
451
  id?: number;
666
- textForSponsor?: string | null;
667
- timestamp?: string;
668
- values: Json;
669
452
  };
670
453
  Update: {
671
454
  address?: string;
672
- ethValue?: number;
455
+ amount?: string | null;
456
+ created_at?: string;
457
+ email?: string;
673
458
  id?: number;
674
- textForSponsor?: string | null;
675
- timestamp?: string;
676
- values?: Json;
677
459
  };
678
460
  Relationships: [];
679
461
  };
@@ -682,51 +464,50 @@ export interface Database {
682
464
  [_ in never]: never;
683
465
  };
684
466
  Functions: {
685
- citext: {
686
- Args: {
687
- "": boolean;
688
- };
689
- Returns: string;
690
- } | {
691
- Args: {
692
- "": string;
693
- };
694
- Returns: string;
695
- } | {
696
- Args: {
697
- "": unknown;
698
- };
699
- Returns: string;
700
- };
701
- citext_hash: {
467
+ add_claim_from_blueprint: {
702
468
  Args: {
703
- "": string;
704
- };
705
- Returns: number;
706
- };
707
- citextin: {
708
- Args: {
709
- "": unknown;
469
+ registry_id: string;
470
+ hypercert_id: string;
471
+ chain_id: number;
472
+ admin_id: string;
473
+ owner_id: string;
474
+ blueprint_id: number;
710
475
  };
711
476
  Returns: string;
712
477
  };
713
- citextout: {
478
+ default_sponsor_metadata_by_address: {
714
479
  Args: {
715
- "": string;
480
+ addresses: string[];
716
481
  };
717
- Returns: unknown;
718
- };
719
- citextrecv: {
720
- Args: {
721
- "": unknown;
722
- };
723
- Returns: string;
482
+ Returns: {
483
+ address: string;
484
+ companyName: string | null;
485
+ created_at: string;
486
+ firstName: string | null;
487
+ image: string;
488
+ lastName: string | null;
489
+ type: string;
490
+ }[];
724
491
  };
725
- citextsend: {
492
+ fraction_sponsor_metadata_by_fraction_id: {
726
493
  Args: {
727
- "": string;
494
+ fractions: string[];
495
+ chain: number;
728
496
  };
729
- Returns: string;
497
+ Returns: {
498
+ chain_id: number;
499
+ companyName: string | null;
500
+ created_at: string;
501
+ firstName: string | null;
502
+ fraction_id: string;
503
+ hypercert_id: string;
504
+ id: string;
505
+ image: string;
506
+ lastName: string | null;
507
+ strategy: string;
508
+ type: string;
509
+ value: string;
510
+ }[];
730
511
  };
731
512
  };
732
513
  Enums: {
@@ -736,8 +517,9 @@ export interface Database {
736
517
  [_ in never]: never;
737
518
  };
738
519
  };
739
- }
740
- export type Tables<PublicTableNameOrOptions extends keyof (Database["public"]["Tables"] & Database["public"]["Views"]) | {
520
+ };
521
+ type PublicSchema = Database[Extract<keyof Database, "public">];
522
+ export type Tables<PublicTableNameOrOptions extends keyof (PublicSchema["Tables"] & PublicSchema["Views"]) | {
741
523
  schema: keyof Database;
742
524
  }, TableName extends PublicTableNameOrOptions extends {
743
525
  schema: keyof Database;
@@ -745,10 +527,10 @@ export type Tables<PublicTableNameOrOptions extends keyof (Database["public"]["T
745
527
  schema: keyof Database;
746
528
  } ? (Database[PublicTableNameOrOptions["schema"]]["Tables"] & Database[PublicTableNameOrOptions["schema"]]["Views"])[TableName] extends {
747
529
  Row: infer R;
748
- } ? R : never : PublicTableNameOrOptions extends keyof (Database["public"]["Tables"] & Database["public"]["Views"]) ? (Database["public"]["Tables"] & Database["public"]["Views"])[PublicTableNameOrOptions] extends {
530
+ } ? R : never : PublicTableNameOrOptions extends keyof (PublicSchema["Tables"] & PublicSchema["Views"]) ? (PublicSchema["Tables"] & PublicSchema["Views"])[PublicTableNameOrOptions] extends {
749
531
  Row: infer R;
750
532
  } ? R : never : never;
751
- export type TablesInsert<PublicTableNameOrOptions extends keyof Database["public"]["Tables"] | {
533
+ export type TablesInsert<PublicTableNameOrOptions extends keyof PublicSchema["Tables"] | {
752
534
  schema: keyof Database;
753
535
  }, TableName extends PublicTableNameOrOptions extends {
754
536
  schema: keyof Database;
@@ -756,10 +538,10 @@ export type TablesInsert<PublicTableNameOrOptions extends keyof Database["public
756
538
  schema: keyof Database;
757
539
  } ? Database[PublicTableNameOrOptions["schema"]]["Tables"][TableName] extends {
758
540
  Insert: infer I;
759
- } ? I : never : PublicTableNameOrOptions extends keyof Database["public"]["Tables"] ? Database["public"]["Tables"][PublicTableNameOrOptions] extends {
541
+ } ? I : never : PublicTableNameOrOptions extends keyof PublicSchema["Tables"] ? PublicSchema["Tables"][PublicTableNameOrOptions] extends {
760
542
  Insert: infer I;
761
543
  } ? I : never : never;
762
- export type TablesUpdate<PublicTableNameOrOptions extends keyof Database["public"]["Tables"] | {
544
+ export type TablesUpdate<PublicTableNameOrOptions extends keyof PublicSchema["Tables"] | {
763
545
  schema: keyof Database;
764
546
  }, TableName extends PublicTableNameOrOptions extends {
765
547
  schema: keyof Database;
@@ -767,13 +549,14 @@ export type TablesUpdate<PublicTableNameOrOptions extends keyof Database["public
767
549
  schema: keyof Database;
768
550
  } ? Database[PublicTableNameOrOptions["schema"]]["Tables"][TableName] extends {
769
551
  Update: infer U;
770
- } ? U : never : PublicTableNameOrOptions extends keyof Database["public"]["Tables"] ? Database["public"]["Tables"][PublicTableNameOrOptions] extends {
552
+ } ? U : never : PublicTableNameOrOptions extends keyof PublicSchema["Tables"] ? PublicSchema["Tables"][PublicTableNameOrOptions] extends {
771
553
  Update: infer U;
772
554
  } ? U : never : never;
773
- export type Enums<PublicEnumNameOrOptions extends keyof Database["public"]["Enums"] | {
555
+ export type Enums<PublicEnumNameOrOptions extends keyof PublicSchema["Enums"] | {
774
556
  schema: keyof Database;
775
557
  }, EnumName extends PublicEnumNameOrOptions extends {
776
558
  schema: keyof Database;
777
559
  } ? keyof Database[PublicEnumNameOrOptions["schema"]]["Enums"] : never = never> = PublicEnumNameOrOptions extends {
778
560
  schema: keyof Database;
779
- } ? Database[PublicEnumNameOrOptions["schema"]]["Enums"][EnumName] : PublicEnumNameOrOptions extends keyof Database["public"]["Enums"] ? Database["public"]["Enums"][PublicEnumNameOrOptions] : never;
561
+ } ? Database[PublicEnumNameOrOptions["schema"]]["Enums"][EnumName] : PublicEnumNameOrOptions extends keyof PublicSchema["Enums"] ? PublicSchema["Enums"][PublicEnumNameOrOptions] : never;
562
+ export {};