@merkl/api 1.0.44 → 1.0.46
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/src/eden/index.d.ts +116 -116
- package/dist/src/index.d.ts +58 -58
- package/dist/src/modules/v4/accounting/accounting.controller.d.ts +2 -2
- package/dist/src/modules/v4/accounting/accounting.model.d.ts +2 -2
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +10 -10
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +2 -2
- package/dist/src/modules/v4/creator/creator.controller.d.ts +2 -2
- package/dist/src/modules/v4/creator/creator.model.d.ts +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +16 -16
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +0 -167
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +4 -4
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +2 -2
- package/dist/src/modules/v4/reward/reward.controller.d.ts +18 -18
- package/dist/src/modules/v4/reward/reward.model.d.ts +6 -6
- package/dist/src/modules/v4/router.d.ts +58 -58
- package/dist/src/modules/v4/token/token.controller.d.ts +4 -4
- package/dist/src/modules/v4/token/token.model.d.ts +2 -2
- package/dist/src/modules/v4/user/user.controller.d.ts +2 -2
- package/dist/src/modules/v4/user/user.model.d.ts +2 -2
- package/dist/src/utils/pagination.d.ts +4 -4
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -54,8 +54,8 @@ export declare const CreatorController: Elysia<"/creators", {
|
|
54
54
|
query: {
|
55
55
|
address?: string | undefined;
|
56
56
|
id?: string | undefined;
|
57
|
-
items
|
58
|
-
page
|
57
|
+
items?: number | undefined;
|
58
|
+
page?: number | undefined;
|
59
59
|
};
|
60
60
|
headers: unknown;
|
61
61
|
response: {
|
@@ -19,8 +19,8 @@ export declare const CreateCreatorDto: import("@sinclair/typebox").TObject<{
|
|
19
19
|
name: import("@sinclair/typebox").TString;
|
20
20
|
}>;
|
21
21
|
export declare const GetManyCreatorQuery: import("@sinclair/typebox").TObject<{
|
22
|
-
page: import("@sinclair/typebox").TNumber
|
23
|
-
items: import("@sinclair/typebox").TNumber
|
22
|
+
page: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
23
|
+
items: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
24
24
|
id: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
25
25
|
address: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
26
26
|
}>;
|
@@ -26,6 +26,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
26
26
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
27
27
|
chainId?: number | undefined;
|
28
28
|
startTimestamp?: string | undefined;
|
29
|
+
items?: number | undefined;
|
29
30
|
point?: boolean | undefined;
|
30
31
|
tokenSymbol?: string | undefined;
|
31
32
|
type?: string | undefined;
|
@@ -39,14 +40,13 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
39
40
|
creatorId?: string | undefined;
|
40
41
|
mainParameter?: string | undefined;
|
41
42
|
test?: boolean | undefined;
|
43
|
+
page?: number | undefined;
|
42
44
|
creatorTag?: string | undefined;
|
43
45
|
distributionChainIds?: number[] | undefined;
|
44
46
|
types?: string[] | undefined;
|
45
47
|
withOpportunity?: boolean | undefined;
|
46
48
|
createdAfter?: Date | null | undefined;
|
47
49
|
excludeSubCampaigns?: boolean | undefined;
|
48
|
-
items: number;
|
49
|
-
page: number;
|
50
50
|
};
|
51
51
|
headers: unknown;
|
52
52
|
response: {
|
@@ -596,6 +596,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
596
596
|
status?: string | undefined;
|
597
597
|
chainId?: string | undefined;
|
598
598
|
campaigns?: boolean | undefined;
|
599
|
+
items?: number | undefined;
|
599
600
|
point?: boolean | undefined;
|
600
601
|
order?: string | undefined;
|
601
602
|
action?: string | undefined;
|
@@ -606,14 +607,13 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
606
607
|
identifier?: string | undefined;
|
607
608
|
tags?: string | undefined;
|
608
609
|
test?: boolean | undefined;
|
610
|
+
page?: number | undefined;
|
609
611
|
excludeSubCampaigns?: boolean | undefined;
|
610
612
|
minimumTvl?: number | undefined;
|
611
613
|
maximumTvl?: number | undefined;
|
612
614
|
minimumApr?: number | undefined;
|
613
615
|
maximumApr?: number | undefined;
|
614
616
|
rewardTokenSymbol?: string | undefined;
|
615
|
-
items: number;
|
616
|
-
page: number;
|
617
617
|
};
|
618
618
|
headers: unknown;
|
619
619
|
response: {
|
@@ -742,6 +742,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
742
742
|
status?: string | undefined;
|
743
743
|
chainId?: string | undefined;
|
744
744
|
campaigns?: boolean | undefined;
|
745
|
+
items?: number | undefined;
|
745
746
|
point?: boolean | undefined;
|
746
747
|
order?: string | undefined;
|
747
748
|
action?: string | undefined;
|
@@ -752,14 +753,13 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
752
753
|
identifier?: string | undefined;
|
753
754
|
tags?: string | undefined;
|
754
755
|
test?: boolean | undefined;
|
756
|
+
page?: number | undefined;
|
755
757
|
excludeSubCampaigns?: boolean | undefined;
|
756
758
|
minimumTvl?: number | undefined;
|
757
759
|
maximumTvl?: number | undefined;
|
758
760
|
minimumApr?: number | undefined;
|
759
761
|
maximumApr?: number | undefined;
|
760
762
|
rewardTokenSymbol?: string | undefined;
|
761
|
-
items: number;
|
762
|
-
page: number;
|
763
763
|
};
|
764
764
|
headers: unknown;
|
765
765
|
response: {
|
@@ -792,6 +792,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
792
792
|
status?: string | undefined;
|
793
793
|
chainId?: string | undefined;
|
794
794
|
campaigns?: boolean | undefined;
|
795
|
+
items?: number | undefined;
|
795
796
|
point?: boolean | undefined;
|
796
797
|
order?: string | undefined;
|
797
798
|
action?: string | undefined;
|
@@ -802,14 +803,13 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
802
803
|
identifier?: string | undefined;
|
803
804
|
tags?: string | undefined;
|
804
805
|
test?: boolean | undefined;
|
806
|
+
page?: number | undefined;
|
805
807
|
excludeSubCampaigns?: boolean | undefined;
|
806
808
|
minimumTvl?: number | undefined;
|
807
809
|
maximumTvl?: number | undefined;
|
808
810
|
minimumApr?: number | undefined;
|
809
811
|
maximumApr?: number | undefined;
|
810
812
|
rewardTokenSymbol?: string | undefined;
|
811
|
-
items: number;
|
812
|
-
page: number;
|
813
813
|
};
|
814
814
|
headers: unknown;
|
815
815
|
response: {
|
@@ -849,6 +849,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
849
849
|
status?: string | undefined;
|
850
850
|
chainId?: string | undefined;
|
851
851
|
campaigns?: boolean | undefined;
|
852
|
+
items?: number | undefined;
|
852
853
|
point?: boolean | undefined;
|
853
854
|
order?: string | undefined;
|
854
855
|
action?: string | undefined;
|
@@ -859,14 +860,13 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
859
860
|
identifier?: string | undefined;
|
860
861
|
tags?: string | undefined;
|
861
862
|
test?: boolean | undefined;
|
863
|
+
page?: number | undefined;
|
862
864
|
excludeSubCampaigns?: boolean | undefined;
|
863
865
|
minimumTvl?: number | undefined;
|
864
866
|
maximumTvl?: number | undefined;
|
865
867
|
minimumApr?: number | undefined;
|
866
868
|
maximumApr?: number | undefined;
|
867
869
|
rewardTokenSymbol?: string | undefined;
|
868
|
-
items: number;
|
869
|
-
page: number;
|
870
870
|
};
|
871
871
|
headers: unknown;
|
872
872
|
response: {
|
@@ -907,6 +907,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
907
907
|
status?: string | undefined;
|
908
908
|
chainId?: string | undefined;
|
909
909
|
campaigns?: boolean | undefined;
|
910
|
+
items?: number | undefined;
|
910
911
|
point?: boolean | undefined;
|
911
912
|
order?: string | undefined;
|
912
913
|
action?: string | undefined;
|
@@ -917,14 +918,13 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
917
918
|
identifier?: string | undefined;
|
918
919
|
tags?: string | undefined;
|
919
920
|
test?: boolean | undefined;
|
921
|
+
page?: number | undefined;
|
920
922
|
excludeSubCampaigns?: boolean | undefined;
|
921
923
|
minimumTvl?: number | undefined;
|
922
924
|
maximumTvl?: number | undefined;
|
923
925
|
minimumApr?: number | undefined;
|
924
926
|
maximumApr?: number | undefined;
|
925
927
|
rewardTokenSymbol?: string | undefined;
|
926
|
-
items: number;
|
927
|
-
page: number;
|
928
928
|
};
|
929
929
|
headers: unknown;
|
930
930
|
response: {
|
@@ -963,6 +963,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
963
963
|
status?: string | undefined;
|
964
964
|
chainId?: string | undefined;
|
965
965
|
campaigns?: boolean | undefined;
|
966
|
+
items?: number | undefined;
|
966
967
|
point?: boolean | undefined;
|
967
968
|
order?: string | undefined;
|
968
969
|
action?: string | undefined;
|
@@ -973,14 +974,13 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
973
974
|
identifier?: string | undefined;
|
974
975
|
tags?: string | undefined;
|
975
976
|
test?: boolean | undefined;
|
977
|
+
page?: number | undefined;
|
976
978
|
excludeSubCampaigns?: boolean | undefined;
|
977
979
|
minimumTvl?: number | undefined;
|
978
980
|
maximumTvl?: number | undefined;
|
979
981
|
minimumApr?: number | undefined;
|
980
982
|
maximumApr?: number | undefined;
|
981
983
|
rewardTokenSymbol?: string | undefined;
|
982
|
-
items: number;
|
983
|
-
page: number;
|
984
984
|
};
|
985
985
|
headers: unknown;
|
986
986
|
response: {
|
@@ -1020,6 +1020,7 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
1020
1020
|
status?: string | undefined;
|
1021
1021
|
chainId?: string | undefined;
|
1022
1022
|
campaigns?: boolean | undefined;
|
1023
|
+
items?: number | undefined;
|
1023
1024
|
point?: boolean | undefined;
|
1024
1025
|
order?: string | undefined;
|
1025
1026
|
action?: string | undefined;
|
@@ -1030,14 +1031,13 @@ export declare const OpportunityController: Elysia<"/opportunities", {
|
|
1030
1031
|
identifier?: string | undefined;
|
1031
1032
|
tags?: string | undefined;
|
1032
1033
|
test?: boolean | undefined;
|
1034
|
+
page?: number | undefined;
|
1033
1035
|
excludeSubCampaigns?: boolean | undefined;
|
1034
1036
|
minimumTvl?: number | undefined;
|
1035
1037
|
maximumTvl?: number | undefined;
|
1036
1038
|
minimumApr?: number | undefined;
|
1037
1039
|
maximumApr?: number | undefined;
|
1038
1040
|
rewardTokenSymbol?: string | undefined;
|
1039
|
-
items: number;
|
1040
|
-
page: number;
|
1041
1041
|
};
|
1042
1042
|
headers: unknown;
|
1043
1043
|
response: {
|
@@ -399,8 +399,8 @@ export declare const GetOpportunitiesQueryDto: import("@sinclair/typebox").TObje
|
|
399
399
|
order: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRegExp>;
|
400
400
|
mainProtocolId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
401
401
|
excludeSubCampaigns: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
402
|
-
page: import("@sinclair/typebox").TNumber
|
403
|
-
items: import("@sinclair/typebox").TNumber
|
402
|
+
page: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
403
|
+
items: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
404
404
|
}>;
|
405
405
|
export declare const FindOpportunityDto: import("@sinclair/typebox").TObject<{
|
406
406
|
test: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
|
@@ -503,173 +503,6 @@ export declare abstract class OpportunityService {
|
|
503
503
|
icon: string;
|
504
504
|
};
|
505
505
|
}[]>;
|
506
|
-
static getUniqueWithCampaignsOrThrow(opportunityId: string | OpportunityUnique, query: FindOpportunityModel): Promise<{
|
507
|
-
protocol?: {
|
508
|
-
dailyRewards?: number | undefined;
|
509
|
-
numberOfLiveCampaigns?: number | undefined;
|
510
|
-
opportunityLiveTags?: string[] | undefined;
|
511
|
-
name: string;
|
512
|
-
description: string;
|
513
|
-
id: string;
|
514
|
-
url: string;
|
515
|
-
icon: string;
|
516
|
-
tags: string[];
|
517
|
-
} | null | undefined;
|
518
|
-
depositUrl?: string | undefined;
|
519
|
-
explorerAddress?: string | undefined;
|
520
|
-
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
521
|
-
aprRecord?: {
|
522
|
-
timestamp: string | bigint;
|
523
|
-
cumulated: number;
|
524
|
-
breakdowns: {
|
525
|
-
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
526
|
-
value: number;
|
527
|
-
type: "CAMPAIGN" | "TOKEN" | "PROTOCOL";
|
528
|
-
identifier: string;
|
529
|
-
}[];
|
530
|
-
} | undefined;
|
531
|
-
tvlRecord?: {
|
532
|
-
timestamp: string | bigint;
|
533
|
-
total: number;
|
534
|
-
breakdowns: {
|
535
|
-
value: number;
|
536
|
-
type: "TOKEN" | "PROTOCOL";
|
537
|
-
identifier: string;
|
538
|
-
}[];
|
539
|
-
} | undefined;
|
540
|
-
rewardsRecord?: {
|
541
|
-
timestamp: string | bigint;
|
542
|
-
total: number;
|
543
|
-
breakdowns: {
|
544
|
-
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
545
|
-
token: {
|
546
|
-
price?: number | null | undefined;
|
547
|
-
symbol: string;
|
548
|
-
name: string | null;
|
549
|
-
decimals: number;
|
550
|
-
address: string;
|
551
|
-
id: string;
|
552
|
-
chainId: number;
|
553
|
-
icon: string;
|
554
|
-
isNative: boolean;
|
555
|
-
isPoint: boolean;
|
556
|
-
isPreTGE: boolean;
|
557
|
-
isTest: boolean;
|
558
|
-
verified: boolean;
|
559
|
-
};
|
560
|
-
campaignId: string;
|
561
|
-
value: number;
|
562
|
-
amount: string | bigint;
|
563
|
-
}[];
|
564
|
-
} | undefined;
|
565
|
-
name: string;
|
566
|
-
apr: number;
|
567
|
-
tokens: {
|
568
|
-
price?: number | null | undefined;
|
569
|
-
symbol: string;
|
570
|
-
name: string | null;
|
571
|
-
decimals: number;
|
572
|
-
address: string;
|
573
|
-
id: string;
|
574
|
-
chainId: number;
|
575
|
-
icon: string;
|
576
|
-
isNative: boolean;
|
577
|
-
isPoint: boolean;
|
578
|
-
isPreTGE: boolean;
|
579
|
-
isTest: boolean;
|
580
|
-
verified: boolean;
|
581
|
-
}[];
|
582
|
-
tvl: number;
|
583
|
-
description: string;
|
584
|
-
id: string;
|
585
|
-
status: string;
|
586
|
-
chainId: number;
|
587
|
-
campaigns: {
|
588
|
-
description?: string | undefined;
|
589
|
-
creator?: {
|
590
|
-
tags?: string[] | undefined;
|
591
|
-
creatorId?: string | null | undefined;
|
592
|
-
address: string;
|
593
|
-
} | undefined;
|
594
|
-
distributionType?: "DUTCH_AUCTION" | "FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
|
595
|
-
rootCampaignId?: string | undefined;
|
596
|
-
parentCampaignId?: string | undefined;
|
597
|
-
campaignStatus?: {
|
598
|
-
error?: string | undefined;
|
599
|
-
details?: any;
|
600
|
-
campaignId: string;
|
601
|
-
status: string;
|
602
|
-
computedUntil: string | number;
|
603
|
-
processingStarted: string | number;
|
604
|
-
} | undefined;
|
605
|
-
distributionChain?: {
|
606
|
-
explorers?: {
|
607
|
-
chainId: number;
|
608
|
-
type: "ETHERSCAN" | "BLOCKSCOUT";
|
609
|
-
url: string;
|
610
|
-
}[] | undefined;
|
611
|
-
name: string;
|
612
|
-
id: number;
|
613
|
-
icon: string;
|
614
|
-
} | undefined;
|
615
|
-
rewardToken: {
|
616
|
-
price?: number | null | undefined;
|
617
|
-
symbol: string;
|
618
|
-
name: string | null;
|
619
|
-
decimals: number;
|
620
|
-
address: string;
|
621
|
-
id: string;
|
622
|
-
chainId: number;
|
623
|
-
icon: string;
|
624
|
-
isNative: boolean;
|
625
|
-
isPoint: boolean;
|
626
|
-
isPreTGE: boolean;
|
627
|
-
isTest: boolean;
|
628
|
-
verified: boolean;
|
629
|
-
};
|
630
|
-
campaignId: string;
|
631
|
-
id: string;
|
632
|
-
params: any;
|
633
|
-
amount: string;
|
634
|
-
startTimestamp: string | number;
|
635
|
-
type: string;
|
636
|
-
computeChainId: number;
|
637
|
-
distributionChainId: number;
|
638
|
-
endTimestamp: string | number;
|
639
|
-
opportunityId: string;
|
640
|
-
creatorAddress: string;
|
641
|
-
subType: number | null;
|
642
|
-
rewardTokenId: string;
|
643
|
-
createdAt: string;
|
644
|
-
chain: {
|
645
|
-
explorers?: {
|
646
|
-
chainId: number;
|
647
|
-
type: "ETHERSCAN" | "BLOCKSCOUT";
|
648
|
-
url: string;
|
649
|
-
}[] | undefined;
|
650
|
-
name: string;
|
651
|
-
id: number;
|
652
|
-
icon: string;
|
653
|
-
};
|
654
|
-
}[];
|
655
|
-
action: string;
|
656
|
-
type: string;
|
657
|
-
howToSteps: string[];
|
658
|
-
identifier: string;
|
659
|
-
dailyRewards: number;
|
660
|
-
tags: string[];
|
661
|
-
lastCampaignCreatedAt: string;
|
662
|
-
chain: {
|
663
|
-
explorers?: {
|
664
|
-
chainId: number;
|
665
|
-
type: "ETHERSCAN" | "BLOCKSCOUT";
|
666
|
-
url: string;
|
667
|
-
}[] | undefined;
|
668
|
-
name: string;
|
669
|
-
id: number;
|
670
|
-
icon: string;
|
671
|
-
};
|
672
|
-
}>;
|
673
506
|
static findUniqueOrThrow(opportunityId: string | OpportunityUnique, query: FindOpportunityModel): Promise<OpportunityResourceModel>;
|
674
507
|
/**
|
675
508
|
* Get the list of opportunities satisfying the query
|
@@ -22,11 +22,11 @@ export declare const ProtocolController: Elysia<"/protocols", {
|
|
22
22
|
name?: string | undefined;
|
23
23
|
ids?: string[] | undefined;
|
24
24
|
id?: string | undefined;
|
25
|
+
items?: number | undefined;
|
25
26
|
tags?: string[] | undefined;
|
26
27
|
test?: boolean | undefined;
|
28
|
+
page?: number | undefined;
|
27
29
|
opportunityTag?: string | undefined;
|
28
|
-
items: number;
|
29
|
-
page: number;
|
30
30
|
};
|
31
31
|
headers: unknown;
|
32
32
|
response: {
|
@@ -61,11 +61,11 @@ export declare const ProtocolController: Elysia<"/protocols", {
|
|
61
61
|
name?: string | undefined;
|
62
62
|
ids?: string[] | undefined;
|
63
63
|
id?: string | undefined;
|
64
|
+
items?: number | undefined;
|
64
65
|
tags?: string[] | undefined;
|
65
66
|
test?: boolean | undefined;
|
67
|
+
page?: number | undefined;
|
66
68
|
opportunityTag?: string | undefined;
|
67
|
-
items: number;
|
68
|
-
page: number;
|
69
69
|
};
|
70
70
|
headers: unknown;
|
71
71
|
response: {
|
@@ -29,8 +29,8 @@ export declare const GetProtocolsQueryDto: import("@sinclair/typebox").TObject<{
|
|
29
29
|
name: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
30
30
|
tags: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
31
31
|
opportunityTag: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
32
|
-
page: import("@sinclair/typebox").TNumber
|
33
|
-
items: import("@sinclair/typebox").TNumber
|
32
|
+
page: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
33
|
+
items: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
34
34
|
}>;
|
35
35
|
export declare const GetProtocolParamsDto: import("@sinclair/typebox").TObject<{
|
36
36
|
id: import("@sinclair/typebox").TString;
|
@@ -19,10 +19,10 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
19
19
|
body: unknown;
|
20
20
|
params: {};
|
21
21
|
query: {
|
22
|
+
items?: number | undefined;
|
23
|
+
page?: number | undefined;
|
22
24
|
campaignId: string;
|
23
25
|
chainId: number;
|
24
|
-
items: number;
|
25
|
-
page: number;
|
26
26
|
};
|
27
27
|
headers: unknown;
|
28
28
|
response: {
|
@@ -44,10 +44,10 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
44
44
|
body: unknown;
|
45
45
|
params: {};
|
46
46
|
query: {
|
47
|
+
items?: number | undefined;
|
48
|
+
page?: number | undefined;
|
47
49
|
campaignId: string;
|
48
50
|
chainId: number;
|
49
|
-
items: number;
|
50
|
-
page: number;
|
51
51
|
};
|
52
52
|
headers: unknown;
|
53
53
|
response: {
|
@@ -73,10 +73,10 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
73
73
|
body: unknown;
|
74
74
|
params: {};
|
75
75
|
query: {
|
76
|
+
items?: number | undefined;
|
77
|
+
page?: number | undefined;
|
76
78
|
campaignId: string;
|
77
79
|
chainId: number;
|
78
|
-
items: number;
|
79
|
-
page: number;
|
80
80
|
};
|
81
81
|
headers: unknown;
|
82
82
|
response: {
|
@@ -106,8 +106,8 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
106
106
|
campaignId: string;
|
107
107
|
};
|
108
108
|
query: {
|
109
|
-
items
|
110
|
-
page
|
109
|
+
items?: number | undefined;
|
110
|
+
page?: number | undefined;
|
111
111
|
};
|
112
112
|
headers: unknown;
|
113
113
|
response: {
|
@@ -142,8 +142,8 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
142
142
|
campaignId: string;
|
143
143
|
};
|
144
144
|
query: {
|
145
|
-
items
|
146
|
-
page
|
145
|
+
items?: number | undefined;
|
146
|
+
page?: number | undefined;
|
147
147
|
};
|
148
148
|
headers: unknown;
|
149
149
|
response: {
|
@@ -177,8 +177,8 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
177
177
|
campaignId: string;
|
178
178
|
};
|
179
179
|
query: {
|
180
|
-
items
|
181
|
-
page
|
180
|
+
items?: number | undefined;
|
181
|
+
page?: number | undefined;
|
182
182
|
};
|
183
183
|
headers: unknown;
|
184
184
|
response: {
|
@@ -206,11 +206,11 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
206
206
|
params: {};
|
207
207
|
query: {
|
208
208
|
recipient?: string | undefined;
|
209
|
+
items?: number | undefined;
|
210
|
+
page?: number | undefined;
|
209
211
|
campaignIds?: string[] | undefined;
|
210
212
|
address: string;
|
211
213
|
chainId: number;
|
212
|
-
items: number;
|
213
|
-
page: number;
|
214
214
|
};
|
215
215
|
headers: unknown;
|
216
216
|
response: {
|
@@ -240,11 +240,11 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
240
240
|
params: {};
|
241
241
|
query: {
|
242
242
|
recipient?: string | undefined;
|
243
|
+
items?: number | undefined;
|
244
|
+
page?: number | undefined;
|
243
245
|
campaignIds?: string[] | undefined;
|
244
246
|
address: string;
|
245
247
|
chainId: number;
|
246
|
-
items: number;
|
247
|
-
page: number;
|
248
248
|
};
|
249
249
|
headers: unknown;
|
250
250
|
response: {
|
@@ -273,11 +273,11 @@ export declare const RewardController: Elysia<"/rewards", {
|
|
273
273
|
params: {};
|
274
274
|
query: {
|
275
275
|
recipient?: string | undefined;
|
276
|
+
items?: number | undefined;
|
277
|
+
page?: number | undefined;
|
276
278
|
campaignIds?: string[] | undefined;
|
277
279
|
address: string;
|
278
280
|
chainId: number;
|
279
|
-
items: number;
|
280
|
-
page: number;
|
281
281
|
};
|
282
282
|
headers: unknown;
|
283
283
|
response: {
|
@@ -177,20 +177,20 @@ export declare const CampaignIdWithoutPageDto: import("@sinclair/typebox").TObje
|
|
177
177
|
export declare const CampaignIdDto: import("@sinclair/typebox").TObject<{
|
178
178
|
chainId: import("@sinclair/typebox").TNumber;
|
179
179
|
campaignId: import("@sinclair/typebox").TString;
|
180
|
-
page: import("@sinclair/typebox").TNumber
|
181
|
-
items: import("@sinclair/typebox").TNumber
|
180
|
+
page: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
181
|
+
items: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
182
182
|
}>;
|
183
183
|
export declare const TokenIdDto: import("@sinclair/typebox").TObject<{
|
184
184
|
chainId: import("@sinclair/typebox").TNumber;
|
185
185
|
address: import("@sinclair/typebox").TString;
|
186
186
|
recipient: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
187
187
|
campaignIds: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>>;
|
188
|
-
page: import("@sinclair/typebox").TNumber
|
189
|
-
items: import("@sinclair/typebox").TNumber
|
188
|
+
page: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
189
|
+
items: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
190
190
|
}>;
|
191
191
|
export declare const CampaignRewardsDto: import("@sinclair/typebox").TObject<{
|
192
|
-
page: import("@sinclair/typebox").TNumber
|
193
|
-
items: import("@sinclair/typebox").TNumber
|
192
|
+
page: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
193
|
+
items: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TNumber>;
|
194
194
|
}>;
|
195
195
|
export declare const UserRewardV3Dto: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TObject<{
|
196
196
|
symbol: import("@sinclair/typebox").TString;
|