@longdotxyz/shared 0.0.36 → 0.0.37
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/dist/contracts/asset.contract.d.ts +684 -21
- package/dist/contracts/asset.contract.js +54 -16
- package/dist/contracts/asset.contract.js.map +1 -1
- package/dist/contracts/auction-template.contract.js +9 -3
- package/dist/contracts/auction-template.contract.js.map +1 -1
- package/dist/contracts/auction.contract.js +27 -9
- package/dist/contracts/auction.contract.js.map +1 -1
- package/dist/contracts/index.d.ts +501 -3
- package/dist/contracts/quote.contract.js +36 -12
- package/dist/contracts/quote.contract.js.map +1 -1
- package/dist/types/constants.d.ts +1 -0
- package/dist/types/constants.js +1 -0
- package/dist/types/constants.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import z from "zod";
|
|
2
2
|
import { AssetStatus } from "../types";
|
|
3
|
-
declare const AssetResponse: z.ZodObject<{
|
|
3
|
+
declare const AssetResponse: z.ZodEffects<z.ZodObject<{
|
|
4
4
|
asset_address: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
5
5
|
asset_numeraire_address: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
6
6
|
asset_creation_timestamp: z.ZodDate;
|
|
@@ -528,6 +528,171 @@ declare const AssetResponse: z.ZodObject<{
|
|
|
528
528
|
integrator_address: string;
|
|
529
529
|
};
|
|
530
530
|
};
|
|
531
|
+
}>, {
|
|
532
|
+
asset_status: string;
|
|
533
|
+
asset_address: `0x${string}`;
|
|
534
|
+
asset_numeraire_address: `0x${string}`;
|
|
535
|
+
asset_creation_timestamp: Date;
|
|
536
|
+
asset_current_pool: string;
|
|
537
|
+
asset_migration_timestamp: Date | null;
|
|
538
|
+
auction_pool: {
|
|
539
|
+
pool_current_price: string;
|
|
540
|
+
pool_current_sqrt_price: string;
|
|
541
|
+
pool_current_fdv: string;
|
|
542
|
+
pool_current_liquidity: string;
|
|
543
|
+
pool_current_tick: number;
|
|
544
|
+
pool_last_epoch: number;
|
|
545
|
+
pool_current_market_cap: string;
|
|
546
|
+
pool_current_fees_accrued: string;
|
|
547
|
+
pool_current_total_proceeds: string;
|
|
548
|
+
pool_current_total_tokens_sold: string;
|
|
549
|
+
pool_last_epoch_total_tokens_sold: string;
|
|
550
|
+
pool_current_sale_progress_percentage: number;
|
|
551
|
+
pool_config_max_proceeds: string;
|
|
552
|
+
pool_config_min_proceeds: string;
|
|
553
|
+
pool_id: string;
|
|
554
|
+
pool_address: `0x${string}`;
|
|
555
|
+
pool_config_starting_time: string;
|
|
556
|
+
pool_config_ending_time: string;
|
|
557
|
+
pool_migration_timestamp: Date | null;
|
|
558
|
+
pool_type: string;
|
|
559
|
+
base_token: {
|
|
560
|
+
token_address: `0x${string}`;
|
|
561
|
+
token_name: string;
|
|
562
|
+
token_description: string | null;
|
|
563
|
+
token_symbol: string;
|
|
564
|
+
token_uri_data: {
|
|
565
|
+
name?: string | undefined;
|
|
566
|
+
description?: string | undefined;
|
|
567
|
+
image_hash?: string | undefined;
|
|
568
|
+
fee_receiver?: string | undefined;
|
|
569
|
+
social_links?: string[] | undefined;
|
|
570
|
+
vesting_recipients?: {
|
|
571
|
+
address: string;
|
|
572
|
+
percentage: number;
|
|
573
|
+
}[] | undefined;
|
|
574
|
+
} | null;
|
|
575
|
+
token_image_public_url: string | null;
|
|
576
|
+
token_creator_address: `0x${string}`;
|
|
577
|
+
token_fee_receiver_address: `0x${string}`;
|
|
578
|
+
token_vesting_recipient_addresses: `0x${string}`[];
|
|
579
|
+
};
|
|
580
|
+
};
|
|
581
|
+
graduation_pool: {
|
|
582
|
+
pool_current_price: string;
|
|
583
|
+
pool_current_sqrt_price: string;
|
|
584
|
+
pool_current_fdv: string;
|
|
585
|
+
pool_current_liquidity: string;
|
|
586
|
+
pool_current_tick: number;
|
|
587
|
+
pool_current_market_cap: string;
|
|
588
|
+
pool_address: `0x${string}`;
|
|
589
|
+
pool_migration_timestamp: Date | null;
|
|
590
|
+
pool_type: string;
|
|
591
|
+
base_token: {
|
|
592
|
+
token_address: `0x${string}`;
|
|
593
|
+
token_name: string;
|
|
594
|
+
token_description: string | null;
|
|
595
|
+
token_symbol: string;
|
|
596
|
+
token_uri_data: {
|
|
597
|
+
name?: string | undefined;
|
|
598
|
+
description?: string | undefined;
|
|
599
|
+
image_hash?: string | undefined;
|
|
600
|
+
fee_receiver?: string | undefined;
|
|
601
|
+
social_links?: string[] | undefined;
|
|
602
|
+
vesting_recipients?: {
|
|
603
|
+
address: string;
|
|
604
|
+
percentage: number;
|
|
605
|
+
}[] | undefined;
|
|
606
|
+
} | null;
|
|
607
|
+
token_image_public_url: string | null;
|
|
608
|
+
token_creator_address: `0x${string}`;
|
|
609
|
+
token_fee_receiver_address: `0x${string}`;
|
|
610
|
+
token_vesting_recipient_addresses: `0x${string}`[];
|
|
611
|
+
integrator_address: string;
|
|
612
|
+
};
|
|
613
|
+
};
|
|
614
|
+
}, {
|
|
615
|
+
asset_address: string;
|
|
616
|
+
asset_numeraire_address: string;
|
|
617
|
+
asset_creation_timestamp: Date;
|
|
618
|
+
asset_current_pool: string;
|
|
619
|
+
asset_migration_timestamp: Date | null;
|
|
620
|
+
auction_pool: {
|
|
621
|
+
pool_current_price: string;
|
|
622
|
+
pool_current_sqrt_price: string;
|
|
623
|
+
pool_current_fdv: string;
|
|
624
|
+
pool_current_liquidity: string;
|
|
625
|
+
pool_current_tick: number;
|
|
626
|
+
pool_last_epoch: number;
|
|
627
|
+
pool_current_market_cap: string;
|
|
628
|
+
pool_current_fees_accrued: string;
|
|
629
|
+
pool_current_total_proceeds: string;
|
|
630
|
+
pool_current_total_tokens_sold: string;
|
|
631
|
+
pool_last_epoch_total_tokens_sold: string;
|
|
632
|
+
pool_current_sale_progress_percentage: number;
|
|
633
|
+
pool_config_max_proceeds: string;
|
|
634
|
+
pool_config_min_proceeds: string;
|
|
635
|
+
pool_id: string;
|
|
636
|
+
pool_address: string;
|
|
637
|
+
pool_config_starting_time: string;
|
|
638
|
+
pool_config_ending_time: string;
|
|
639
|
+
pool_migration_timestamp: Date | null;
|
|
640
|
+
pool_type: string;
|
|
641
|
+
base_token: {
|
|
642
|
+
token_address: string;
|
|
643
|
+
token_name: string;
|
|
644
|
+
token_description: string | null;
|
|
645
|
+
token_symbol: string;
|
|
646
|
+
token_uri_data: {
|
|
647
|
+
name?: string | undefined;
|
|
648
|
+
description?: string | undefined;
|
|
649
|
+
image_hash?: string | undefined;
|
|
650
|
+
fee_receiver?: string | undefined;
|
|
651
|
+
social_links?: string[] | undefined;
|
|
652
|
+
vesting_recipients?: {
|
|
653
|
+
address: string;
|
|
654
|
+
percentage: number;
|
|
655
|
+
}[] | undefined;
|
|
656
|
+
} | null;
|
|
657
|
+
token_image_public_url: string | null;
|
|
658
|
+
token_creator_address: string;
|
|
659
|
+
token_fee_receiver_address: string;
|
|
660
|
+
token_vesting_recipient_addresses: string[];
|
|
661
|
+
};
|
|
662
|
+
};
|
|
663
|
+
graduation_pool: {
|
|
664
|
+
pool_current_price: string;
|
|
665
|
+
pool_current_sqrt_price: string;
|
|
666
|
+
pool_current_fdv: string;
|
|
667
|
+
pool_current_liquidity: string;
|
|
668
|
+
pool_current_tick: number;
|
|
669
|
+
pool_current_market_cap: string;
|
|
670
|
+
pool_address: string;
|
|
671
|
+
pool_migration_timestamp: Date | null;
|
|
672
|
+
pool_type: string;
|
|
673
|
+
base_token: {
|
|
674
|
+
token_address: string;
|
|
675
|
+
token_name: string;
|
|
676
|
+
token_description: string | null;
|
|
677
|
+
token_symbol: string;
|
|
678
|
+
token_uri_data: {
|
|
679
|
+
name?: string | undefined;
|
|
680
|
+
description?: string | undefined;
|
|
681
|
+
image_hash?: string | undefined;
|
|
682
|
+
fee_receiver?: string | undefined;
|
|
683
|
+
social_links?: string[] | undefined;
|
|
684
|
+
vesting_recipients?: {
|
|
685
|
+
address: string;
|
|
686
|
+
percentage: number;
|
|
687
|
+
}[] | undefined;
|
|
688
|
+
} | null;
|
|
689
|
+
token_image_public_url: string | null;
|
|
690
|
+
token_creator_address: string;
|
|
691
|
+
token_fee_receiver_address: string;
|
|
692
|
+
token_vesting_recipient_addresses: string[];
|
|
693
|
+
integrator_address: string;
|
|
694
|
+
};
|
|
695
|
+
};
|
|
531
696
|
}>;
|
|
532
697
|
declare const assetContract: {
|
|
533
698
|
listAssets: {
|
|
@@ -552,7 +717,7 @@ declare const assetContract: {
|
|
|
552
717
|
path: "/assets/";
|
|
553
718
|
responses: {
|
|
554
719
|
200: z.ZodObject<{
|
|
555
|
-
result: z.ZodArray<z.ZodObject<{
|
|
720
|
+
result: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
556
721
|
asset_address: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
557
722
|
asset_numeraire_address: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
558
723
|
asset_creation_timestamp: z.ZodDate;
|
|
@@ -1080,9 +1245,175 @@ declare const assetContract: {
|
|
|
1080
1245
|
integrator_address: string;
|
|
1081
1246
|
};
|
|
1082
1247
|
};
|
|
1248
|
+
}>, {
|
|
1249
|
+
asset_status: string;
|
|
1250
|
+
asset_address: `0x${string}`;
|
|
1251
|
+
asset_numeraire_address: `0x${string}`;
|
|
1252
|
+
asset_creation_timestamp: Date;
|
|
1253
|
+
asset_current_pool: string;
|
|
1254
|
+
asset_migration_timestamp: Date | null;
|
|
1255
|
+
auction_pool: {
|
|
1256
|
+
pool_current_price: string;
|
|
1257
|
+
pool_current_sqrt_price: string;
|
|
1258
|
+
pool_current_fdv: string;
|
|
1259
|
+
pool_current_liquidity: string;
|
|
1260
|
+
pool_current_tick: number;
|
|
1261
|
+
pool_last_epoch: number;
|
|
1262
|
+
pool_current_market_cap: string;
|
|
1263
|
+
pool_current_fees_accrued: string;
|
|
1264
|
+
pool_current_total_proceeds: string;
|
|
1265
|
+
pool_current_total_tokens_sold: string;
|
|
1266
|
+
pool_last_epoch_total_tokens_sold: string;
|
|
1267
|
+
pool_current_sale_progress_percentage: number;
|
|
1268
|
+
pool_config_max_proceeds: string;
|
|
1269
|
+
pool_config_min_proceeds: string;
|
|
1270
|
+
pool_id: string;
|
|
1271
|
+
pool_address: `0x${string}`;
|
|
1272
|
+
pool_config_starting_time: string;
|
|
1273
|
+
pool_config_ending_time: string;
|
|
1274
|
+
pool_migration_timestamp: Date | null;
|
|
1275
|
+
pool_type: string;
|
|
1276
|
+
base_token: {
|
|
1277
|
+
token_address: `0x${string}`;
|
|
1278
|
+
token_name: string;
|
|
1279
|
+
token_description: string | null;
|
|
1280
|
+
token_symbol: string;
|
|
1281
|
+
token_uri_data: {
|
|
1282
|
+
name?: string | undefined;
|
|
1283
|
+
description?: string | undefined;
|
|
1284
|
+
image_hash?: string | undefined;
|
|
1285
|
+
fee_receiver?: string | undefined;
|
|
1286
|
+
social_links?: string[] | undefined;
|
|
1287
|
+
vesting_recipients?: {
|
|
1288
|
+
address: string;
|
|
1289
|
+
percentage: number;
|
|
1290
|
+
}[] | undefined;
|
|
1291
|
+
} | null;
|
|
1292
|
+
token_image_public_url: string | null;
|
|
1293
|
+
token_creator_address: `0x${string}`;
|
|
1294
|
+
token_fee_receiver_address: `0x${string}`;
|
|
1295
|
+
token_vesting_recipient_addresses: `0x${string}`[];
|
|
1296
|
+
};
|
|
1297
|
+
};
|
|
1298
|
+
graduation_pool: {
|
|
1299
|
+
pool_current_price: string;
|
|
1300
|
+
pool_current_sqrt_price: string;
|
|
1301
|
+
pool_current_fdv: string;
|
|
1302
|
+
pool_current_liquidity: string;
|
|
1303
|
+
pool_current_tick: number;
|
|
1304
|
+
pool_current_market_cap: string;
|
|
1305
|
+
pool_address: `0x${string}`;
|
|
1306
|
+
pool_migration_timestamp: Date | null;
|
|
1307
|
+
pool_type: string;
|
|
1308
|
+
base_token: {
|
|
1309
|
+
token_address: `0x${string}`;
|
|
1310
|
+
token_name: string;
|
|
1311
|
+
token_description: string | null;
|
|
1312
|
+
token_symbol: string;
|
|
1313
|
+
token_uri_data: {
|
|
1314
|
+
name?: string | undefined;
|
|
1315
|
+
description?: string | undefined;
|
|
1316
|
+
image_hash?: string | undefined;
|
|
1317
|
+
fee_receiver?: string | undefined;
|
|
1318
|
+
social_links?: string[] | undefined;
|
|
1319
|
+
vesting_recipients?: {
|
|
1320
|
+
address: string;
|
|
1321
|
+
percentage: number;
|
|
1322
|
+
}[] | undefined;
|
|
1323
|
+
} | null;
|
|
1324
|
+
token_image_public_url: string | null;
|
|
1325
|
+
token_creator_address: `0x${string}`;
|
|
1326
|
+
token_fee_receiver_address: `0x${string}`;
|
|
1327
|
+
token_vesting_recipient_addresses: `0x${string}`[];
|
|
1328
|
+
integrator_address: string;
|
|
1329
|
+
};
|
|
1330
|
+
};
|
|
1331
|
+
}, {
|
|
1332
|
+
asset_address: string;
|
|
1333
|
+
asset_numeraire_address: string;
|
|
1334
|
+
asset_creation_timestamp: Date;
|
|
1335
|
+
asset_current_pool: string;
|
|
1336
|
+
asset_migration_timestamp: Date | null;
|
|
1337
|
+
auction_pool: {
|
|
1338
|
+
pool_current_price: string;
|
|
1339
|
+
pool_current_sqrt_price: string;
|
|
1340
|
+
pool_current_fdv: string;
|
|
1341
|
+
pool_current_liquidity: string;
|
|
1342
|
+
pool_current_tick: number;
|
|
1343
|
+
pool_last_epoch: number;
|
|
1344
|
+
pool_current_market_cap: string;
|
|
1345
|
+
pool_current_fees_accrued: string;
|
|
1346
|
+
pool_current_total_proceeds: string;
|
|
1347
|
+
pool_current_total_tokens_sold: string;
|
|
1348
|
+
pool_last_epoch_total_tokens_sold: string;
|
|
1349
|
+
pool_current_sale_progress_percentage: number;
|
|
1350
|
+
pool_config_max_proceeds: string;
|
|
1351
|
+
pool_config_min_proceeds: string;
|
|
1352
|
+
pool_id: string;
|
|
1353
|
+
pool_address: string;
|
|
1354
|
+
pool_config_starting_time: string;
|
|
1355
|
+
pool_config_ending_time: string;
|
|
1356
|
+
pool_migration_timestamp: Date | null;
|
|
1357
|
+
pool_type: string;
|
|
1358
|
+
base_token: {
|
|
1359
|
+
token_address: string;
|
|
1360
|
+
token_name: string;
|
|
1361
|
+
token_description: string | null;
|
|
1362
|
+
token_symbol: string;
|
|
1363
|
+
token_uri_data: {
|
|
1364
|
+
name?: string | undefined;
|
|
1365
|
+
description?: string | undefined;
|
|
1366
|
+
image_hash?: string | undefined;
|
|
1367
|
+
fee_receiver?: string | undefined;
|
|
1368
|
+
social_links?: string[] | undefined;
|
|
1369
|
+
vesting_recipients?: {
|
|
1370
|
+
address: string;
|
|
1371
|
+
percentage: number;
|
|
1372
|
+
}[] | undefined;
|
|
1373
|
+
} | null;
|
|
1374
|
+
token_image_public_url: string | null;
|
|
1375
|
+
token_creator_address: string;
|
|
1376
|
+
token_fee_receiver_address: string;
|
|
1377
|
+
token_vesting_recipient_addresses: string[];
|
|
1378
|
+
};
|
|
1379
|
+
};
|
|
1380
|
+
graduation_pool: {
|
|
1381
|
+
pool_current_price: string;
|
|
1382
|
+
pool_current_sqrt_price: string;
|
|
1383
|
+
pool_current_fdv: string;
|
|
1384
|
+
pool_current_liquidity: string;
|
|
1385
|
+
pool_current_tick: number;
|
|
1386
|
+
pool_current_market_cap: string;
|
|
1387
|
+
pool_address: string;
|
|
1388
|
+
pool_migration_timestamp: Date | null;
|
|
1389
|
+
pool_type: string;
|
|
1390
|
+
base_token: {
|
|
1391
|
+
token_address: string;
|
|
1392
|
+
token_name: string;
|
|
1393
|
+
token_description: string | null;
|
|
1394
|
+
token_symbol: string;
|
|
1395
|
+
token_uri_data: {
|
|
1396
|
+
name?: string | undefined;
|
|
1397
|
+
description?: string | undefined;
|
|
1398
|
+
image_hash?: string | undefined;
|
|
1399
|
+
fee_receiver?: string | undefined;
|
|
1400
|
+
social_links?: string[] | undefined;
|
|
1401
|
+
vesting_recipients?: {
|
|
1402
|
+
address: string;
|
|
1403
|
+
percentage: number;
|
|
1404
|
+
}[] | undefined;
|
|
1405
|
+
} | null;
|
|
1406
|
+
token_image_public_url: string | null;
|
|
1407
|
+
token_creator_address: string;
|
|
1408
|
+
token_fee_receiver_address: string;
|
|
1409
|
+
token_vesting_recipient_addresses: string[];
|
|
1410
|
+
integrator_address: string;
|
|
1411
|
+
};
|
|
1412
|
+
};
|
|
1083
1413
|
}>, "many">;
|
|
1084
1414
|
}, "strip", z.ZodTypeAny, {
|
|
1085
1415
|
result: {
|
|
1416
|
+
asset_status: string;
|
|
1086
1417
|
asset_address: `0x${string}`;
|
|
1087
1418
|
asset_numeraire_address: `0x${string}`;
|
|
1088
1419
|
asset_creation_timestamp: Date;
|
|
@@ -1271,7 +1602,7 @@ declare const assetContract: {
|
|
|
1271
1602
|
path: "/assets/search";
|
|
1272
1603
|
responses: {
|
|
1273
1604
|
200: z.ZodObject<{
|
|
1274
|
-
result: z.ZodArray<z.ZodObject<{
|
|
1605
|
+
result: z.ZodArray<z.ZodEffects<z.ZodObject<{
|
|
1275
1606
|
asset_address: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
1276
1607
|
asset_numeraire_address: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
1277
1608
|
asset_creation_timestamp: z.ZodDate;
|
|
@@ -1547,9 +1878,155 @@ declare const assetContract: {
|
|
|
1547
1878
|
token_creator_address: `0x${string}`;
|
|
1548
1879
|
token_fee_receiver_address: `0x${string}`;
|
|
1549
1880
|
token_vesting_recipient_addresses: `0x${string}`[];
|
|
1550
|
-
integrator_address: string;
|
|
1551
|
-
}, {
|
|
1552
|
-
token_address: string;
|
|
1881
|
+
integrator_address: string;
|
|
1882
|
+
}, {
|
|
1883
|
+
token_address: string;
|
|
1884
|
+
token_name: string;
|
|
1885
|
+
token_description: string | null;
|
|
1886
|
+
token_symbol: string;
|
|
1887
|
+
token_uri_data: {
|
|
1888
|
+
name?: string | undefined;
|
|
1889
|
+
description?: string | undefined;
|
|
1890
|
+
image_hash?: string | undefined;
|
|
1891
|
+
fee_receiver?: string | undefined;
|
|
1892
|
+
social_links?: string[] | undefined;
|
|
1893
|
+
vesting_recipients?: {
|
|
1894
|
+
address: string;
|
|
1895
|
+
percentage: number;
|
|
1896
|
+
}[] | undefined;
|
|
1897
|
+
} | null;
|
|
1898
|
+
token_image_public_url: string | null;
|
|
1899
|
+
token_creator_address: string;
|
|
1900
|
+
token_fee_receiver_address: string;
|
|
1901
|
+
token_vesting_recipient_addresses: string[];
|
|
1902
|
+
integrator_address: string;
|
|
1903
|
+
}>;
|
|
1904
|
+
}, "strip", z.ZodTypeAny, {
|
|
1905
|
+
pool_current_price: string;
|
|
1906
|
+
pool_current_sqrt_price: string;
|
|
1907
|
+
pool_current_fdv: string;
|
|
1908
|
+
pool_current_liquidity: string;
|
|
1909
|
+
pool_current_tick: number;
|
|
1910
|
+
pool_current_market_cap: string;
|
|
1911
|
+
pool_address: `0x${string}`;
|
|
1912
|
+
pool_migration_timestamp: Date | null;
|
|
1913
|
+
pool_type: string;
|
|
1914
|
+
base_token: {
|
|
1915
|
+
token_address: `0x${string}`;
|
|
1916
|
+
token_name: string;
|
|
1917
|
+
token_description: string | null;
|
|
1918
|
+
token_symbol: string;
|
|
1919
|
+
token_uri_data: {
|
|
1920
|
+
name?: string | undefined;
|
|
1921
|
+
description?: string | undefined;
|
|
1922
|
+
image_hash?: string | undefined;
|
|
1923
|
+
fee_receiver?: string | undefined;
|
|
1924
|
+
social_links?: string[] | undefined;
|
|
1925
|
+
vesting_recipients?: {
|
|
1926
|
+
address: string;
|
|
1927
|
+
percentage: number;
|
|
1928
|
+
}[] | undefined;
|
|
1929
|
+
} | null;
|
|
1930
|
+
token_image_public_url: string | null;
|
|
1931
|
+
token_creator_address: `0x${string}`;
|
|
1932
|
+
token_fee_receiver_address: `0x${string}`;
|
|
1933
|
+
token_vesting_recipient_addresses: `0x${string}`[];
|
|
1934
|
+
integrator_address: string;
|
|
1935
|
+
};
|
|
1936
|
+
}, {
|
|
1937
|
+
pool_current_price: string;
|
|
1938
|
+
pool_current_sqrt_price: string;
|
|
1939
|
+
pool_current_fdv: string;
|
|
1940
|
+
pool_current_liquidity: string;
|
|
1941
|
+
pool_current_tick: number;
|
|
1942
|
+
pool_current_market_cap: string;
|
|
1943
|
+
pool_address: string;
|
|
1944
|
+
pool_migration_timestamp: Date | null;
|
|
1945
|
+
pool_type: string;
|
|
1946
|
+
base_token: {
|
|
1947
|
+
token_address: string;
|
|
1948
|
+
token_name: string;
|
|
1949
|
+
token_description: string | null;
|
|
1950
|
+
token_symbol: string;
|
|
1951
|
+
token_uri_data: {
|
|
1952
|
+
name?: string | undefined;
|
|
1953
|
+
description?: string | undefined;
|
|
1954
|
+
image_hash?: string | undefined;
|
|
1955
|
+
fee_receiver?: string | undefined;
|
|
1956
|
+
social_links?: string[] | undefined;
|
|
1957
|
+
vesting_recipients?: {
|
|
1958
|
+
address: string;
|
|
1959
|
+
percentage: number;
|
|
1960
|
+
}[] | undefined;
|
|
1961
|
+
} | null;
|
|
1962
|
+
token_image_public_url: string | null;
|
|
1963
|
+
token_creator_address: string;
|
|
1964
|
+
token_fee_receiver_address: string;
|
|
1965
|
+
token_vesting_recipient_addresses: string[];
|
|
1966
|
+
integrator_address: string;
|
|
1967
|
+
};
|
|
1968
|
+
}>;
|
|
1969
|
+
}, "strip", z.ZodTypeAny, {
|
|
1970
|
+
asset_address: `0x${string}`;
|
|
1971
|
+
asset_numeraire_address: `0x${string}`;
|
|
1972
|
+
asset_creation_timestamp: Date;
|
|
1973
|
+
asset_current_pool: string;
|
|
1974
|
+
asset_migration_timestamp: Date | null;
|
|
1975
|
+
auction_pool: {
|
|
1976
|
+
pool_current_price: string;
|
|
1977
|
+
pool_current_sqrt_price: string;
|
|
1978
|
+
pool_current_fdv: string;
|
|
1979
|
+
pool_current_liquidity: string;
|
|
1980
|
+
pool_current_tick: number;
|
|
1981
|
+
pool_last_epoch: number;
|
|
1982
|
+
pool_current_market_cap: string;
|
|
1983
|
+
pool_current_fees_accrued: string;
|
|
1984
|
+
pool_current_total_proceeds: string;
|
|
1985
|
+
pool_current_total_tokens_sold: string;
|
|
1986
|
+
pool_last_epoch_total_tokens_sold: string;
|
|
1987
|
+
pool_current_sale_progress_percentage: number;
|
|
1988
|
+
pool_config_max_proceeds: string;
|
|
1989
|
+
pool_config_min_proceeds: string;
|
|
1990
|
+
pool_id: string;
|
|
1991
|
+
pool_address: `0x${string}`;
|
|
1992
|
+
pool_config_starting_time: string;
|
|
1993
|
+
pool_config_ending_time: string;
|
|
1994
|
+
pool_migration_timestamp: Date | null;
|
|
1995
|
+
pool_type: string;
|
|
1996
|
+
base_token: {
|
|
1997
|
+
token_address: `0x${string}`;
|
|
1998
|
+
token_name: string;
|
|
1999
|
+
token_description: string | null;
|
|
2000
|
+
token_symbol: string;
|
|
2001
|
+
token_uri_data: {
|
|
2002
|
+
name?: string | undefined;
|
|
2003
|
+
description?: string | undefined;
|
|
2004
|
+
image_hash?: string | undefined;
|
|
2005
|
+
fee_receiver?: string | undefined;
|
|
2006
|
+
social_links?: string[] | undefined;
|
|
2007
|
+
vesting_recipients?: {
|
|
2008
|
+
address: string;
|
|
2009
|
+
percentage: number;
|
|
2010
|
+
}[] | undefined;
|
|
2011
|
+
} | null;
|
|
2012
|
+
token_image_public_url: string | null;
|
|
2013
|
+
token_creator_address: `0x${string}`;
|
|
2014
|
+
token_fee_receiver_address: `0x${string}`;
|
|
2015
|
+
token_vesting_recipient_addresses: `0x${string}`[];
|
|
2016
|
+
};
|
|
2017
|
+
};
|
|
2018
|
+
graduation_pool: {
|
|
2019
|
+
pool_current_price: string;
|
|
2020
|
+
pool_current_sqrt_price: string;
|
|
2021
|
+
pool_current_fdv: string;
|
|
2022
|
+
pool_current_liquidity: string;
|
|
2023
|
+
pool_current_tick: number;
|
|
2024
|
+
pool_current_market_cap: string;
|
|
2025
|
+
pool_address: `0x${string}`;
|
|
2026
|
+
pool_migration_timestamp: Date | null;
|
|
2027
|
+
pool_type: string;
|
|
2028
|
+
base_token: {
|
|
2029
|
+
token_address: `0x${string}`;
|
|
1553
2030
|
token_name: string;
|
|
1554
2031
|
token_description: string | null;
|
|
1555
2032
|
token_symbol: string;
|
|
@@ -1565,23 +2042,41 @@ declare const assetContract: {
|
|
|
1565
2042
|
}[] | undefined;
|
|
1566
2043
|
} | null;
|
|
1567
2044
|
token_image_public_url: string | null;
|
|
1568
|
-
token_creator_address: string
|
|
1569
|
-
token_fee_receiver_address: string
|
|
1570
|
-
token_vesting_recipient_addresses: string[];
|
|
2045
|
+
token_creator_address: `0x${string}`;
|
|
2046
|
+
token_fee_receiver_address: `0x${string}`;
|
|
2047
|
+
token_vesting_recipient_addresses: `0x${string}`[];
|
|
1571
2048
|
integrator_address: string;
|
|
1572
|
-
}
|
|
1573
|
-
}
|
|
2049
|
+
};
|
|
2050
|
+
};
|
|
2051
|
+
}, {
|
|
2052
|
+
asset_address: string;
|
|
2053
|
+
asset_numeraire_address: string;
|
|
2054
|
+
asset_creation_timestamp: Date;
|
|
2055
|
+
asset_current_pool: string;
|
|
2056
|
+
asset_migration_timestamp: Date | null;
|
|
2057
|
+
auction_pool: {
|
|
1574
2058
|
pool_current_price: string;
|
|
1575
2059
|
pool_current_sqrt_price: string;
|
|
1576
2060
|
pool_current_fdv: string;
|
|
1577
2061
|
pool_current_liquidity: string;
|
|
1578
2062
|
pool_current_tick: number;
|
|
2063
|
+
pool_last_epoch: number;
|
|
1579
2064
|
pool_current_market_cap: string;
|
|
1580
|
-
|
|
2065
|
+
pool_current_fees_accrued: string;
|
|
2066
|
+
pool_current_total_proceeds: string;
|
|
2067
|
+
pool_current_total_tokens_sold: string;
|
|
2068
|
+
pool_last_epoch_total_tokens_sold: string;
|
|
2069
|
+
pool_current_sale_progress_percentage: number;
|
|
2070
|
+
pool_config_max_proceeds: string;
|
|
2071
|
+
pool_config_min_proceeds: string;
|
|
2072
|
+
pool_id: string;
|
|
2073
|
+
pool_address: string;
|
|
2074
|
+
pool_config_starting_time: string;
|
|
2075
|
+
pool_config_ending_time: string;
|
|
1581
2076
|
pool_migration_timestamp: Date | null;
|
|
1582
2077
|
pool_type: string;
|
|
1583
2078
|
base_token: {
|
|
1584
|
-
token_address:
|
|
2079
|
+
token_address: string;
|
|
1585
2080
|
token_name: string;
|
|
1586
2081
|
token_description: string | null;
|
|
1587
2082
|
token_symbol: string;
|
|
@@ -1597,12 +2092,12 @@ declare const assetContract: {
|
|
|
1597
2092
|
}[] | undefined;
|
|
1598
2093
|
} | null;
|
|
1599
2094
|
token_image_public_url: string | null;
|
|
1600
|
-
token_creator_address:
|
|
1601
|
-
token_fee_receiver_address:
|
|
1602
|
-
token_vesting_recipient_addresses:
|
|
1603
|
-
integrator_address: string;
|
|
2095
|
+
token_creator_address: string;
|
|
2096
|
+
token_fee_receiver_address: string;
|
|
2097
|
+
token_vesting_recipient_addresses: string[];
|
|
1604
2098
|
};
|
|
1605
|
-
}
|
|
2099
|
+
};
|
|
2100
|
+
graduation_pool: {
|
|
1606
2101
|
pool_current_price: string;
|
|
1607
2102
|
pool_current_sqrt_price: string;
|
|
1608
2103
|
pool_current_fdv: string;
|
|
@@ -1634,8 +2129,9 @@ declare const assetContract: {
|
|
|
1634
2129
|
token_vesting_recipient_addresses: string[];
|
|
1635
2130
|
integrator_address: string;
|
|
1636
2131
|
};
|
|
1637
|
-
}
|
|
1638
|
-
}
|
|
2132
|
+
};
|
|
2133
|
+
}>, {
|
|
2134
|
+
asset_status: string;
|
|
1639
2135
|
asset_address: `0x${string}`;
|
|
1640
2136
|
asset_numeraire_address: `0x${string}`;
|
|
1641
2137
|
asset_creation_timestamp: Date;
|
|
@@ -1802,6 +2298,7 @@ declare const assetContract: {
|
|
|
1802
2298
|
}>, "many">;
|
|
1803
2299
|
}, "strip", z.ZodTypeAny, {
|
|
1804
2300
|
result: {
|
|
2301
|
+
asset_status: string;
|
|
1805
2302
|
asset_address: `0x${string}`;
|
|
1806
2303
|
asset_numeraire_address: `0x${string}`;
|
|
1807
2304
|
asset_creation_timestamp: Date;
|
|
@@ -1991,7 +2488,7 @@ declare const assetContract: {
|
|
|
1991
2488
|
path: "/assets/:assetAddress";
|
|
1992
2489
|
responses: {
|
|
1993
2490
|
200: z.ZodObject<{
|
|
1994
|
-
result: z.ZodObject<{
|
|
2491
|
+
result: z.ZodEffects<z.ZodObject<{
|
|
1995
2492
|
asset_address: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
1996
2493
|
asset_numeraire_address: z.ZodPipeline<z.ZodString, z.ZodType<`0x${string}`, z.ZodTypeDef, `0x${string}`>>;
|
|
1997
2494
|
asset_creation_timestamp: z.ZodDate;
|
|
@@ -2519,9 +3016,175 @@ declare const assetContract: {
|
|
|
2519
3016
|
integrator_address: string;
|
|
2520
3017
|
};
|
|
2521
3018
|
};
|
|
3019
|
+
}>, {
|
|
3020
|
+
asset_status: string;
|
|
3021
|
+
asset_address: `0x${string}`;
|
|
3022
|
+
asset_numeraire_address: `0x${string}`;
|
|
3023
|
+
asset_creation_timestamp: Date;
|
|
3024
|
+
asset_current_pool: string;
|
|
3025
|
+
asset_migration_timestamp: Date | null;
|
|
3026
|
+
auction_pool: {
|
|
3027
|
+
pool_current_price: string;
|
|
3028
|
+
pool_current_sqrt_price: string;
|
|
3029
|
+
pool_current_fdv: string;
|
|
3030
|
+
pool_current_liquidity: string;
|
|
3031
|
+
pool_current_tick: number;
|
|
3032
|
+
pool_last_epoch: number;
|
|
3033
|
+
pool_current_market_cap: string;
|
|
3034
|
+
pool_current_fees_accrued: string;
|
|
3035
|
+
pool_current_total_proceeds: string;
|
|
3036
|
+
pool_current_total_tokens_sold: string;
|
|
3037
|
+
pool_last_epoch_total_tokens_sold: string;
|
|
3038
|
+
pool_current_sale_progress_percentage: number;
|
|
3039
|
+
pool_config_max_proceeds: string;
|
|
3040
|
+
pool_config_min_proceeds: string;
|
|
3041
|
+
pool_id: string;
|
|
3042
|
+
pool_address: `0x${string}`;
|
|
3043
|
+
pool_config_starting_time: string;
|
|
3044
|
+
pool_config_ending_time: string;
|
|
3045
|
+
pool_migration_timestamp: Date | null;
|
|
3046
|
+
pool_type: string;
|
|
3047
|
+
base_token: {
|
|
3048
|
+
token_address: `0x${string}`;
|
|
3049
|
+
token_name: string;
|
|
3050
|
+
token_description: string | null;
|
|
3051
|
+
token_symbol: string;
|
|
3052
|
+
token_uri_data: {
|
|
3053
|
+
name?: string | undefined;
|
|
3054
|
+
description?: string | undefined;
|
|
3055
|
+
image_hash?: string | undefined;
|
|
3056
|
+
fee_receiver?: string | undefined;
|
|
3057
|
+
social_links?: string[] | undefined;
|
|
3058
|
+
vesting_recipients?: {
|
|
3059
|
+
address: string;
|
|
3060
|
+
percentage: number;
|
|
3061
|
+
}[] | undefined;
|
|
3062
|
+
} | null;
|
|
3063
|
+
token_image_public_url: string | null;
|
|
3064
|
+
token_creator_address: `0x${string}`;
|
|
3065
|
+
token_fee_receiver_address: `0x${string}`;
|
|
3066
|
+
token_vesting_recipient_addresses: `0x${string}`[];
|
|
3067
|
+
};
|
|
3068
|
+
};
|
|
3069
|
+
graduation_pool: {
|
|
3070
|
+
pool_current_price: string;
|
|
3071
|
+
pool_current_sqrt_price: string;
|
|
3072
|
+
pool_current_fdv: string;
|
|
3073
|
+
pool_current_liquidity: string;
|
|
3074
|
+
pool_current_tick: number;
|
|
3075
|
+
pool_current_market_cap: string;
|
|
3076
|
+
pool_address: `0x${string}`;
|
|
3077
|
+
pool_migration_timestamp: Date | null;
|
|
3078
|
+
pool_type: string;
|
|
3079
|
+
base_token: {
|
|
3080
|
+
token_address: `0x${string}`;
|
|
3081
|
+
token_name: string;
|
|
3082
|
+
token_description: string | null;
|
|
3083
|
+
token_symbol: string;
|
|
3084
|
+
token_uri_data: {
|
|
3085
|
+
name?: string | undefined;
|
|
3086
|
+
description?: string | undefined;
|
|
3087
|
+
image_hash?: string | undefined;
|
|
3088
|
+
fee_receiver?: string | undefined;
|
|
3089
|
+
social_links?: string[] | undefined;
|
|
3090
|
+
vesting_recipients?: {
|
|
3091
|
+
address: string;
|
|
3092
|
+
percentage: number;
|
|
3093
|
+
}[] | undefined;
|
|
3094
|
+
} | null;
|
|
3095
|
+
token_image_public_url: string | null;
|
|
3096
|
+
token_creator_address: `0x${string}`;
|
|
3097
|
+
token_fee_receiver_address: `0x${string}`;
|
|
3098
|
+
token_vesting_recipient_addresses: `0x${string}`[];
|
|
3099
|
+
integrator_address: string;
|
|
3100
|
+
};
|
|
3101
|
+
};
|
|
3102
|
+
}, {
|
|
3103
|
+
asset_address: string;
|
|
3104
|
+
asset_numeraire_address: string;
|
|
3105
|
+
asset_creation_timestamp: Date;
|
|
3106
|
+
asset_current_pool: string;
|
|
3107
|
+
asset_migration_timestamp: Date | null;
|
|
3108
|
+
auction_pool: {
|
|
3109
|
+
pool_current_price: string;
|
|
3110
|
+
pool_current_sqrt_price: string;
|
|
3111
|
+
pool_current_fdv: string;
|
|
3112
|
+
pool_current_liquidity: string;
|
|
3113
|
+
pool_current_tick: number;
|
|
3114
|
+
pool_last_epoch: number;
|
|
3115
|
+
pool_current_market_cap: string;
|
|
3116
|
+
pool_current_fees_accrued: string;
|
|
3117
|
+
pool_current_total_proceeds: string;
|
|
3118
|
+
pool_current_total_tokens_sold: string;
|
|
3119
|
+
pool_last_epoch_total_tokens_sold: string;
|
|
3120
|
+
pool_current_sale_progress_percentage: number;
|
|
3121
|
+
pool_config_max_proceeds: string;
|
|
3122
|
+
pool_config_min_proceeds: string;
|
|
3123
|
+
pool_id: string;
|
|
3124
|
+
pool_address: string;
|
|
3125
|
+
pool_config_starting_time: string;
|
|
3126
|
+
pool_config_ending_time: string;
|
|
3127
|
+
pool_migration_timestamp: Date | null;
|
|
3128
|
+
pool_type: string;
|
|
3129
|
+
base_token: {
|
|
3130
|
+
token_address: string;
|
|
3131
|
+
token_name: string;
|
|
3132
|
+
token_description: string | null;
|
|
3133
|
+
token_symbol: string;
|
|
3134
|
+
token_uri_data: {
|
|
3135
|
+
name?: string | undefined;
|
|
3136
|
+
description?: string | undefined;
|
|
3137
|
+
image_hash?: string | undefined;
|
|
3138
|
+
fee_receiver?: string | undefined;
|
|
3139
|
+
social_links?: string[] | undefined;
|
|
3140
|
+
vesting_recipients?: {
|
|
3141
|
+
address: string;
|
|
3142
|
+
percentage: number;
|
|
3143
|
+
}[] | undefined;
|
|
3144
|
+
} | null;
|
|
3145
|
+
token_image_public_url: string | null;
|
|
3146
|
+
token_creator_address: string;
|
|
3147
|
+
token_fee_receiver_address: string;
|
|
3148
|
+
token_vesting_recipient_addresses: string[];
|
|
3149
|
+
};
|
|
3150
|
+
};
|
|
3151
|
+
graduation_pool: {
|
|
3152
|
+
pool_current_price: string;
|
|
3153
|
+
pool_current_sqrt_price: string;
|
|
3154
|
+
pool_current_fdv: string;
|
|
3155
|
+
pool_current_liquidity: string;
|
|
3156
|
+
pool_current_tick: number;
|
|
3157
|
+
pool_current_market_cap: string;
|
|
3158
|
+
pool_address: string;
|
|
3159
|
+
pool_migration_timestamp: Date | null;
|
|
3160
|
+
pool_type: string;
|
|
3161
|
+
base_token: {
|
|
3162
|
+
token_address: string;
|
|
3163
|
+
token_name: string;
|
|
3164
|
+
token_description: string | null;
|
|
3165
|
+
token_symbol: string;
|
|
3166
|
+
token_uri_data: {
|
|
3167
|
+
name?: string | undefined;
|
|
3168
|
+
description?: string | undefined;
|
|
3169
|
+
image_hash?: string | undefined;
|
|
3170
|
+
fee_receiver?: string | undefined;
|
|
3171
|
+
social_links?: string[] | undefined;
|
|
3172
|
+
vesting_recipients?: {
|
|
3173
|
+
address: string;
|
|
3174
|
+
percentage: number;
|
|
3175
|
+
}[] | undefined;
|
|
3176
|
+
} | null;
|
|
3177
|
+
token_image_public_url: string | null;
|
|
3178
|
+
token_creator_address: string;
|
|
3179
|
+
token_fee_receiver_address: string;
|
|
3180
|
+
token_vesting_recipient_addresses: string[];
|
|
3181
|
+
integrator_address: string;
|
|
3182
|
+
};
|
|
3183
|
+
};
|
|
2522
3184
|
}>;
|
|
2523
3185
|
}, "strip", z.ZodTypeAny, {
|
|
2524
3186
|
result: {
|
|
3187
|
+
asset_status: string;
|
|
2525
3188
|
asset_address: `0x${string}`;
|
|
2526
3189
|
asset_numeraire_address: `0x${string}`;
|
|
2527
3190
|
asset_creation_timestamp: Date;
|