@merkl/api 0.20.47 → 0.20.49
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 +440 -10
- package/dist/src/index.d.ts +100 -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/dynamicData/dynamicData.controller.d.ts +2 -0
- package/dist/src/modules/v4/dynamicData/dynamicData.controller.js +1 -1
- package/dist/src/modules/v4/dynamicData/dynamicData.model.d.ts +2 -0
- package/dist/src/modules/v4/dynamicData/dynamicData.model.js +2 -0
- package/dist/src/modules/v4/dynamicData/dynamicData.service.d.ts +1 -1
- package/dist/src/modules/v4/dynamicData/dynamicData.service.js +3 -3
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +4 -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 +5 -0
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +5 -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.service.d.ts +1 -0
- package/dist/src/modules/v4/router.d.ts +100 -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?: {
|
@@ -671,6 +673,7 @@ declare const eden: {
|
|
671
673
|
computeChainId: number;
|
672
674
|
distributionChainId: number;
|
673
675
|
campaignId: string;
|
676
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
674
677
|
rewardTokenId: string;
|
675
678
|
amount: string;
|
676
679
|
opportunityId: string;
|
@@ -786,6 +789,7 @@ declare const eden: {
|
|
786
789
|
tags: string[];
|
787
790
|
icon: string;
|
788
791
|
} | null | undefined;
|
792
|
+
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
793
|
depositUrl?: string | undefined;
|
790
794
|
explorerAddress?: string | undefined;
|
791
795
|
aprRecord?: {
|
@@ -1105,6 +1109,7 @@ declare const eden: {
|
|
1105
1109
|
computeChainId: number;
|
1106
1110
|
distributionChainId: number;
|
1107
1111
|
campaignId: string;
|
1112
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
1108
1113
|
rewardTokenId: string;
|
1109
1114
|
amount: string;
|
1110
1115
|
opportunityId: string;
|
@@ -1154,6 +1159,7 @@ declare const eden: {
|
|
1154
1159
|
computeChainId: number;
|
1155
1160
|
distributionChainId: number;
|
1156
1161
|
campaignId: string;
|
1162
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
1157
1163
|
rewardTokenId: string;
|
1158
1164
|
amount: string;
|
1159
1165
|
opportunityId: string;
|
@@ -1230,6 +1236,7 @@ declare const eden: {
|
|
1230
1236
|
computeChainId: number;
|
1231
1237
|
distributionChainId: number;
|
1232
1238
|
campaignId: string;
|
1239
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
1233
1240
|
rewardTokenId: string;
|
1234
1241
|
amount: string;
|
1235
1242
|
opportunityId: string;
|
@@ -1257,7 +1264,31 @@ declare const eden: {
|
|
1257
1264
|
};
|
1258
1265
|
}) & {
|
1259
1266
|
"dynamic-data": {
|
1260
|
-
|
1267
|
+
list: {
|
1268
|
+
post: (body: string[], options: {
|
1269
|
+
headers: {
|
1270
|
+
authorization: string;
|
1271
|
+
};
|
1272
|
+
query?: Record<string, unknown> | undefined;
|
1273
|
+
fetch?: RequestInit | undefined;
|
1274
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1275
|
+
200: unknown[];
|
1276
|
+
}>>;
|
1277
|
+
};
|
1278
|
+
post: (body: {
|
1279
|
+
id?: string | undefined;
|
1280
|
+
subType?: number | undefined;
|
1281
|
+
campaignId?: string | undefined;
|
1282
|
+
amount?: string | undefined;
|
1283
|
+
creatorAddress?: string | undefined;
|
1284
|
+
type: string;
|
1285
|
+
params: any;
|
1286
|
+
computeChainId: number;
|
1287
|
+
distributionChainId: number;
|
1288
|
+
startTimestamp: number;
|
1289
|
+
endTimestamp: number;
|
1290
|
+
rewardToken: string;
|
1291
|
+
}, options: {
|
1261
1292
|
headers: {
|
1262
1293
|
authorization: string;
|
1263
1294
|
};
|
@@ -1268,6 +1299,55 @@ declare const eden: {
|
|
1268
1299
|
}>>;
|
1269
1300
|
};
|
1270
1301
|
metadata: {
|
1302
|
+
post: (body: {
|
1303
|
+
id?: string | undefined;
|
1304
|
+
subType?: number | undefined;
|
1305
|
+
campaignId?: string | undefined;
|
1306
|
+
amount?: string | undefined;
|
1307
|
+
creatorAddress?: string | undefined;
|
1308
|
+
type: string;
|
1309
|
+
params: any;
|
1310
|
+
computeChainId: number;
|
1311
|
+
distributionChainId: number;
|
1312
|
+
startTimestamp: number;
|
1313
|
+
endTimestamp: number;
|
1314
|
+
rewardToken: string;
|
1315
|
+
}, options: {
|
1316
|
+
headers: {
|
1317
|
+
authorization: string;
|
1318
|
+
};
|
1319
|
+
query?: Record<string, unknown> | undefined;
|
1320
|
+
fetch?: RequestInit | undefined;
|
1321
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1322
|
+
200: {
|
1323
|
+
id: string;
|
1324
|
+
chainId: number;
|
1325
|
+
type: string;
|
1326
|
+
identifier: string;
|
1327
|
+
name: string;
|
1328
|
+
status: "PAST" | "LIVE" | "SOON";
|
1329
|
+
action: any;
|
1330
|
+
tokens: ({
|
1331
|
+
symbol: string;
|
1332
|
+
id: string;
|
1333
|
+
name: string | null;
|
1334
|
+
icon: string;
|
1335
|
+
address: string;
|
1336
|
+
chainId: number;
|
1337
|
+
decimals: number;
|
1338
|
+
verified: boolean;
|
1339
|
+
isTest: boolean;
|
1340
|
+
isPoint: boolean;
|
1341
|
+
isNative: boolean;
|
1342
|
+
} & {
|
1343
|
+
price?: number | null | undefined;
|
1344
|
+
})[];
|
1345
|
+
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;
|
1346
|
+
depositUrl: any;
|
1347
|
+
explorerAddress: string | undefined;
|
1348
|
+
tags: string[];
|
1349
|
+
};
|
1350
|
+
}>>;
|
1271
1351
|
get: (options: {
|
1272
1352
|
headers: {
|
1273
1353
|
authorization: string;
|
@@ -1405,6 +1485,7 @@ declare const eden: {
|
|
1405
1485
|
computeChainId: number;
|
1406
1486
|
distributionChainId: number;
|
1407
1487
|
campaignId: string;
|
1488
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
1408
1489
|
rewardTokenId: string;
|
1409
1490
|
amount: string;
|
1410
1491
|
opportunityId: string;
|
@@ -3234,6 +3315,8 @@ declare const eden: {
|
|
3234
3315
|
decimals?: number | undefined;
|
3235
3316
|
chainId: number;
|
3236
3317
|
tokenAddress: string;
|
3318
|
+
rewardTokenAddress: string;
|
3319
|
+
symbolRewardToken: string;
|
3237
3320
|
};
|
3238
3321
|
fetch?: RequestInit | undefined;
|
3239
3322
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -3599,10 +3682,10 @@ declare const eden: {
|
|
3599
3682
|
endTimestamp?: number | undefined;
|
3600
3683
|
blacklist?: string[] | undefined;
|
3601
3684
|
poolAddress?: string | undefined;
|
3685
|
+
contract?: string | undefined;
|
3602
3686
|
marketId?: string | undefined;
|
3603
3687
|
strategy?: string | undefined;
|
3604
3688
|
poolId?: string | undefined;
|
3605
|
-
contract?: string | undefined;
|
3606
3689
|
forwarders?: (string | {})[] | undefined;
|
3607
3690
|
whitelist?: string[] | undefined;
|
3608
3691
|
targetToken?: string | undefined;
|
@@ -4081,6 +4164,7 @@ declare const eden: {
|
|
4081
4164
|
tags: string[];
|
4082
4165
|
icon: string;
|
4083
4166
|
} | null | undefined;
|
4167
|
+
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;
|
4084
4168
|
depositUrl?: string | undefined;
|
4085
4169
|
explorerAddress?: string | undefined;
|
4086
4170
|
aprRecord?: {
|
@@ -4186,6 +4270,7 @@ declare const eden: {
|
|
4186
4270
|
tags: string[];
|
4187
4271
|
icon: string;
|
4188
4272
|
} | null | undefined;
|
4273
|
+
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;
|
4189
4274
|
depositUrl?: string | undefined;
|
4190
4275
|
explorerAddress?: string | undefined;
|
4191
4276
|
aprRecord?: {
|
@@ -4542,6 +4627,7 @@ declare const eden: {
|
|
4542
4627
|
computeChainId: number;
|
4543
4628
|
distributionChainId: number;
|
4544
4629
|
campaignId: string;
|
4630
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
4545
4631
|
rewardTokenId: string;
|
4546
4632
|
amount: string;
|
4547
4633
|
opportunityId: string;
|
@@ -4657,6 +4743,7 @@ declare const eden: {
|
|
4657
4743
|
tags: string[];
|
4658
4744
|
icon: string;
|
4659
4745
|
} | null | undefined;
|
4746
|
+
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;
|
4660
4747
|
depositUrl?: string | undefined;
|
4661
4748
|
explorerAddress?: string | undefined;
|
4662
4749
|
aprRecord?: {
|
@@ -4976,6 +5063,7 @@ declare const eden: {
|
|
4976
5063
|
computeChainId: number;
|
4977
5064
|
distributionChainId: number;
|
4978
5065
|
campaignId: string;
|
5066
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
4979
5067
|
rewardTokenId: string;
|
4980
5068
|
amount: string;
|
4981
5069
|
opportunityId: string;
|
@@ -5025,6 +5113,7 @@ declare const eden: {
|
|
5025
5113
|
computeChainId: number;
|
5026
5114
|
distributionChainId: number;
|
5027
5115
|
campaignId: string;
|
5116
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
5028
5117
|
rewardTokenId: string;
|
5029
5118
|
amount: string;
|
5030
5119
|
opportunityId: string;
|
@@ -5101,6 +5190,7 @@ declare const eden: {
|
|
5101
5190
|
computeChainId: number;
|
5102
5191
|
distributionChainId: number;
|
5103
5192
|
campaignId: string;
|
5193
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
5104
5194
|
rewardTokenId: string;
|
5105
5195
|
amount: string;
|
5106
5196
|
opportunityId: string;
|
@@ -5128,7 +5218,31 @@ declare const eden: {
|
|
5128
5218
|
};
|
5129
5219
|
}) & {
|
5130
5220
|
"dynamic-data": {
|
5131
|
-
|
5221
|
+
list: {
|
5222
|
+
post: (body: string[], options: {
|
5223
|
+
headers: {
|
5224
|
+
authorization: string;
|
5225
|
+
};
|
5226
|
+
query?: Record<string, unknown> | undefined;
|
5227
|
+
fetch?: RequestInit | undefined;
|
5228
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5229
|
+
200: unknown[];
|
5230
|
+
}>>;
|
5231
|
+
};
|
5232
|
+
post: (body: {
|
5233
|
+
id?: string | undefined;
|
5234
|
+
subType?: number | undefined;
|
5235
|
+
campaignId?: string | undefined;
|
5236
|
+
amount?: string | undefined;
|
5237
|
+
creatorAddress?: string | undefined;
|
5238
|
+
type: string;
|
5239
|
+
params: any;
|
5240
|
+
computeChainId: number;
|
5241
|
+
distributionChainId: number;
|
5242
|
+
startTimestamp: number;
|
5243
|
+
endTimestamp: number;
|
5244
|
+
rewardToken: string;
|
5245
|
+
}, options: {
|
5132
5246
|
headers: {
|
5133
5247
|
authorization: string;
|
5134
5248
|
};
|
@@ -5139,6 +5253,55 @@ declare const eden: {
|
|
5139
5253
|
}>>;
|
5140
5254
|
};
|
5141
5255
|
metadata: {
|
5256
|
+
post: (body: {
|
5257
|
+
id?: string | undefined;
|
5258
|
+
subType?: number | undefined;
|
5259
|
+
campaignId?: string | undefined;
|
5260
|
+
amount?: string | undefined;
|
5261
|
+
creatorAddress?: string | undefined;
|
5262
|
+
type: string;
|
5263
|
+
params: any;
|
5264
|
+
computeChainId: number;
|
5265
|
+
distributionChainId: number;
|
5266
|
+
startTimestamp: number;
|
5267
|
+
endTimestamp: number;
|
5268
|
+
rewardToken: string;
|
5269
|
+
}, options: {
|
5270
|
+
headers: {
|
5271
|
+
authorization: string;
|
5272
|
+
};
|
5273
|
+
query?: Record<string, unknown> | undefined;
|
5274
|
+
fetch?: RequestInit | undefined;
|
5275
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5276
|
+
200: {
|
5277
|
+
id: string;
|
5278
|
+
chainId: number;
|
5279
|
+
type: string;
|
5280
|
+
identifier: string;
|
5281
|
+
name: string;
|
5282
|
+
status: "PAST" | "LIVE" | "SOON";
|
5283
|
+
action: any;
|
5284
|
+
tokens: ({
|
5285
|
+
symbol: string;
|
5286
|
+
id: string;
|
5287
|
+
name: string | null;
|
5288
|
+
icon: string;
|
5289
|
+
address: string;
|
5290
|
+
chainId: number;
|
5291
|
+
decimals: number;
|
5292
|
+
verified: boolean;
|
5293
|
+
isTest: boolean;
|
5294
|
+
isPoint: boolean;
|
5295
|
+
isNative: boolean;
|
5296
|
+
} & {
|
5297
|
+
price?: number | null | undefined;
|
5298
|
+
})[];
|
5299
|
+
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;
|
5300
|
+
depositUrl: any;
|
5301
|
+
explorerAddress: string | undefined;
|
5302
|
+
tags: string[];
|
5303
|
+
};
|
5304
|
+
}>>;
|
5142
5305
|
get: (options: {
|
5143
5306
|
headers: {
|
5144
5307
|
authorization: string;
|
@@ -5276,6 +5439,7 @@ declare const eden: {
|
|
5276
5439
|
computeChainId: number;
|
5277
5440
|
distributionChainId: number;
|
5278
5441
|
campaignId: string;
|
5442
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
5279
5443
|
rewardTokenId: string;
|
5280
5444
|
amount: string;
|
5281
5445
|
opportunityId: string;
|
@@ -7105,6 +7269,8 @@ declare const eden: {
|
|
7105
7269
|
decimals?: number | undefined;
|
7106
7270
|
chainId: number;
|
7107
7271
|
tokenAddress: string;
|
7272
|
+
rewardTokenAddress: string;
|
7273
|
+
symbolRewardToken: string;
|
7108
7274
|
};
|
7109
7275
|
fetch?: RequestInit | undefined;
|
7110
7276
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -7470,10 +7636,10 @@ declare const eden: {
|
|
7470
7636
|
endTimestamp?: number | undefined;
|
7471
7637
|
blacklist?: string[] | undefined;
|
7472
7638
|
poolAddress?: string | undefined;
|
7639
|
+
contract?: string | undefined;
|
7473
7640
|
marketId?: string | undefined;
|
7474
7641
|
strategy?: string | undefined;
|
7475
7642
|
poolId?: string | undefined;
|
7476
|
-
contract?: string | undefined;
|
7477
7643
|
forwarders?: (string | {})[] | undefined;
|
7478
7644
|
whitelist?: string[] | undefined;
|
7479
7645
|
targetToken?: string | undefined;
|
@@ -8929,6 +9095,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8929
9095
|
computeChainId: number;
|
8930
9096
|
distributionChainId: number;
|
8931
9097
|
campaignId: string;
|
9098
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
8932
9099
|
rewardTokenId: string;
|
8933
9100
|
amount: string;
|
8934
9101
|
opportunityId: string;
|
@@ -9036,6 +9203,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9036
9203
|
tags: string[];
|
9037
9204
|
icon: string;
|
9038
9205
|
} | null | undefined;
|
9206
|
+
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;
|
9039
9207
|
depositUrl?: string | undefined;
|
9040
9208
|
explorerAddress?: string | undefined;
|
9041
9209
|
aprRecord?: {
|
@@ -9167,6 +9335,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9167
9335
|
tags: string[];
|
9168
9336
|
icon: string;
|
9169
9337
|
} | null | undefined;
|
9338
|
+
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;
|
9170
9339
|
depositUrl?: string | undefined;
|
9171
9340
|
explorerAddress?: string | undefined;
|
9172
9341
|
aprRecord?: {
|
@@ -9332,6 +9501,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9332
9501
|
tags: string[];
|
9333
9502
|
icon: string;
|
9334
9503
|
} | null | undefined;
|
9504
|
+
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;
|
9335
9505
|
depositUrl?: string | undefined;
|
9336
9506
|
explorerAddress?: string | undefined;
|
9337
9507
|
aprRecord?: {
|
@@ -9675,6 +9845,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9675
9845
|
computeChainId: number;
|
9676
9846
|
distributionChainId: number;
|
9677
9847
|
campaignId: string;
|
9848
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
9678
9849
|
rewardTokenId: string;
|
9679
9850
|
amount: string;
|
9680
9851
|
opportunityId: string;
|
@@ -9763,6 +9934,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9763
9934
|
computeChainId: number;
|
9764
9935
|
distributionChainId: number;
|
9765
9936
|
campaignId: string;
|
9937
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
9766
9938
|
rewardTokenId: string;
|
9767
9939
|
amount: string;
|
9768
9940
|
opportunityId: string;
|
@@ -9813,11 +9985,42 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9813
9985
|
};
|
9814
9986
|
};
|
9815
9987
|
};
|
9988
|
+
} & {
|
9989
|
+
"dry-run": {
|
9990
|
+
"dynamic-data": {
|
9991
|
+
list: {
|
9992
|
+
post: {
|
9993
|
+
body: string[];
|
9994
|
+
params: {};
|
9995
|
+
query: unknown;
|
9996
|
+
headers: {
|
9997
|
+
authorization: string;
|
9998
|
+
};
|
9999
|
+
response: {
|
10000
|
+
200: unknown[];
|
10001
|
+
};
|
10002
|
+
};
|
10003
|
+
};
|
10004
|
+
};
|
10005
|
+
};
|
9816
10006
|
} & {
|
9817
10007
|
"dry-run": {
|
9818
10008
|
"dynamic-data": {
|
9819
10009
|
post: {
|
9820
|
-
body:
|
10010
|
+
body: {
|
10011
|
+
id?: string | undefined;
|
10012
|
+
subType?: number | undefined;
|
10013
|
+
campaignId?: string | undefined;
|
10014
|
+
amount?: string | undefined;
|
10015
|
+
creatorAddress?: string | undefined;
|
10016
|
+
type: string;
|
10017
|
+
params: any;
|
10018
|
+
computeChainId: number;
|
10019
|
+
distributionChainId: number;
|
10020
|
+
startTimestamp: number;
|
10021
|
+
endTimestamp: number;
|
10022
|
+
rewardToken: string;
|
10023
|
+
};
|
9821
10024
|
params: {};
|
9822
10025
|
query: unknown;
|
9823
10026
|
headers: {
|
@@ -9829,6 +10032,62 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9829
10032
|
};
|
9830
10033
|
};
|
9831
10034
|
};
|
10035
|
+
} & {
|
10036
|
+
"dry-run": {
|
10037
|
+
metadata: {
|
10038
|
+
post: {
|
10039
|
+
body: {
|
10040
|
+
id?: string | undefined;
|
10041
|
+
subType?: number | undefined;
|
10042
|
+
campaignId?: string | undefined;
|
10043
|
+
amount?: string | undefined;
|
10044
|
+
creatorAddress?: string | undefined;
|
10045
|
+
type: string;
|
10046
|
+
params: any;
|
10047
|
+
computeChainId: number;
|
10048
|
+
distributionChainId: number;
|
10049
|
+
startTimestamp: number;
|
10050
|
+
endTimestamp: number;
|
10051
|
+
rewardToken: string;
|
10052
|
+
};
|
10053
|
+
params: {};
|
10054
|
+
query: unknown;
|
10055
|
+
headers: {
|
10056
|
+
authorization: string;
|
10057
|
+
};
|
10058
|
+
response: {
|
10059
|
+
200: {
|
10060
|
+
id: string;
|
10061
|
+
chainId: number;
|
10062
|
+
type: string;
|
10063
|
+
identifier: string;
|
10064
|
+
name: string;
|
10065
|
+
status: "PAST" | "LIVE" | "SOON";
|
10066
|
+
action: any;
|
10067
|
+
tokens: ({
|
10068
|
+
symbol: string;
|
10069
|
+
id: string;
|
10070
|
+
name: string | null;
|
10071
|
+
icon: string;
|
10072
|
+
address: string;
|
10073
|
+
chainId: number;
|
10074
|
+
decimals: number;
|
10075
|
+
verified: boolean;
|
10076
|
+
isTest: boolean;
|
10077
|
+
isPoint: boolean;
|
10078
|
+
isNative: boolean;
|
10079
|
+
} & {
|
10080
|
+
price?: number | null | undefined;
|
10081
|
+
})[];
|
10082
|
+
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;
|
10083
|
+
depositUrl: any;
|
10084
|
+
explorerAddress: string | undefined;
|
10085
|
+
tags: string[];
|
10086
|
+
};
|
10087
|
+
};
|
10088
|
+
};
|
10089
|
+
};
|
10090
|
+
};
|
9832
10091
|
} & {
|
9833
10092
|
"dry-run": {
|
9834
10093
|
metadata: {
|
@@ -9973,6 +10232,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9973
10232
|
computeChainId: number;
|
9974
10233
|
distributionChainId: number;
|
9975
10234
|
campaignId: string;
|
10235
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
9976
10236
|
rewardTokenId: string;
|
9977
10237
|
amount: string;
|
9978
10238
|
opportunityId: string;
|
@@ -10057,6 +10317,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
10057
10317
|
computeChainId: number;
|
10058
10318
|
distributionChainId: number;
|
10059
10319
|
campaignId: string;
|
10320
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
10060
10321
|
rewardTokenId: string;
|
10061
10322
|
amount: string;
|
10062
10323
|
opportunityId: string;
|
@@ -10242,6 +10503,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
10242
10503
|
computeChainId: number;
|
10243
10504
|
distributionChainId: number;
|
10244
10505
|
campaignId: string;
|
10506
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
10245
10507
|
rewardTokenId: string;
|
10246
10508
|
amount: string;
|
10247
10509
|
opportunityId: string;
|
@@ -12489,6 +12751,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
12489
12751
|
decimals?: number | undefined;
|
12490
12752
|
chainId: number;
|
12491
12753
|
tokenAddress: string;
|
12754
|
+
rewardTokenAddress: string;
|
12755
|
+
symbolRewardToken: string;
|
12492
12756
|
};
|
12493
12757
|
headers: {
|
12494
12758
|
authorization: string;
|
@@ -12945,10 +13209,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
12945
13209
|
endTimestamp?: number | undefined;
|
12946
13210
|
blacklist?: string[] | undefined;
|
12947
13211
|
poolAddress?: string | undefined;
|
13212
|
+
contract?: string | undefined;
|
12948
13213
|
marketId?: string | undefined;
|
12949
13214
|
strategy?: string | undefined;
|
12950
13215
|
poolId?: string | undefined;
|
12951
|
-
contract?: string | undefined;
|
12952
13216
|
forwarders?: (string | {})[] | undefined;
|
12953
13217
|
whitelist?: string[] | undefined;
|
12954
13218
|
targetToken?: string | undefined;
|
@@ -14428,6 +14692,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14428
14692
|
tags: string[];
|
14429
14693
|
icon: string;
|
14430
14694
|
} | null | undefined;
|
14695
|
+
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;
|
14431
14696
|
depositUrl?: string | undefined;
|
14432
14697
|
explorerAddress?: string | undefined;
|
14433
14698
|
aprRecord?: {
|
@@ -14533,6 +14798,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14533
14798
|
tags: string[];
|
14534
14799
|
icon: string;
|
14535
14800
|
} | null | undefined;
|
14801
|
+
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;
|
14536
14802
|
depositUrl?: string | undefined;
|
14537
14803
|
explorerAddress?: string | undefined;
|
14538
14804
|
aprRecord?: {
|
@@ -14889,6 +15155,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14889
15155
|
computeChainId: number;
|
14890
15156
|
distributionChainId: number;
|
14891
15157
|
campaignId: string;
|
15158
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
14892
15159
|
rewardTokenId: string;
|
14893
15160
|
amount: string;
|
14894
15161
|
opportunityId: string;
|
@@ -15004,6 +15271,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15004
15271
|
tags: string[];
|
15005
15272
|
icon: string;
|
15006
15273
|
} | null | undefined;
|
15274
|
+
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;
|
15007
15275
|
depositUrl?: string | undefined;
|
15008
15276
|
explorerAddress?: string | undefined;
|
15009
15277
|
aprRecord?: {
|
@@ -15323,6 +15591,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15323
15591
|
computeChainId: number;
|
15324
15592
|
distributionChainId: number;
|
15325
15593
|
campaignId: string;
|
15594
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
15326
15595
|
rewardTokenId: string;
|
15327
15596
|
amount: string;
|
15328
15597
|
opportunityId: string;
|
@@ -15372,6 +15641,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15372
15641
|
computeChainId: number;
|
15373
15642
|
distributionChainId: number;
|
15374
15643
|
campaignId: string;
|
15644
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
15375
15645
|
rewardTokenId: string;
|
15376
15646
|
amount: string;
|
15377
15647
|
opportunityId: string;
|
@@ -15448,6 +15718,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15448
15718
|
computeChainId: number;
|
15449
15719
|
distributionChainId: number;
|
15450
15720
|
campaignId: string;
|
15721
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
15451
15722
|
rewardTokenId: string;
|
15452
15723
|
amount: string;
|
15453
15724
|
opportunityId: string;
|
@@ -15475,7 +15746,31 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15475
15746
|
};
|
15476
15747
|
}) & {
|
15477
15748
|
"dynamic-data": {
|
15478
|
-
|
15749
|
+
list: {
|
15750
|
+
post: (body: string[], options: {
|
15751
|
+
headers: {
|
15752
|
+
authorization: string;
|
15753
|
+
};
|
15754
|
+
query?: Record<string, unknown> | undefined;
|
15755
|
+
fetch?: RequestInit | undefined;
|
15756
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
15757
|
+
200: unknown[];
|
15758
|
+
}>>;
|
15759
|
+
};
|
15760
|
+
post: (body: {
|
15761
|
+
id?: string | undefined;
|
15762
|
+
subType?: number | undefined;
|
15763
|
+
campaignId?: string | undefined;
|
15764
|
+
amount?: string | undefined;
|
15765
|
+
creatorAddress?: string | undefined;
|
15766
|
+
type: string;
|
15767
|
+
params: any;
|
15768
|
+
computeChainId: number;
|
15769
|
+
distributionChainId: number;
|
15770
|
+
startTimestamp: number;
|
15771
|
+
endTimestamp: number;
|
15772
|
+
rewardToken: string;
|
15773
|
+
}, options: {
|
15479
15774
|
headers: {
|
15480
15775
|
authorization: string;
|
15481
15776
|
};
|
@@ -15486,6 +15781,55 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15486
15781
|
}>>;
|
15487
15782
|
};
|
15488
15783
|
metadata: {
|
15784
|
+
post: (body: {
|
15785
|
+
id?: string | undefined;
|
15786
|
+
subType?: number | undefined;
|
15787
|
+
campaignId?: string | undefined;
|
15788
|
+
amount?: string | undefined;
|
15789
|
+
creatorAddress?: string | undefined;
|
15790
|
+
type: string;
|
15791
|
+
params: any;
|
15792
|
+
computeChainId: number;
|
15793
|
+
distributionChainId: number;
|
15794
|
+
startTimestamp: number;
|
15795
|
+
endTimestamp: number;
|
15796
|
+
rewardToken: string;
|
15797
|
+
}, options: {
|
15798
|
+
headers: {
|
15799
|
+
authorization: string;
|
15800
|
+
};
|
15801
|
+
query?: Record<string, unknown> | undefined;
|
15802
|
+
fetch?: RequestInit | undefined;
|
15803
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
15804
|
+
200: {
|
15805
|
+
id: string;
|
15806
|
+
chainId: number;
|
15807
|
+
type: string;
|
15808
|
+
identifier: string;
|
15809
|
+
name: string;
|
15810
|
+
status: "PAST" | "LIVE" | "SOON";
|
15811
|
+
action: any;
|
15812
|
+
tokens: ({
|
15813
|
+
symbol: string;
|
15814
|
+
id: string;
|
15815
|
+
name: string | null;
|
15816
|
+
icon: string;
|
15817
|
+
address: string;
|
15818
|
+
chainId: number;
|
15819
|
+
decimals: number;
|
15820
|
+
verified: boolean;
|
15821
|
+
isTest: boolean;
|
15822
|
+
isPoint: boolean;
|
15823
|
+
isNative: boolean;
|
15824
|
+
} & {
|
15825
|
+
price?: number | null | undefined;
|
15826
|
+
})[];
|
15827
|
+
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;
|
15828
|
+
depositUrl: any;
|
15829
|
+
explorerAddress: string | undefined;
|
15830
|
+
tags: string[];
|
15831
|
+
};
|
15832
|
+
}>>;
|
15489
15833
|
get: (options: {
|
15490
15834
|
headers: {
|
15491
15835
|
authorization: string;
|
@@ -15623,6 +15967,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15623
15967
|
computeChainId: number;
|
15624
15968
|
distributionChainId: number;
|
15625
15969
|
campaignId: string;
|
15970
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
15626
15971
|
rewardTokenId: string;
|
15627
15972
|
amount: string;
|
15628
15973
|
opportunityId: string;
|
@@ -17452,6 +17797,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17452
17797
|
decimals?: number | undefined;
|
17453
17798
|
chainId: number;
|
17454
17799
|
tokenAddress: string;
|
17800
|
+
rewardTokenAddress: string;
|
17801
|
+
symbolRewardToken: string;
|
17455
17802
|
};
|
17456
17803
|
fetch?: RequestInit | undefined;
|
17457
17804
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -17817,10 +18164,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17817
18164
|
endTimestamp?: number | undefined;
|
17818
18165
|
blacklist?: string[] | undefined;
|
17819
18166
|
poolAddress?: string | undefined;
|
18167
|
+
contract?: string | undefined;
|
17820
18168
|
marketId?: string | undefined;
|
17821
18169
|
strategy?: string | undefined;
|
17822
18170
|
poolId?: string | undefined;
|
17823
|
-
contract?: string | undefined;
|
17824
18171
|
forwarders?: (string | {})[] | undefined;
|
17825
18172
|
whitelist?: string[] | undefined;
|
17826
18173
|
targetToken?: string | undefined;
|
@@ -18299,6 +18646,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18299
18646
|
tags: string[];
|
18300
18647
|
icon: string;
|
18301
18648
|
} | null | undefined;
|
18649
|
+
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;
|
18302
18650
|
depositUrl?: string | undefined;
|
18303
18651
|
explorerAddress?: string | undefined;
|
18304
18652
|
aprRecord?: {
|
@@ -18404,6 +18752,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18404
18752
|
tags: string[];
|
18405
18753
|
icon: string;
|
18406
18754
|
} | null | undefined;
|
18755
|
+
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;
|
18407
18756
|
depositUrl?: string | undefined;
|
18408
18757
|
explorerAddress?: string | undefined;
|
18409
18758
|
aprRecord?: {
|
@@ -18760,6 +19109,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18760
19109
|
computeChainId: number;
|
18761
19110
|
distributionChainId: number;
|
18762
19111
|
campaignId: string;
|
19112
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
18763
19113
|
rewardTokenId: string;
|
18764
19114
|
amount: string;
|
18765
19115
|
opportunityId: string;
|
@@ -18875,6 +19225,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18875
19225
|
tags: string[];
|
18876
19226
|
icon: string;
|
18877
19227
|
} | null | undefined;
|
19228
|
+
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;
|
18878
19229
|
depositUrl?: string | undefined;
|
18879
19230
|
explorerAddress?: string | undefined;
|
18880
19231
|
aprRecord?: {
|
@@ -19194,6 +19545,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19194
19545
|
computeChainId: number;
|
19195
19546
|
distributionChainId: number;
|
19196
19547
|
campaignId: string;
|
19548
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
19197
19549
|
rewardTokenId: string;
|
19198
19550
|
amount: string;
|
19199
19551
|
opportunityId: string;
|
@@ -19243,6 +19595,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19243
19595
|
computeChainId: number;
|
19244
19596
|
distributionChainId: number;
|
19245
19597
|
campaignId: string;
|
19598
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
19246
19599
|
rewardTokenId: string;
|
19247
19600
|
amount: string;
|
19248
19601
|
opportunityId: string;
|
@@ -19319,6 +19672,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19319
19672
|
computeChainId: number;
|
19320
19673
|
distributionChainId: number;
|
19321
19674
|
campaignId: string;
|
19675
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
19322
19676
|
rewardTokenId: string;
|
19323
19677
|
amount: string;
|
19324
19678
|
opportunityId: string;
|
@@ -19346,7 +19700,31 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19346
19700
|
};
|
19347
19701
|
}) & {
|
19348
19702
|
"dynamic-data": {
|
19349
|
-
|
19703
|
+
list: {
|
19704
|
+
post: (body: string[], options: {
|
19705
|
+
headers: {
|
19706
|
+
authorization: string;
|
19707
|
+
};
|
19708
|
+
query?: Record<string, unknown> | undefined;
|
19709
|
+
fetch?: RequestInit | undefined;
|
19710
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19711
|
+
200: unknown[];
|
19712
|
+
}>>;
|
19713
|
+
};
|
19714
|
+
post: (body: {
|
19715
|
+
id?: string | undefined;
|
19716
|
+
subType?: number | undefined;
|
19717
|
+
campaignId?: string | undefined;
|
19718
|
+
amount?: string | undefined;
|
19719
|
+
creatorAddress?: string | undefined;
|
19720
|
+
type: string;
|
19721
|
+
params: any;
|
19722
|
+
computeChainId: number;
|
19723
|
+
distributionChainId: number;
|
19724
|
+
startTimestamp: number;
|
19725
|
+
endTimestamp: number;
|
19726
|
+
rewardToken: string;
|
19727
|
+
}, options: {
|
19350
19728
|
headers: {
|
19351
19729
|
authorization: string;
|
19352
19730
|
};
|
@@ -19357,6 +19735,55 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19357
19735
|
}>>;
|
19358
19736
|
};
|
19359
19737
|
metadata: {
|
19738
|
+
post: (body: {
|
19739
|
+
id?: string | undefined;
|
19740
|
+
subType?: number | undefined;
|
19741
|
+
campaignId?: string | undefined;
|
19742
|
+
amount?: string | undefined;
|
19743
|
+
creatorAddress?: string | undefined;
|
19744
|
+
type: string;
|
19745
|
+
params: any;
|
19746
|
+
computeChainId: number;
|
19747
|
+
distributionChainId: number;
|
19748
|
+
startTimestamp: number;
|
19749
|
+
endTimestamp: number;
|
19750
|
+
rewardToken: string;
|
19751
|
+
}, options: {
|
19752
|
+
headers: {
|
19753
|
+
authorization: string;
|
19754
|
+
};
|
19755
|
+
query?: Record<string, unknown> | undefined;
|
19756
|
+
fetch?: RequestInit | undefined;
|
19757
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19758
|
+
200: {
|
19759
|
+
id: string;
|
19760
|
+
chainId: number;
|
19761
|
+
type: string;
|
19762
|
+
identifier: string;
|
19763
|
+
name: string;
|
19764
|
+
status: "PAST" | "LIVE" | "SOON";
|
19765
|
+
action: any;
|
19766
|
+
tokens: ({
|
19767
|
+
symbol: string;
|
19768
|
+
id: string;
|
19769
|
+
name: string | null;
|
19770
|
+
icon: string;
|
19771
|
+
address: string;
|
19772
|
+
chainId: number;
|
19773
|
+
decimals: number;
|
19774
|
+
verified: boolean;
|
19775
|
+
isTest: boolean;
|
19776
|
+
isPoint: boolean;
|
19777
|
+
isNative: boolean;
|
19778
|
+
} & {
|
19779
|
+
price?: number | null | undefined;
|
19780
|
+
})[];
|
19781
|
+
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;
|
19782
|
+
depositUrl: any;
|
19783
|
+
explorerAddress: string | undefined;
|
19784
|
+
tags: string[];
|
19785
|
+
};
|
19786
|
+
}>>;
|
19360
19787
|
get: (options: {
|
19361
19788
|
headers: {
|
19362
19789
|
authorization: string;
|
@@ -19494,6 +19921,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19494
19921
|
computeChainId: number;
|
19495
19922
|
distributionChainId: number;
|
19496
19923
|
campaignId: string;
|
19924
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
19497
19925
|
rewardTokenId: string;
|
19498
19926
|
amount: string;
|
19499
19927
|
opportunityId: string;
|
@@ -21323,6 +21751,8 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
21323
21751
|
decimals?: number | undefined;
|
21324
21752
|
chainId: number;
|
21325
21753
|
tokenAddress: string;
|
21754
|
+
rewardTokenAddress: string;
|
21755
|
+
symbolRewardToken: string;
|
21326
21756
|
};
|
21327
21757
|
fetch?: RequestInit | undefined;
|
21328
21758
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
@@ -21688,10 +22118,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
21688
22118
|
endTimestamp?: number | undefined;
|
21689
22119
|
blacklist?: string[] | undefined;
|
21690
22120
|
poolAddress?: string | undefined;
|
22121
|
+
contract?: string | undefined;
|
21691
22122
|
marketId?: string | undefined;
|
21692
22123
|
strategy?: string | undefined;
|
21693
22124
|
poolId?: string | undefined;
|
21694
|
-
contract?: string | undefined;
|
21695
22125
|
forwarders?: (string | {})[] | undefined;
|
21696
22126
|
whitelist?: string[] | undefined;
|
21697
22127
|
targetToken?: string | undefined;
|