@snagsolutions/sdk 0.1.0-alpha.48 → 0.1.0-alpha.50
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/CHANGELOG.md +30 -0
- package/package.json +1 -1
- package/resources/loyalty/rule-edits.d.ts +212 -0
- package/resources/loyalty/rule-edits.d.ts.map +1 -1
- package/resources/loyalty/rule-groups.d.ts +54 -1
- package/resources/loyalty/rule-groups.d.ts.map +1 -1
- package/resources/loyalty/rules.d.ts +267 -2
- package/resources/loyalty/rules.d.ts.map +1 -1
- package/resources/loyalty/transactions/transactions.d.ts +7 -1
- package/resources/loyalty/transactions/transactions.d.ts.map +1 -1
- package/resources/loyalty/transactions/transactions.js.map +1 -1
- package/resources/loyalty/transactions/transactions.mjs.map +1 -1
- package/resources/referral/users.d.ts +12 -0
- package/resources/referral/users.d.ts.map +1 -1
- package/resources/users/metadatas.d.ts +1 -0
- package/resources/users/metadatas.d.ts.map +1 -1
- package/src/resources/loyalty/rule-edits.ts +396 -0
- package/src/resources/loyalty/rule-groups.ts +102 -1
- package/src/resources/loyalty/rules.ts +501 -2
- package/src/resources/loyalty/transactions/transactions.ts +12 -0
- package/src/resources/referral/users.ts +15 -0
- package/src/resources/users/metadatas.ts +2 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -175,6 +175,11 @@ export namespace RuleEditListResponse {
|
|
|
175
175
|
|
|
176
176
|
export namespace Data {
|
|
177
177
|
export interface Metadata {
|
|
178
|
+
/**
|
|
179
|
+
* Number of tokens per batch.
|
|
180
|
+
*/
|
|
181
|
+
batchSize?: number | null;
|
|
182
|
+
|
|
178
183
|
/**
|
|
179
184
|
* Text displayed on the action button.
|
|
180
185
|
*/
|
|
@@ -315,6 +320,11 @@ export namespace RuleEditListResponse {
|
|
|
315
320
|
*/
|
|
316
321
|
link?: string | null;
|
|
317
322
|
|
|
323
|
+
/**
|
|
324
|
+
* Liquidity pool details.
|
|
325
|
+
*/
|
|
326
|
+
liquidity?: Metadata.Liquidity;
|
|
327
|
+
|
|
318
328
|
/**
|
|
319
329
|
* Maximum quantity constraint for token holding.
|
|
320
330
|
*/
|
|
@@ -380,6 +390,11 @@ export namespace RuleEditListResponse {
|
|
|
380
390
|
*/
|
|
381
391
|
referrerReward?: number | null;
|
|
382
392
|
|
|
393
|
+
/**
|
|
394
|
+
* Flag indicating if the reward is rewarded by batch.
|
|
395
|
+
*/
|
|
396
|
+
rewardByBatch?: boolean | null;
|
|
397
|
+
|
|
383
398
|
/**
|
|
384
399
|
* Flag indicating if rewards are given per impression.
|
|
385
400
|
*/
|
|
@@ -640,6 +655,90 @@ export namespace RuleEditListResponse {
|
|
|
640
655
|
id: string;
|
|
641
656
|
}
|
|
642
657
|
|
|
658
|
+
/**
|
|
659
|
+
* Liquidity pool details.
|
|
660
|
+
*/
|
|
661
|
+
export interface Liquidity {
|
|
662
|
+
/**
|
|
663
|
+
* Calculation type of the liquidity pool.
|
|
664
|
+
*/
|
|
665
|
+
calculationType?: 'fixed' | 'custom';
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* Blockchain network of the liquidity pool.
|
|
669
|
+
*/
|
|
670
|
+
chain?:
|
|
671
|
+
| 'abstract'
|
|
672
|
+
| 'abstractTestnet'
|
|
673
|
+
| 'apechain'
|
|
674
|
+
| 'arbitrum'
|
|
675
|
+
| 'avalanche'
|
|
676
|
+
| 'avalancheFuji'
|
|
677
|
+
| 'base'
|
|
678
|
+
| 'baseSepolia'
|
|
679
|
+
| 'berachainArtio'
|
|
680
|
+
| 'binance'
|
|
681
|
+
| 'bscTestnet'
|
|
682
|
+
| 'campTestnet'
|
|
683
|
+
| 'fantom'
|
|
684
|
+
| 'fantomTestnet'
|
|
685
|
+
| 'flowMainnet'
|
|
686
|
+
| 'mainnet'
|
|
687
|
+
| 'optimism'
|
|
688
|
+
| 'polygon'
|
|
689
|
+
| 'polygon_mumbai'
|
|
690
|
+
| 'skaleNebula'
|
|
691
|
+
| 'solana'
|
|
692
|
+
| 'sophon'
|
|
693
|
+
| 'sui'
|
|
694
|
+
| 'superseed'
|
|
695
|
+
| 'superseedSepolia'
|
|
696
|
+
| 'vanar'
|
|
697
|
+
| 'xai'
|
|
698
|
+
| 'zksync'
|
|
699
|
+
| 'sepolia'
|
|
700
|
+
| 'optimism_sepolia'
|
|
701
|
+
| 'arbitrumSepolia'
|
|
702
|
+
| 'goerli'
|
|
703
|
+
| 'optimism_goerli'
|
|
704
|
+
| 'arbitrumGoerli'
|
|
705
|
+
| 'basecamp';
|
|
706
|
+
|
|
707
|
+
/**
|
|
708
|
+
* Custom function to calculate the liquidity provided per hour
|
|
709
|
+
*/
|
|
710
|
+
customFunction?: string;
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* Liquidity provided per hour
|
|
714
|
+
*/
|
|
715
|
+
liquidityPerHour?: number;
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* Indicates if only in-range liquidity is rewarded.
|
|
719
|
+
*/
|
|
720
|
+
onlyRewardInRangeLiquidity?: boolean;
|
|
721
|
+
|
|
722
|
+
/**
|
|
723
|
+
* Array of liquidity pools associated with the rule.
|
|
724
|
+
*/
|
|
725
|
+
pools?: Array<Liquidity.Pool>;
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* Protocol of the liquidity pool.
|
|
729
|
+
*/
|
|
730
|
+
protocol?: string;
|
|
731
|
+
}
|
|
732
|
+
|
|
733
|
+
export namespace Liquidity {
|
|
734
|
+
export interface Pool {
|
|
735
|
+
/**
|
|
736
|
+
* Unique identifier of the liquidity pool.
|
|
737
|
+
*/
|
|
738
|
+
id?: string;
|
|
739
|
+
}
|
|
740
|
+
}
|
|
741
|
+
|
|
643
742
|
export interface Range {
|
|
644
743
|
/**
|
|
645
744
|
* Reward amount for this range.
|
|
@@ -932,6 +1031,11 @@ export namespace RuleEditListResponse {
|
|
|
932
1031
|
|
|
933
1032
|
export namespace PreviousData {
|
|
934
1033
|
export interface Metadata {
|
|
1034
|
+
/**
|
|
1035
|
+
* Number of tokens per batch.
|
|
1036
|
+
*/
|
|
1037
|
+
batchSize?: number | null;
|
|
1038
|
+
|
|
935
1039
|
/**
|
|
936
1040
|
* Text displayed on the action button.
|
|
937
1041
|
*/
|
|
@@ -1072,6 +1176,11 @@ export namespace RuleEditListResponse {
|
|
|
1072
1176
|
*/
|
|
1073
1177
|
link?: string | null;
|
|
1074
1178
|
|
|
1179
|
+
/**
|
|
1180
|
+
* Liquidity pool details.
|
|
1181
|
+
*/
|
|
1182
|
+
liquidity?: Metadata.Liquidity;
|
|
1183
|
+
|
|
1075
1184
|
/**
|
|
1076
1185
|
* Maximum quantity constraint for token holding.
|
|
1077
1186
|
*/
|
|
@@ -1137,6 +1246,11 @@ export namespace RuleEditListResponse {
|
|
|
1137
1246
|
*/
|
|
1138
1247
|
referrerReward?: number | null;
|
|
1139
1248
|
|
|
1249
|
+
/**
|
|
1250
|
+
* Flag indicating if the reward is rewarded by batch.
|
|
1251
|
+
*/
|
|
1252
|
+
rewardByBatch?: boolean | null;
|
|
1253
|
+
|
|
1140
1254
|
/**
|
|
1141
1255
|
* Flag indicating if rewards are given per impression.
|
|
1142
1256
|
*/
|
|
@@ -1397,6 +1511,90 @@ export namespace RuleEditListResponse {
|
|
|
1397
1511
|
id: string;
|
|
1398
1512
|
}
|
|
1399
1513
|
|
|
1514
|
+
/**
|
|
1515
|
+
* Liquidity pool details.
|
|
1516
|
+
*/
|
|
1517
|
+
export interface Liquidity {
|
|
1518
|
+
/**
|
|
1519
|
+
* Calculation type of the liquidity pool.
|
|
1520
|
+
*/
|
|
1521
|
+
calculationType?: 'fixed' | 'custom';
|
|
1522
|
+
|
|
1523
|
+
/**
|
|
1524
|
+
* Blockchain network of the liquidity pool.
|
|
1525
|
+
*/
|
|
1526
|
+
chain?:
|
|
1527
|
+
| 'abstract'
|
|
1528
|
+
| 'abstractTestnet'
|
|
1529
|
+
| 'apechain'
|
|
1530
|
+
| 'arbitrum'
|
|
1531
|
+
| 'avalanche'
|
|
1532
|
+
| 'avalancheFuji'
|
|
1533
|
+
| 'base'
|
|
1534
|
+
| 'baseSepolia'
|
|
1535
|
+
| 'berachainArtio'
|
|
1536
|
+
| 'binance'
|
|
1537
|
+
| 'bscTestnet'
|
|
1538
|
+
| 'campTestnet'
|
|
1539
|
+
| 'fantom'
|
|
1540
|
+
| 'fantomTestnet'
|
|
1541
|
+
| 'flowMainnet'
|
|
1542
|
+
| 'mainnet'
|
|
1543
|
+
| 'optimism'
|
|
1544
|
+
| 'polygon'
|
|
1545
|
+
| 'polygon_mumbai'
|
|
1546
|
+
| 'skaleNebula'
|
|
1547
|
+
| 'solana'
|
|
1548
|
+
| 'sophon'
|
|
1549
|
+
| 'sui'
|
|
1550
|
+
| 'superseed'
|
|
1551
|
+
| 'superseedSepolia'
|
|
1552
|
+
| 'vanar'
|
|
1553
|
+
| 'xai'
|
|
1554
|
+
| 'zksync'
|
|
1555
|
+
| 'sepolia'
|
|
1556
|
+
| 'optimism_sepolia'
|
|
1557
|
+
| 'arbitrumSepolia'
|
|
1558
|
+
| 'goerli'
|
|
1559
|
+
| 'optimism_goerli'
|
|
1560
|
+
| 'arbitrumGoerli'
|
|
1561
|
+
| 'basecamp';
|
|
1562
|
+
|
|
1563
|
+
/**
|
|
1564
|
+
* Custom function to calculate the liquidity provided per hour
|
|
1565
|
+
*/
|
|
1566
|
+
customFunction?: string;
|
|
1567
|
+
|
|
1568
|
+
/**
|
|
1569
|
+
* Liquidity provided per hour
|
|
1570
|
+
*/
|
|
1571
|
+
liquidityPerHour?: number;
|
|
1572
|
+
|
|
1573
|
+
/**
|
|
1574
|
+
* Indicates if only in-range liquidity is rewarded.
|
|
1575
|
+
*/
|
|
1576
|
+
onlyRewardInRangeLiquidity?: boolean;
|
|
1577
|
+
|
|
1578
|
+
/**
|
|
1579
|
+
* Array of liquidity pools associated with the rule.
|
|
1580
|
+
*/
|
|
1581
|
+
pools?: Array<Liquidity.Pool>;
|
|
1582
|
+
|
|
1583
|
+
/**
|
|
1584
|
+
* Protocol of the liquidity pool.
|
|
1585
|
+
*/
|
|
1586
|
+
protocol?: string;
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1589
|
+
export namespace Liquidity {
|
|
1590
|
+
export interface Pool {
|
|
1591
|
+
/**
|
|
1592
|
+
* Unique identifier of the liquidity pool.
|
|
1593
|
+
*/
|
|
1594
|
+
id?: string;
|
|
1595
|
+
}
|
|
1596
|
+
}
|
|
1597
|
+
|
|
1400
1598
|
export interface Range {
|
|
1401
1599
|
/**
|
|
1402
1600
|
* Reward amount for this range.
|
|
@@ -1744,6 +1942,11 @@ export namespace RuleEditRestoreResponse {
|
|
|
1744
1942
|
|
|
1745
1943
|
export namespace Data {
|
|
1746
1944
|
export interface Metadata {
|
|
1945
|
+
/**
|
|
1946
|
+
* Number of tokens per batch.
|
|
1947
|
+
*/
|
|
1948
|
+
batchSize?: number | null;
|
|
1949
|
+
|
|
1747
1950
|
/**
|
|
1748
1951
|
* Text displayed on the action button.
|
|
1749
1952
|
*/
|
|
@@ -1884,6 +2087,11 @@ export namespace RuleEditRestoreResponse {
|
|
|
1884
2087
|
*/
|
|
1885
2088
|
link?: string | null;
|
|
1886
2089
|
|
|
2090
|
+
/**
|
|
2091
|
+
* Liquidity pool details.
|
|
2092
|
+
*/
|
|
2093
|
+
liquidity?: Metadata.Liquidity;
|
|
2094
|
+
|
|
1887
2095
|
/**
|
|
1888
2096
|
* Maximum quantity constraint for token holding.
|
|
1889
2097
|
*/
|
|
@@ -1949,6 +2157,11 @@ export namespace RuleEditRestoreResponse {
|
|
|
1949
2157
|
*/
|
|
1950
2158
|
referrerReward?: number | null;
|
|
1951
2159
|
|
|
2160
|
+
/**
|
|
2161
|
+
* Flag indicating if the reward is rewarded by batch.
|
|
2162
|
+
*/
|
|
2163
|
+
rewardByBatch?: boolean | null;
|
|
2164
|
+
|
|
1952
2165
|
/**
|
|
1953
2166
|
* Flag indicating if rewards are given per impression.
|
|
1954
2167
|
*/
|
|
@@ -2209,6 +2422,90 @@ export namespace RuleEditRestoreResponse {
|
|
|
2209
2422
|
id: string;
|
|
2210
2423
|
}
|
|
2211
2424
|
|
|
2425
|
+
/**
|
|
2426
|
+
* Liquidity pool details.
|
|
2427
|
+
*/
|
|
2428
|
+
export interface Liquidity {
|
|
2429
|
+
/**
|
|
2430
|
+
* Calculation type of the liquidity pool.
|
|
2431
|
+
*/
|
|
2432
|
+
calculationType?: 'fixed' | 'custom';
|
|
2433
|
+
|
|
2434
|
+
/**
|
|
2435
|
+
* Blockchain network of the liquidity pool.
|
|
2436
|
+
*/
|
|
2437
|
+
chain?:
|
|
2438
|
+
| 'abstract'
|
|
2439
|
+
| 'abstractTestnet'
|
|
2440
|
+
| 'apechain'
|
|
2441
|
+
| 'arbitrum'
|
|
2442
|
+
| 'avalanche'
|
|
2443
|
+
| 'avalancheFuji'
|
|
2444
|
+
| 'base'
|
|
2445
|
+
| 'baseSepolia'
|
|
2446
|
+
| 'berachainArtio'
|
|
2447
|
+
| 'binance'
|
|
2448
|
+
| 'bscTestnet'
|
|
2449
|
+
| 'campTestnet'
|
|
2450
|
+
| 'fantom'
|
|
2451
|
+
| 'fantomTestnet'
|
|
2452
|
+
| 'flowMainnet'
|
|
2453
|
+
| 'mainnet'
|
|
2454
|
+
| 'optimism'
|
|
2455
|
+
| 'polygon'
|
|
2456
|
+
| 'polygon_mumbai'
|
|
2457
|
+
| 'skaleNebula'
|
|
2458
|
+
| 'solana'
|
|
2459
|
+
| 'sophon'
|
|
2460
|
+
| 'sui'
|
|
2461
|
+
| 'superseed'
|
|
2462
|
+
| 'superseedSepolia'
|
|
2463
|
+
| 'vanar'
|
|
2464
|
+
| 'xai'
|
|
2465
|
+
| 'zksync'
|
|
2466
|
+
| 'sepolia'
|
|
2467
|
+
| 'optimism_sepolia'
|
|
2468
|
+
| 'arbitrumSepolia'
|
|
2469
|
+
| 'goerli'
|
|
2470
|
+
| 'optimism_goerli'
|
|
2471
|
+
| 'arbitrumGoerli'
|
|
2472
|
+
| 'basecamp';
|
|
2473
|
+
|
|
2474
|
+
/**
|
|
2475
|
+
* Custom function to calculate the liquidity provided per hour
|
|
2476
|
+
*/
|
|
2477
|
+
customFunction?: string;
|
|
2478
|
+
|
|
2479
|
+
/**
|
|
2480
|
+
* Liquidity provided per hour
|
|
2481
|
+
*/
|
|
2482
|
+
liquidityPerHour?: number;
|
|
2483
|
+
|
|
2484
|
+
/**
|
|
2485
|
+
* Indicates if only in-range liquidity is rewarded.
|
|
2486
|
+
*/
|
|
2487
|
+
onlyRewardInRangeLiquidity?: boolean;
|
|
2488
|
+
|
|
2489
|
+
/**
|
|
2490
|
+
* Array of liquidity pools associated with the rule.
|
|
2491
|
+
*/
|
|
2492
|
+
pools?: Array<Liquidity.Pool>;
|
|
2493
|
+
|
|
2494
|
+
/**
|
|
2495
|
+
* Protocol of the liquidity pool.
|
|
2496
|
+
*/
|
|
2497
|
+
protocol?: string;
|
|
2498
|
+
}
|
|
2499
|
+
|
|
2500
|
+
export namespace Liquidity {
|
|
2501
|
+
export interface Pool {
|
|
2502
|
+
/**
|
|
2503
|
+
* Unique identifier of the liquidity pool.
|
|
2504
|
+
*/
|
|
2505
|
+
id?: string;
|
|
2506
|
+
}
|
|
2507
|
+
}
|
|
2508
|
+
|
|
2212
2509
|
export interface Range {
|
|
2213
2510
|
/**
|
|
2214
2511
|
* Reward amount for this range.
|
|
@@ -2501,6 +2798,11 @@ export namespace RuleEditRestoreResponse {
|
|
|
2501
2798
|
|
|
2502
2799
|
export namespace PreviousData {
|
|
2503
2800
|
export interface Metadata {
|
|
2801
|
+
/**
|
|
2802
|
+
* Number of tokens per batch.
|
|
2803
|
+
*/
|
|
2804
|
+
batchSize?: number | null;
|
|
2805
|
+
|
|
2504
2806
|
/**
|
|
2505
2807
|
* Text displayed on the action button.
|
|
2506
2808
|
*/
|
|
@@ -2641,6 +2943,11 @@ export namespace RuleEditRestoreResponse {
|
|
|
2641
2943
|
*/
|
|
2642
2944
|
link?: string | null;
|
|
2643
2945
|
|
|
2946
|
+
/**
|
|
2947
|
+
* Liquidity pool details.
|
|
2948
|
+
*/
|
|
2949
|
+
liquidity?: Metadata.Liquidity;
|
|
2950
|
+
|
|
2644
2951
|
/**
|
|
2645
2952
|
* Maximum quantity constraint for token holding.
|
|
2646
2953
|
*/
|
|
@@ -2706,6 +3013,11 @@ export namespace RuleEditRestoreResponse {
|
|
|
2706
3013
|
*/
|
|
2707
3014
|
referrerReward?: number | null;
|
|
2708
3015
|
|
|
3016
|
+
/**
|
|
3017
|
+
* Flag indicating if the reward is rewarded by batch.
|
|
3018
|
+
*/
|
|
3019
|
+
rewardByBatch?: boolean | null;
|
|
3020
|
+
|
|
2709
3021
|
/**
|
|
2710
3022
|
* Flag indicating if rewards are given per impression.
|
|
2711
3023
|
*/
|
|
@@ -2966,6 +3278,90 @@ export namespace RuleEditRestoreResponse {
|
|
|
2966
3278
|
id: string;
|
|
2967
3279
|
}
|
|
2968
3280
|
|
|
3281
|
+
/**
|
|
3282
|
+
* Liquidity pool details.
|
|
3283
|
+
*/
|
|
3284
|
+
export interface Liquidity {
|
|
3285
|
+
/**
|
|
3286
|
+
* Calculation type of the liquidity pool.
|
|
3287
|
+
*/
|
|
3288
|
+
calculationType?: 'fixed' | 'custom';
|
|
3289
|
+
|
|
3290
|
+
/**
|
|
3291
|
+
* Blockchain network of the liquidity pool.
|
|
3292
|
+
*/
|
|
3293
|
+
chain?:
|
|
3294
|
+
| 'abstract'
|
|
3295
|
+
| 'abstractTestnet'
|
|
3296
|
+
| 'apechain'
|
|
3297
|
+
| 'arbitrum'
|
|
3298
|
+
| 'avalanche'
|
|
3299
|
+
| 'avalancheFuji'
|
|
3300
|
+
| 'base'
|
|
3301
|
+
| 'baseSepolia'
|
|
3302
|
+
| 'berachainArtio'
|
|
3303
|
+
| 'binance'
|
|
3304
|
+
| 'bscTestnet'
|
|
3305
|
+
| 'campTestnet'
|
|
3306
|
+
| 'fantom'
|
|
3307
|
+
| 'fantomTestnet'
|
|
3308
|
+
| 'flowMainnet'
|
|
3309
|
+
| 'mainnet'
|
|
3310
|
+
| 'optimism'
|
|
3311
|
+
| 'polygon'
|
|
3312
|
+
| 'polygon_mumbai'
|
|
3313
|
+
| 'skaleNebula'
|
|
3314
|
+
| 'solana'
|
|
3315
|
+
| 'sophon'
|
|
3316
|
+
| 'sui'
|
|
3317
|
+
| 'superseed'
|
|
3318
|
+
| 'superseedSepolia'
|
|
3319
|
+
| 'vanar'
|
|
3320
|
+
| 'xai'
|
|
3321
|
+
| 'zksync'
|
|
3322
|
+
| 'sepolia'
|
|
3323
|
+
| 'optimism_sepolia'
|
|
3324
|
+
| 'arbitrumSepolia'
|
|
3325
|
+
| 'goerli'
|
|
3326
|
+
| 'optimism_goerli'
|
|
3327
|
+
| 'arbitrumGoerli'
|
|
3328
|
+
| 'basecamp';
|
|
3329
|
+
|
|
3330
|
+
/**
|
|
3331
|
+
* Custom function to calculate the liquidity provided per hour
|
|
3332
|
+
*/
|
|
3333
|
+
customFunction?: string;
|
|
3334
|
+
|
|
3335
|
+
/**
|
|
3336
|
+
* Liquidity provided per hour
|
|
3337
|
+
*/
|
|
3338
|
+
liquidityPerHour?: number;
|
|
3339
|
+
|
|
3340
|
+
/**
|
|
3341
|
+
* Indicates if only in-range liquidity is rewarded.
|
|
3342
|
+
*/
|
|
3343
|
+
onlyRewardInRangeLiquidity?: boolean;
|
|
3344
|
+
|
|
3345
|
+
/**
|
|
3346
|
+
* Array of liquidity pools associated with the rule.
|
|
3347
|
+
*/
|
|
3348
|
+
pools?: Array<Liquidity.Pool>;
|
|
3349
|
+
|
|
3350
|
+
/**
|
|
3351
|
+
* Protocol of the liquidity pool.
|
|
3352
|
+
*/
|
|
3353
|
+
protocol?: string;
|
|
3354
|
+
}
|
|
3355
|
+
|
|
3356
|
+
export namespace Liquidity {
|
|
3357
|
+
export interface Pool {
|
|
3358
|
+
/**
|
|
3359
|
+
* Unique identifier of the liquidity pool.
|
|
3360
|
+
*/
|
|
3361
|
+
id?: string;
|
|
3362
|
+
}
|
|
3363
|
+
}
|
|
3364
|
+
|
|
2969
3365
|
export interface Range {
|
|
2970
3366
|
/**
|
|
2971
3367
|
* Reward amount for this range.
|
|
@@ -207,11 +207,18 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
207
207
|
| 'twitter_post_hashtag'
|
|
208
208
|
| 'quiz'
|
|
209
209
|
| 'poll'
|
|
210
|
-
| 'steam_wishlist'
|
|
210
|
+
| 'steam_wishlist'
|
|
211
|
+
| 'liquidity_uniswap_v2'
|
|
212
|
+
| 'liquidity_uniswap_v3';
|
|
211
213
|
}
|
|
212
214
|
|
|
213
215
|
export namespace LoyaltyRule {
|
|
214
216
|
export interface Metadata {
|
|
217
|
+
/**
|
|
218
|
+
* Number of tokens per batch.
|
|
219
|
+
*/
|
|
220
|
+
batchSize?: number | null;
|
|
221
|
+
|
|
215
222
|
/**
|
|
216
223
|
* Text displayed on the action button.
|
|
217
224
|
*/
|
|
@@ -352,6 +359,11 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
352
359
|
*/
|
|
353
360
|
link?: string | null;
|
|
354
361
|
|
|
362
|
+
/**
|
|
363
|
+
* Liquidity pool details.
|
|
364
|
+
*/
|
|
365
|
+
liquidity?: Metadata.Liquidity;
|
|
366
|
+
|
|
355
367
|
/**
|
|
356
368
|
* Maximum quantity constraint for token holding.
|
|
357
369
|
*/
|
|
@@ -417,6 +429,11 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
417
429
|
*/
|
|
418
430
|
referrerReward?: number | null;
|
|
419
431
|
|
|
432
|
+
/**
|
|
433
|
+
* Flag indicating if the reward is rewarded by batch.
|
|
434
|
+
*/
|
|
435
|
+
rewardByBatch?: boolean | null;
|
|
436
|
+
|
|
420
437
|
/**
|
|
421
438
|
* Flag indicating if rewards are given per impression.
|
|
422
439
|
*/
|
|
@@ -677,6 +694,90 @@ export namespace RuleGroupGetRuleGroupsResponse {
|
|
|
677
694
|
id: string;
|
|
678
695
|
}
|
|
679
696
|
|
|
697
|
+
/**
|
|
698
|
+
* Liquidity pool details.
|
|
699
|
+
*/
|
|
700
|
+
export interface Liquidity {
|
|
701
|
+
/**
|
|
702
|
+
* Calculation type of the liquidity pool.
|
|
703
|
+
*/
|
|
704
|
+
calculationType?: 'fixed' | 'custom';
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* Blockchain network of the liquidity pool.
|
|
708
|
+
*/
|
|
709
|
+
chain?:
|
|
710
|
+
| 'abstract'
|
|
711
|
+
| 'abstractTestnet'
|
|
712
|
+
| 'apechain'
|
|
713
|
+
| 'arbitrum'
|
|
714
|
+
| 'avalanche'
|
|
715
|
+
| 'avalancheFuji'
|
|
716
|
+
| 'base'
|
|
717
|
+
| 'baseSepolia'
|
|
718
|
+
| 'berachainArtio'
|
|
719
|
+
| 'binance'
|
|
720
|
+
| 'bscTestnet'
|
|
721
|
+
| 'campTestnet'
|
|
722
|
+
| 'fantom'
|
|
723
|
+
| 'fantomTestnet'
|
|
724
|
+
| 'flowMainnet'
|
|
725
|
+
| 'mainnet'
|
|
726
|
+
| 'optimism'
|
|
727
|
+
| 'polygon'
|
|
728
|
+
| 'polygon_mumbai'
|
|
729
|
+
| 'skaleNebula'
|
|
730
|
+
| 'solana'
|
|
731
|
+
| 'sophon'
|
|
732
|
+
| 'sui'
|
|
733
|
+
| 'superseed'
|
|
734
|
+
| 'superseedSepolia'
|
|
735
|
+
| 'vanar'
|
|
736
|
+
| 'xai'
|
|
737
|
+
| 'zksync'
|
|
738
|
+
| 'sepolia'
|
|
739
|
+
| 'optimism_sepolia'
|
|
740
|
+
| 'arbitrumSepolia'
|
|
741
|
+
| 'goerli'
|
|
742
|
+
| 'optimism_goerli'
|
|
743
|
+
| 'arbitrumGoerli'
|
|
744
|
+
| 'basecamp';
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* Custom function to calculate the liquidity provided per hour
|
|
748
|
+
*/
|
|
749
|
+
customFunction?: string;
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* Liquidity provided per hour
|
|
753
|
+
*/
|
|
754
|
+
liquidityPerHour?: number;
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* Indicates if only in-range liquidity is rewarded.
|
|
758
|
+
*/
|
|
759
|
+
onlyRewardInRangeLiquidity?: boolean;
|
|
760
|
+
|
|
761
|
+
/**
|
|
762
|
+
* Array of liquidity pools associated with the rule.
|
|
763
|
+
*/
|
|
764
|
+
pools?: Array<Liquidity.Pool>;
|
|
765
|
+
|
|
766
|
+
/**
|
|
767
|
+
* Protocol of the liquidity pool.
|
|
768
|
+
*/
|
|
769
|
+
protocol?: string;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
export namespace Liquidity {
|
|
773
|
+
export interface Pool {
|
|
774
|
+
/**
|
|
775
|
+
* Unique identifier of the liquidity pool.
|
|
776
|
+
*/
|
|
777
|
+
id?: string;
|
|
778
|
+
}
|
|
779
|
+
}
|
|
780
|
+
|
|
680
781
|
export interface Range {
|
|
681
782
|
/**
|
|
682
783
|
* Reward amount for this range.
|