@merkl/api 0.20.48 → 0.20.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/dist/database/api/.generated/drizzle/schema.d.ts +17 -0
- package/dist/database/api/.generated/drizzle/schema.js +1 -0
- package/dist/database/api/.generated/drizzle/schema.ts +1 -0
- package/dist/database/api/.generated/edge.js +4 -3
- package/dist/database/api/.generated/index-browser.js +9 -0
- package/dist/database/api/.generated/index.d.ts +133 -1
- package/dist/database/api/.generated/index.js +4 -3
- package/dist/database/api/.generated/package.json +1 -1
- package/dist/database/api/.generated/schema.prisma +1 -1
- package/dist/database/api/.generated/wasm.js +9 -0
- package/dist/src/eden/index.d.ts +435 -10
- package/dist/src/index.d.ts +99 -2
- package/dist/src/libs/tokens/balances.js +2 -1
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +93 -1
- package/dist/src/modules/v4/campaign/campaign.controller.js +23 -2
- package/dist/src/modules/v4/campaign/campaign.model.d.ts +15 -0
- package/dist/src/modules/v4/campaign/campaign.model.js +14 -0
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +8 -0
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +28 -1
- package/dist/src/modules/v4/campaign/campaign.service.js +35 -0
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +5 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +14 -0
- package/dist/src/modules/v4/opportunity/opportunity.model.js +2 -1
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +10 -0
- package/dist/src/modules/v4/opportunity/opportunity.repository.js +1 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +8 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.js +1 -0
- package/dist/src/modules/v4/programPayload/programPayload.controller.d.ts +1 -1
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +1 -0
- package/dist/src/modules/v4/reward/reward.model.d.ts +2 -0
- package/dist/src/modules/v4/reward/reward.service.d.ts +2 -0
- package/dist/src/modules/v4/router.d.ts +99 -2
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -210,6 +210,7 @@ declare const eden: {
|
|
210
210
|
tags: string[];
|
211
211
|
icon: string;
|
212
212
|
} | null | undefined;
|
213
|
+
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;
|
213
214
|
depositUrl?: string | undefined;
|
214
215
|
explorerAddress?: string | undefined;
|
215
216
|
aprRecord?: {
|
@@ -315,6 +316,7 @@ declare const eden: {
|
|
315
316
|
tags: string[];
|
316
317
|
icon: string;
|
317
318
|
} | null | undefined;
|
319
|
+
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;
|
318
320
|
depositUrl?: string | undefined;
|
319
321
|
explorerAddress?: string | undefined;
|
320
322
|
aprRecord?: {
|
@@ -602,6 +604,7 @@ declare const eden: {
|
|
602
604
|
price: number | null;
|
603
605
|
};
|
604
606
|
amount: bigint;
|
607
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
605
608
|
}[];
|
606
609
|
};
|
607
610
|
campaigns: {
|
@@ -671,6 +674,7 @@ declare const eden: {
|
|
671
674
|
computeChainId: number;
|
672
675
|
distributionChainId: number;
|
673
676
|
campaignId: string;
|
677
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
674
678
|
rewardTokenId: string;
|
675
679
|
amount: string;
|
676
680
|
opportunityId: string;
|
@@ -786,6 +790,7 @@ declare const eden: {
|
|
786
790
|
tags: string[];
|
787
791
|
icon: string;
|
788
792
|
} | null | undefined;
|
793
|
+
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;
|
789
794
|
depositUrl?: string | undefined;
|
790
795
|
explorerAddress?: string | undefined;
|
791
796
|
aprRecord?: {
|
@@ -1105,6 +1110,7 @@ declare const eden: {
|
|
1105
1110
|
computeChainId: number;
|
1106
1111
|
distributionChainId: number;
|
1107
1112
|
campaignId: string;
|
1113
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
1108
1114
|
rewardTokenId: string;
|
1109
1115
|
amount: string;
|
1110
1116
|
opportunityId: string;
|
@@ -1154,6 +1160,7 @@ declare const eden: {
|
|
1154
1160
|
computeChainId: number;
|
1155
1161
|
distributionChainId: number;
|
1156
1162
|
campaignId: string;
|
1163
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
1157
1164
|
rewardTokenId: string;
|
1158
1165
|
amount: string;
|
1159
1166
|
opportunityId: string;
|
@@ -1230,6 +1237,7 @@ declare const eden: {
|
|
1230
1237
|
computeChainId: number;
|
1231
1238
|
distributionChainId: number;
|
1232
1239
|
campaignId: string;
|
1240
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
1233
1241
|
rewardTokenId: string;
|
1234
1242
|
amount: string;
|
1235
1243
|
opportunityId: string;
|
@@ -1257,7 +1265,31 @@ declare const eden: {
|
|
1257
1265
|
};
|
1258
1266
|
}) & {
|
1259
1267
|
"dynamic-data": {
|
1260
|
-
|
1268
|
+
list: {
|
1269
|
+
post: (body: string[], options: {
|
1270
|
+
headers: {
|
1271
|
+
authorization: string;
|
1272
|
+
};
|
1273
|
+
query?: Record<string, unknown> | undefined;
|
1274
|
+
fetch?: RequestInit | undefined;
|
1275
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1276
|
+
200: unknown[];
|
1277
|
+
}>>;
|
1278
|
+
};
|
1279
|
+
post: (body: {
|
1280
|
+
id?: string | undefined;
|
1281
|
+
subType?: number | undefined;
|
1282
|
+
campaignId?: string | undefined;
|
1283
|
+
amount?: string | undefined;
|
1284
|
+
creatorAddress?: string | undefined;
|
1285
|
+
type: string;
|
1286
|
+
params: any;
|
1287
|
+
computeChainId: number;
|
1288
|
+
distributionChainId: number;
|
1289
|
+
startTimestamp: number;
|
1290
|
+
endTimestamp: number;
|
1291
|
+
rewardToken: string;
|
1292
|
+
}, options: {
|
1261
1293
|
headers: {
|
1262
1294
|
authorization: string;
|
1263
1295
|
};
|
@@ -1268,6 +1300,55 @@ declare const eden: {
|
|
1268
1300
|
}>>;
|
1269
1301
|
};
|
1270
1302
|
metadata: {
|
1303
|
+
post: (body: {
|
1304
|
+
id?: string | undefined;
|
1305
|
+
subType?: number | undefined;
|
1306
|
+
campaignId?: string | undefined;
|
1307
|
+
amount?: string | undefined;
|
1308
|
+
creatorAddress?: string | undefined;
|
1309
|
+
type: string;
|
1310
|
+
params: any;
|
1311
|
+
computeChainId: number;
|
1312
|
+
distributionChainId: number;
|
1313
|
+
startTimestamp: number;
|
1314
|
+
endTimestamp: number;
|
1315
|
+
rewardToken: string;
|
1316
|
+
}, options: {
|
1317
|
+
headers: {
|
1318
|
+
authorization: string;
|
1319
|
+
};
|
1320
|
+
query?: Record<string, unknown> | undefined;
|
1321
|
+
fetch?: RequestInit | undefined;
|
1322
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1323
|
+
200: {
|
1324
|
+
id: string;
|
1325
|
+
chainId: number;
|
1326
|
+
type: string;
|
1327
|
+
identifier: string;
|
1328
|
+
name: string;
|
1329
|
+
status: "PAST" | "LIVE" | "SOON";
|
1330
|
+
action: any;
|
1331
|
+
tokens: ({
|
1332
|
+
symbol: string;
|
1333
|
+
id: string;
|
1334
|
+
name: string | null;
|
1335
|
+
icon: string;
|
1336
|
+
address: string;
|
1337
|
+
chainId: number;
|
1338
|
+
decimals: number;
|
1339
|
+
verified: boolean;
|
1340
|
+
isTest: boolean;
|
1341
|
+
isPoint: boolean;
|
1342
|
+
isNative: boolean;
|
1343
|
+
} & {
|
1344
|
+
price?: number | null | undefined;
|
1345
|
+
})[];
|
1346
|
+
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
1347
|
+
depositUrl: any;
|
1348
|
+
explorerAddress: string | undefined;
|
1349
|
+
tags: string[];
|
1350
|
+
};
|
1351
|
+
}>>;
|
1271
1352
|
get: (options: {
|
1272
1353
|
headers: {
|
1273
1354
|
authorization: string;
|
@@ -1405,6 +1486,7 @@ declare const eden: {
|
|
1405
1486
|
computeChainId: number;
|
1406
1487
|
distributionChainId: number;
|
1407
1488
|
campaignId: string;
|
1489
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
1408
1490
|
rewardTokenId: string;
|
1409
1491
|
amount: string;
|
1410
1492
|
opportunityId: string;
|
@@ -3601,10 +3683,10 @@ declare const eden: {
|
|
3601
3683
|
endTimestamp?: number | undefined;
|
3602
3684
|
blacklist?: string[] | undefined;
|
3603
3685
|
poolAddress?: string | undefined;
|
3686
|
+
contract?: string | undefined;
|
3604
3687
|
marketId?: string | undefined;
|
3605
3688
|
strategy?: string | undefined;
|
3606
3689
|
poolId?: string | undefined;
|
3607
|
-
contract?: string | undefined;
|
3608
3690
|
forwarders?: (string | {})[] | undefined;
|
3609
3691
|
whitelist?: string[] | undefined;
|
3610
3692
|
targetToken?: string | undefined;
|
@@ -4083,6 +4165,7 @@ declare const eden: {
|
|
4083
4165
|
tags: string[];
|
4084
4166
|
icon: string;
|
4085
4167
|
} | null | undefined;
|
4168
|
+
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;
|
4086
4169
|
depositUrl?: string | undefined;
|
4087
4170
|
explorerAddress?: string | undefined;
|
4088
4171
|
aprRecord?: {
|
@@ -4188,6 +4271,7 @@ declare const eden: {
|
|
4188
4271
|
tags: string[];
|
4189
4272
|
icon: string;
|
4190
4273
|
} | null | undefined;
|
4274
|
+
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;
|
4191
4275
|
depositUrl?: string | undefined;
|
4192
4276
|
explorerAddress?: string | undefined;
|
4193
4277
|
aprRecord?: {
|
@@ -4475,6 +4559,7 @@ declare const eden: {
|
|
4475
4559
|
price: number | null;
|
4476
4560
|
};
|
4477
4561
|
amount: bigint;
|
4562
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
4478
4563
|
}[];
|
4479
4564
|
};
|
4480
4565
|
campaigns: {
|
@@ -4544,6 +4629,7 @@ declare const eden: {
|
|
4544
4629
|
computeChainId: number;
|
4545
4630
|
distributionChainId: number;
|
4546
4631
|
campaignId: string;
|
4632
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
4547
4633
|
rewardTokenId: string;
|
4548
4634
|
amount: string;
|
4549
4635
|
opportunityId: string;
|
@@ -4659,6 +4745,7 @@ declare const eden: {
|
|
4659
4745
|
tags: string[];
|
4660
4746
|
icon: string;
|
4661
4747
|
} | null | undefined;
|
4748
|
+
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;
|
4662
4749
|
depositUrl?: string | undefined;
|
4663
4750
|
explorerAddress?: string | undefined;
|
4664
4751
|
aprRecord?: {
|
@@ -4978,6 +5065,7 @@ declare const eden: {
|
|
4978
5065
|
computeChainId: number;
|
4979
5066
|
distributionChainId: number;
|
4980
5067
|
campaignId: string;
|
5068
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
4981
5069
|
rewardTokenId: string;
|
4982
5070
|
amount: string;
|
4983
5071
|
opportunityId: string;
|
@@ -5027,6 +5115,7 @@ declare const eden: {
|
|
5027
5115
|
computeChainId: number;
|
5028
5116
|
distributionChainId: number;
|
5029
5117
|
campaignId: string;
|
5118
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
5030
5119
|
rewardTokenId: string;
|
5031
5120
|
amount: string;
|
5032
5121
|
opportunityId: string;
|
@@ -5103,6 +5192,7 @@ declare const eden: {
|
|
5103
5192
|
computeChainId: number;
|
5104
5193
|
distributionChainId: number;
|
5105
5194
|
campaignId: string;
|
5195
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
5106
5196
|
rewardTokenId: string;
|
5107
5197
|
amount: string;
|
5108
5198
|
opportunityId: string;
|
@@ -5130,7 +5220,31 @@ declare const eden: {
|
|
5130
5220
|
};
|
5131
5221
|
}) & {
|
5132
5222
|
"dynamic-data": {
|
5133
|
-
|
5223
|
+
list: {
|
5224
|
+
post: (body: string[], options: {
|
5225
|
+
headers: {
|
5226
|
+
authorization: string;
|
5227
|
+
};
|
5228
|
+
query?: Record<string, unknown> | undefined;
|
5229
|
+
fetch?: RequestInit | undefined;
|
5230
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5231
|
+
200: unknown[];
|
5232
|
+
}>>;
|
5233
|
+
};
|
5234
|
+
post: (body: {
|
5235
|
+
id?: string | undefined;
|
5236
|
+
subType?: number | undefined;
|
5237
|
+
campaignId?: string | undefined;
|
5238
|
+
amount?: string | undefined;
|
5239
|
+
creatorAddress?: string | undefined;
|
5240
|
+
type: string;
|
5241
|
+
params: any;
|
5242
|
+
computeChainId: number;
|
5243
|
+
distributionChainId: number;
|
5244
|
+
startTimestamp: number;
|
5245
|
+
endTimestamp: number;
|
5246
|
+
rewardToken: string;
|
5247
|
+
}, options: {
|
5134
5248
|
headers: {
|
5135
5249
|
authorization: string;
|
5136
5250
|
};
|
@@ -5141,6 +5255,55 @@ declare const eden: {
|
|
5141
5255
|
}>>;
|
5142
5256
|
};
|
5143
5257
|
metadata: {
|
5258
|
+
post: (body: {
|
5259
|
+
id?: string | undefined;
|
5260
|
+
subType?: number | undefined;
|
5261
|
+
campaignId?: string | undefined;
|
5262
|
+
amount?: string | undefined;
|
5263
|
+
creatorAddress?: string | undefined;
|
5264
|
+
type: string;
|
5265
|
+
params: any;
|
5266
|
+
computeChainId: number;
|
5267
|
+
distributionChainId: number;
|
5268
|
+
startTimestamp: number;
|
5269
|
+
endTimestamp: number;
|
5270
|
+
rewardToken: string;
|
5271
|
+
}, options: {
|
5272
|
+
headers: {
|
5273
|
+
authorization: string;
|
5274
|
+
};
|
5275
|
+
query?: Record<string, unknown> | undefined;
|
5276
|
+
fetch?: RequestInit | undefined;
|
5277
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5278
|
+
200: {
|
5279
|
+
id: string;
|
5280
|
+
chainId: number;
|
5281
|
+
type: string;
|
5282
|
+
identifier: string;
|
5283
|
+
name: string;
|
5284
|
+
status: "PAST" | "LIVE" | "SOON";
|
5285
|
+
action: any;
|
5286
|
+
tokens: ({
|
5287
|
+
symbol: string;
|
5288
|
+
id: string;
|
5289
|
+
name: string | null;
|
5290
|
+
icon: string;
|
5291
|
+
address: string;
|
5292
|
+
chainId: number;
|
5293
|
+
decimals: number;
|
5294
|
+
verified: boolean;
|
5295
|
+
isTest: boolean;
|
5296
|
+
isPoint: boolean;
|
5297
|
+
isNative: boolean;
|
5298
|
+
} & {
|
5299
|
+
price?: number | null | undefined;
|
5300
|
+
})[];
|
5301
|
+
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
5302
|
+
depositUrl: any;
|
5303
|
+
explorerAddress: string | undefined;
|
5304
|
+
tags: string[];
|
5305
|
+
};
|
5306
|
+
}>>;
|
5144
5307
|
get: (options: {
|
5145
5308
|
headers: {
|
5146
5309
|
authorization: string;
|
@@ -5278,6 +5441,7 @@ declare const eden: {
|
|
5278
5441
|
computeChainId: number;
|
5279
5442
|
distributionChainId: number;
|
5280
5443
|
campaignId: string;
|
5444
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
5281
5445
|
rewardTokenId: string;
|
5282
5446
|
amount: string;
|
5283
5447
|
opportunityId: string;
|
@@ -7474,10 +7638,10 @@ declare const eden: {
|
|
7474
7638
|
endTimestamp?: number | undefined;
|
7475
7639
|
blacklist?: string[] | undefined;
|
7476
7640
|
poolAddress?: string | undefined;
|
7641
|
+
contract?: string | undefined;
|
7477
7642
|
marketId?: string | undefined;
|
7478
7643
|
strategy?: string | undefined;
|
7479
7644
|
poolId?: string | undefined;
|
7480
|
-
contract?: string | undefined;
|
7481
7645
|
forwarders?: (string | {})[] | undefined;
|
7482
7646
|
whitelist?: string[] | undefined;
|
7483
7647
|
targetToken?: string | undefined;
|
@@ -8864,6 +9028,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8864
9028
|
price: number | null;
|
8865
9029
|
};
|
8866
9030
|
amount: bigint;
|
9031
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
8867
9032
|
}[];
|
8868
9033
|
};
|
8869
9034
|
campaigns: {
|
@@ -8933,6 +9098,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8933
9098
|
computeChainId: number;
|
8934
9099
|
distributionChainId: number;
|
8935
9100
|
campaignId: string;
|
9101
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
8936
9102
|
rewardTokenId: string;
|
8937
9103
|
amount: string;
|
8938
9104
|
opportunityId: string;
|
@@ -9040,6 +9206,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9040
9206
|
tags: string[];
|
9041
9207
|
icon: string;
|
9042
9208
|
} | null | undefined;
|
9209
|
+
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;
|
9043
9210
|
depositUrl?: string | undefined;
|
9044
9211
|
explorerAddress?: string | undefined;
|
9045
9212
|
aprRecord?: {
|
@@ -9171,6 +9338,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9171
9338
|
tags: string[];
|
9172
9339
|
icon: string;
|
9173
9340
|
} | null | undefined;
|
9341
|
+
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;
|
9174
9342
|
depositUrl?: string | undefined;
|
9175
9343
|
explorerAddress?: string | undefined;
|
9176
9344
|
aprRecord?: {
|
@@ -9336,6 +9504,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9336
9504
|
tags: string[];
|
9337
9505
|
icon: string;
|
9338
9506
|
} | null | undefined;
|
9507
|
+
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;
|
9339
9508
|
depositUrl?: string | undefined;
|
9340
9509
|
explorerAddress?: string | undefined;
|
9341
9510
|
aprRecord?: {
|
@@ -9679,6 +9848,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9679
9848
|
computeChainId: number;
|
9680
9849
|
distributionChainId: number;
|
9681
9850
|
campaignId: string;
|
9851
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
9682
9852
|
rewardTokenId: string;
|
9683
9853
|
amount: string;
|
9684
9854
|
opportunityId: string;
|
@@ -9767,6 +9937,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9767
9937
|
computeChainId: number;
|
9768
9938
|
distributionChainId: number;
|
9769
9939
|
campaignId: string;
|
9940
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
9770
9941
|
rewardTokenId: string;
|
9771
9942
|
amount: string;
|
9772
9943
|
opportunityId: string;
|
@@ -9817,11 +9988,42 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9817
9988
|
};
|
9818
9989
|
};
|
9819
9990
|
};
|
9991
|
+
} & {
|
9992
|
+
"dry-run": {
|
9993
|
+
"dynamic-data": {
|
9994
|
+
list: {
|
9995
|
+
post: {
|
9996
|
+
body: string[];
|
9997
|
+
params: {};
|
9998
|
+
query: unknown;
|
9999
|
+
headers: {
|
10000
|
+
authorization: string;
|
10001
|
+
};
|
10002
|
+
response: {
|
10003
|
+
200: unknown[];
|
10004
|
+
};
|
10005
|
+
};
|
10006
|
+
};
|
10007
|
+
};
|
10008
|
+
};
|
9820
10009
|
} & {
|
9821
10010
|
"dry-run": {
|
9822
10011
|
"dynamic-data": {
|
9823
10012
|
post: {
|
9824
|
-
body:
|
10013
|
+
body: {
|
10014
|
+
id?: string | undefined;
|
10015
|
+
subType?: number | undefined;
|
10016
|
+
campaignId?: string | undefined;
|
10017
|
+
amount?: string | undefined;
|
10018
|
+
creatorAddress?: string | undefined;
|
10019
|
+
type: string;
|
10020
|
+
params: any;
|
10021
|
+
computeChainId: number;
|
10022
|
+
distributionChainId: number;
|
10023
|
+
startTimestamp: number;
|
10024
|
+
endTimestamp: number;
|
10025
|
+
rewardToken: string;
|
10026
|
+
};
|
9825
10027
|
params: {};
|
9826
10028
|
query: unknown;
|
9827
10029
|
headers: {
|
@@ -9833,6 +10035,62 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9833
10035
|
};
|
9834
10036
|
};
|
9835
10037
|
};
|
10038
|
+
} & {
|
10039
|
+
"dry-run": {
|
10040
|
+
metadata: {
|
10041
|
+
post: {
|
10042
|
+
body: {
|
10043
|
+
id?: string | undefined;
|
10044
|
+
subType?: number | undefined;
|
10045
|
+
campaignId?: string | undefined;
|
10046
|
+
amount?: string | undefined;
|
10047
|
+
creatorAddress?: string | undefined;
|
10048
|
+
type: string;
|
10049
|
+
params: any;
|
10050
|
+
computeChainId: number;
|
10051
|
+
distributionChainId: number;
|
10052
|
+
startTimestamp: number;
|
10053
|
+
endTimestamp: number;
|
10054
|
+
rewardToken: string;
|
10055
|
+
};
|
10056
|
+
params: {};
|
10057
|
+
query: unknown;
|
10058
|
+
headers: {
|
10059
|
+
authorization: string;
|
10060
|
+
};
|
10061
|
+
response: {
|
10062
|
+
200: {
|
10063
|
+
id: string;
|
10064
|
+
chainId: number;
|
10065
|
+
type: string;
|
10066
|
+
identifier: string;
|
10067
|
+
name: string;
|
10068
|
+
status: "PAST" | "LIVE" | "SOON";
|
10069
|
+
action: any;
|
10070
|
+
tokens: ({
|
10071
|
+
symbol: string;
|
10072
|
+
id: string;
|
10073
|
+
name: string | null;
|
10074
|
+
icon: string;
|
10075
|
+
address: string;
|
10076
|
+
chainId: number;
|
10077
|
+
decimals: number;
|
10078
|
+
verified: boolean;
|
10079
|
+
isTest: boolean;
|
10080
|
+
isPoint: boolean;
|
10081
|
+
isNative: boolean;
|
10082
|
+
} & {
|
10083
|
+
price?: number | null | undefined;
|
10084
|
+
})[];
|
10085
|
+
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
10086
|
+
depositUrl: any;
|
10087
|
+
explorerAddress: string | undefined;
|
10088
|
+
tags: string[];
|
10089
|
+
};
|
10090
|
+
};
|
10091
|
+
};
|
10092
|
+
};
|
10093
|
+
};
|
9836
10094
|
} & {
|
9837
10095
|
"dry-run": {
|
9838
10096
|
metadata: {
|
@@ -9977,6 +10235,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9977
10235
|
computeChainId: number;
|
9978
10236
|
distributionChainId: number;
|
9979
10237
|
campaignId: string;
|
10238
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
9980
10239
|
rewardTokenId: string;
|
9981
10240
|
amount: string;
|
9982
10241
|
opportunityId: string;
|
@@ -10061,6 +10320,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
10061
10320
|
computeChainId: number;
|
10062
10321
|
distributionChainId: number;
|
10063
10322
|
campaignId: string;
|
10323
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
10064
10324
|
rewardTokenId: string;
|
10065
10325
|
amount: string;
|
10066
10326
|
opportunityId: string;
|
@@ -10246,6 +10506,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
10246
10506
|
computeChainId: number;
|
10247
10507
|
distributionChainId: number;
|
10248
10508
|
campaignId: string;
|
10509
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
10249
10510
|
rewardTokenId: string;
|
10250
10511
|
amount: string;
|
10251
10512
|
opportunityId: string;
|
@@ -12951,10 +13212,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
12951
13212
|
endTimestamp?: number | undefined;
|
12952
13213
|
blacklist?: string[] | undefined;
|
12953
13214
|
poolAddress?: string | undefined;
|
13215
|
+
contract?: string | undefined;
|
12954
13216
|
marketId?: string | undefined;
|
12955
13217
|
strategy?: string | undefined;
|
12956
13218
|
poolId?: string | undefined;
|
12957
|
-
contract?: string | undefined;
|
12958
13219
|
forwarders?: (string | {})[] | undefined;
|
12959
13220
|
whitelist?: string[] | undefined;
|
12960
13221
|
targetToken?: string | undefined;
|
@@ -14434,6 +14695,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14434
14695
|
tags: string[];
|
14435
14696
|
icon: string;
|
14436
14697
|
} | null | undefined;
|
14698
|
+
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;
|
14437
14699
|
depositUrl?: string | undefined;
|
14438
14700
|
explorerAddress?: string | undefined;
|
14439
14701
|
aprRecord?: {
|
@@ -14539,6 +14801,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14539
14801
|
tags: string[];
|
14540
14802
|
icon: string;
|
14541
14803
|
} | null | undefined;
|
14804
|
+
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;
|
14542
14805
|
depositUrl?: string | undefined;
|
14543
14806
|
explorerAddress?: string | undefined;
|
14544
14807
|
aprRecord?: {
|
@@ -14826,6 +15089,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14826
15089
|
price: number | null;
|
14827
15090
|
};
|
14828
15091
|
amount: bigint;
|
15092
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
14829
15093
|
}[];
|
14830
15094
|
};
|
14831
15095
|
campaigns: {
|
@@ -14895,6 +15159,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14895
15159
|
computeChainId: number;
|
14896
15160
|
distributionChainId: number;
|
14897
15161
|
campaignId: string;
|
15162
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
14898
15163
|
rewardTokenId: string;
|
14899
15164
|
amount: string;
|
14900
15165
|
opportunityId: string;
|
@@ -15010,6 +15275,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15010
15275
|
tags: string[];
|
15011
15276
|
icon: string;
|
15012
15277
|
} | null | undefined;
|
15278
|
+
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;
|
15013
15279
|
depositUrl?: string | undefined;
|
15014
15280
|
explorerAddress?: string | undefined;
|
15015
15281
|
aprRecord?: {
|
@@ -15329,6 +15595,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15329
15595
|
computeChainId: number;
|
15330
15596
|
distributionChainId: number;
|
15331
15597
|
campaignId: string;
|
15598
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
15332
15599
|
rewardTokenId: string;
|
15333
15600
|
amount: string;
|
15334
15601
|
opportunityId: string;
|
@@ -15378,6 +15645,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15378
15645
|
computeChainId: number;
|
15379
15646
|
distributionChainId: number;
|
15380
15647
|
campaignId: string;
|
15648
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
15381
15649
|
rewardTokenId: string;
|
15382
15650
|
amount: string;
|
15383
15651
|
opportunityId: string;
|
@@ -15454,6 +15722,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15454
15722
|
computeChainId: number;
|
15455
15723
|
distributionChainId: number;
|
15456
15724
|
campaignId: string;
|
15725
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
15457
15726
|
rewardTokenId: string;
|
15458
15727
|
amount: string;
|
15459
15728
|
opportunityId: string;
|
@@ -15481,7 +15750,31 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15481
15750
|
};
|
15482
15751
|
}) & {
|
15483
15752
|
"dynamic-data": {
|
15484
|
-
|
15753
|
+
list: {
|
15754
|
+
post: (body: string[], options: {
|
15755
|
+
headers: {
|
15756
|
+
authorization: string;
|
15757
|
+
};
|
15758
|
+
query?: Record<string, unknown> | undefined;
|
15759
|
+
fetch?: RequestInit | undefined;
|
15760
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
15761
|
+
200: unknown[];
|
15762
|
+
}>>;
|
15763
|
+
};
|
15764
|
+
post: (body: {
|
15765
|
+
id?: string | undefined;
|
15766
|
+
subType?: number | undefined;
|
15767
|
+
campaignId?: string | undefined;
|
15768
|
+
amount?: string | undefined;
|
15769
|
+
creatorAddress?: string | undefined;
|
15770
|
+
type: string;
|
15771
|
+
params: any;
|
15772
|
+
computeChainId: number;
|
15773
|
+
distributionChainId: number;
|
15774
|
+
startTimestamp: number;
|
15775
|
+
endTimestamp: number;
|
15776
|
+
rewardToken: string;
|
15777
|
+
}, options: {
|
15485
15778
|
headers: {
|
15486
15779
|
authorization: string;
|
15487
15780
|
};
|
@@ -15492,6 +15785,55 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15492
15785
|
}>>;
|
15493
15786
|
};
|
15494
15787
|
metadata: {
|
15788
|
+
post: (body: {
|
15789
|
+
id?: string | undefined;
|
15790
|
+
subType?: number | undefined;
|
15791
|
+
campaignId?: string | undefined;
|
15792
|
+
amount?: string | undefined;
|
15793
|
+
creatorAddress?: string | undefined;
|
15794
|
+
type: string;
|
15795
|
+
params: any;
|
15796
|
+
computeChainId: number;
|
15797
|
+
distributionChainId: number;
|
15798
|
+
startTimestamp: number;
|
15799
|
+
endTimestamp: number;
|
15800
|
+
rewardToken: string;
|
15801
|
+
}, options: {
|
15802
|
+
headers: {
|
15803
|
+
authorization: string;
|
15804
|
+
};
|
15805
|
+
query?: Record<string, unknown> | undefined;
|
15806
|
+
fetch?: RequestInit | undefined;
|
15807
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
15808
|
+
200: {
|
15809
|
+
id: string;
|
15810
|
+
chainId: number;
|
15811
|
+
type: string;
|
15812
|
+
identifier: string;
|
15813
|
+
name: string;
|
15814
|
+
status: "PAST" | "LIVE" | "SOON";
|
15815
|
+
action: any;
|
15816
|
+
tokens: ({
|
15817
|
+
symbol: string;
|
15818
|
+
id: string;
|
15819
|
+
name: string | null;
|
15820
|
+
icon: string;
|
15821
|
+
address: string;
|
15822
|
+
chainId: number;
|
15823
|
+
decimals: number;
|
15824
|
+
verified: boolean;
|
15825
|
+
isTest: boolean;
|
15826
|
+
isPoint: boolean;
|
15827
|
+
isNative: boolean;
|
15828
|
+
} & {
|
15829
|
+
price?: number | null | undefined;
|
15830
|
+
})[];
|
15831
|
+
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
15832
|
+
depositUrl: any;
|
15833
|
+
explorerAddress: string | undefined;
|
15834
|
+
tags: string[];
|
15835
|
+
};
|
15836
|
+
}>>;
|
15495
15837
|
get: (options: {
|
15496
15838
|
headers: {
|
15497
15839
|
authorization: string;
|
@@ -15629,6 +15971,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15629
15971
|
computeChainId: number;
|
15630
15972
|
distributionChainId: number;
|
15631
15973
|
campaignId: string;
|
15974
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
15632
15975
|
rewardTokenId: string;
|
15633
15976
|
amount: string;
|
15634
15977
|
opportunityId: string;
|
@@ -17825,10 +18168,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17825
18168
|
endTimestamp?: number | undefined;
|
17826
18169
|
blacklist?: string[] | undefined;
|
17827
18170
|
poolAddress?: string | undefined;
|
18171
|
+
contract?: string | undefined;
|
17828
18172
|
marketId?: string | undefined;
|
17829
18173
|
strategy?: string | undefined;
|
17830
18174
|
poolId?: string | undefined;
|
17831
|
-
contract?: string | undefined;
|
17832
18175
|
forwarders?: (string | {})[] | undefined;
|
17833
18176
|
whitelist?: string[] | undefined;
|
17834
18177
|
targetToken?: string | undefined;
|
@@ -18307,6 +18650,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18307
18650
|
tags: string[];
|
18308
18651
|
icon: string;
|
18309
18652
|
} | null | undefined;
|
18653
|
+
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;
|
18310
18654
|
depositUrl?: string | undefined;
|
18311
18655
|
explorerAddress?: string | undefined;
|
18312
18656
|
aprRecord?: {
|
@@ -18412,6 +18756,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18412
18756
|
tags: string[];
|
18413
18757
|
icon: string;
|
18414
18758
|
} | null | undefined;
|
18759
|
+
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;
|
18415
18760
|
depositUrl?: string | undefined;
|
18416
18761
|
explorerAddress?: string | undefined;
|
18417
18762
|
aprRecord?: {
|
@@ -18699,6 +19044,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18699
19044
|
price: number | null;
|
18700
19045
|
};
|
18701
19046
|
amount: bigint;
|
19047
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
18702
19048
|
}[];
|
18703
19049
|
};
|
18704
19050
|
campaigns: {
|
@@ -18768,6 +19114,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18768
19114
|
computeChainId: number;
|
18769
19115
|
distributionChainId: number;
|
18770
19116
|
campaignId: string;
|
19117
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
18771
19118
|
rewardTokenId: string;
|
18772
19119
|
amount: string;
|
18773
19120
|
opportunityId: string;
|
@@ -18883,6 +19230,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18883
19230
|
tags: string[];
|
18884
19231
|
icon: string;
|
18885
19232
|
} | null | undefined;
|
19233
|
+
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;
|
18886
19234
|
depositUrl?: string | undefined;
|
18887
19235
|
explorerAddress?: string | undefined;
|
18888
19236
|
aprRecord?: {
|
@@ -19202,6 +19550,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19202
19550
|
computeChainId: number;
|
19203
19551
|
distributionChainId: number;
|
19204
19552
|
campaignId: string;
|
19553
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
19205
19554
|
rewardTokenId: string;
|
19206
19555
|
amount: string;
|
19207
19556
|
opportunityId: string;
|
@@ -19251,6 +19600,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19251
19600
|
computeChainId: number;
|
19252
19601
|
distributionChainId: number;
|
19253
19602
|
campaignId: string;
|
19603
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
19254
19604
|
rewardTokenId: string;
|
19255
19605
|
amount: string;
|
19256
19606
|
opportunityId: string;
|
@@ -19327,6 +19677,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19327
19677
|
computeChainId: number;
|
19328
19678
|
distributionChainId: number;
|
19329
19679
|
campaignId: string;
|
19680
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
19330
19681
|
rewardTokenId: string;
|
19331
19682
|
amount: string;
|
19332
19683
|
opportunityId: string;
|
@@ -19354,7 +19705,31 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19354
19705
|
};
|
19355
19706
|
}) & {
|
19356
19707
|
"dynamic-data": {
|
19357
|
-
|
19708
|
+
list: {
|
19709
|
+
post: (body: string[], options: {
|
19710
|
+
headers: {
|
19711
|
+
authorization: string;
|
19712
|
+
};
|
19713
|
+
query?: Record<string, unknown> | undefined;
|
19714
|
+
fetch?: RequestInit | undefined;
|
19715
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19716
|
+
200: unknown[];
|
19717
|
+
}>>;
|
19718
|
+
};
|
19719
|
+
post: (body: {
|
19720
|
+
id?: string | undefined;
|
19721
|
+
subType?: number | undefined;
|
19722
|
+
campaignId?: string | undefined;
|
19723
|
+
amount?: string | undefined;
|
19724
|
+
creatorAddress?: string | undefined;
|
19725
|
+
type: string;
|
19726
|
+
params: any;
|
19727
|
+
computeChainId: number;
|
19728
|
+
distributionChainId: number;
|
19729
|
+
startTimestamp: number;
|
19730
|
+
endTimestamp: number;
|
19731
|
+
rewardToken: string;
|
19732
|
+
}, options: {
|
19358
19733
|
headers: {
|
19359
19734
|
authorization: string;
|
19360
19735
|
};
|
@@ -19365,6 +19740,55 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19365
19740
|
}>>;
|
19366
19741
|
};
|
19367
19742
|
metadata: {
|
19743
|
+
post: (body: {
|
19744
|
+
id?: string | undefined;
|
19745
|
+
subType?: number | undefined;
|
19746
|
+
campaignId?: string | undefined;
|
19747
|
+
amount?: string | undefined;
|
19748
|
+
creatorAddress?: string | undefined;
|
19749
|
+
type: string;
|
19750
|
+
params: any;
|
19751
|
+
computeChainId: number;
|
19752
|
+
distributionChainId: number;
|
19753
|
+
startTimestamp: number;
|
19754
|
+
endTimestamp: number;
|
19755
|
+
rewardToken: string;
|
19756
|
+
}, options: {
|
19757
|
+
headers: {
|
19758
|
+
authorization: string;
|
19759
|
+
};
|
19760
|
+
query?: Record<string, unknown> | undefined;
|
19761
|
+
fetch?: RequestInit | undefined;
|
19762
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19763
|
+
200: {
|
19764
|
+
id: string;
|
19765
|
+
chainId: number;
|
19766
|
+
type: string;
|
19767
|
+
identifier: string;
|
19768
|
+
name: string;
|
19769
|
+
status: "PAST" | "LIVE" | "SOON";
|
19770
|
+
action: any;
|
19771
|
+
tokens: ({
|
19772
|
+
symbol: string;
|
19773
|
+
id: string;
|
19774
|
+
name: string | null;
|
19775
|
+
icon: string;
|
19776
|
+
address: string;
|
19777
|
+
chainId: number;
|
19778
|
+
decimals: number;
|
19779
|
+
verified: boolean;
|
19780
|
+
isTest: boolean;
|
19781
|
+
isPoint: boolean;
|
19782
|
+
isNative: boolean;
|
19783
|
+
} & {
|
19784
|
+
price?: number | null | undefined;
|
19785
|
+
})[];
|
19786
|
+
mainProtocol: "splice" | "morpho" | "quickswap" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "ramses" | "retro" | "stryke" | "sushi-swap" | "swapr" | "thruster" | "voltage" | "zero" | "koi" | "supswap" | "zk-swap" | "thirdtrade" | "swap-x" | "velodrome" | "aerodrome" | "balancer" | "curve" | "cross_curve" | "curveNPool" | "aura" | "akron" | "beefy" | "dragonswap" | "poolside" | "syncswap" | "neptune" | "zkSwapThreePool" | "rfx" | "ra" | "maverick" | "trader-joe" | "hanji" | "radiant" | "aave" | "fraxlend" | "ironclad" | "gearbox" | "compound" | "sturdy" | "frax" | "ionic" | "moonwell" | "fluid" | "silo" | "dolomite" | "badger" | "ajna" | "layerbank" | "ion" | "venus" | "woofi" | "reactor_fusion" | "eigenlayer" | "vest" | "zerolend" | "hyperdrive" | "gamma" | "oku" | "hourglass" | "veda" | "kyo" | "sonex" | "lendle" | "tako-tako" | "equalizer" | "spectra" | "beraborrow" | "superlend" | "avalon" | "iguana" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
19787
|
+
depositUrl: any;
|
19788
|
+
explorerAddress: string | undefined;
|
19789
|
+
tags: string[];
|
19790
|
+
};
|
19791
|
+
}>>;
|
19368
19792
|
get: (options: {
|
19369
19793
|
headers: {
|
19370
19794
|
authorization: string;
|
@@ -19502,6 +19926,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19502
19926
|
computeChainId: number;
|
19503
19927
|
distributionChainId: number;
|
19504
19928
|
campaignId: string;
|
19929
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
19505
19930
|
rewardTokenId: string;
|
19506
19931
|
amount: string;
|
19507
19932
|
opportunityId: string;
|
@@ -21698,10 +22123,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
21698
22123
|
endTimestamp?: number | undefined;
|
21699
22124
|
blacklist?: string[] | undefined;
|
21700
22125
|
poolAddress?: string | undefined;
|
22126
|
+
contract?: string | undefined;
|
21701
22127
|
marketId?: string | undefined;
|
21702
22128
|
strategy?: string | undefined;
|
21703
22129
|
poolId?: string | undefined;
|
21704
|
-
contract?: string | undefined;
|
21705
22130
|
forwarders?: (string | {})[] | undefined;
|
21706
22131
|
whitelist?: string[] | undefined;
|
21707
22132
|
targetToken?: string | undefined;
|