@merkl/api 1.11.33 → 1.11.35
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 +46 -19
- package/dist/src/engine/deprecated/dynamicData/implementations/Erc20.d.ts +55 -0
- package/dist/src/engine/deprecated/erc20SubTypeProcessors/helpers/treasuryFinder.js.map +1 -1
- package/dist/src/engine/implementations/EventBased/metadata.d.ts +1 -1
- package/dist/src/index.d.ts +66 -24
- package/dist/src/jobs/pendings-etl/load-leaf.js.map +1 -1
- package/dist/src/jobs/pendings-etl/load.js.map +1 -1
- package/dist/src/jobs/pendings-etl/transform.js.map +1 -1
- package/dist/src/jobs/pendings-etl/types.d.ts +2 -0
- package/dist/src/jobs/reward-breakdowns-etl/index.js.map +1 -1
- package/dist/src/jobs/reward-breakdowns-etl/load-breakdowns.js.map +1 -1
- package/dist/src/jobs/rewards-etl/load-rewards.js.map +1 -1
- package/dist/src/modules/v4/creator/creator.controller.d.ts +66 -0
- package/dist/src/modules/v4/creator/creator.controller.js.map +1 -1
- package/dist/src/modules/v4/creator/creator.repository.d.ts +14 -0
- package/dist/src/modules/v4/creator/creator.repository.js.map +1 -1
- package/dist/src/modules/v4/creator/creator.service.d.ts +19 -0
- package/dist/src/modules/v4/creator/creator.service.js.map +1 -1
- package/dist/src/modules/v4/leaf/leaf.repository.d.ts +5 -0
- package/dist/src/modules/v4/leaf/leaf.service.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +13 -3
- package/dist/src/modules/v4/opportunity/opportunity.query-transformer.js.map +1 -1
- package/dist/src/modules/v4/programPayload/subPayloads/drip.d.ts +1 -1
- package/dist/src/modules/v4/router.d.ts +66 -24
- package/dist/src/modules/v4/transaction/transaction.service.d.ts +176 -0
- package/dist/src/modules/v4/user/user.controller.d.ts +0 -24
- package/dist/src/modules/v4/user/user.controller.js.map +1 -1
- package/dist/src/modules/v4/user/user.service.d.ts +0 -1
- package/dist/src/modules/v4/user/user.service.js.map +1 -1
- package/dist/src/scripts/backfill-leaves.js.map +1 -1
- package/dist/src/utils/getAPR.d.ts +88 -0
- package/dist/src/utils/parseDistributionType.d.ts +163 -75
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -143,6 +143,12 @@ export declare const getAPR: (params: {
|
|
|
143
143
|
} | {
|
|
144
144
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
145
145
|
strings: string[];
|
|
146
|
+
} | {
|
|
147
|
+
hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
|
|
148
|
+
computeChainId: number;
|
|
149
|
+
bytesLike: string[];
|
|
150
|
+
amount: string;
|
|
151
|
+
computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
|
|
146
152
|
} | {
|
|
147
153
|
hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
|
|
148
154
|
WorldIDAddressBook: string;
|
|
@@ -262,6 +268,11 @@ export declare const getAPR: (params: {
|
|
|
262
268
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
|
|
263
269
|
} | {
|
|
264
270
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
|
|
271
|
+
} | {
|
|
272
|
+
computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
|
|
273
|
+
computeSettings: {
|
|
274
|
+
threshold: string;
|
|
275
|
+
};
|
|
265
276
|
} | {
|
|
266
277
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
|
|
267
278
|
computeSettings: {
|
|
@@ -562,6 +573,12 @@ export declare const getAPR: (params: {
|
|
|
562
573
|
} | {
|
|
563
574
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
564
575
|
strings: string[];
|
|
576
|
+
} | {
|
|
577
|
+
hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
|
|
578
|
+
computeChainId: number;
|
|
579
|
+
bytesLike: string[];
|
|
580
|
+
amount: string;
|
|
581
|
+
computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
|
|
565
582
|
} | {
|
|
566
583
|
hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
|
|
567
584
|
WorldIDAddressBook: string;
|
|
@@ -681,6 +698,11 @@ export declare const getAPR: (params: {
|
|
|
681
698
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
|
|
682
699
|
} | {
|
|
683
700
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
|
|
701
|
+
} | {
|
|
702
|
+
computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
|
|
703
|
+
computeSettings: {
|
|
704
|
+
threshold: string;
|
|
705
|
+
};
|
|
684
706
|
} | {
|
|
685
707
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
|
|
686
708
|
computeSettings: {
|
|
@@ -1667,6 +1689,12 @@ export declare const getAPR: (params: {
|
|
|
1667
1689
|
} | {
|
|
1668
1690
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
1669
1691
|
strings: string[];
|
|
1692
|
+
} | {
|
|
1693
|
+
hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
|
|
1694
|
+
computeChainId: number;
|
|
1695
|
+
bytesLike: string[];
|
|
1696
|
+
amount: string;
|
|
1697
|
+
computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
|
|
1670
1698
|
} | {
|
|
1671
1699
|
hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
|
|
1672
1700
|
WorldIDAddressBook: string;
|
|
@@ -1786,6 +1814,11 @@ export declare const getAPR: (params: {
|
|
|
1786
1814
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
|
|
1787
1815
|
} | {
|
|
1788
1816
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
|
|
1817
|
+
} | {
|
|
1818
|
+
computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
|
|
1819
|
+
computeSettings: {
|
|
1820
|
+
threshold: string;
|
|
1821
|
+
};
|
|
1789
1822
|
} | {
|
|
1790
1823
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
|
|
1791
1824
|
computeSettings: {
|
|
@@ -2777,6 +2810,12 @@ export declare const getAPR: (params: {
|
|
|
2777
2810
|
} | {
|
|
2778
2811
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
2779
2812
|
strings: string[];
|
|
2813
|
+
} | {
|
|
2814
|
+
hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
|
|
2815
|
+
computeChainId: number;
|
|
2816
|
+
bytesLike: string[];
|
|
2817
|
+
amount: string;
|
|
2818
|
+
computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
|
|
2780
2819
|
} | {
|
|
2781
2820
|
hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
|
|
2782
2821
|
WorldIDAddressBook: string;
|
|
@@ -2896,6 +2935,11 @@ export declare const getAPR: (params: {
|
|
|
2896
2935
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
|
|
2897
2936
|
} | {
|
|
2898
2937
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
|
|
2938
|
+
} | {
|
|
2939
|
+
computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
|
|
2940
|
+
computeSettings: {
|
|
2941
|
+
threshold: string;
|
|
2942
|
+
};
|
|
2899
2943
|
} | {
|
|
2900
2944
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
|
|
2901
2945
|
computeSettings: {
|
|
@@ -3885,6 +3929,12 @@ export declare const getAPR: (params: {
|
|
|
3885
3929
|
} | {
|
|
3886
3930
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
3887
3931
|
strings: string[];
|
|
3932
|
+
} | {
|
|
3933
|
+
hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
|
|
3934
|
+
computeChainId: number;
|
|
3935
|
+
bytesLike: string[];
|
|
3936
|
+
amount: string;
|
|
3937
|
+
computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
|
|
3888
3938
|
} | {
|
|
3889
3939
|
hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
|
|
3890
3940
|
WorldIDAddressBook: string;
|
|
@@ -4004,6 +4054,11 @@ export declare const getAPR: (params: {
|
|
|
4004
4054
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
|
|
4005
4055
|
} | {
|
|
4006
4056
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
|
|
4057
|
+
} | {
|
|
4058
|
+
computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
|
|
4059
|
+
computeSettings: {
|
|
4060
|
+
threshold: string;
|
|
4061
|
+
};
|
|
4007
4062
|
} | {
|
|
4008
4063
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
|
|
4009
4064
|
computeSettings: {
|
|
@@ -4999,6 +5054,12 @@ export declare const getAPR: (params: {
|
|
|
4999
5054
|
} | {
|
|
5000
5055
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
5001
5056
|
strings: string[];
|
|
5057
|
+
} | {
|
|
5058
|
+
hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
|
|
5059
|
+
computeChainId: number;
|
|
5060
|
+
bytesLike: string[];
|
|
5061
|
+
amount: string;
|
|
5062
|
+
computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
|
|
5002
5063
|
} | {
|
|
5003
5064
|
hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
|
|
5004
5065
|
WorldIDAddressBook: string;
|
|
@@ -5118,6 +5179,11 @@ export declare const getAPR: (params: {
|
|
|
5118
5179
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
|
|
5119
5180
|
} | {
|
|
5120
5181
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
|
|
5182
|
+
} | {
|
|
5183
|
+
computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
|
|
5184
|
+
computeSettings: {
|
|
5185
|
+
threshold: string;
|
|
5186
|
+
};
|
|
5121
5187
|
} | {
|
|
5122
5188
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
|
|
5123
5189
|
computeSettings: {
|
|
@@ -6114,6 +6180,12 @@ export declare const getAPR: (params: {
|
|
|
6114
6180
|
} | {
|
|
6115
6181
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
6116
6182
|
strings: string[];
|
|
6183
|
+
} | {
|
|
6184
|
+
hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
|
|
6185
|
+
computeChainId: number;
|
|
6186
|
+
bytesLike: string[];
|
|
6187
|
+
amount: string;
|
|
6188
|
+
computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
|
|
6117
6189
|
} | {
|
|
6118
6190
|
hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
|
|
6119
6191
|
WorldIDAddressBook: string;
|
|
@@ -6233,6 +6305,11 @@ export declare const getAPR: (params: {
|
|
|
6233
6305
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
|
|
6234
6306
|
} | {
|
|
6235
6307
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
|
|
6308
|
+
} | {
|
|
6309
|
+
computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
|
|
6310
|
+
computeSettings: {
|
|
6311
|
+
threshold: string;
|
|
6312
|
+
};
|
|
6236
6313
|
} | {
|
|
6237
6314
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
|
|
6238
6315
|
computeSettings: {
|
|
@@ -7237,6 +7314,12 @@ export declare const getAPR: (params: {
|
|
|
7237
7314
|
} | {
|
|
7238
7315
|
hookType: import("@package/resources/enums").HookType.WHITELIST_STRINGS;
|
|
7239
7316
|
strings: string[];
|
|
7317
|
+
} | {
|
|
7318
|
+
hookType: import("@package/resources/enums").HookType.WHITELIST_THRESHOLD_CAMPAIGN;
|
|
7319
|
+
computeChainId: number;
|
|
7320
|
+
bytesLike: string[];
|
|
7321
|
+
amount: string;
|
|
7322
|
+
computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold | import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
|
|
7240
7323
|
} | {
|
|
7241
7324
|
hookType: import("@package/resources/enums").HookType.WORLDCHAINID;
|
|
7242
7325
|
WorldIDAddressBook: string;
|
|
@@ -7356,6 +7439,11 @@ export declare const getAPR: (params: {
|
|
|
7356
7439
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.indicator;
|
|
7357
7440
|
} | {
|
|
7358
7441
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.slashingMaxBalance;
|
|
7442
|
+
} | {
|
|
7443
|
+
computeMethod: import("@package/resources/enums").ComputeScoreMethod.aboveThreshold;
|
|
7444
|
+
computeSettings: {
|
|
7445
|
+
threshold: string;
|
|
7446
|
+
};
|
|
7359
7447
|
} | {
|
|
7360
7448
|
computeMethod: import("@package/resources/enums").ComputeScoreMethod.belowThreshold;
|
|
7361
7449
|
computeSettings: {
|