@merkl/api 0.20.48 → 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 +430 -10
- package/dist/src/index.d.ts +98 -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 +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 +98 -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;
|
@@ -3601,10 +3682,10 @@ declare const eden: {
|
|
3601
3682
|
endTimestamp?: number | undefined;
|
3602
3683
|
blacklist?: string[] | undefined;
|
3603
3684
|
poolAddress?: string | undefined;
|
3685
|
+
contract?: string | undefined;
|
3604
3686
|
marketId?: string | undefined;
|
3605
3687
|
strategy?: string | undefined;
|
3606
3688
|
poolId?: string | undefined;
|
3607
|
-
contract?: string | undefined;
|
3608
3689
|
forwarders?: (string | {})[] | undefined;
|
3609
3690
|
whitelist?: string[] | undefined;
|
3610
3691
|
targetToken?: string | undefined;
|
@@ -4083,6 +4164,7 @@ declare const eden: {
|
|
4083
4164
|
tags: string[];
|
4084
4165
|
icon: string;
|
4085
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;
|
4086
4168
|
depositUrl?: string | undefined;
|
4087
4169
|
explorerAddress?: string | undefined;
|
4088
4170
|
aprRecord?: {
|
@@ -4188,6 +4270,7 @@ declare const eden: {
|
|
4188
4270
|
tags: string[];
|
4189
4271
|
icon: string;
|
4190
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;
|
4191
4274
|
depositUrl?: string | undefined;
|
4192
4275
|
explorerAddress?: string | undefined;
|
4193
4276
|
aprRecord?: {
|
@@ -4544,6 +4627,7 @@ declare const eden: {
|
|
4544
4627
|
computeChainId: number;
|
4545
4628
|
distributionChainId: number;
|
4546
4629
|
campaignId: string;
|
4630
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
4547
4631
|
rewardTokenId: string;
|
4548
4632
|
amount: string;
|
4549
4633
|
opportunityId: string;
|
@@ -4659,6 +4743,7 @@ declare const eden: {
|
|
4659
4743
|
tags: string[];
|
4660
4744
|
icon: string;
|
4661
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;
|
4662
4747
|
depositUrl?: string | undefined;
|
4663
4748
|
explorerAddress?: string | undefined;
|
4664
4749
|
aprRecord?: {
|
@@ -4978,6 +5063,7 @@ declare const eden: {
|
|
4978
5063
|
computeChainId: number;
|
4979
5064
|
distributionChainId: number;
|
4980
5065
|
campaignId: string;
|
5066
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
4981
5067
|
rewardTokenId: string;
|
4982
5068
|
amount: string;
|
4983
5069
|
opportunityId: string;
|
@@ -5027,6 +5113,7 @@ declare const eden: {
|
|
5027
5113
|
computeChainId: number;
|
5028
5114
|
distributionChainId: number;
|
5029
5115
|
campaignId: string;
|
5116
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
5030
5117
|
rewardTokenId: string;
|
5031
5118
|
amount: string;
|
5032
5119
|
opportunityId: string;
|
@@ -5103,6 +5190,7 @@ declare const eden: {
|
|
5103
5190
|
computeChainId: number;
|
5104
5191
|
distributionChainId: number;
|
5105
5192
|
campaignId: string;
|
5193
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
5106
5194
|
rewardTokenId: string;
|
5107
5195
|
amount: string;
|
5108
5196
|
opportunityId: string;
|
@@ -5130,7 +5218,31 @@ declare const eden: {
|
|
5130
5218
|
};
|
5131
5219
|
}) & {
|
5132
5220
|
"dynamic-data": {
|
5133
|
-
|
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: {
|
5134
5246
|
headers: {
|
5135
5247
|
authorization: string;
|
5136
5248
|
};
|
@@ -5141,6 +5253,55 @@ declare const eden: {
|
|
5141
5253
|
}>>;
|
5142
5254
|
};
|
5143
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
|
+
}>>;
|
5144
5305
|
get: (options: {
|
5145
5306
|
headers: {
|
5146
5307
|
authorization: string;
|
@@ -5278,6 +5439,7 @@ declare const eden: {
|
|
5278
5439
|
computeChainId: number;
|
5279
5440
|
distributionChainId: number;
|
5280
5441
|
campaignId: string;
|
5442
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
5281
5443
|
rewardTokenId: string;
|
5282
5444
|
amount: string;
|
5283
5445
|
opportunityId: string;
|
@@ -7474,10 +7636,10 @@ declare const eden: {
|
|
7474
7636
|
endTimestamp?: number | undefined;
|
7475
7637
|
blacklist?: string[] | undefined;
|
7476
7638
|
poolAddress?: string | undefined;
|
7639
|
+
contract?: string | undefined;
|
7477
7640
|
marketId?: string | undefined;
|
7478
7641
|
strategy?: string | undefined;
|
7479
7642
|
poolId?: string | undefined;
|
7480
|
-
contract?: string | undefined;
|
7481
7643
|
forwarders?: (string | {})[] | undefined;
|
7482
7644
|
whitelist?: string[] | undefined;
|
7483
7645
|
targetToken?: string | undefined;
|
@@ -8933,6 +9095,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8933
9095
|
computeChainId: number;
|
8934
9096
|
distributionChainId: number;
|
8935
9097
|
campaignId: string;
|
9098
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
8936
9099
|
rewardTokenId: string;
|
8937
9100
|
amount: string;
|
8938
9101
|
opportunityId: string;
|
@@ -9040,6 +9203,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9040
9203
|
tags: string[];
|
9041
9204
|
icon: string;
|
9042
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;
|
9043
9207
|
depositUrl?: string | undefined;
|
9044
9208
|
explorerAddress?: string | undefined;
|
9045
9209
|
aprRecord?: {
|
@@ -9171,6 +9335,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9171
9335
|
tags: string[];
|
9172
9336
|
icon: string;
|
9173
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;
|
9174
9339
|
depositUrl?: string | undefined;
|
9175
9340
|
explorerAddress?: string | undefined;
|
9176
9341
|
aprRecord?: {
|
@@ -9336,6 +9501,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9336
9501
|
tags: string[];
|
9337
9502
|
icon: string;
|
9338
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;
|
9339
9505
|
depositUrl?: string | undefined;
|
9340
9506
|
explorerAddress?: string | undefined;
|
9341
9507
|
aprRecord?: {
|
@@ -9679,6 +9845,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9679
9845
|
computeChainId: number;
|
9680
9846
|
distributionChainId: number;
|
9681
9847
|
campaignId: string;
|
9848
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
9682
9849
|
rewardTokenId: string;
|
9683
9850
|
amount: string;
|
9684
9851
|
opportunityId: string;
|
@@ -9767,6 +9934,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9767
9934
|
computeChainId: number;
|
9768
9935
|
distributionChainId: number;
|
9769
9936
|
campaignId: string;
|
9937
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
9770
9938
|
rewardTokenId: string;
|
9771
9939
|
amount: string;
|
9772
9940
|
opportunityId: string;
|
@@ -9817,11 +9985,42 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9817
9985
|
};
|
9818
9986
|
};
|
9819
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
|
+
};
|
9820
10006
|
} & {
|
9821
10007
|
"dry-run": {
|
9822
10008
|
"dynamic-data": {
|
9823
10009
|
post: {
|
9824
|
-
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
|
+
};
|
9825
10024
|
params: {};
|
9826
10025
|
query: unknown;
|
9827
10026
|
headers: {
|
@@ -9833,6 +10032,62 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9833
10032
|
};
|
9834
10033
|
};
|
9835
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
|
+
};
|
9836
10091
|
} & {
|
9837
10092
|
"dry-run": {
|
9838
10093
|
metadata: {
|
@@ -9977,6 +10232,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9977
10232
|
computeChainId: number;
|
9978
10233
|
distributionChainId: number;
|
9979
10234
|
campaignId: string;
|
10235
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
9980
10236
|
rewardTokenId: string;
|
9981
10237
|
amount: string;
|
9982
10238
|
opportunityId: string;
|
@@ -10061,6 +10317,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
10061
10317
|
computeChainId: number;
|
10062
10318
|
distributionChainId: number;
|
10063
10319
|
campaignId: string;
|
10320
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
10064
10321
|
rewardTokenId: string;
|
10065
10322
|
amount: string;
|
10066
10323
|
opportunityId: string;
|
@@ -10246,6 +10503,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
10246
10503
|
computeChainId: number;
|
10247
10504
|
distributionChainId: number;
|
10248
10505
|
campaignId: string;
|
10506
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
10249
10507
|
rewardTokenId: string;
|
10250
10508
|
amount: string;
|
10251
10509
|
opportunityId: string;
|
@@ -12951,10 +13209,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
12951
13209
|
endTimestamp?: number | undefined;
|
12952
13210
|
blacklist?: string[] | undefined;
|
12953
13211
|
poolAddress?: string | undefined;
|
13212
|
+
contract?: string | undefined;
|
12954
13213
|
marketId?: string | undefined;
|
12955
13214
|
strategy?: string | undefined;
|
12956
13215
|
poolId?: string | undefined;
|
12957
|
-
contract?: string | undefined;
|
12958
13216
|
forwarders?: (string | {})[] | undefined;
|
12959
13217
|
whitelist?: string[] | undefined;
|
12960
13218
|
targetToken?: string | undefined;
|
@@ -14434,6 +14692,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14434
14692
|
tags: string[];
|
14435
14693
|
icon: string;
|
14436
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;
|
14437
14696
|
depositUrl?: string | undefined;
|
14438
14697
|
explorerAddress?: string | undefined;
|
14439
14698
|
aprRecord?: {
|
@@ -14539,6 +14798,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14539
14798
|
tags: string[];
|
14540
14799
|
icon: string;
|
14541
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;
|
14542
14802
|
depositUrl?: string | undefined;
|
14543
14803
|
explorerAddress?: string | undefined;
|
14544
14804
|
aprRecord?: {
|
@@ -14895,6 +15155,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14895
15155
|
computeChainId: number;
|
14896
15156
|
distributionChainId: number;
|
14897
15157
|
campaignId: string;
|
15158
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
14898
15159
|
rewardTokenId: string;
|
14899
15160
|
amount: string;
|
14900
15161
|
opportunityId: string;
|
@@ -15010,6 +15271,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15010
15271
|
tags: string[];
|
15011
15272
|
icon: string;
|
15012
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;
|
15013
15275
|
depositUrl?: string | undefined;
|
15014
15276
|
explorerAddress?: string | undefined;
|
15015
15277
|
aprRecord?: {
|
@@ -15329,6 +15591,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15329
15591
|
computeChainId: number;
|
15330
15592
|
distributionChainId: number;
|
15331
15593
|
campaignId: string;
|
15594
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
15332
15595
|
rewardTokenId: string;
|
15333
15596
|
amount: string;
|
15334
15597
|
opportunityId: string;
|
@@ -15378,6 +15641,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15378
15641
|
computeChainId: number;
|
15379
15642
|
distributionChainId: number;
|
15380
15643
|
campaignId: string;
|
15644
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
15381
15645
|
rewardTokenId: string;
|
15382
15646
|
amount: string;
|
15383
15647
|
opportunityId: string;
|
@@ -15454,6 +15718,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15454
15718
|
computeChainId: number;
|
15455
15719
|
distributionChainId: number;
|
15456
15720
|
campaignId: string;
|
15721
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
15457
15722
|
rewardTokenId: string;
|
15458
15723
|
amount: string;
|
15459
15724
|
opportunityId: string;
|
@@ -15481,7 +15746,31 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15481
15746
|
};
|
15482
15747
|
}) & {
|
15483
15748
|
"dynamic-data": {
|
15484
|
-
|
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: {
|
15485
15774
|
headers: {
|
15486
15775
|
authorization: string;
|
15487
15776
|
};
|
@@ -15492,6 +15781,55 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15492
15781
|
}>>;
|
15493
15782
|
};
|
15494
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
|
+
}>>;
|
15495
15833
|
get: (options: {
|
15496
15834
|
headers: {
|
15497
15835
|
authorization: string;
|
@@ -15629,6 +15967,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15629
15967
|
computeChainId: number;
|
15630
15968
|
distributionChainId: number;
|
15631
15969
|
campaignId: string;
|
15970
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
15632
15971
|
rewardTokenId: string;
|
15633
15972
|
amount: string;
|
15634
15973
|
opportunityId: string;
|
@@ -17825,10 +18164,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17825
18164
|
endTimestamp?: number | undefined;
|
17826
18165
|
blacklist?: string[] | undefined;
|
17827
18166
|
poolAddress?: string | undefined;
|
18167
|
+
contract?: string | undefined;
|
17828
18168
|
marketId?: string | undefined;
|
17829
18169
|
strategy?: string | undefined;
|
17830
18170
|
poolId?: string | undefined;
|
17831
|
-
contract?: string | undefined;
|
17832
18171
|
forwarders?: (string | {})[] | undefined;
|
17833
18172
|
whitelist?: string[] | undefined;
|
17834
18173
|
targetToken?: string | undefined;
|
@@ -18307,6 +18646,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18307
18646
|
tags: string[];
|
18308
18647
|
icon: string;
|
18309
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;
|
18310
18650
|
depositUrl?: string | undefined;
|
18311
18651
|
explorerAddress?: string | undefined;
|
18312
18652
|
aprRecord?: {
|
@@ -18412,6 +18752,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18412
18752
|
tags: string[];
|
18413
18753
|
icon: string;
|
18414
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;
|
18415
18756
|
depositUrl?: string | undefined;
|
18416
18757
|
explorerAddress?: string | undefined;
|
18417
18758
|
aprRecord?: {
|
@@ -18768,6 +19109,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18768
19109
|
computeChainId: number;
|
18769
19110
|
distributionChainId: number;
|
18770
19111
|
campaignId: string;
|
19112
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
18771
19113
|
rewardTokenId: string;
|
18772
19114
|
amount: string;
|
18773
19115
|
opportunityId: string;
|
@@ -18883,6 +19225,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18883
19225
|
tags: string[];
|
18884
19226
|
icon: string;
|
18885
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;
|
18886
19229
|
depositUrl?: string | undefined;
|
18887
19230
|
explorerAddress?: string | undefined;
|
18888
19231
|
aprRecord?: {
|
@@ -19202,6 +19545,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19202
19545
|
computeChainId: number;
|
19203
19546
|
distributionChainId: number;
|
19204
19547
|
campaignId: string;
|
19548
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
19205
19549
|
rewardTokenId: string;
|
19206
19550
|
amount: string;
|
19207
19551
|
opportunityId: string;
|
@@ -19251,6 +19595,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19251
19595
|
computeChainId: number;
|
19252
19596
|
distributionChainId: number;
|
19253
19597
|
campaignId: string;
|
19598
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
19254
19599
|
rewardTokenId: string;
|
19255
19600
|
amount: string;
|
19256
19601
|
opportunityId: string;
|
@@ -19327,6 +19672,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19327
19672
|
computeChainId: number;
|
19328
19673
|
distributionChainId: number;
|
19329
19674
|
campaignId: string;
|
19675
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
19330
19676
|
rewardTokenId: string;
|
19331
19677
|
amount: string;
|
19332
19678
|
opportunityId: string;
|
@@ -19354,7 +19700,31 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19354
19700
|
};
|
19355
19701
|
}) & {
|
19356
19702
|
"dynamic-data": {
|
19357
|
-
|
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: {
|
19358
19728
|
headers: {
|
19359
19729
|
authorization: string;
|
19360
19730
|
};
|
@@ -19365,6 +19735,55 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19365
19735
|
}>>;
|
19366
19736
|
};
|
19367
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
|
+
}>>;
|
19368
19787
|
get: (options: {
|
19369
19788
|
headers: {
|
19370
19789
|
authorization: string;
|
@@ -19502,6 +19921,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19502
19921
|
computeChainId: number;
|
19503
19922
|
distributionChainId: number;
|
19504
19923
|
campaignId: string;
|
19924
|
+
distributionType: import("@db/api").$Enums.DistributionType;
|
19505
19925
|
rewardTokenId: string;
|
19506
19926
|
amount: string;
|
19507
19927
|
opportunityId: string;
|
@@ -21698,10 +22118,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
21698
22118
|
endTimestamp?: number | undefined;
|
21699
22119
|
blacklist?: string[] | undefined;
|
21700
22120
|
poolAddress?: string | undefined;
|
22121
|
+
contract?: string | undefined;
|
21701
22122
|
marketId?: string | undefined;
|
21702
22123
|
strategy?: string | undefined;
|
21703
22124
|
poolId?: string | undefined;
|
21704
|
-
contract?: string | undefined;
|
21705
22125
|
forwarders?: (string | {})[] | undefined;
|
21706
22126
|
whitelist?: string[] | undefined;
|
21707
22127
|
targetToken?: string | undefined;
|