@longdotxyz/shared 0.0.23 → 0.0.24

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.
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  exports.rootContract = void 0;
18
18
  const core_1 = require("@ts-rest/core");
19
+ const asset_contract_1 = require("./asset.contract");
19
20
  const auction_template_contract_1 = require("./auction-template.contract");
20
21
  const auction_contract_1 = require("./auction.contract");
21
22
  const community_contract_1 = require("./community.contract");
@@ -23,12 +24,14 @@ const ipfs_contract_1 = require("./ipfs.contract");
23
24
  const quote_contract_1 = require("./quote.contract");
24
25
  const contract = (0, core_1.initContract)();
25
26
  exports.rootContract = contract.router({
27
+ assets: asset_contract_1.assetContract,
26
28
  auctions: auction_contract_1.auctionContract,
27
29
  auctionTemplates: auction_template_contract_1.auctionTemplateContract,
28
30
  communities: community_contract_1.communityContract,
29
31
  ipfs: ipfs_contract_1.ipfsContract,
30
32
  quotes: quote_contract_1.quoteContract,
31
33
  });
34
+ __exportStar(require("./asset.contract"), exports);
32
35
  __exportStar(require("./auction.contract"), exports);
33
36
  __exportStar(require("./auction-template.contract"), exports);
34
37
  __exportStar(require("./community.contract"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,wCAA6C;AAE7C,2EAAsE;AACtE,yDAAqD;AACrD,6DAAyD;AACzD,mDAA+C;AAC/C,qDAAiD;AAEjD,MAAM,QAAQ,GAAG,IAAA,mBAAY,GAAE,CAAC;AACnB,QAAA,YAAY,GAAG,QAAQ,CAAC,MAAM,CAAC;IACxC,QAAQ,EAAE,kCAAe;IACzB,gBAAgB,EAAE,mDAAuB;IACzC,WAAW,EAAE,sCAAiB;IAC9B,IAAI,EAAE,4BAAY;IAClB,MAAM,EAAE,8BAAa;CACxB,CAAC,CAAC;AAEH,qDAAmC;AACnC,8DAA4C;AAC5C,uDAAqC;AACrC,kDAAgC;AAChC,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/contracts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,wCAA6C;AAE7C,qDAAiD;AACjD,2EAAsE;AACtE,yDAAqD;AACrD,6DAAyD;AACzD,mDAA+C;AAC/C,qDAAiD;AAEjD,MAAM,QAAQ,GAAG,IAAA,mBAAY,GAAE,CAAC;AACnB,QAAA,YAAY,GAAG,QAAQ,CAAC,MAAM,CAAC;IACxC,MAAM,EAAE,8BAAa;IACrB,QAAQ,EAAE,kCAAe;IACzB,gBAAgB,EAAE,mDAAuB;IACzC,WAAW,EAAE,sCAAiB;IAC9B,IAAI,EAAE,4BAAY;IAClB,MAAM,EAAE,8BAAa;CACxB,CAAC,CAAC;AAEH,mDAAiC;AACjC,qDAAmC;AACnC,8DAA4C;AAC5C,uDAAqC;AACrC,kDAAgC;AAChC,mDAAiC"}
@@ -45,8 +45,8 @@ declare const ipfsContract: {
45
45
  }>, "many">;
46
46
  fee_receiver: z.ZodString;
47
47
  }, "strip", z.ZodTypeAny, {
48
- name: string;
49
48
  description: string;
49
+ name: string;
50
50
  image_hash: string;
51
51
  social_links: {
52
52
  label: string;
@@ -58,8 +58,8 @@ declare const ipfsContract: {
58
58
  }[];
59
59
  fee_receiver: string;
60
60
  }, {
61
- name: string;
62
61
  description: string;
62
+ name: string;
63
63
  image_hash: string;
64
64
  social_links: {
65
65
  label: string;
@@ -2417,6 +2417,588 @@ export type Timestamptz_Comparison_Exp = {
2417
2417
  _neq?: InputMaybe<Scalars['timestamptz']['input']>;
2418
2418
  _nin?: InputMaybe<Array<Scalars['timestamptz']['input']>>;
2419
2419
  };
2420
+ export type TokenFieldsFragment = {
2421
+ __typename?: 'Token';
2422
+ token_address: string;
2423
+ token_name: string;
2424
+ token_symbol: string;
2425
+ token_uri_data?: any | null;
2426
+ token_image_public_url?: string | null;
2427
+ token_creator_address: string;
2428
+ token_fee_receiver_address?: string | null;
2429
+ token_vesting_recipient_addresses: Array<string>;
2430
+ integrator_address: string;
2431
+ };
2432
+ export type AuctionPoolFieldsFragment = {
2433
+ __typename?: 'AuctionPool';
2434
+ pool_current_price: any;
2435
+ pool_current_sqrt_price: any;
2436
+ pool_current_fdv: any;
2437
+ pool_current_liquidity: any;
2438
+ pool_current_tick: number;
2439
+ pool_last_epoch?: number | null;
2440
+ pool_current_market_cap: any;
2441
+ pool_current_fees_accrued: any;
2442
+ pool_current_total_proceeds: any;
2443
+ pool_current_total_tokens_sold: any;
2444
+ pool_last_epoch_total_tokens_sold: any;
2445
+ pool_current_sale_progress_percentage?: any | null;
2446
+ pool_config_max_proceeds: any;
2447
+ pool_config_min_proceeds: any;
2448
+ pool_id: string;
2449
+ pool_address: string;
2450
+ pool_config_starting_time: any;
2451
+ pool_config_ending_time: any;
2452
+ pool_migration_timestamp?: number | null;
2453
+ pool_type: string;
2454
+ base_token?: {
2455
+ __typename?: 'Token';
2456
+ token_address: string;
2457
+ token_name: string;
2458
+ token_symbol: string;
2459
+ token_uri_data?: any | null;
2460
+ token_image_public_url?: string | null;
2461
+ token_creator_address: string;
2462
+ token_fee_receiver_address?: string | null;
2463
+ token_vesting_recipient_addresses: Array<string>;
2464
+ integrator_address: string;
2465
+ } | null;
2466
+ };
2467
+ export type GraduationPoolFieldsFragment = {
2468
+ __typename?: 'GraduationPool';
2469
+ pool_current_price: any;
2470
+ pool_current_sqrt_price: any;
2471
+ pool_current_fdv?: any | null;
2472
+ pool_current_liquidity: any;
2473
+ pool_current_tick: number;
2474
+ pool_current_market_cap?: any | null;
2475
+ pool_address: string;
2476
+ pool_migration_timestamp?: number | null;
2477
+ pool_type: string;
2478
+ base_token?: {
2479
+ __typename?: 'Token';
2480
+ token_address: string;
2481
+ token_name: string;
2482
+ token_symbol: string;
2483
+ token_uri_data?: any | null;
2484
+ token_image_public_url?: string | null;
2485
+ token_creator_address: string;
2486
+ token_fee_receiver_address?: string | null;
2487
+ token_vesting_recipient_addresses: Array<string>;
2488
+ integrator_address: string;
2489
+ } | null;
2490
+ };
2491
+ export type AssetFieldsFragment = {
2492
+ __typename?: 'Asset';
2493
+ asset_address: string;
2494
+ asset_numeraire_address: string;
2495
+ asset_creation_timestamp: number;
2496
+ asset_migration_timestamp?: number | null;
2497
+ auction_pool?: {
2498
+ __typename?: 'AuctionPool';
2499
+ pool_current_price: any;
2500
+ pool_current_sqrt_price: any;
2501
+ pool_current_fdv: any;
2502
+ pool_current_liquidity: any;
2503
+ pool_current_tick: number;
2504
+ pool_last_epoch?: number | null;
2505
+ pool_current_market_cap: any;
2506
+ pool_current_fees_accrued: any;
2507
+ pool_current_total_proceeds: any;
2508
+ pool_current_total_tokens_sold: any;
2509
+ pool_last_epoch_total_tokens_sold: any;
2510
+ pool_current_sale_progress_percentage?: any | null;
2511
+ pool_config_max_proceeds: any;
2512
+ pool_config_min_proceeds: any;
2513
+ pool_id: string;
2514
+ pool_address: string;
2515
+ pool_config_starting_time: any;
2516
+ pool_config_ending_time: any;
2517
+ pool_migration_timestamp?: number | null;
2518
+ pool_type: string;
2519
+ base_token?: {
2520
+ __typename?: 'Token';
2521
+ token_address: string;
2522
+ token_name: string;
2523
+ token_symbol: string;
2524
+ token_uri_data?: any | null;
2525
+ token_image_public_url?: string | null;
2526
+ token_creator_address: string;
2527
+ token_fee_receiver_address?: string | null;
2528
+ token_vesting_recipient_addresses: Array<string>;
2529
+ integrator_address: string;
2530
+ } | null;
2531
+ } | null;
2532
+ graduation_pool?: {
2533
+ __typename?: 'GraduationPool';
2534
+ pool_current_price: any;
2535
+ pool_current_sqrt_price: any;
2536
+ pool_current_fdv?: any | null;
2537
+ pool_current_liquidity: any;
2538
+ pool_current_tick: number;
2539
+ pool_current_market_cap?: any | null;
2540
+ pool_address: string;
2541
+ pool_migration_timestamp?: number | null;
2542
+ pool_type: string;
2543
+ base_token?: {
2544
+ __typename?: 'Token';
2545
+ token_address: string;
2546
+ token_name: string;
2547
+ token_symbol: string;
2548
+ token_uri_data?: any | null;
2549
+ token_image_public_url?: string | null;
2550
+ token_creator_address: string;
2551
+ token_fee_receiver_address?: string | null;
2552
+ token_vesting_recipient_addresses: Array<string>;
2553
+ integrator_address: string;
2554
+ } | null;
2555
+ } | null;
2556
+ };
2557
+ export type ListLiveAssetsForIntegratorQueryVariables = Exact<{
2558
+ integratorAddress: Scalars['String']['input'];
2559
+ limit?: InputMaybe<Scalars['Int']['input']>;
2560
+ offset?: InputMaybe<Scalars['Int']['input']>;
2561
+ endingTime?: InputMaybe<Scalars['numeric']['input']>;
2562
+ }>;
2563
+ export type ListLiveAssetsForIntegratorQuery = {
2564
+ __typename?: 'query_root';
2565
+ assets: Array<{
2566
+ __typename?: 'Asset';
2567
+ asset_address: string;
2568
+ asset_numeraire_address: string;
2569
+ asset_creation_timestamp: number;
2570
+ asset_migration_timestamp?: number | null;
2571
+ auction_pool?: {
2572
+ __typename?: 'AuctionPool';
2573
+ pool_current_price: any;
2574
+ pool_current_sqrt_price: any;
2575
+ pool_current_fdv: any;
2576
+ pool_current_liquidity: any;
2577
+ pool_current_tick: number;
2578
+ pool_last_epoch?: number | null;
2579
+ pool_current_market_cap: any;
2580
+ pool_current_fees_accrued: any;
2581
+ pool_current_total_proceeds: any;
2582
+ pool_current_total_tokens_sold: any;
2583
+ pool_last_epoch_total_tokens_sold: any;
2584
+ pool_current_sale_progress_percentage?: any | null;
2585
+ pool_config_max_proceeds: any;
2586
+ pool_config_min_proceeds: any;
2587
+ pool_id: string;
2588
+ pool_address: string;
2589
+ pool_config_starting_time: any;
2590
+ pool_config_ending_time: any;
2591
+ pool_migration_timestamp?: number | null;
2592
+ pool_type: string;
2593
+ base_token?: {
2594
+ __typename?: 'Token';
2595
+ token_address: string;
2596
+ token_name: string;
2597
+ token_symbol: string;
2598
+ token_uri_data?: any | null;
2599
+ token_image_public_url?: string | null;
2600
+ token_creator_address: string;
2601
+ token_fee_receiver_address?: string | null;
2602
+ token_vesting_recipient_addresses: Array<string>;
2603
+ integrator_address: string;
2604
+ } | null;
2605
+ } | null;
2606
+ graduation_pool?: {
2607
+ __typename?: 'GraduationPool';
2608
+ pool_current_price: any;
2609
+ pool_current_sqrt_price: any;
2610
+ pool_current_fdv?: any | null;
2611
+ pool_current_liquidity: any;
2612
+ pool_current_tick: number;
2613
+ pool_current_market_cap?: any | null;
2614
+ pool_address: string;
2615
+ pool_migration_timestamp?: number | null;
2616
+ pool_type: string;
2617
+ base_token?: {
2618
+ __typename?: 'Token';
2619
+ token_address: string;
2620
+ token_name: string;
2621
+ token_symbol: string;
2622
+ token_uri_data?: any | null;
2623
+ token_image_public_url?: string | null;
2624
+ token_creator_address: string;
2625
+ token_fee_receiver_address?: string | null;
2626
+ token_vesting_recipient_addresses: Array<string>;
2627
+ integrator_address: string;
2628
+ } | null;
2629
+ } | null;
2630
+ }>;
2631
+ };
2632
+ export type ListIncomingAssetsForIntegratorQueryVariables = Exact<{
2633
+ integratorAddress: Scalars['String']['input'];
2634
+ limit?: InputMaybe<Scalars['Int']['input']>;
2635
+ offset?: InputMaybe<Scalars['Int']['input']>;
2636
+ startingTime?: InputMaybe<Scalars['numeric']['input']>;
2637
+ }>;
2638
+ export type ListIncomingAssetsForIntegratorQuery = {
2639
+ __typename?: 'query_root';
2640
+ assets: Array<{
2641
+ __typename?: 'Asset';
2642
+ asset_address: string;
2643
+ asset_numeraire_address: string;
2644
+ asset_creation_timestamp: number;
2645
+ asset_migration_timestamp?: number | null;
2646
+ auction_pool?: {
2647
+ __typename?: 'AuctionPool';
2648
+ pool_current_price: any;
2649
+ pool_current_sqrt_price: any;
2650
+ pool_current_fdv: any;
2651
+ pool_current_liquidity: any;
2652
+ pool_current_tick: number;
2653
+ pool_last_epoch?: number | null;
2654
+ pool_current_market_cap: any;
2655
+ pool_current_fees_accrued: any;
2656
+ pool_current_total_proceeds: any;
2657
+ pool_current_total_tokens_sold: any;
2658
+ pool_last_epoch_total_tokens_sold: any;
2659
+ pool_current_sale_progress_percentage?: any | null;
2660
+ pool_config_max_proceeds: any;
2661
+ pool_config_min_proceeds: any;
2662
+ pool_id: string;
2663
+ pool_address: string;
2664
+ pool_config_starting_time: any;
2665
+ pool_config_ending_time: any;
2666
+ pool_migration_timestamp?: number | null;
2667
+ pool_type: string;
2668
+ base_token?: {
2669
+ __typename?: 'Token';
2670
+ token_address: string;
2671
+ token_name: string;
2672
+ token_symbol: string;
2673
+ token_uri_data?: any | null;
2674
+ token_image_public_url?: string | null;
2675
+ token_creator_address: string;
2676
+ token_fee_receiver_address?: string | null;
2677
+ token_vesting_recipient_addresses: Array<string>;
2678
+ integrator_address: string;
2679
+ } | null;
2680
+ } | null;
2681
+ graduation_pool?: {
2682
+ __typename?: 'GraduationPool';
2683
+ pool_current_price: any;
2684
+ pool_current_sqrt_price: any;
2685
+ pool_current_fdv?: any | null;
2686
+ pool_current_liquidity: any;
2687
+ pool_current_tick: number;
2688
+ pool_current_market_cap?: any | null;
2689
+ pool_address: string;
2690
+ pool_migration_timestamp?: number | null;
2691
+ pool_type: string;
2692
+ base_token?: {
2693
+ __typename?: 'Token';
2694
+ token_address: string;
2695
+ token_name: string;
2696
+ token_symbol: string;
2697
+ token_uri_data?: any | null;
2698
+ token_image_public_url?: string | null;
2699
+ token_creator_address: string;
2700
+ token_fee_receiver_address?: string | null;
2701
+ token_vesting_recipient_addresses: Array<string>;
2702
+ integrator_address: string;
2703
+ } | null;
2704
+ } | null;
2705
+ }>;
2706
+ };
2707
+ export type ListGraduatedAssetsForIntegratorQueryVariables = Exact<{
2708
+ integratorAddress: Scalars['String']['input'];
2709
+ limit?: InputMaybe<Scalars['Int']['input']>;
2710
+ offset?: InputMaybe<Scalars['Int']['input']>;
2711
+ }>;
2712
+ export type ListGraduatedAssetsForIntegratorQuery = {
2713
+ __typename?: 'query_root';
2714
+ assets: Array<{
2715
+ __typename?: 'Asset';
2716
+ asset_address: string;
2717
+ asset_numeraire_address: string;
2718
+ asset_creation_timestamp: number;
2719
+ asset_migration_timestamp?: number | null;
2720
+ auction_pool?: {
2721
+ __typename?: 'AuctionPool';
2722
+ pool_current_price: any;
2723
+ pool_current_sqrt_price: any;
2724
+ pool_current_fdv: any;
2725
+ pool_current_liquidity: any;
2726
+ pool_current_tick: number;
2727
+ pool_last_epoch?: number | null;
2728
+ pool_current_market_cap: any;
2729
+ pool_current_fees_accrued: any;
2730
+ pool_current_total_proceeds: any;
2731
+ pool_current_total_tokens_sold: any;
2732
+ pool_last_epoch_total_tokens_sold: any;
2733
+ pool_current_sale_progress_percentage?: any | null;
2734
+ pool_config_max_proceeds: any;
2735
+ pool_config_min_proceeds: any;
2736
+ pool_id: string;
2737
+ pool_address: string;
2738
+ pool_config_starting_time: any;
2739
+ pool_config_ending_time: any;
2740
+ pool_migration_timestamp?: number | null;
2741
+ pool_type: string;
2742
+ base_token?: {
2743
+ __typename?: 'Token';
2744
+ token_address: string;
2745
+ token_name: string;
2746
+ token_symbol: string;
2747
+ token_uri_data?: any | null;
2748
+ token_image_public_url?: string | null;
2749
+ token_creator_address: string;
2750
+ token_fee_receiver_address?: string | null;
2751
+ token_vesting_recipient_addresses: Array<string>;
2752
+ integrator_address: string;
2753
+ } | null;
2754
+ } | null;
2755
+ graduation_pool?: {
2756
+ __typename?: 'GraduationPool';
2757
+ pool_current_price: any;
2758
+ pool_current_sqrt_price: any;
2759
+ pool_current_fdv?: any | null;
2760
+ pool_current_liquidity: any;
2761
+ pool_current_tick: number;
2762
+ pool_current_market_cap?: any | null;
2763
+ pool_address: string;
2764
+ pool_migration_timestamp?: number | null;
2765
+ pool_type: string;
2766
+ base_token?: {
2767
+ __typename?: 'Token';
2768
+ token_address: string;
2769
+ token_name: string;
2770
+ token_symbol: string;
2771
+ token_uri_data?: any | null;
2772
+ token_image_public_url?: string | null;
2773
+ token_creator_address: string;
2774
+ token_fee_receiver_address?: string | null;
2775
+ token_vesting_recipient_addresses: Array<string>;
2776
+ integrator_address: string;
2777
+ } | null;
2778
+ } | null;
2779
+ }>;
2780
+ };
2781
+ export type ListAllAssetsForIntegratorQueryVariables = Exact<{
2782
+ integratorAddress: Scalars['String']['input'];
2783
+ limit?: InputMaybe<Scalars['Int']['input']>;
2784
+ offset?: InputMaybe<Scalars['Int']['input']>;
2785
+ }>;
2786
+ export type ListAllAssetsForIntegratorQuery = {
2787
+ __typename?: 'query_root';
2788
+ assets: Array<{
2789
+ __typename?: 'Asset';
2790
+ asset_address: string;
2791
+ asset_numeraire_address: string;
2792
+ asset_creation_timestamp: number;
2793
+ asset_migration_timestamp?: number | null;
2794
+ auction_pool?: {
2795
+ __typename?: 'AuctionPool';
2796
+ pool_current_price: any;
2797
+ pool_current_sqrt_price: any;
2798
+ pool_current_fdv: any;
2799
+ pool_current_liquidity: any;
2800
+ pool_current_tick: number;
2801
+ pool_last_epoch?: number | null;
2802
+ pool_current_market_cap: any;
2803
+ pool_current_fees_accrued: any;
2804
+ pool_current_total_proceeds: any;
2805
+ pool_current_total_tokens_sold: any;
2806
+ pool_last_epoch_total_tokens_sold: any;
2807
+ pool_current_sale_progress_percentage?: any | null;
2808
+ pool_config_max_proceeds: any;
2809
+ pool_config_min_proceeds: any;
2810
+ pool_id: string;
2811
+ pool_address: string;
2812
+ pool_config_starting_time: any;
2813
+ pool_config_ending_time: any;
2814
+ pool_migration_timestamp?: number | null;
2815
+ pool_type: string;
2816
+ base_token?: {
2817
+ __typename?: 'Token';
2818
+ token_address: string;
2819
+ token_name: string;
2820
+ token_symbol: string;
2821
+ token_uri_data?: any | null;
2822
+ token_image_public_url?: string | null;
2823
+ token_creator_address: string;
2824
+ token_fee_receiver_address?: string | null;
2825
+ token_vesting_recipient_addresses: Array<string>;
2826
+ integrator_address: string;
2827
+ } | null;
2828
+ } | null;
2829
+ graduation_pool?: {
2830
+ __typename?: 'GraduationPool';
2831
+ pool_current_price: any;
2832
+ pool_current_sqrt_price: any;
2833
+ pool_current_fdv?: any | null;
2834
+ pool_current_liquidity: any;
2835
+ pool_current_tick: number;
2836
+ pool_current_market_cap?: any | null;
2837
+ pool_address: string;
2838
+ pool_migration_timestamp?: number | null;
2839
+ pool_type: string;
2840
+ base_token?: {
2841
+ __typename?: 'Token';
2842
+ token_address: string;
2843
+ token_name: string;
2844
+ token_symbol: string;
2845
+ token_uri_data?: any | null;
2846
+ token_image_public_url?: string | null;
2847
+ token_creator_address: string;
2848
+ token_fee_receiver_address?: string | null;
2849
+ token_vesting_recipient_addresses: Array<string>;
2850
+ integrator_address: string;
2851
+ } | null;
2852
+ } | null;
2853
+ }>;
2854
+ };
2855
+ export type SearchAssetsForIntegratorQueryVariables = Exact<{
2856
+ integratorAddress: Scalars['String']['input'];
2857
+ term: Scalars['String']['input'];
2858
+ limit?: InputMaybe<Scalars['Int']['input']>;
2859
+ }>;
2860
+ export type SearchAssetsForIntegratorQuery = {
2861
+ __typename?: 'query_root';
2862
+ assets: Array<{
2863
+ __typename?: 'Asset';
2864
+ asset_address: string;
2865
+ asset_numeraire_address: string;
2866
+ asset_creation_timestamp: number;
2867
+ asset_migration_timestamp?: number | null;
2868
+ auction_pool?: {
2869
+ __typename?: 'AuctionPool';
2870
+ pool_current_price: any;
2871
+ pool_current_sqrt_price: any;
2872
+ pool_current_fdv: any;
2873
+ pool_current_liquidity: any;
2874
+ pool_current_tick: number;
2875
+ pool_last_epoch?: number | null;
2876
+ pool_current_market_cap: any;
2877
+ pool_current_fees_accrued: any;
2878
+ pool_current_total_proceeds: any;
2879
+ pool_current_total_tokens_sold: any;
2880
+ pool_last_epoch_total_tokens_sold: any;
2881
+ pool_current_sale_progress_percentage?: any | null;
2882
+ pool_config_max_proceeds: any;
2883
+ pool_config_min_proceeds: any;
2884
+ pool_id: string;
2885
+ pool_address: string;
2886
+ pool_config_starting_time: any;
2887
+ pool_config_ending_time: any;
2888
+ pool_migration_timestamp?: number | null;
2889
+ pool_type: string;
2890
+ base_token?: {
2891
+ __typename?: 'Token';
2892
+ token_address: string;
2893
+ token_name: string;
2894
+ token_symbol: string;
2895
+ token_uri_data?: any | null;
2896
+ token_image_public_url?: string | null;
2897
+ token_creator_address: string;
2898
+ token_fee_receiver_address?: string | null;
2899
+ token_vesting_recipient_addresses: Array<string>;
2900
+ integrator_address: string;
2901
+ } | null;
2902
+ } | null;
2903
+ graduation_pool?: {
2904
+ __typename?: 'GraduationPool';
2905
+ pool_current_price: any;
2906
+ pool_current_sqrt_price: any;
2907
+ pool_current_fdv?: any | null;
2908
+ pool_current_liquidity: any;
2909
+ pool_current_tick: number;
2910
+ pool_current_market_cap?: any | null;
2911
+ pool_address: string;
2912
+ pool_migration_timestamp?: number | null;
2913
+ pool_type: string;
2914
+ base_token?: {
2915
+ __typename?: 'Token';
2916
+ token_address: string;
2917
+ token_name: string;
2918
+ token_symbol: string;
2919
+ token_uri_data?: any | null;
2920
+ token_image_public_url?: string | null;
2921
+ token_creator_address: string;
2922
+ token_fee_receiver_address?: string | null;
2923
+ token_vesting_recipient_addresses: Array<string>;
2924
+ integrator_address: string;
2925
+ } | null;
2926
+ } | null;
2927
+ }>;
2928
+ };
2929
+ export type GetAssetByAddressForIntegratorQueryVariables = Exact<{
2930
+ assetAddress: Scalars['String']['input'];
2931
+ integratorAddress: Scalars['String']['input'];
2932
+ }>;
2933
+ export type GetAssetByAddressForIntegratorQuery = {
2934
+ __typename?: 'query_root';
2935
+ asset: Array<{
2936
+ __typename?: 'Asset';
2937
+ asset_address: string;
2938
+ asset_numeraire_address: string;
2939
+ asset_creation_timestamp: number;
2940
+ asset_migration_timestamp?: number | null;
2941
+ auction_pool?: {
2942
+ __typename?: 'AuctionPool';
2943
+ pool_current_price: any;
2944
+ pool_current_sqrt_price: any;
2945
+ pool_current_fdv: any;
2946
+ pool_current_liquidity: any;
2947
+ pool_current_tick: number;
2948
+ pool_last_epoch?: number | null;
2949
+ pool_current_market_cap: any;
2950
+ pool_current_fees_accrued: any;
2951
+ pool_current_total_proceeds: any;
2952
+ pool_current_total_tokens_sold: any;
2953
+ pool_last_epoch_total_tokens_sold: any;
2954
+ pool_current_sale_progress_percentage?: any | null;
2955
+ pool_config_max_proceeds: any;
2956
+ pool_config_min_proceeds: any;
2957
+ pool_id: string;
2958
+ pool_address: string;
2959
+ pool_config_starting_time: any;
2960
+ pool_config_ending_time: any;
2961
+ pool_migration_timestamp?: number | null;
2962
+ pool_type: string;
2963
+ base_token?: {
2964
+ __typename?: 'Token';
2965
+ token_address: string;
2966
+ token_name: string;
2967
+ token_symbol: string;
2968
+ token_uri_data?: any | null;
2969
+ token_image_public_url?: string | null;
2970
+ token_creator_address: string;
2971
+ token_fee_receiver_address?: string | null;
2972
+ token_vesting_recipient_addresses: Array<string>;
2973
+ integrator_address: string;
2974
+ } | null;
2975
+ } | null;
2976
+ graduation_pool?: {
2977
+ __typename?: 'GraduationPool';
2978
+ pool_current_price: any;
2979
+ pool_current_sqrt_price: any;
2980
+ pool_current_fdv?: any | null;
2981
+ pool_current_liquidity: any;
2982
+ pool_current_tick: number;
2983
+ pool_current_market_cap?: any | null;
2984
+ pool_address: string;
2985
+ pool_migration_timestamp?: number | null;
2986
+ pool_type: string;
2987
+ base_token?: {
2988
+ __typename?: 'Token';
2989
+ token_address: string;
2990
+ token_name: string;
2991
+ token_symbol: string;
2992
+ token_uri_data?: any | null;
2993
+ token_image_public_url?: string | null;
2994
+ token_creator_address: string;
2995
+ token_fee_receiver_address?: string | null;
2996
+ token_vesting_recipient_addresses: Array<string>;
2997
+ integrator_address: string;
2998
+ } | null;
2999
+ } | null;
3000
+ }>;
3001
+ };
2420
3002
  export type ListAuctionPoolsForIntegratorQueryVariables = Exact<{
2421
3003
  integratorAddress: Scalars['String']['input'];
2422
3004
  }>;
@@ -2474,10 +3056,26 @@ export type GetAuctionPoolsByAddressAndIntegratorQuery = {
2474
3056
  } | null;
2475
3057
  }>;
2476
3058
  };
3059
+ export declare const TokenFieldsFragmentDoc: import("graphql").DocumentNode;
3060
+ export declare const AuctionPoolFieldsFragmentDoc: import("graphql").DocumentNode;
3061
+ export declare const GraduationPoolFieldsFragmentDoc: import("graphql").DocumentNode;
3062
+ export declare const AssetFieldsFragmentDoc: import("graphql").DocumentNode;
3063
+ export declare const ListLiveAssetsForIntegratorDocument: import("graphql").DocumentNode;
3064
+ export declare const ListIncomingAssetsForIntegratorDocument: import("graphql").DocumentNode;
3065
+ export declare const ListGraduatedAssetsForIntegratorDocument: import("graphql").DocumentNode;
3066
+ export declare const ListAllAssetsForIntegratorDocument: import("graphql").DocumentNode;
3067
+ export declare const SearchAssetsForIntegratorDocument: import("graphql").DocumentNode;
3068
+ export declare const GetAssetByAddressForIntegratorDocument: import("graphql").DocumentNode;
2477
3069
  export declare const ListAuctionPoolsForIntegratorDocument: import("graphql").DocumentNode;
2478
3070
  export declare const GetAuctionPoolsByAddressAndIntegratorDocument: import("graphql").DocumentNode;
2479
3071
  export type SdkFunctionWrapper = <T>(action: (requestHeaders?: Record<string, string>) => Promise<T>, operationName: string, operationType?: string, variables?: any) => Promise<T>;
2480
3072
  export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
3073
+ ListLiveAssetsForIntegrator(variables: ListLiveAssetsForIntegratorQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListLiveAssetsForIntegratorQuery>;
3074
+ ListIncomingAssetsForIntegrator(variables: ListIncomingAssetsForIntegratorQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListIncomingAssetsForIntegratorQuery>;
3075
+ ListGraduatedAssetsForIntegrator(variables: ListGraduatedAssetsForIntegratorQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListGraduatedAssetsForIntegratorQuery>;
3076
+ ListAllAssetsForIntegrator(variables: ListAllAssetsForIntegratorQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListAllAssetsForIntegratorQuery>;
3077
+ SearchAssetsForIntegrator(variables: SearchAssetsForIntegratorQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SearchAssetsForIntegratorQuery>;
3078
+ GetAssetByAddressForIntegrator(variables: GetAssetByAddressForIntegratorQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAssetByAddressForIntegratorQuery>;
2481
3079
  ListAuctionPoolsForIntegrator(variables: ListAuctionPoolsForIntegratorQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ListAuctionPoolsForIntegratorQuery>;
2482
3080
  GetAuctionPoolsByAddressAndIntegrator(variables: GetAuctionPoolsByAddressAndIntegratorQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetAuctionPoolsByAddressAndIntegratorQuery>;
2483
3081
  };