@merkl/api 1.1.24 → 1.1.25

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.
@@ -2083,104 +2083,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
2083
2083
  };
2084
2084
  headers: unknown;
2085
2085
  response: {
2086
- [x: string]: any;
2087
- 200: ({
2088
- protocol?: {
2089
- dailyRewards?: number | undefined;
2090
- numberOfLiveCampaigns?: number | undefined;
2091
- opportunityLiveTags?: string[] | undefined;
2092
- name: string;
2093
- description: string;
2094
- id: string;
2095
- url: string;
2096
- icon: string;
2097
- tags: string[];
2098
- } | null | undefined;
2099
- depositUrl?: string | undefined;
2100
- aprRecord?: {
2101
- timestamp: string | bigint;
2102
- cumulated: number;
2103
- breakdowns: {
2104
- 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" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
2105
- value: number;
2106
- type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
2107
- identifier: string;
2108
- }[];
2109
- } | undefined;
2110
- 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" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
2111
- explorerAddress?: string | undefined;
2112
- tvlRecord?: {
2113
- timestamp: string | bigint;
2114
- total: number;
2115
- breakdowns: {
2116
- value: number;
2117
- type: "TOKEN" | "PROTOCOL";
2118
- identifier: string;
2119
- }[];
2120
- } | undefined;
2121
- rewardsRecord?: {
2122
- timestamp: string | bigint;
2123
- total: number;
2124
- breakdowns: {
2125
- 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" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
2126
- token: {
2127
- price?: number | null | undefined;
2128
- symbol: string;
2129
- name: string | null;
2130
- decimals: number;
2131
- address: string;
2132
- id: string;
2133
- chainId: number;
2134
- type: "TOKEN" | "PRETGE" | "POINT";
2135
- icon: string;
2136
- isNative: boolean;
2137
- isTest: boolean;
2138
- verified: boolean;
2139
- };
2140
- campaignId: string;
2141
- value: number;
2142
- amount: string | bigint;
2143
- }[];
2144
- } | undefined;
2145
- name: string;
2146
- apr: number;
2147
- tokens: {
2148
- price?: number | null | undefined;
2149
- symbol: string;
2150
- name: string | null;
2151
- decimals: number;
2152
- address: string;
2153
- id: string;
2154
- chainId: number;
2155
- type: "TOKEN" | "PRETGE" | "POINT";
2156
- icon: string;
2157
- isNative: boolean;
2158
- isTest: boolean;
2159
- verified: boolean;
2160
- }[];
2161
- tvl: number;
2162
- description: string;
2163
- id: string;
2164
- status: string;
2165
- chainId: number;
2166
- action: string;
2167
- type: string;
2168
- chain: {
2169
- explorers?: {
2170
- chainId: number;
2171
- type: "ETHERSCAN" | "BLOCKSCOUT";
2172
- url: string;
2173
- }[] | undefined;
2174
- name: string;
2175
- id: number;
2176
- icon: string;
2177
- };
2178
- identifier: string;
2179
- howToSteps: string[];
2180
- dailyRewards: number;
2181
- tags: string[];
2182
- lastCampaignCreatedAt: number;
2183
- } | null)[];
2086
+ 200: string;
2184
2087
  422: {
2185
2088
  type: "validation";
2186
2089
  on: string;
@@ -2191,103 +2094,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
2191
2094
  expected?: string;
2192
2095
  };
2193
2096
  } | {
2194
- 200: ({
2195
- protocol?: {
2196
- dailyRewards?: number | undefined;
2197
- numberOfLiveCampaigns?: number | undefined;
2198
- opportunityLiveTags?: string[] | undefined;
2199
- name: string;
2200
- description: string;
2201
- id: string;
2202
- url: string;
2203
- icon: string;
2204
- tags: string[];
2205
- } | null | undefined;
2206
- depositUrl?: string | undefined;
2207
- aprRecord?: {
2208
- timestamp: string | bigint;
2209
- cumulated: number;
2210
- breakdowns: {
2211
- 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" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
2212
- value: number;
2213
- type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
2214
- identifier: string;
2215
- }[];
2216
- } | undefined;
2217
- 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" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
2218
- explorerAddress?: string | undefined;
2219
- tvlRecord?: {
2220
- timestamp: string | bigint;
2221
- total: number;
2222
- breakdowns: {
2223
- value: number;
2224
- type: "TOKEN" | "PROTOCOL";
2225
- identifier: string;
2226
- }[];
2227
- } | undefined;
2228
- rewardsRecord?: {
2229
- timestamp: string | bigint;
2230
- total: number;
2231
- breakdowns: {
2232
- 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" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
2233
- token: {
2234
- price?: number | null | undefined;
2235
- symbol: string;
2236
- name: string | null;
2237
- decimals: number;
2238
- address: string;
2239
- id: string;
2240
- chainId: number;
2241
- type: "TOKEN" | "PRETGE" | "POINT";
2242
- icon: string;
2243
- isNative: boolean;
2244
- isTest: boolean;
2245
- verified: boolean;
2246
- };
2247
- campaignId: string;
2248
- value: number;
2249
- amount: string | bigint;
2250
- }[];
2251
- } | undefined;
2252
- name: string;
2253
- apr: number;
2254
- tokens: {
2255
- price?: number | null | undefined;
2256
- symbol: string;
2257
- name: string | null;
2258
- decimals: number;
2259
- address: string;
2260
- id: string;
2261
- chainId: number;
2262
- type: "TOKEN" | "PRETGE" | "POINT";
2263
- icon: string;
2264
- isNative: boolean;
2265
- isTest: boolean;
2266
- verified: boolean;
2267
- }[];
2268
- tvl: number;
2269
- description: string;
2270
- id: string;
2271
- status: string;
2272
- chainId: number;
2273
- action: string;
2274
- type: string;
2275
- chain: {
2276
- explorers?: {
2277
- chainId: number;
2278
- type: "ETHERSCAN" | "BLOCKSCOUT";
2279
- url: string;
2280
- }[] | undefined;
2281
- name: string;
2282
- id: number;
2283
- icon: string;
2284
- };
2285
- identifier: string;
2286
- howToSteps: string[];
2287
- dailyRewards: number;
2288
- tags: string[];
2289
- lastCampaignCreatedAt: number;
2290
- } | null)[];
2097
+ 200: number;
2291
2098
  422: {
2292
2099
  type: "validation";
2293
2100
  on: string;
@@ -2298,103 +2105,52 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
2298
2105
  expected?: string;
2299
2106
  };
2300
2107
  } | {
2301
- 200: ({
2302
- protocol?: {
2303
- dailyRewards?: number | undefined;
2304
- numberOfLiveCampaigns?: number | undefined;
2305
- opportunityLiveTags?: string[] | undefined;
2306
- name: string;
2307
- description: string;
2308
- id: string;
2309
- url: string;
2310
- icon: string;
2311
- tags: string[];
2312
- } | null | undefined;
2313
- depositUrl?: string | undefined;
2314
- aprRecord?: {
2315
- timestamp: string | bigint;
2316
- cumulated: number;
2317
- breakdowns: {
2318
- 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" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
2319
- value: number;
2320
- type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
2321
- identifier: string;
2322
- }[];
2323
- } | undefined;
2324
- 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" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
2325
- explorerAddress?: string | undefined;
2326
- tvlRecord?: {
2327
- timestamp: string | bigint;
2328
- total: number;
2329
- breakdowns: {
2330
- value: number;
2331
- type: "TOKEN" | "PROTOCOL";
2332
- identifier: string;
2333
- }[];
2334
- } | undefined;
2335
- rewardsRecord?: {
2336
- timestamp: string | bigint;
2337
- total: number;
2338
- breakdowns: {
2339
- 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" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
2340
- token: {
2341
- price?: number | null | undefined;
2342
- symbol: string;
2343
- name: string | null;
2344
- decimals: number;
2345
- address: string;
2346
- id: string;
2347
- chainId: number;
2348
- type: "TOKEN" | "PRETGE" | "POINT";
2349
- icon: string;
2350
- isNative: boolean;
2351
- isTest: boolean;
2352
- verified: boolean;
2353
- };
2354
- campaignId: string;
2355
- value: number;
2356
- amount: string | bigint;
2357
- }[];
2358
- } | undefined;
2359
- name: string;
2360
- apr: number;
2361
- tokens: {
2362
- price?: number | null | undefined;
2363
- symbol: string;
2364
- name: string | null;
2365
- decimals: number;
2366
- address: string;
2367
- id: string;
2368
- chainId: number;
2369
- type: "TOKEN" | "PRETGE" | "POINT";
2370
- icon: string;
2371
- isNative: boolean;
2372
- isTest: boolean;
2373
- verified: boolean;
2374
- }[];
2375
- tvl: number;
2376
- description: string;
2377
- id: string;
2378
- status: string;
2379
- chainId: number;
2380
- action: string;
2381
- type: string;
2382
- chain: {
2383
- explorers?: {
2384
- chainId: number;
2385
- type: "ETHERSCAN" | "BLOCKSCOUT";
2386
- url: string;
2387
- }[] | undefined;
2388
- name: string;
2389
- id: number;
2390
- icon: string;
2391
- };
2392
- identifier: string;
2393
- howToSteps: string[];
2394
- dailyRewards: number;
2395
- tags: string[];
2396
- lastCampaignCreatedAt: number;
2397
- } | null)[];
2108
+ 200: false;
2109
+ 422: {
2110
+ type: "validation";
2111
+ on: string;
2112
+ summary?: string;
2113
+ message?: string;
2114
+ found?: unknown;
2115
+ property?: string;
2116
+ expected?: string;
2117
+ };
2118
+ } | {
2119
+ 200: true;
2120
+ 422: {
2121
+ type: "validation";
2122
+ on: string;
2123
+ summary?: string;
2124
+ message?: string;
2125
+ found?: unknown;
2126
+ property?: string;
2127
+ expected?: string;
2128
+ };
2129
+ } | {
2130
+ 200: object;
2131
+ 422: {
2132
+ type: "validation";
2133
+ on: string;
2134
+ summary?: string;
2135
+ message?: string;
2136
+ found?: unknown;
2137
+ property?: string;
2138
+ expected?: string;
2139
+ };
2140
+ } | {
2141
+ [x: string]: any;
2142
+ 200: any;
2143
+ 422: {
2144
+ type: "validation";
2145
+ on: string;
2146
+ summary?: string;
2147
+ message?: string;
2148
+ found?: unknown;
2149
+ property?: string;
2150
+ expected?: string;
2151
+ };
2152
+ } | {
2153
+ 200: unknown;
2398
2154
  422: {
2399
2155
  type: "validation";
2400
2156
  on: string;
@@ -14124,406 +13880,43 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
14124
13880
  chainId: number;
14125
13881
  type: "TOKEN" | "PRETGE" | "POINT";
14126
13882
  icon: string;
14127
- isNative: boolean;
14128
- isTest: boolean;
14129
- verified: boolean;
14130
- }[];
14131
- tvl: number;
14132
- description: string;
14133
- id: string;
14134
- status: string;
14135
- chainId: number;
14136
- campaigns: {
14137
- description?: string | undefined;
14138
- creator?: {
14139
- tags?: string[] | undefined;
14140
- creatorId?: string | null | undefined;
14141
- address: string;
14142
- } | undefined;
14143
- campaignStatus?: {
14144
- error?: string | undefined;
14145
- details?: any;
14146
- status: string;
14147
- computedUntil: string | number;
14148
- processingStarted: string | number;
14149
- } | undefined;
14150
- 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" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
14151
- rootCampaignId?: string | undefined;
14152
- parentCampaignId?: string | undefined;
14153
- distributionChain?: {
14154
- explorers?: {
14155
- chainId: number;
14156
- type: "ETHERSCAN" | "BLOCKSCOUT";
14157
- url: string;
14158
- }[] | undefined;
14159
- name: string;
14160
- id: number;
14161
- icon: string;
14162
- } | undefined;
14163
- rewardToken: {
14164
- price?: number | null | undefined;
14165
- symbol: string;
14166
- name: string | null;
14167
- decimals: number;
14168
- address: string;
14169
- id: string;
14170
- chainId: number;
14171
- type: "TOKEN" | "PRETGE" | "POINT";
14172
- icon: string;
14173
- isNative: boolean;
14174
- isTest: boolean;
14175
- verified: boolean;
14176
- };
14177
- campaignId: string;
14178
- id: string;
14179
- params: any;
14180
- amount: string;
14181
- startTimestamp: string | number;
14182
- type: string;
14183
- computeChainId: number;
14184
- distributionChainId: number;
14185
- endTimestamp: string | number;
14186
- chain: {
14187
- explorers?: {
14188
- chainId: number;
14189
- type: "ETHERSCAN" | "BLOCKSCOUT";
14190
- url: string;
14191
- }[] | undefined;
14192
- name: string;
14193
- id: number;
14194
- icon: string;
14195
- };
14196
- subType: number | null;
14197
- creatorAddress: string;
14198
- createdAt: string;
14199
- }[];
14200
- action: string;
14201
- type: string;
14202
- chain: {
14203
- explorers?: {
14204
- chainId: number;
14205
- type: "ETHERSCAN" | "BLOCKSCOUT";
14206
- url: string;
14207
- }[] | undefined;
14208
- name: string;
14209
- id: number;
14210
- icon: string;
14211
- };
14212
- identifier: string;
14213
- howToSteps: string[];
14214
- dailyRewards: number;
14215
- tags: string[];
14216
- lastCampaignCreatedAt: number;
14217
- }[];
14218
- readonly 500: {
14219
- info: string;
14220
- code: string;
14221
- httpCode: number;
14222
- };
14223
- readonly 404: {
14224
- name: string;
14225
- message: string;
14226
- };
14227
- 422: {
14228
- type: "validation";
14229
- on: string;
14230
- summary?: string;
14231
- message?: string;
14232
- found?: unknown;
14233
- property?: string;
14234
- expected?: string;
14235
- };
14236
- }>>;
14237
- };
14238
- get: (options: {
14239
- headers?: Record<string, unknown> | undefined;
14240
- query: {
14241
- sort?: string | undefined;
14242
- name?: string | undefined;
14243
- tokens?: string | undefined;
14244
- campaignId?: string | undefined;
14245
- status?: string | undefined;
14246
- chainId?: string | undefined;
14247
- campaigns?: boolean | undefined;
14248
- items?: number | undefined;
14249
- point?: boolean | undefined;
14250
- order?: string | undefined;
14251
- action?: string | undefined;
14252
- type?: string | undefined;
14253
- chainName?: string | undefined;
14254
- search?: string | undefined;
14255
- creatorAddress?: string | undefined;
14256
- identifier?: string | undefined;
14257
- mainProtocolId?: string | undefined;
14258
- tags?: string | undefined;
14259
- test?: boolean | undefined;
14260
- page?: number | undefined;
14261
- tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
14262
- excludeSubCampaigns?: boolean | undefined;
14263
- minimumTvl?: number | undefined;
14264
- maximumTvl?: number | undefined;
14265
- minimumApr?: number | undefined;
14266
- maximumApr?: number | undefined;
14267
- rewardTokenSymbol?: string | undefined;
14268
- distributionTypes?: ("DUTCH_AUCTION" | "FIX_REWARD" | "MAX_REWARD")[] | undefined;
14269
- };
14270
- fetch?: RequestInit | undefined;
14271
- }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
14272
- [x: string]: any;
14273
- 200: ({
14274
- protocol?: {
14275
- dailyRewards?: number | undefined;
14276
- numberOfLiveCampaigns?: number | undefined;
14277
- opportunityLiveTags?: string[] | undefined;
14278
- name: string;
14279
- description: string;
14280
- id: string;
14281
- url: string;
14282
- icon: string;
14283
- tags: string[];
14284
- } | null | undefined;
14285
- depositUrl?: string | undefined;
14286
- aprRecord?: {
14287
- timestamp: string | bigint;
14288
- cumulated: number;
14289
- breakdowns: {
14290
- 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" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
14291
- value: number;
14292
- type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
14293
- identifier: string;
14294
- }[];
14295
- } | undefined;
14296
- 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" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
14297
- explorerAddress?: string | undefined;
14298
- tvlRecord?: {
14299
- timestamp: string | bigint;
14300
- total: number;
14301
- breakdowns: {
14302
- value: number;
14303
- type: "TOKEN" | "PROTOCOL";
14304
- identifier: string;
14305
- }[];
14306
- } | undefined;
14307
- rewardsRecord?: {
14308
- timestamp: string | bigint;
14309
- total: number;
14310
- breakdowns: {
14311
- 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" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
14312
- token: {
14313
- price?: number | null | undefined;
14314
- symbol: string;
14315
- name: string | null;
14316
- decimals: number;
14317
- address: string;
14318
- id: string;
14319
- chainId: number;
14320
- type: "TOKEN" | "PRETGE" | "POINT";
14321
- icon: string;
14322
- isNative: boolean;
14323
- isTest: boolean;
14324
- verified: boolean;
14325
- };
14326
- campaignId: string;
14327
- value: number;
14328
- amount: string | bigint;
14329
- }[];
14330
- } | undefined;
14331
- name: string;
14332
- apr: number;
14333
- tokens: {
14334
- price?: number | null | undefined;
14335
- symbol: string;
14336
- name: string | null;
14337
- decimals: number;
14338
- address: string;
14339
- id: string;
14340
- chainId: number;
14341
- type: "TOKEN" | "PRETGE" | "POINT";
14342
- icon: string;
14343
- isNative: boolean;
14344
- isTest: boolean;
14345
- verified: boolean;
14346
- }[];
14347
- tvl: number;
14348
- description: string;
14349
- id: string;
14350
- status: string;
14351
- chainId: number;
14352
- action: string;
14353
- type: string;
14354
- chain: {
14355
- explorers?: {
14356
- chainId: number;
14357
- type: "ETHERSCAN" | "BLOCKSCOUT";
14358
- url: string;
14359
- }[] | undefined;
14360
- name: string;
14361
- id: number;
14362
- icon: string;
14363
- };
14364
- identifier: string;
14365
- howToSteps: string[];
14366
- dailyRewards: number;
14367
- tags: string[];
14368
- lastCampaignCreatedAt: number;
14369
- } | null)[];
14370
- 422: {
14371
- type: "validation";
14372
- on: string;
14373
- summary?: string;
14374
- message?: string;
14375
- found?: unknown;
14376
- property?: string;
14377
- expected?: string;
14378
- };
14379
- } | {
14380
- 200: ({
14381
- protocol?: {
14382
- dailyRewards?: number | undefined;
14383
- numberOfLiveCampaigns?: number | undefined;
14384
- opportunityLiveTags?: string[] | undefined;
14385
- name: string;
14386
- description: string;
14387
- id: string;
14388
- url: string;
14389
- icon: string;
14390
- tags: string[];
14391
- } | null | undefined;
14392
- depositUrl?: string | undefined;
14393
- aprRecord?: {
14394
- timestamp: string | bigint;
14395
- cumulated: number;
14396
- breakdowns: {
14397
- 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" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
14398
- value: number;
14399
- type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
14400
- identifier: string;
14401
- }[];
14402
- } | undefined;
14403
- 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" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
14404
- explorerAddress?: string | undefined;
14405
- tvlRecord?: {
14406
- timestamp: string | bigint;
14407
- total: number;
14408
- breakdowns: {
14409
- value: number;
14410
- type: "TOKEN" | "PROTOCOL";
14411
- identifier: string;
14412
- }[];
14413
- } | undefined;
14414
- rewardsRecord?: {
14415
- timestamp: string | bigint;
14416
- total: number;
14417
- breakdowns: {
14418
- 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" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
14419
- token: {
14420
- price?: number | null | undefined;
14421
- symbol: string;
14422
- name: string | null;
14423
- decimals: number;
14424
- address: string;
14425
- id: string;
14426
- chainId: number;
14427
- type: "TOKEN" | "PRETGE" | "POINT";
14428
- icon: string;
14429
- isNative: boolean;
14430
- isTest: boolean;
14431
- verified: boolean;
14432
- };
14433
- campaignId: string;
14434
- value: number;
14435
- amount: string | bigint;
14436
- }[];
14437
- } | undefined;
14438
- name: string;
14439
- apr: number;
14440
- tokens: {
14441
- price?: number | null | undefined;
14442
- symbol: string;
14443
- name: string | null;
14444
- decimals: number;
14445
- address: string;
14446
- id: string;
14447
- chainId: number;
14448
- type: "TOKEN" | "PRETGE" | "POINT";
14449
- icon: string;
14450
- isNative: boolean;
14451
- isTest: boolean;
14452
- verified: boolean;
14453
- }[];
14454
- tvl: number;
14455
- description: string;
14456
- id: string;
14457
- status: string;
14458
- chainId: number;
14459
- action: string;
14460
- type: string;
14461
- chain: {
14462
- explorers?: {
14463
- chainId: number;
14464
- type: "ETHERSCAN" | "BLOCKSCOUT";
14465
- url: string;
14466
- }[] | undefined;
14467
- name: string;
14468
- id: number;
14469
- icon: string;
14470
- };
14471
- identifier: string;
14472
- howToSteps: string[];
14473
- dailyRewards: number;
14474
- tags: string[];
14475
- lastCampaignCreatedAt: number;
14476
- } | null)[];
14477
- 422: {
14478
- type: "validation";
14479
- on: string;
14480
- summary?: string;
14481
- message?: string;
14482
- found?: unknown;
14483
- property?: string;
14484
- expected?: string;
14485
- };
14486
- } | {
14487
- 200: ({
14488
- protocol?: {
14489
- dailyRewards?: number | undefined;
14490
- numberOfLiveCampaigns?: number | undefined;
14491
- opportunityLiveTags?: string[] | undefined;
14492
- name: string;
13883
+ isNative: boolean;
13884
+ isTest: boolean;
13885
+ verified: boolean;
13886
+ }[];
13887
+ tvl: number;
14493
13888
  description: string;
14494
13889
  id: string;
14495
- url: string;
14496
- icon: string;
14497
- tags: string[];
14498
- } | null | undefined;
14499
- depositUrl?: string | undefined;
14500
- aprRecord?: {
14501
- timestamp: string | bigint;
14502
- cumulated: number;
14503
- breakdowns: {
14504
- 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" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
14505
- value: number;
14506
- type: "TOKEN" | "CAMPAIGN" | "PROTOCOL";
14507
- identifier: string;
14508
- }[];
14509
- } | undefined;
14510
- 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" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
14511
- explorerAddress?: string | undefined;
14512
- tvlRecord?: {
14513
- timestamp: string | bigint;
14514
- total: number;
14515
- breakdowns: {
14516
- value: number;
14517
- type: "TOKEN" | "PROTOCOL";
14518
- identifier: string;
14519
- }[];
14520
- } | undefined;
14521
- rewardsRecord?: {
14522
- timestamp: string | bigint;
14523
- total: number;
14524
- breakdowns: {
13890
+ status: string;
13891
+ chainId: number;
13892
+ campaigns: {
13893
+ description?: string | undefined;
13894
+ creator?: {
13895
+ tags?: string[] | undefined;
13896
+ creatorId?: string | null | undefined;
13897
+ address: string;
13898
+ } | undefined;
13899
+ campaignStatus?: {
13900
+ error?: string | undefined;
13901
+ details?: any;
13902
+ status: string;
13903
+ computedUntil: string | number;
13904
+ processingStarted: string | number;
13905
+ } | undefined;
14525
13906
  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" | "MAX_REWARD_VALUE_PER_LIQUIDITY_VALUE" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_VALUE" | "MAX_REWARD_VALUE_PER_LIQUIDITY_AMOUNT" | "MAX_REWARD_AMOUNT_PER_LIQUIDITY_AMOUNT" | undefined;
14526
- token: {
13907
+ rootCampaignId?: string | undefined;
13908
+ parentCampaignId?: string | undefined;
13909
+ distributionChain?: {
13910
+ explorers?: {
13911
+ chainId: number;
13912
+ type: "ETHERSCAN" | "BLOCKSCOUT";
13913
+ url: string;
13914
+ }[] | undefined;
13915
+ name: string;
13916
+ id: number;
13917
+ icon: string;
13918
+ } | undefined;
13919
+ rewardToken: {
14527
13920
  price?: number | null | undefined;
14528
13921
  symbol: string;
14529
13922
  name: string | null;
@@ -14538,49 +13931,168 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
14538
13931
  verified: boolean;
14539
13932
  };
14540
13933
  campaignId: string;
14541
- value: number;
14542
- amount: string | bigint;
13934
+ id: string;
13935
+ params: any;
13936
+ amount: string;
13937
+ startTimestamp: string | number;
13938
+ type: string;
13939
+ computeChainId: number;
13940
+ distributionChainId: number;
13941
+ endTimestamp: string | number;
13942
+ chain: {
13943
+ explorers?: {
13944
+ chainId: number;
13945
+ type: "ETHERSCAN" | "BLOCKSCOUT";
13946
+ url: string;
13947
+ }[] | undefined;
13948
+ name: string;
13949
+ id: number;
13950
+ icon: string;
13951
+ };
13952
+ subType: number | null;
13953
+ creatorAddress: string;
13954
+ createdAt: string;
14543
13955
  }[];
14544
- } | undefined;
14545
- name: string;
14546
- apr: number;
14547
- tokens: {
14548
- price?: number | null | undefined;
14549
- symbol: string;
14550
- name: string | null;
14551
- decimals: number;
14552
- address: string;
14553
- id: string;
14554
- chainId: number;
14555
- type: "TOKEN" | "PRETGE" | "POINT";
14556
- icon: string;
14557
- isNative: boolean;
14558
- isTest: boolean;
14559
- verified: boolean;
13956
+ action: string;
13957
+ type: string;
13958
+ chain: {
13959
+ explorers?: {
13960
+ chainId: number;
13961
+ type: "ETHERSCAN" | "BLOCKSCOUT";
13962
+ url: string;
13963
+ }[] | undefined;
13964
+ name: string;
13965
+ id: number;
13966
+ icon: string;
13967
+ };
13968
+ identifier: string;
13969
+ howToSteps: string[];
13970
+ dailyRewards: number;
13971
+ tags: string[];
13972
+ lastCampaignCreatedAt: number;
14560
13973
  }[];
14561
- tvl: number;
14562
- description: string;
14563
- id: string;
14564
- status: string;
14565
- chainId: number;
14566
- action: string;
14567
- type: string;
14568
- chain: {
14569
- explorers?: {
14570
- chainId: number;
14571
- type: "ETHERSCAN" | "BLOCKSCOUT";
14572
- url: string;
14573
- }[] | undefined;
13974
+ readonly 500: {
13975
+ info: string;
13976
+ code: string;
13977
+ httpCode: number;
13978
+ };
13979
+ readonly 404: {
14574
13980
  name: string;
14575
- id: number;
14576
- icon: string;
13981
+ message: string;
14577
13982
  };
14578
- identifier: string;
14579
- howToSteps: string[];
14580
- dailyRewards: number;
14581
- tags: string[];
14582
- lastCampaignCreatedAt: number;
14583
- } | null)[];
13983
+ 422: {
13984
+ type: "validation";
13985
+ on: string;
13986
+ summary?: string;
13987
+ message?: string;
13988
+ found?: unknown;
13989
+ property?: string;
13990
+ expected?: string;
13991
+ };
13992
+ }>>;
13993
+ };
13994
+ get: (options: {
13995
+ headers?: Record<string, unknown> | undefined;
13996
+ query: {
13997
+ sort?: string | undefined;
13998
+ name?: string | undefined;
13999
+ tokens?: string | undefined;
14000
+ campaignId?: string | undefined;
14001
+ status?: string | undefined;
14002
+ chainId?: string | undefined;
14003
+ campaigns?: boolean | undefined;
14004
+ items?: number | undefined;
14005
+ point?: boolean | undefined;
14006
+ order?: string | undefined;
14007
+ action?: string | undefined;
14008
+ type?: string | undefined;
14009
+ chainName?: string | undefined;
14010
+ search?: string | undefined;
14011
+ creatorAddress?: string | undefined;
14012
+ identifier?: string | undefined;
14013
+ mainProtocolId?: string | undefined;
14014
+ tags?: string | undefined;
14015
+ test?: boolean | undefined;
14016
+ page?: number | undefined;
14017
+ tokenTypes?: ("TOKEN" | "PRETGE" | "POINT")[] | undefined;
14018
+ excludeSubCampaigns?: boolean | undefined;
14019
+ minimumTvl?: number | undefined;
14020
+ maximumTvl?: number | undefined;
14021
+ minimumApr?: number | undefined;
14022
+ maximumApr?: number | undefined;
14023
+ rewardTokenSymbol?: string | undefined;
14024
+ distributionTypes?: ("DUTCH_AUCTION" | "FIX_REWARD" | "MAX_REWARD")[] | undefined;
14025
+ };
14026
+ fetch?: RequestInit | undefined;
14027
+ }) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
14028
+ 200: string;
14029
+ 422: {
14030
+ type: "validation";
14031
+ on: string;
14032
+ summary?: string;
14033
+ message?: string;
14034
+ found?: unknown;
14035
+ property?: string;
14036
+ expected?: string;
14037
+ };
14038
+ } | {
14039
+ 200: number;
14040
+ 422: {
14041
+ type: "validation";
14042
+ on: string;
14043
+ summary?: string;
14044
+ message?: string;
14045
+ found?: unknown;
14046
+ property?: string;
14047
+ expected?: string;
14048
+ };
14049
+ } | {
14050
+ 200: false;
14051
+ 422: {
14052
+ type: "validation";
14053
+ on: string;
14054
+ summary?: string;
14055
+ message?: string;
14056
+ found?: unknown;
14057
+ property?: string;
14058
+ expected?: string;
14059
+ };
14060
+ } | {
14061
+ 200: true;
14062
+ 422: {
14063
+ type: "validation";
14064
+ on: string;
14065
+ summary?: string;
14066
+ message?: string;
14067
+ found?: unknown;
14068
+ property?: string;
14069
+ expected?: string;
14070
+ };
14071
+ } | {
14072
+ 200: object;
14073
+ 422: {
14074
+ type: "validation";
14075
+ on: string;
14076
+ summary?: string;
14077
+ message?: string;
14078
+ found?: unknown;
14079
+ property?: string;
14080
+ expected?: string;
14081
+ };
14082
+ } | {
14083
+ [x: string]: any;
14084
+ 200: any;
14085
+ 422: {
14086
+ type: "validation";
14087
+ on: string;
14088
+ summary?: string;
14089
+ message?: string;
14090
+ found?: unknown;
14091
+ property?: string;
14092
+ expected?: string;
14093
+ };
14094
+ } | {
14095
+ 200: unknown;
14584
14096
  422: {
14585
14097
  type: "validation";
14586
14098
  on: string;