gondi 0.63.1 → 0.64.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +746 -145
- package/dist/index.mjs.map +3 -3
- package/dist/src/clients/api/index.d.ts +2 -58
- package/dist/src/clients/contracts/MslV6.d.ts +7 -0
- package/dist/src/generated/graphql/index.d.ts +799 -196
- package/dist/src/gondi.d.ts +73 -104
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -1
package/dist/src/gondi.d.ts
CHANGED
|
@@ -2286,28 +2286,12 @@ export declare class Gondi {
|
|
|
2286
2286
|
principalAddress: Address;
|
|
2287
2287
|
duration: bigint;
|
|
2288
2288
|
status: string;
|
|
2289
|
+
offerIds: Array<string>;
|
|
2289
2290
|
principalAmount: bigint;
|
|
2290
2291
|
blendedAprBps: number;
|
|
2291
2292
|
totalOriginationFee: bigint;
|
|
2292
2293
|
protocolFee: bigint;
|
|
2293
2294
|
lenderRefinanceDisabled: boolean;
|
|
2294
|
-
offer: {
|
|
2295
|
-
__typename?: "CollectionOffer";
|
|
2296
|
-
offerId: bigint;
|
|
2297
|
-
signerAddress?: Address | null;
|
|
2298
|
-
} | {
|
|
2299
|
-
__typename?: "SetOffer";
|
|
2300
|
-
offerId: bigint;
|
|
2301
|
-
signerAddress?: Address | null;
|
|
2302
|
-
} | {
|
|
2303
|
-
__typename?: "SingleNFTOffer";
|
|
2304
|
-
offerId: bigint;
|
|
2305
|
-
signerAddress?: Address | null;
|
|
2306
|
-
} | {
|
|
2307
|
-
__typename?: "TraitOffer";
|
|
2308
|
-
offerId: bigint;
|
|
2309
|
-
signerAddress?: Address | null;
|
|
2310
|
-
};
|
|
2311
2295
|
currency: {
|
|
2312
2296
|
__typename?: "Currency";
|
|
2313
2297
|
symbol: string;
|
|
@@ -2389,28 +2373,12 @@ export declare class Gondi {
|
|
|
2389
2373
|
principalAddress: Address;
|
|
2390
2374
|
duration: bigint;
|
|
2391
2375
|
status: string;
|
|
2376
|
+
offerIds: Array<string>;
|
|
2392
2377
|
principalAmount: bigint;
|
|
2393
2378
|
blendedAprBps: number;
|
|
2394
2379
|
totalOriginationFee: bigint;
|
|
2395
2380
|
protocolFee: bigint;
|
|
2396
2381
|
lenderRefinanceDisabled: boolean;
|
|
2397
|
-
offer: {
|
|
2398
|
-
__typename?: "CollectionOffer";
|
|
2399
|
-
offerId: bigint;
|
|
2400
|
-
signerAddress?: Address | null;
|
|
2401
|
-
} | {
|
|
2402
|
-
__typename?: "SetOffer";
|
|
2403
|
-
offerId: bigint;
|
|
2404
|
-
signerAddress?: Address | null;
|
|
2405
|
-
} | {
|
|
2406
|
-
__typename?: "SingleNFTOffer";
|
|
2407
|
-
offerId: bigint;
|
|
2408
|
-
signerAddress?: Address | null;
|
|
2409
|
-
} | {
|
|
2410
|
-
__typename?: "TraitOffer";
|
|
2411
|
-
offerId: bigint;
|
|
2412
|
-
signerAddress?: Address | null;
|
|
2413
|
-
};
|
|
2414
2382
|
currency: {
|
|
2415
2383
|
__typename?: "Currency";
|
|
2416
2384
|
symbol: string;
|
|
@@ -2537,6 +2505,15 @@ export declare class Gondi {
|
|
|
2537
2505
|
}) & {
|
|
2538
2506
|
tokenId: bigint;
|
|
2539
2507
|
}): Promise<number>;
|
|
2508
|
+
/**
|
|
2509
|
+
* Lists collections, one page at a time, with their statistics; loan volumes are in
|
|
2510
|
+
* `statsCurrency` (native ETH when omitted).
|
|
2511
|
+
*
|
|
2512
|
+
* `statistics.bestOffer` is the collection's highest bid, its net amount in whole units of its
|
|
2513
|
+
* currency, or `null` when it has no active bid.
|
|
2514
|
+
*
|
|
2515
|
+
* @returns The page's collections and its `pageInfo`.
|
|
2516
|
+
*/
|
|
2540
2517
|
collections(props: {
|
|
2541
2518
|
statsCurrency?: Address;
|
|
2542
2519
|
standards?: TokenStandardType[];
|
|
@@ -2544,6 +2521,68 @@ export declare class Gondi {
|
|
|
2544
2521
|
cursor?: string;
|
|
2545
2522
|
}): Promise<{
|
|
2546
2523
|
collections: {
|
|
2524
|
+
statistics: {
|
|
2525
|
+
bestOffer: {
|
|
2526
|
+
amount: number;
|
|
2527
|
+
currency: {
|
|
2528
|
+
__typename?: "Currency";
|
|
2529
|
+
address: Address;
|
|
2530
|
+
decimals: number;
|
|
2531
|
+
} | {
|
|
2532
|
+
__typename?: "Currency";
|
|
2533
|
+
address: Address;
|
|
2534
|
+
decimals: number;
|
|
2535
|
+
} | {
|
|
2536
|
+
__typename?: "Currency";
|
|
2537
|
+
address: Address;
|
|
2538
|
+
decimals: number;
|
|
2539
|
+
} | {
|
|
2540
|
+
__typename?: "Currency";
|
|
2541
|
+
address: Address;
|
|
2542
|
+
decimals: number;
|
|
2543
|
+
} | {
|
|
2544
|
+
__typename?: "Currency";
|
|
2545
|
+
address: Address;
|
|
2546
|
+
decimals: number;
|
|
2547
|
+
} | {
|
|
2548
|
+
__typename?: "Currency";
|
|
2549
|
+
address: Address;
|
|
2550
|
+
decimals: number;
|
|
2551
|
+
} | {
|
|
2552
|
+
__typename?: "Currency";
|
|
2553
|
+
address: Address;
|
|
2554
|
+
decimals: number;
|
|
2555
|
+
} | {
|
|
2556
|
+
__typename?: "Currency";
|
|
2557
|
+
address: Address;
|
|
2558
|
+
decimals: number;
|
|
2559
|
+
};
|
|
2560
|
+
} | null;
|
|
2561
|
+
__typename?: "CollectionStatistics";
|
|
2562
|
+
floorPrice7d?: number | null;
|
|
2563
|
+
floorPrice30d?: number | null;
|
|
2564
|
+
totalVolume?: number | null;
|
|
2565
|
+
totalVolume1m?: number | null;
|
|
2566
|
+
totalVolume1w?: number | null;
|
|
2567
|
+
totalLoanVolume: bigint;
|
|
2568
|
+
totalLoanVolume1w: bigint;
|
|
2569
|
+
totalLoanVolume1m: bigint;
|
|
2570
|
+
totalLoanVolume3m: bigint;
|
|
2571
|
+
totalLoanVolume1y: bigint;
|
|
2572
|
+
numberOfPricedNfts: number;
|
|
2573
|
+
nftsCount?: number | null;
|
|
2574
|
+
percentageInOutstandingLoans: number;
|
|
2575
|
+
repaymentRate: number;
|
|
2576
|
+
floorPrice?: {
|
|
2577
|
+
__typename?: "CurrencyAmount";
|
|
2578
|
+
amount: number;
|
|
2579
|
+
currency: {
|
|
2580
|
+
__typename?: "Currency";
|
|
2581
|
+
address: Address;
|
|
2582
|
+
decimals: number;
|
|
2583
|
+
};
|
|
2584
|
+
} | null;
|
|
2585
|
+
};
|
|
2547
2586
|
__typename?: "Collection";
|
|
2548
2587
|
id: string;
|
|
2549
2588
|
name?: string | null;
|
|
@@ -2576,43 +2615,6 @@ export declare class Gondi {
|
|
|
2576
2615
|
createdDate: Date;
|
|
2577
2616
|
creatorAddress?: Address | null;
|
|
2578
2617
|
};
|
|
2579
|
-
statistics: {
|
|
2580
|
-
__typename?: "CollectionStatistics";
|
|
2581
|
-
floorPrice7d?: number | null;
|
|
2582
|
-
floorPrice30d?: number | null;
|
|
2583
|
-
totalVolume?: number | null;
|
|
2584
|
-
totalVolume1y?: number | null;
|
|
2585
|
-
totalVolume3m?: number | null;
|
|
2586
|
-
totalVolume1m?: number | null;
|
|
2587
|
-
totalVolume1w?: number | null;
|
|
2588
|
-
totalLoanVolume: bigint;
|
|
2589
|
-
totalLoanVolume1w: bigint;
|
|
2590
|
-
totalLoanVolume1m: bigint;
|
|
2591
|
-
totalLoanVolume3m: bigint;
|
|
2592
|
-
totalLoanVolume1y: bigint;
|
|
2593
|
-
numberOfPricedNfts: number;
|
|
2594
|
-
nftsCount?: number | null;
|
|
2595
|
-
percentageInOutstandingLoans: number;
|
|
2596
|
-
repaymentRate: number;
|
|
2597
|
-
floorPrice?: {
|
|
2598
|
-
__typename?: "CurrencyAmount";
|
|
2599
|
-
amount: number;
|
|
2600
|
-
currency: {
|
|
2601
|
-
__typename?: "Currency";
|
|
2602
|
-
address: Address;
|
|
2603
|
-
decimals: number;
|
|
2604
|
-
};
|
|
2605
|
-
} | null;
|
|
2606
|
-
bestOffer?: {
|
|
2607
|
-
__typename?: "CurrencyAmount";
|
|
2608
|
-
amount: number;
|
|
2609
|
-
currency: {
|
|
2610
|
-
__typename?: "Currency";
|
|
2611
|
-
address: Address;
|
|
2612
|
-
decimals: number;
|
|
2613
|
-
};
|
|
2614
|
-
} | null;
|
|
2615
|
-
};
|
|
2616
2618
|
}[];
|
|
2617
2619
|
pageInfo: {
|
|
2618
2620
|
__typename?: "PageInfo";
|
|
@@ -2642,7 +2644,6 @@ export declare class Gondi {
|
|
|
2642
2644
|
__typename: "BuyNowPayLaterOrder";
|
|
2643
2645
|
id: string;
|
|
2644
2646
|
price: bigint;
|
|
2645
|
-
steppedPrice?: bigint | null;
|
|
2646
2647
|
currencyAddress: Address;
|
|
2647
2648
|
maker: Address;
|
|
2648
2649
|
isAsk: boolean;
|
|
@@ -2659,7 +2660,6 @@ export declare class Gondi {
|
|
|
2659
2660
|
collectionId: number;
|
|
2660
2661
|
id: string;
|
|
2661
2662
|
price: bigint;
|
|
2662
|
-
steppedPrice?: bigint | null;
|
|
2663
2663
|
currencyAddress: Address;
|
|
2664
2664
|
maker: Address;
|
|
2665
2665
|
isAsk: boolean;
|
|
@@ -2676,7 +2676,6 @@ export declare class Gondi {
|
|
|
2676
2676
|
collectionId: number;
|
|
2677
2677
|
id: string;
|
|
2678
2678
|
price: bigint;
|
|
2679
|
-
steppedPrice?: bigint | null;
|
|
2680
2679
|
currencyAddress: Address;
|
|
2681
2680
|
maker: Address;
|
|
2682
2681
|
isAsk: boolean;
|
|
@@ -2692,7 +2691,6 @@ export declare class Gondi {
|
|
|
2692
2691
|
__typename: "SellAndRepayOrder";
|
|
2693
2692
|
id: string;
|
|
2694
2693
|
price: bigint;
|
|
2695
|
-
steppedPrice?: bigint | null;
|
|
2696
2694
|
currencyAddress: Address;
|
|
2697
2695
|
maker: Address;
|
|
2698
2696
|
isAsk: boolean;
|
|
@@ -2709,7 +2707,6 @@ export declare class Gondi {
|
|
|
2709
2707
|
collectionId: number;
|
|
2710
2708
|
id: string;
|
|
2711
2709
|
price: bigint;
|
|
2712
|
-
steppedPrice?: bigint | null;
|
|
2713
2710
|
currencyAddress: Address;
|
|
2714
2711
|
maker: Address;
|
|
2715
2712
|
isAsk: boolean;
|
|
@@ -2725,7 +2722,6 @@ export declare class Gondi {
|
|
|
2725
2722
|
__typename: "SingleNFTOrder";
|
|
2726
2723
|
id: string;
|
|
2727
2724
|
price: bigint;
|
|
2728
|
-
steppedPrice?: bigint | null;
|
|
2729
2725
|
currencyAddress: Address;
|
|
2730
2726
|
maker: Address;
|
|
2731
2727
|
isAsk: boolean;
|
|
@@ -2750,7 +2746,6 @@ export declare class Gondi {
|
|
|
2750
2746
|
__typename: "StealthMaskedOrder";
|
|
2751
2747
|
id: string;
|
|
2752
2748
|
price: bigint;
|
|
2753
|
-
steppedPrice?: bigint | null;
|
|
2754
2749
|
currencyAddress: Address;
|
|
2755
2750
|
maker: Address;
|
|
2756
2751
|
isAsk: boolean;
|
|
@@ -2767,7 +2762,6 @@ export declare class Gondi {
|
|
|
2767
2762
|
collectionId: number;
|
|
2768
2763
|
id: string;
|
|
2769
2764
|
price: bigint;
|
|
2770
|
-
steppedPrice?: bigint | null;
|
|
2771
2765
|
currencyAddress: Address;
|
|
2772
2766
|
maker: Address;
|
|
2773
2767
|
isAsk: boolean;
|
|
@@ -2787,7 +2781,6 @@ export declare class Gondi {
|
|
|
2787
2781
|
__typename: "BuyNowPayLaterOrder";
|
|
2788
2782
|
id: string;
|
|
2789
2783
|
price: bigint;
|
|
2790
|
-
steppedPrice?: bigint | null;
|
|
2791
2784
|
currencyAddress: Address;
|
|
2792
2785
|
maker: Address;
|
|
2793
2786
|
isAsk: boolean;
|
|
@@ -2804,7 +2797,6 @@ export declare class Gondi {
|
|
|
2804
2797
|
collectionId: number;
|
|
2805
2798
|
id: string;
|
|
2806
2799
|
price: bigint;
|
|
2807
|
-
steppedPrice?: bigint | null;
|
|
2808
2800
|
currencyAddress: Address;
|
|
2809
2801
|
maker: Address;
|
|
2810
2802
|
isAsk: boolean;
|
|
@@ -2821,7 +2813,6 @@ export declare class Gondi {
|
|
|
2821
2813
|
collectionId: number;
|
|
2822
2814
|
id: string;
|
|
2823
2815
|
price: bigint;
|
|
2824
|
-
steppedPrice?: bigint | null;
|
|
2825
2816
|
currencyAddress: Address;
|
|
2826
2817
|
maker: Address;
|
|
2827
2818
|
isAsk: boolean;
|
|
@@ -2837,7 +2828,6 @@ export declare class Gondi {
|
|
|
2837
2828
|
__typename: "SellAndRepayOrder";
|
|
2838
2829
|
id: string;
|
|
2839
2830
|
price: bigint;
|
|
2840
|
-
steppedPrice?: bigint | null;
|
|
2841
2831
|
currencyAddress: Address;
|
|
2842
2832
|
maker: Address;
|
|
2843
2833
|
isAsk: boolean;
|
|
@@ -2854,7 +2844,6 @@ export declare class Gondi {
|
|
|
2854
2844
|
collectionId: number;
|
|
2855
2845
|
id: string;
|
|
2856
2846
|
price: bigint;
|
|
2857
|
-
steppedPrice?: bigint | null;
|
|
2858
2847
|
currencyAddress: Address;
|
|
2859
2848
|
maker: Address;
|
|
2860
2849
|
isAsk: boolean;
|
|
@@ -2870,7 +2859,6 @@ export declare class Gondi {
|
|
|
2870
2859
|
__typename: "SingleNFTOrder";
|
|
2871
2860
|
id: string;
|
|
2872
2861
|
price: bigint;
|
|
2873
|
-
steppedPrice?: bigint | null;
|
|
2874
2862
|
currencyAddress: Address;
|
|
2875
2863
|
maker: Address;
|
|
2876
2864
|
isAsk: boolean;
|
|
@@ -2895,7 +2883,6 @@ export declare class Gondi {
|
|
|
2895
2883
|
__typename: "StealthMaskedOrder";
|
|
2896
2884
|
id: string;
|
|
2897
2885
|
price: bigint;
|
|
2898
|
-
steppedPrice?: bigint | null;
|
|
2899
2886
|
currencyAddress: Address;
|
|
2900
2887
|
maker: Address;
|
|
2901
2888
|
isAsk: boolean;
|
|
@@ -2912,7 +2899,6 @@ export declare class Gondi {
|
|
|
2912
2899
|
collectionId: number;
|
|
2913
2900
|
id: string;
|
|
2914
2901
|
price: bigint;
|
|
2915
|
-
steppedPrice?: bigint | null;
|
|
2916
2902
|
currencyAddress: Address;
|
|
2917
2903
|
maker: Address;
|
|
2918
2904
|
isAsk: boolean;
|
|
@@ -2960,7 +2946,6 @@ export declare class Gondi {
|
|
|
2960
2946
|
__typename: "BuyNowPayLaterOrder";
|
|
2961
2947
|
id: string;
|
|
2962
2948
|
price: bigint;
|
|
2963
|
-
steppedPrice?: bigint | null;
|
|
2964
2949
|
currencyAddress: Address;
|
|
2965
2950
|
maker: Address;
|
|
2966
2951
|
isAsk: boolean;
|
|
@@ -2977,7 +2962,6 @@ export declare class Gondi {
|
|
|
2977
2962
|
collectionId: number;
|
|
2978
2963
|
id: string;
|
|
2979
2964
|
price: bigint;
|
|
2980
|
-
steppedPrice?: bigint | null;
|
|
2981
2965
|
currencyAddress: Address;
|
|
2982
2966
|
maker: Address;
|
|
2983
2967
|
isAsk: boolean;
|
|
@@ -2994,7 +2978,6 @@ export declare class Gondi {
|
|
|
2994
2978
|
collectionId: number;
|
|
2995
2979
|
id: string;
|
|
2996
2980
|
price: bigint;
|
|
2997
|
-
steppedPrice?: bigint | null;
|
|
2998
2981
|
currencyAddress: Address;
|
|
2999
2982
|
maker: Address;
|
|
3000
2983
|
isAsk: boolean;
|
|
@@ -3010,7 +2993,6 @@ export declare class Gondi {
|
|
|
3010
2993
|
__typename: "SellAndRepayOrder";
|
|
3011
2994
|
id: string;
|
|
3012
2995
|
price: bigint;
|
|
3013
|
-
steppedPrice?: bigint | null;
|
|
3014
2996
|
currencyAddress: Address;
|
|
3015
2997
|
maker: Address;
|
|
3016
2998
|
isAsk: boolean;
|
|
@@ -3027,7 +3009,6 @@ export declare class Gondi {
|
|
|
3027
3009
|
collectionId: number;
|
|
3028
3010
|
id: string;
|
|
3029
3011
|
price: bigint;
|
|
3030
|
-
steppedPrice?: bigint | null;
|
|
3031
3012
|
currencyAddress: Address;
|
|
3032
3013
|
maker: Address;
|
|
3033
3014
|
isAsk: boolean;
|
|
@@ -3043,7 +3024,6 @@ export declare class Gondi {
|
|
|
3043
3024
|
__typename: "SingleNFTOrder";
|
|
3044
3025
|
id: string;
|
|
3045
3026
|
price: bigint;
|
|
3046
|
-
steppedPrice?: bigint | null;
|
|
3047
3027
|
currencyAddress: Address;
|
|
3048
3028
|
maker: Address;
|
|
3049
3029
|
isAsk: boolean;
|
|
@@ -3068,7 +3048,6 @@ export declare class Gondi {
|
|
|
3068
3048
|
__typename: "StealthMaskedOrder";
|
|
3069
3049
|
id: string;
|
|
3070
3050
|
price: bigint;
|
|
3071
|
-
steppedPrice?: bigint | null;
|
|
3072
3051
|
currencyAddress: Address;
|
|
3073
3052
|
maker: Address;
|
|
3074
3053
|
isAsk: boolean;
|
|
@@ -3085,7 +3064,6 @@ export declare class Gondi {
|
|
|
3085
3064
|
collectionId: number;
|
|
3086
3065
|
id: string;
|
|
3087
3066
|
price: bigint;
|
|
3088
|
-
steppedPrice?: bigint | null;
|
|
3089
3067
|
currencyAddress: Address;
|
|
3090
3068
|
maker: Address;
|
|
3091
3069
|
isAsk: boolean;
|
|
@@ -3217,15 +3195,6 @@ export declare class Gondi {
|
|
|
3217
3195
|
};
|
|
3218
3196
|
} | null;
|
|
3219
3197
|
} | null;
|
|
3220
|
-
topTraitFloorPrice?: {
|
|
3221
|
-
__typename?: "CurrencyAmount";
|
|
3222
|
-
amount: number;
|
|
3223
|
-
currency: {
|
|
3224
|
-
__typename?: "Currency";
|
|
3225
|
-
address: Address;
|
|
3226
|
-
decimals: number;
|
|
3227
|
-
};
|
|
3228
|
-
} | null;
|
|
3229
3198
|
};
|
|
3230
3199
|
}[];
|
|
3231
3200
|
pageInfo: {
|