@merkl/api 0.16.44 → 0.16.45
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/database/api/.generated/drizzle/schema.d.ts +18 -0
- package/dist/database/api/.generated/drizzle/schema.js +2 -0
- package/dist/database/api/.generated/drizzle/schema.ts +3 -0
- package/dist/database/api/.generated/edge.js +12 -3
- package/dist/database/api/.generated/index-browser.js +9 -0
- package/dist/database/api/.generated/index.d.ts +148 -1
- package/dist/database/api/.generated/index.js +12 -3
- package/dist/database/api/.generated/package.json +1 -1
- package/dist/database/api/.generated/schema.prisma +9 -0
- package/dist/database/api/.generated/wasm.js +9 -0
- package/dist/src/eden/index.d.ts +25 -0
- package/dist/src/index.d.ts +5 -0
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +4 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +8 -0
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +8 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +1 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +5 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +3 -0
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +1 -0
- package/dist/src/modules/v4/router.d.ts +5 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
@@ -23,6 +23,7 @@ model Campaign {
|
|
23
23
|
distributionChainId Int
|
24
24
|
campaignId String
|
25
25
|
type String
|
26
|
+
distributionType DistributionType
|
26
27
|
subType Int?
|
27
28
|
RewardToken Token @relation(fields: [rewardTokenId], references: [id])
|
28
29
|
rewardTokenId String
|
@@ -420,3 +421,11 @@ enum PriceSourceMethod {
|
|
420
421
|
INDEXCOOP
|
421
422
|
DEFILLAMA
|
422
423
|
}
|
424
|
+
|
425
|
+
enum DistributionType {
|
426
|
+
DUTCH_AUCTION
|
427
|
+
FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE // The fix reward value will lie in params.apr
|
428
|
+
FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE
|
429
|
+
FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT
|
430
|
+
FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT
|
431
|
+
}
|
@@ -123,6 +123,7 @@ exports.Prisma.CampaignScalarFieldEnum = {
|
|
123
123
|
distributionChainId: 'distributionChainId',
|
124
124
|
campaignId: 'campaignId',
|
125
125
|
type: 'type',
|
126
|
+
distributionType: 'distributionType',
|
126
127
|
subType: 'subType',
|
127
128
|
rewardTokenId: 'rewardTokenId',
|
128
129
|
amount: 'amount',
|
@@ -523,6 +524,14 @@ exports.Prisma.LoggedOrderByRelevanceFieldEnum = {
|
|
523
524
|
address: 'address',
|
524
525
|
caughtFromAddress: 'caughtFromAddress'
|
525
526
|
};
|
527
|
+
exports.DistributionType = exports.$Enums.DistributionType = {
|
528
|
+
DUTCH_AUCTION: 'DUTCH_AUCTION',
|
529
|
+
FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE: 'FIX_REWARD_VALUE_PER_LIQUIDITY_VALUE',
|
530
|
+
FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE: 'FIX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE',
|
531
|
+
FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT: 'FIX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT',
|
532
|
+
FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT: 'FIX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT'
|
533
|
+
};
|
534
|
+
|
526
535
|
exports.RunStatus = exports.$Enums.RunStatus = {
|
527
536
|
PROCESSING: 'PROCESSING',
|
528
537
|
SUCCESS: 'SUCCESS',
|
package/dist/src/eden/index.d.ts
CHANGED
@@ -570,6 +570,7 @@ declare const eden: {
|
|
570
570
|
computeChainId: number;
|
571
571
|
distributionChainId: number;
|
572
572
|
campaignId: string;
|
573
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
573
574
|
rewardTokenId: string;
|
574
575
|
amount: string;
|
575
576
|
opportunityId: string;
|
@@ -955,6 +956,7 @@ declare const eden: {
|
|
955
956
|
computeChainId: number;
|
956
957
|
distributionChainId: number;
|
957
958
|
campaignId: string;
|
959
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
958
960
|
rewardTokenId: string;
|
959
961
|
amount: string;
|
960
962
|
opportunityId: string;
|
@@ -994,6 +996,7 @@ declare const eden: {
|
|
994
996
|
computeChainId: number;
|
995
997
|
distributionChainId: number;
|
996
998
|
campaignId: string;
|
999
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
997
1000
|
rewardTokenId: string;
|
998
1001
|
amount: string;
|
999
1002
|
opportunityId: string;
|
@@ -1039,6 +1042,7 @@ declare const eden: {
|
|
1039
1042
|
computeChainId: number;
|
1040
1043
|
distributionChainId: number;
|
1041
1044
|
campaignId: string;
|
1045
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
1042
1046
|
rewardTokenId: string;
|
1043
1047
|
amount: string;
|
1044
1048
|
opportunityId: string;
|
@@ -1116,6 +1120,7 @@ declare const eden: {
|
|
1116
1120
|
computeChainId: number;
|
1117
1121
|
distributionChainId: number;
|
1118
1122
|
campaignId: string;
|
1123
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
1119
1124
|
rewardTokenId: string;
|
1120
1125
|
amount: string;
|
1121
1126
|
opportunityId: string;
|
@@ -3837,6 +3842,7 @@ declare const eden: {
|
|
3837
3842
|
computeChainId: number;
|
3838
3843
|
distributionChainId: number;
|
3839
3844
|
campaignId: string;
|
3845
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
3840
3846
|
rewardTokenId: string;
|
3841
3847
|
amount: string;
|
3842
3848
|
opportunityId: string;
|
@@ -4222,6 +4228,7 @@ declare const eden: {
|
|
4222
4228
|
computeChainId: number;
|
4223
4229
|
distributionChainId: number;
|
4224
4230
|
campaignId: string;
|
4231
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
4225
4232
|
rewardTokenId: string;
|
4226
4233
|
amount: string;
|
4227
4234
|
opportunityId: string;
|
@@ -4261,6 +4268,7 @@ declare const eden: {
|
|
4261
4268
|
computeChainId: number;
|
4262
4269
|
distributionChainId: number;
|
4263
4270
|
campaignId: string;
|
4271
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
4264
4272
|
rewardTokenId: string;
|
4265
4273
|
amount: string;
|
4266
4274
|
opportunityId: string;
|
@@ -4306,6 +4314,7 @@ declare const eden: {
|
|
4306
4314
|
computeChainId: number;
|
4307
4315
|
distributionChainId: number;
|
4308
4316
|
campaignId: string;
|
4317
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
4309
4318
|
rewardTokenId: string;
|
4310
4319
|
amount: string;
|
4311
4320
|
opportunityId: string;
|
@@ -4383,6 +4392,7 @@ declare const eden: {
|
|
4383
4392
|
computeChainId: number;
|
4384
4393
|
distributionChainId: number;
|
4385
4394
|
campaignId: string;
|
4395
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
4386
4396
|
rewardTokenId: string;
|
4387
4397
|
amount: string;
|
4388
4398
|
opportunityId: string;
|
@@ -7571,6 +7581,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7571
7581
|
computeChainId: number;
|
7572
7582
|
distributionChainId: number;
|
7573
7583
|
campaignId: string;
|
7584
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
7574
7585
|
rewardTokenId: string;
|
7575
7586
|
amount: string;
|
7576
7587
|
opportunityId: string;
|
@@ -8278,6 +8289,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8278
8289
|
computeChainId: number;
|
8279
8290
|
distributionChainId: number;
|
8280
8291
|
campaignId: string;
|
8292
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
8281
8293
|
rewardTokenId: string;
|
8282
8294
|
amount: string;
|
8283
8295
|
opportunityId: string;
|
@@ -8329,6 +8341,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8329
8341
|
computeChainId: number;
|
8330
8342
|
distributionChainId: number;
|
8331
8343
|
campaignId: string;
|
8344
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
8332
8345
|
rewardTokenId: string;
|
8333
8346
|
amount: string;
|
8334
8347
|
opportunityId: string;
|
@@ -8409,6 +8422,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8409
8422
|
computeChainId: number;
|
8410
8423
|
distributionChainId: number;
|
8411
8424
|
campaignId: string;
|
8425
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
8412
8426
|
rewardTokenId: string;
|
8413
8427
|
amount: string;
|
8414
8428
|
opportunityId: string;
|
@@ -8473,6 +8487,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8473
8487
|
computeChainId: number;
|
8474
8488
|
distributionChainId: number;
|
8475
8489
|
campaignId: string;
|
8490
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
8476
8491
|
rewardTokenId: string;
|
8477
8492
|
amount: string;
|
8478
8493
|
opportunityId: string;
|
@@ -12653,6 +12668,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
12653
12668
|
computeChainId: number;
|
12654
12669
|
distributionChainId: number;
|
12655
12670
|
campaignId: string;
|
12671
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
12656
12672
|
rewardTokenId: string;
|
12657
12673
|
amount: string;
|
12658
12674
|
opportunityId: string;
|
@@ -13038,6 +13054,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13038
13054
|
computeChainId: number;
|
13039
13055
|
distributionChainId: number;
|
13040
13056
|
campaignId: string;
|
13057
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
13041
13058
|
rewardTokenId: string;
|
13042
13059
|
amount: string;
|
13043
13060
|
opportunityId: string;
|
@@ -13077,6 +13094,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13077
13094
|
computeChainId: number;
|
13078
13095
|
distributionChainId: number;
|
13079
13096
|
campaignId: string;
|
13097
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
13080
13098
|
rewardTokenId: string;
|
13081
13099
|
amount: string;
|
13082
13100
|
opportunityId: string;
|
@@ -13122,6 +13140,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13122
13140
|
computeChainId: number;
|
13123
13141
|
distributionChainId: number;
|
13124
13142
|
campaignId: string;
|
13143
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
13125
13144
|
rewardTokenId: string;
|
13126
13145
|
amount: string;
|
13127
13146
|
opportunityId: string;
|
@@ -13199,6 +13218,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
13199
13218
|
computeChainId: number;
|
13200
13219
|
distributionChainId: number;
|
13201
13220
|
campaignId: string;
|
13221
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
13202
13222
|
rewardTokenId: string;
|
13203
13223
|
amount: string;
|
13204
13224
|
opportunityId: string;
|
@@ -15920,6 +15940,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15920
15940
|
computeChainId: number;
|
15921
15941
|
distributionChainId: number;
|
15922
15942
|
campaignId: string;
|
15943
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
15923
15944
|
rewardTokenId: string;
|
15924
15945
|
amount: string;
|
15925
15946
|
opportunityId: string;
|
@@ -16305,6 +16326,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16305
16326
|
computeChainId: number;
|
16306
16327
|
distributionChainId: number;
|
16307
16328
|
campaignId: string;
|
16329
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
16308
16330
|
rewardTokenId: string;
|
16309
16331
|
amount: string;
|
16310
16332
|
opportunityId: string;
|
@@ -16344,6 +16366,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16344
16366
|
computeChainId: number;
|
16345
16367
|
distributionChainId: number;
|
16346
16368
|
campaignId: string;
|
16369
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
16347
16370
|
rewardTokenId: string;
|
16348
16371
|
amount: string;
|
16349
16372
|
opportunityId: string;
|
@@ -16389,6 +16412,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16389
16412
|
computeChainId: number;
|
16390
16413
|
distributionChainId: number;
|
16391
16414
|
campaignId: string;
|
16415
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
16392
16416
|
rewardTokenId: string;
|
16393
16417
|
amount: string;
|
16394
16418
|
opportunityId: string;
|
@@ -16466,6 +16490,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16466
16490
|
computeChainId: number;
|
16467
16491
|
distributionChainId: number;
|
16468
16492
|
campaignId: string;
|
16493
|
+
distributionType: import("../../database/api/.generated").$Enums.DistributionType;
|
16469
16494
|
rewardTokenId: string;
|
16470
16495
|
amount: string;
|
16471
16496
|
opportunityId: string;
|
package/dist/src/index.d.ts
CHANGED
@@ -368,6 +368,7 @@ declare const app: Elysia<"", false, {
|
|
368
368
|
computeChainId: number;
|
369
369
|
distributionChainId: number;
|
370
370
|
campaignId: string;
|
371
|
+
distributionType: import("../database/api/.generated").$Enums.DistributionType;
|
371
372
|
rewardTokenId: string;
|
372
373
|
amount: string;
|
373
374
|
opportunityId: string;
|
@@ -1075,6 +1076,7 @@ declare const app: Elysia<"", false, {
|
|
1075
1076
|
computeChainId: number;
|
1076
1077
|
distributionChainId: number;
|
1077
1078
|
campaignId: string;
|
1079
|
+
distributionType: import("../database/api/.generated").$Enums.DistributionType;
|
1078
1080
|
rewardTokenId: string;
|
1079
1081
|
amount: string;
|
1080
1082
|
opportunityId: string;
|
@@ -1126,6 +1128,7 @@ declare const app: Elysia<"", false, {
|
|
1126
1128
|
computeChainId: number;
|
1127
1129
|
distributionChainId: number;
|
1128
1130
|
campaignId: string;
|
1131
|
+
distributionType: import("../database/api/.generated").$Enums.DistributionType;
|
1129
1132
|
rewardTokenId: string;
|
1130
1133
|
amount: string;
|
1131
1134
|
opportunityId: string;
|
@@ -1206,6 +1209,7 @@ declare const app: Elysia<"", false, {
|
|
1206
1209
|
computeChainId: number;
|
1207
1210
|
distributionChainId: number;
|
1208
1211
|
campaignId: string;
|
1212
|
+
distributionType: import("../database/api/.generated").$Enums.DistributionType;
|
1209
1213
|
rewardTokenId: string;
|
1210
1214
|
amount: string;
|
1211
1215
|
opportunityId: string;
|
@@ -1270,6 +1274,7 @@ declare const app: Elysia<"", false, {
|
|
1270
1274
|
computeChainId: number;
|
1271
1275
|
distributionChainId: number;
|
1272
1276
|
campaignId: string;
|
1277
|
+
distributionType: import("../database/api/.generated").$Enums.DistributionType;
|
1273
1278
|
rewardTokenId: string;
|
1274
1279
|
amount: string;
|
1275
1280
|
opportunityId: string;
|
@@ -47,6 +47,7 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
|
|
47
47
|
computeChainId: number;
|
48
48
|
distributionChainId: number;
|
49
49
|
campaignId: string;
|
50
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
50
51
|
rewardTokenId: string;
|
51
52
|
amount: string;
|
52
53
|
opportunityId: string;
|
@@ -98,6 +99,7 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
|
|
98
99
|
computeChainId: number;
|
99
100
|
distributionChainId: number;
|
100
101
|
campaignId: string;
|
102
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
101
103
|
rewardTokenId: string;
|
102
104
|
amount: string;
|
103
105
|
opportunityId: string;
|
@@ -178,6 +180,7 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
|
|
178
180
|
computeChainId: number;
|
179
181
|
distributionChainId: number;
|
180
182
|
campaignId: string;
|
183
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
181
184
|
rewardTokenId: string;
|
182
185
|
amount: string;
|
183
186
|
opportunityId: string;
|
@@ -242,6 +245,7 @@ export declare const CampaignController: Elysia<"/campaigns", false, {
|
|
242
245
|
computeChainId: number;
|
243
246
|
distributionChainId: number;
|
244
247
|
campaignId: string;
|
248
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
245
249
|
rewardTokenId: string;
|
246
250
|
amount: string;
|
247
251
|
opportunityId: string;
|
@@ -82,6 +82,7 @@ export declare abstract class CampaignRepository {
|
|
82
82
|
computeChainId: number;
|
83
83
|
distributionChainId: number;
|
84
84
|
campaignId: string;
|
85
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
85
86
|
rewardTokenId: string;
|
86
87
|
amount: string;
|
87
88
|
opportunityId: string;
|
@@ -122,6 +123,7 @@ export declare abstract class CampaignRepository {
|
|
122
123
|
computeChainId: number;
|
123
124
|
distributionChainId: number;
|
124
125
|
campaignId: string;
|
126
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
125
127
|
rewardTokenId: string;
|
126
128
|
amount: string;
|
127
129
|
opportunityId: string;
|
@@ -156,6 +158,7 @@ export declare abstract class CampaignRepository {
|
|
156
158
|
computeChainId: number;
|
157
159
|
distributionChainId: number;
|
158
160
|
campaignId: string;
|
161
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
159
162
|
rewardTokenId: string;
|
160
163
|
amount: string;
|
161
164
|
opportunityId: string;
|
@@ -198,6 +201,7 @@ export declare abstract class CampaignRepository {
|
|
198
201
|
computeChainId: number;
|
199
202
|
distributionChainId: number;
|
200
203
|
campaignId: string;
|
204
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
201
205
|
rewardTokenId: string;
|
202
206
|
amount: string;
|
203
207
|
opportunityId: string;
|
@@ -250,6 +254,7 @@ export declare abstract class CampaignRepository {
|
|
250
254
|
computeChainId: number;
|
251
255
|
distributionChainId: number;
|
252
256
|
campaignId: string;
|
257
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
253
258
|
rewardTokenId: string;
|
254
259
|
amount: string;
|
255
260
|
opportunityId: string;
|
@@ -311,6 +316,7 @@ export declare abstract class CampaignRepository {
|
|
311
316
|
computeChainId: number;
|
312
317
|
distributionChainId: number;
|
313
318
|
campaignId: string;
|
319
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
314
320
|
rewardTokenId: string;
|
315
321
|
amount: string;
|
316
322
|
opportunityId: string;
|
@@ -332,6 +338,7 @@ export declare abstract class CampaignRepository {
|
|
332
338
|
computeChainId: number;
|
333
339
|
distributionChainId: number;
|
334
340
|
campaignId: string;
|
341
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
335
342
|
rewardTokenId: string;
|
336
343
|
amount: string;
|
337
344
|
opportunityId: string;
|
@@ -347,6 +354,7 @@ export declare abstract class CampaignRepository {
|
|
347
354
|
computeChainId: number;
|
348
355
|
distributionChainId: number;
|
349
356
|
campaignId: string;
|
357
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
350
358
|
rewardTokenId: string;
|
351
359
|
amount: string;
|
352
360
|
opportunityId: string;
|
@@ -14,6 +14,7 @@ export declare abstract class CampaignService {
|
|
14
14
|
computeChainId: number;
|
15
15
|
distributionChainId: number;
|
16
16
|
campaignId: string;
|
17
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
17
18
|
rewardTokenId: string;
|
18
19
|
amount: string;
|
19
20
|
opportunityId: string;
|
@@ -48,6 +49,7 @@ export declare abstract class CampaignService {
|
|
48
49
|
computeChainId: number;
|
49
50
|
distributionChainId: number;
|
50
51
|
campaignId: string;
|
52
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
51
53
|
rewardTokenId: string;
|
52
54
|
amount: string;
|
53
55
|
opportunityId: string;
|
@@ -63,6 +65,7 @@ export declare abstract class CampaignService {
|
|
63
65
|
computeChainId: number;
|
64
66
|
distributionChainId: number;
|
65
67
|
campaignId: string;
|
68
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
66
69
|
rewardTokenId: string;
|
67
70
|
amount: string;
|
68
71
|
opportunityId: string;
|
@@ -86,6 +89,7 @@ export declare abstract class CampaignService {
|
|
86
89
|
computeChainId: number;
|
87
90
|
distributionChainId: number;
|
88
91
|
campaignId: string;
|
92
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
89
93
|
rewardTokenId: string;
|
90
94
|
amount: string;
|
91
95
|
opportunityId: string;
|
@@ -147,6 +151,7 @@ export declare abstract class CampaignService {
|
|
147
151
|
computeChainId: number;
|
148
152
|
distributionChainId: number;
|
149
153
|
campaignId: string;
|
154
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
150
155
|
rewardTokenId: string;
|
151
156
|
amount: string;
|
152
157
|
opportunityId: string;
|
@@ -170,6 +175,7 @@ export declare abstract class CampaignService {
|
|
170
175
|
computeChainId: number;
|
171
176
|
distributionChainId: number;
|
172
177
|
campaignId: string;
|
178
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
173
179
|
rewardTokenId: string;
|
174
180
|
amount: string;
|
175
181
|
opportunityId: string;
|
@@ -222,6 +228,7 @@ export declare abstract class CampaignService {
|
|
222
228
|
computeChainId: number;
|
223
229
|
distributionChainId: number;
|
224
230
|
campaignId: string;
|
231
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
225
232
|
rewardTokenId: string;
|
226
233
|
amount: string;
|
227
234
|
opportunityId: string;
|
@@ -331,6 +338,7 @@ export declare abstract class CampaignService {
|
|
331
338
|
computeChainId: number;
|
332
339
|
distributionChainId: number;
|
333
340
|
campaignId: string;
|
341
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
334
342
|
rewardTokenId: string;
|
335
343
|
amount: string;
|
336
344
|
opportunityId: string;
|
@@ -223,6 +223,7 @@ export declare const OpportunityController: Elysia<"/opportunities", false, {
|
|
223
223
|
computeChainId: number;
|
224
224
|
distributionChainId: number;
|
225
225
|
campaignId: string;
|
226
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
226
227
|
rewardTokenId: string;
|
227
228
|
amount: string;
|
228
229
|
opportunityId: string;
|
@@ -52,6 +52,7 @@ export declare abstract class OpportunityRepository {
|
|
52
52
|
computeChainId: number;
|
53
53
|
distributionChainId: number;
|
54
54
|
campaignId: string;
|
55
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
55
56
|
rewardTokenId: string;
|
56
57
|
amount: string;
|
57
58
|
opportunityId: string;
|
@@ -185,6 +186,7 @@ export declare abstract class OpportunityRepository {
|
|
185
186
|
computeChainId: number;
|
186
187
|
distributionChainId: number;
|
187
188
|
campaignId: string;
|
189
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
188
190
|
rewardTokenId: string;
|
189
191
|
amount: string;
|
190
192
|
opportunityId: string;
|
@@ -374,6 +376,7 @@ export declare abstract class OpportunityRepository {
|
|
374
376
|
computeChainId: number;
|
375
377
|
distributionChainId: number;
|
376
378
|
campaignId: string;
|
379
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
377
380
|
rewardTokenId: string;
|
378
381
|
amount: string;
|
379
382
|
opportunityId: string;
|
@@ -507,6 +510,7 @@ export declare abstract class OpportunityRepository {
|
|
507
510
|
computeChainId: number;
|
508
511
|
distributionChainId: number;
|
509
512
|
campaignId: string;
|
513
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
510
514
|
rewardTokenId: string;
|
511
515
|
amount: string;
|
512
516
|
opportunityId: string;
|
@@ -684,6 +688,7 @@ export declare abstract class OpportunityRepository {
|
|
684
688
|
computeChainId: number;
|
685
689
|
distributionChainId: number;
|
686
690
|
campaignId: string;
|
691
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
687
692
|
rewardTokenId: string;
|
688
693
|
amount: string;
|
689
694
|
opportunityId: string;
|
@@ -485,6 +485,7 @@ export declare abstract class OpportunityService {
|
|
485
485
|
computeChainId: number;
|
486
486
|
distributionChainId: number;
|
487
487
|
campaignId: string;
|
488
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
488
489
|
rewardTokenId: string;
|
489
490
|
amount: string;
|
490
491
|
opportunityId: string;
|
@@ -631,6 +632,7 @@ export declare abstract class OpportunityService {
|
|
631
632
|
computeChainId: number;
|
632
633
|
distributionChainId: number;
|
633
634
|
campaignId: string;
|
635
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
634
636
|
rewardTokenId: string;
|
635
637
|
amount: string;
|
636
638
|
opportunityId: string;
|
@@ -773,6 +775,7 @@ export declare abstract class OpportunityService {
|
|
773
775
|
computeChainId: number;
|
774
776
|
distributionChainId: number;
|
775
777
|
campaignId: string;
|
778
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
776
779
|
rewardTokenId: string;
|
777
780
|
amount: string;
|
778
781
|
opportunityId: string;
|
@@ -37,6 +37,7 @@ export declare abstract class ProtocolRepository {
|
|
37
37
|
computeChainId: number;
|
38
38
|
distributionChainId: number;
|
39
39
|
campaignId: string;
|
40
|
+
distributionType: import("../../../../database/api/.generated").$Enums.DistributionType;
|
40
41
|
rewardTokenId: string;
|
41
42
|
amount: string;
|
42
43
|
opportunityId: string;
|
@@ -238,6 +238,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
238
238
|
computeChainId: number;
|
239
239
|
distributionChainId: number;
|
240
240
|
campaignId: string;
|
241
|
+
distributionType: import("../../../database/api/.generated").$Enums.DistributionType;
|
241
242
|
rewardTokenId: string;
|
242
243
|
amount: string;
|
243
244
|
opportunityId: string;
|
@@ -945,6 +946,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
945
946
|
computeChainId: number;
|
946
947
|
distributionChainId: number;
|
947
948
|
campaignId: string;
|
949
|
+
distributionType: import("../../../database/api/.generated").$Enums.DistributionType;
|
948
950
|
rewardTokenId: string;
|
949
951
|
amount: string;
|
950
952
|
opportunityId: string;
|
@@ -996,6 +998,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
996
998
|
computeChainId: number;
|
997
999
|
distributionChainId: number;
|
998
1000
|
campaignId: string;
|
1001
|
+
distributionType: import("../../../database/api/.generated").$Enums.DistributionType;
|
999
1002
|
rewardTokenId: string;
|
1000
1003
|
amount: string;
|
1001
1004
|
opportunityId: string;
|
@@ -1076,6 +1079,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1076
1079
|
computeChainId: number;
|
1077
1080
|
distributionChainId: number;
|
1078
1081
|
campaignId: string;
|
1082
|
+
distributionType: import("../../../database/api/.generated").$Enums.DistributionType;
|
1079
1083
|
rewardTokenId: string;
|
1080
1084
|
amount: string;
|
1081
1085
|
opportunityId: string;
|
@@ -1140,6 +1144,7 @@ export declare const v4: Elysia<"/v4", false, {
|
|
1140
1144
|
computeChainId: number;
|
1141
1145
|
distributionChainId: number;
|
1142
1146
|
campaignId: string;
|
1147
|
+
distributionType: import("../../../database/api/.generated").$Enums.DistributionType;
|
1143
1148
|
rewardTokenId: string;
|
1144
1149
|
amount: string;
|
1145
1150
|
opportunityId: string;
|