@merkl/api 1.8.20 → 1.8.22
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 +15 -0
- package/dist/src/engine/deprecated/dynamicData/implementations/Erc20.d.ts +6 -6
- package/dist/src/index.d.ts +15 -0
- package/dist/src/jobs/rewards.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +4 -0
- package/dist/src/modules/v4/campaign/campaign.formatter.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +1 -0
- package/dist/src/modules/v4/campaign/campaign.model.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +11 -0
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +5 -1
- package/dist/src/modules/v4/campaign/campaign.service.js.map +1 -1
- package/dist/src/modules/v4/campaign/campaign.test.controller.d.ts +4 -0
- package/dist/src/modules/v4/campaignStatus/campaignStatus.repository.d.ts +1 -0
- package/dist/src/modules/v4/config/config.controller.d.ts +1 -0
- package/dist/src/modules/v4/config/config.controller.js.map +1 -1
- package/dist/src/modules/v4/config/config.repository.d.ts +3 -2
- package/dist/src/modules/v4/config/config.repository.js.map +1 -1
- package/dist/src/modules/v4/config/config.service.d.ts +4 -2
- package/dist/src/modules/v4/config/config.service.js.map +1 -1
- package/dist/src/modules/v4/creator/creator.controller.d.ts +1 -0
- package/dist/src/modules/v4/creator/creator.service.d.ts +1 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +2 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +1 -0
- package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +16 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +6 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +4 -0
- package/dist/src/modules/v4/payload/payload.controller.d.ts +3 -0
- package/dist/src/modules/v4/payload/payload.service.d.ts +4 -0
- package/dist/src/modules/v4/reward/reward.repository.d.ts +3 -0
- package/dist/src/modules/v4/reward/reward.service.d.ts +5 -0
- package/dist/src/modules/v4/router.d.ts +15 -0
- package/dist/src/utils/getAPR.d.ts +917 -917
- package/dist/src/utils/parseDistributionType.d.ts +310 -310
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -417,6 +417,7 @@ export declare abstract class RewardService {
|
|
|
417
417
|
rootCampaignId: string | null;
|
|
418
418
|
parentCampaignId: string | null;
|
|
419
419
|
isPrivate: boolean;
|
|
420
|
+
campaignEncodingHash: string | null;
|
|
420
421
|
};
|
|
421
422
|
SubCampaign: ({
|
|
422
423
|
CampaignStatus: {
|
|
@@ -532,6 +533,7 @@ export declare abstract class RewardService {
|
|
|
532
533
|
rootCampaignId: string | null;
|
|
533
534
|
parentCampaignId: string | null;
|
|
534
535
|
isPrivate: boolean;
|
|
536
|
+
campaignEncodingHash: string | null;
|
|
535
537
|
}) | null;
|
|
536
538
|
} & {
|
|
537
539
|
id: string;
|
|
@@ -1445,6 +1447,7 @@ export declare abstract class RewardService {
|
|
|
1445
1447
|
rootCampaignId: string | null;
|
|
1446
1448
|
parentCampaignId: string | null;
|
|
1447
1449
|
isPrivate: boolean;
|
|
1450
|
+
campaignEncodingHash: string | null;
|
|
1448
1451
|
};
|
|
1449
1452
|
SubCampaign: ({
|
|
1450
1453
|
CampaignStatus: {
|
|
@@ -1560,6 +1563,7 @@ export declare abstract class RewardService {
|
|
|
1560
1563
|
rootCampaignId: string | null;
|
|
1561
1564
|
parentCampaignId: string | null;
|
|
1562
1565
|
isPrivate: boolean;
|
|
1566
|
+
campaignEncodingHash: string | null;
|
|
1563
1567
|
}) | null;
|
|
1564
1568
|
} & {
|
|
1565
1569
|
id: string;
|
|
@@ -1835,6 +1839,7 @@ export declare abstract class RewardService {
|
|
|
1835
1839
|
rootCampaignId: string | null;
|
|
1836
1840
|
parentCampaignId: string | null;
|
|
1837
1841
|
isPrivate: boolean;
|
|
1842
|
+
campaignEncodingHash: string | null;
|
|
1838
1843
|
};
|
|
1839
1844
|
} & {
|
|
1840
1845
|
id: string;
|
|
@@ -915,6 +915,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
915
915
|
pauseCompute?: string | undefined;
|
|
916
916
|
hasOverrides?: boolean | undefined;
|
|
917
917
|
isPrivate: boolean;
|
|
918
|
+
campaignEncodingHash?: string | undefined;
|
|
918
919
|
} | {
|
|
919
920
|
Opportunity: {
|
|
920
921
|
id: string;
|
|
@@ -939,6 +940,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
939
940
|
};
|
|
940
941
|
amount: string;
|
|
941
942
|
apr?: number | undefined;
|
|
943
|
+
campaignEncodingHash?: string | undefined;
|
|
942
944
|
campaignId: string;
|
|
943
945
|
campaignStatus: {
|
|
944
946
|
computedUntil: string | number;
|
|
@@ -1964,6 +1966,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
1964
1966
|
pauseCompute?: string | undefined;
|
|
1965
1967
|
hasOverrides?: boolean | undefined;
|
|
1966
1968
|
isPrivate: boolean;
|
|
1969
|
+
campaignEncodingHash?: string | undefined;
|
|
1967
1970
|
} | {
|
|
1968
1971
|
Opportunity: {
|
|
1969
1972
|
id: string;
|
|
@@ -1988,6 +1991,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
1988
1991
|
};
|
|
1989
1992
|
amount: string;
|
|
1990
1993
|
apr?: number | undefined;
|
|
1994
|
+
campaignEncodingHash?: string | undefined;
|
|
1991
1995
|
campaignId: string;
|
|
1992
1996
|
campaignStatus: {
|
|
1993
1997
|
computedUntil: string | number;
|
|
@@ -3264,6 +3268,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
3264
3268
|
rootCampaignId: string | null;
|
|
3265
3269
|
parentCampaignId: string | null;
|
|
3266
3270
|
isPrivate: boolean;
|
|
3271
|
+
campaignEncodingHash: string | null;
|
|
3267
3272
|
}[];
|
|
3268
3273
|
Chain: {
|
|
3269
3274
|
id: number;
|
|
@@ -4101,6 +4106,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
4101
4106
|
rootCampaignId: string | null;
|
|
4102
4107
|
parentCampaignId: string | null;
|
|
4103
4108
|
isPrivate: boolean;
|
|
4109
|
+
campaignEncodingHash: string | null;
|
|
4104
4110
|
}[];
|
|
4105
4111
|
Chain: {
|
|
4106
4112
|
id: number;
|
|
@@ -4355,6 +4361,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
4355
4361
|
rootCampaignId: string | null;
|
|
4356
4362
|
parentCampaignId: string | null;
|
|
4357
4363
|
isPrivate: boolean;
|
|
4364
|
+
campaignEncodingHash: string | null;
|
|
4358
4365
|
}[];
|
|
4359
4366
|
Chain: {
|
|
4360
4367
|
id: number;
|
|
@@ -4608,6 +4615,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
4608
4615
|
rootCampaignId: string | null;
|
|
4609
4616
|
parentCampaignId: string | null;
|
|
4610
4617
|
isPrivate: boolean;
|
|
4618
|
+
campaignEncodingHash: string | null;
|
|
4611
4619
|
}[];
|
|
4612
4620
|
Chain: {
|
|
4613
4621
|
id: number;
|
|
@@ -7817,6 +7825,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
7817
7825
|
rootCampaignId: string | null;
|
|
7818
7826
|
parentCampaignId: string | null;
|
|
7819
7827
|
isPrivate: boolean;
|
|
7828
|
+
campaignEncodingHash: string | null;
|
|
7820
7829
|
}[];
|
|
7821
7830
|
Chain: {
|
|
7822
7831
|
id: number;
|
|
@@ -8978,6 +8987,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
8978
8987
|
rootCampaignId: string | null;
|
|
8979
8988
|
parentCampaignId: string | null;
|
|
8980
8989
|
isPrivate: boolean;
|
|
8990
|
+
campaignEncodingHash: string | null;
|
|
8981
8991
|
})[];
|
|
8982
8992
|
422: {
|
|
8983
8993
|
type: "validation";
|
|
@@ -11731,6 +11741,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
11731
11741
|
rootCampaignId: string | null;
|
|
11732
11742
|
parentCampaignId: string | null;
|
|
11733
11743
|
isPrivate: boolean;
|
|
11744
|
+
campaignEncodingHash: string | null;
|
|
11734
11745
|
}[];
|
|
11735
11746
|
Chain: {
|
|
11736
11747
|
id: number;
|
|
@@ -12193,6 +12204,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
12193
12204
|
rootCampaignId: string | null;
|
|
12194
12205
|
parentCampaignId: string | null;
|
|
12195
12206
|
isPrivate: boolean;
|
|
12207
|
+
campaignEncodingHash: string | null;
|
|
12196
12208
|
}[];
|
|
12197
12209
|
Chain: {
|
|
12198
12210
|
id: number;
|
|
@@ -12759,6 +12771,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
12759
12771
|
rootCampaignId: string | null;
|
|
12760
12772
|
parentCampaignId: string | null;
|
|
12761
12773
|
isPrivate: boolean;
|
|
12774
|
+
campaignEncodingHash: string | null;
|
|
12762
12775
|
}[];
|
|
12763
12776
|
Chain: {
|
|
12764
12777
|
id: number;
|
|
@@ -13031,6 +13044,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
13031
13044
|
rootCampaignId: string | null;
|
|
13032
13045
|
parentCampaignId: string | null;
|
|
13033
13046
|
isPrivate: boolean;
|
|
13047
|
+
campaignEncodingHash: string | null;
|
|
13034
13048
|
}[];
|
|
13035
13049
|
Chain: {
|
|
13036
13050
|
id: number;
|
|
@@ -13304,6 +13318,7 @@ export declare const v4: Elysia<"/v4", {
|
|
|
13304
13318
|
rootCampaignId: string | null;
|
|
13305
13319
|
parentCampaignId: string | null;
|
|
13306
13320
|
isPrivate: boolean;
|
|
13321
|
+
campaignEncodingHash: string | null;
|
|
13307
13322
|
}[];
|
|
13308
13323
|
Chain: {
|
|
13309
13324
|
id: number;
|