@merkl/api 0.10.393 → 0.10.396
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 +2806 -0
- package/dist/database/api/.generated/drizzle/schema.js +849 -0
- package/dist/database/api/.generated/drizzle/schema.ts +906 -0
- package/dist/database/api/.generated/edge.js +3 -7
- package/dist/database/api/.generated/index-browser.js +0 -4
- package/dist/database/api/.generated/index.d.ts +1 -99
- package/dist/database/api/.generated/index.js +3 -7
- package/dist/database/api/.generated/package.json +1 -1
- package/dist/database/api/.generated/schema.prisma +16 -13
- package/dist/database/api/.generated/wasm.js +0 -4
- package/dist/database/engine/.generated/edge.js +3 -7
- package/dist/database/engine/.generated/index-browser.js +0 -4
- package/dist/database/engine/.generated/index.d.ts +2 -218
- package/dist/database/engine/.generated/index.js +3 -7
- package/dist/database/engine/.generated/package.json +1 -1
- package/dist/database/engine/.generated/schema.prisma +6 -10
- package/dist/database/engine/.generated/wasm.js +0 -4
- package/dist/src/eden/index.d.ts +314 -78
- package/dist/src/index.d.ts +120 -26
- package/dist/src/jobs/etl/reward-breakdowns.js +0 -2
- package/dist/src/modules/v4/cache/cache.service.js +2 -0
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +1 -1
- package/dist/src/modules/v4/campaign/campaign.repository.d.ts +10 -10
- package/dist/src/modules/v4/campaign/campaign.repository.js +2 -2
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +3 -2
- package/dist/src/modules/v4/campaign/campaign.service.js +9 -1
- package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +3 -3
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +5 -5
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +72 -72
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +1 -1
- package/dist/src/modules/v4/reward/reward.controller.d.ts +109 -5
- package/dist/src/modules/v4/reward/reward.controller.js +29 -21
- package/dist/src/modules/v4/reward/reward.model.d.ts +5 -8
- package/dist/src/modules/v4/reward/reward.model.js +8 -6
- package/dist/src/modules/v4/reward/reward.repository.d.ts +12 -16
- package/dist/src/modules/v4/reward/reward.repository.js +13 -20
- package/dist/src/modules/v4/reward/reward.service.d.ts +10 -23
- package/dist/src/modules/v4/reward/reward.service.js +0 -2
- package/dist/src/modules/v4/reward/subservices/converter.js +0 -2
- package/dist/src/modules/v4/router.d.ts +120 -24
- package/dist/src/modules/v4/status/status.controller.d.ts +6 -6
- package/dist/src/modules/v4/status/status.repository.d.ts +6 -6
- package/dist/src/modules/v4/status/status.service.d.ts +6 -6
- package/dist/src/modules/v4/token/token.repository.d.ts +2 -2
- package/dist/src/modules/v4/token/token.service.d.ts +3 -4
- package/dist/src/modules/v4/token/token.service.js +2 -1
- package/dist/src/modules/v4/user/user.controller.d.ts +0 -8
- package/dist/src/modules/v4/user/user.model.d.ts +5 -2
- package/dist/src/modules/v4/user/user.model.js +4 -2
- package/dist/src/modules/v4/user/user.repository.d.ts +1 -1
- package/dist/src/modules/v4/user/user.service.d.ts +1 -1
- package/dist/src/routes/v3/rewards.d.ts +0 -2
- package/dist/src/routes/v3/router.d.ts +0 -2
- package/dist/src/utils/prisma.d.ts +16 -3
- package/dist/src/utils/prisma.js +2 -1
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +4 -2
package/dist/src/eden/index.d.ts
CHANGED
@@ -200,7 +200,6 @@ declare const eden: {
|
|
200
200
|
tags: string[];
|
201
201
|
icon: string;
|
202
202
|
} | null | undefined;
|
203
|
-
depositUrl?: string | undefined;
|
204
203
|
aprRecord?: {
|
205
204
|
timestamp: string | bigint;
|
206
205
|
cumulated: number;
|
@@ -212,6 +211,7 @@ declare const eden: {
|
|
212
211
|
aprRecordId: string;
|
213
212
|
}[];
|
214
213
|
} | undefined;
|
214
|
+
depositUrl?: string | undefined;
|
215
215
|
tvlRecord?: {
|
216
216
|
total: number;
|
217
217
|
timestamp: string | bigint;
|
@@ -312,7 +312,6 @@ declare const eden: {
|
|
312
312
|
tags: string[];
|
313
313
|
icon: string;
|
314
314
|
} | null | undefined;
|
315
|
-
depositUrl?: string | undefined;
|
316
315
|
aprRecord?: {
|
317
316
|
timestamp: string | bigint;
|
318
317
|
cumulated: number;
|
@@ -324,6 +323,7 @@ declare const eden: {
|
|
324
323
|
aprRecordId: string;
|
325
324
|
}[];
|
326
325
|
} | undefined;
|
326
|
+
depositUrl?: string | undefined;
|
327
327
|
tvlRecord?: {
|
328
328
|
total: number;
|
329
329
|
timestamp: string | bigint;
|
@@ -721,7 +721,6 @@ declare const eden: {
|
|
721
721
|
tags: string[];
|
722
722
|
icon: string;
|
723
723
|
} | null | undefined;
|
724
|
-
depositUrl?: string | undefined;
|
725
724
|
aprRecord?: {
|
726
725
|
timestamp: string | bigint;
|
727
726
|
cumulated: number;
|
@@ -733,6 +732,7 @@ declare const eden: {
|
|
733
732
|
aprRecordId: string;
|
734
733
|
}[];
|
735
734
|
} | undefined;
|
735
|
+
depositUrl?: string | undefined;
|
736
736
|
tvlRecord?: {
|
737
737
|
total: number;
|
738
738
|
timestamp: string | bigint;
|
@@ -1216,10 +1216,10 @@ declare const eden: {
|
|
1216
1216
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1217
1217
|
200: {
|
1218
1218
|
endTimestamp: bigint;
|
1219
|
-
campaignId: string;
|
1220
1219
|
CampaignStatus: {
|
1221
1220
|
computedUntil: bigint;
|
1222
1221
|
}[];
|
1222
|
+
campaignId: string;
|
1223
1223
|
}[];
|
1224
1224
|
422: {
|
1225
1225
|
type: "validation";
|
@@ -1807,6 +1807,83 @@ declare const eden: {
|
|
1807
1807
|
}>>;
|
1808
1808
|
};
|
1809
1809
|
};
|
1810
|
+
campaign: ((params: {
|
1811
|
+
campaignId: string | number;
|
1812
|
+
}) => {
|
1813
|
+
index: {
|
1814
|
+
get: (options: {
|
1815
|
+
headers?: Record<string, unknown> | undefined;
|
1816
|
+
query: {
|
1817
|
+
items?: number | undefined;
|
1818
|
+
page?: number | undefined;
|
1819
|
+
};
|
1820
|
+
fetch?: RequestInit | undefined;
|
1821
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1822
|
+
200: {
|
1823
|
+
amount: string;
|
1824
|
+
claimed: string;
|
1825
|
+
pending: string;
|
1826
|
+
recipient: string;
|
1827
|
+
}[];
|
1828
|
+
422: {
|
1829
|
+
type: "validation";
|
1830
|
+
on: string;
|
1831
|
+
summary?: string;
|
1832
|
+
message?: string;
|
1833
|
+
found?: unknown;
|
1834
|
+
property?: string;
|
1835
|
+
expected?: string;
|
1836
|
+
};
|
1837
|
+
}>>;
|
1838
|
+
};
|
1839
|
+
total: {
|
1840
|
+
get: (options: {
|
1841
|
+
headers?: Record<string, unknown> | undefined;
|
1842
|
+
query: {
|
1843
|
+
items?: number | undefined;
|
1844
|
+
page?: number | undefined;
|
1845
|
+
};
|
1846
|
+
fetch?: RequestInit | undefined;
|
1847
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1848
|
+
200: {
|
1849
|
+
tokenId: string;
|
1850
|
+
amount: bigint;
|
1851
|
+
};
|
1852
|
+
422: {
|
1853
|
+
type: "validation";
|
1854
|
+
on: string;
|
1855
|
+
summary?: string;
|
1856
|
+
message?: string;
|
1857
|
+
found?: unknown;
|
1858
|
+
property?: string;
|
1859
|
+
expected?: string;
|
1860
|
+
};
|
1861
|
+
}>>;
|
1862
|
+
};
|
1863
|
+
count: {
|
1864
|
+
get: (options: {
|
1865
|
+
headers?: Record<string, unknown> | undefined;
|
1866
|
+
query: {
|
1867
|
+
items?: number | undefined;
|
1868
|
+
page?: number | undefined;
|
1869
|
+
};
|
1870
|
+
fetch?: RequestInit | undefined;
|
1871
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1872
|
+
200: {
|
1873
|
+
count: number;
|
1874
|
+
};
|
1875
|
+
422: {
|
1876
|
+
type: "validation";
|
1877
|
+
on: string;
|
1878
|
+
summary?: string;
|
1879
|
+
message?: string;
|
1880
|
+
found?: unknown;
|
1881
|
+
property?: string;
|
1882
|
+
expected?: string;
|
1883
|
+
};
|
1884
|
+
}>>;
|
1885
|
+
};
|
1886
|
+
}) & {};
|
1810
1887
|
token: {
|
1811
1888
|
index: {
|
1812
1889
|
get: (options: {
|
@@ -1814,12 +1891,18 @@ declare const eden: {
|
|
1814
1891
|
query: {
|
1815
1892
|
items?: number | undefined;
|
1816
1893
|
page?: number | undefined;
|
1894
|
+
campaignIds?: string[] | undefined;
|
1817
1895
|
chainId: number;
|
1818
1896
|
address: string;
|
1819
1897
|
};
|
1820
1898
|
fetch?: RequestInit | undefined;
|
1821
1899
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1822
|
-
200:
|
1900
|
+
200: {
|
1901
|
+
amount: string;
|
1902
|
+
claimed: string;
|
1903
|
+
pending: string;
|
1904
|
+
recipient: string;
|
1905
|
+
}[];
|
1823
1906
|
422: {
|
1824
1907
|
type: "validation";
|
1825
1908
|
on: string;
|
@@ -1837,6 +1920,7 @@ declare const eden: {
|
|
1837
1920
|
query: {
|
1838
1921
|
items?: number | undefined;
|
1839
1922
|
page?: number | undefined;
|
1923
|
+
campaignIds?: string[] | undefined;
|
1840
1924
|
chainId: number;
|
1841
1925
|
address: string;
|
1842
1926
|
};
|
@@ -1863,6 +1947,7 @@ declare const eden: {
|
|
1863
1947
|
query: {
|
1864
1948
|
items?: number | undefined;
|
1865
1949
|
page?: number | undefined;
|
1950
|
+
campaignIds?: string[] | undefined;
|
1866
1951
|
chainId: number;
|
1867
1952
|
address: string;
|
1868
1953
|
};
|
@@ -1923,8 +2008,6 @@ declare const eden: {
|
|
1923
2008
|
rewardToken: string;
|
1924
2009
|
breakdowns: {
|
1925
2010
|
protocolId?: string | undefined;
|
1926
|
-
auxiliaryData1?: string | undefined;
|
1927
|
-
auxiliaryData2?: string | undefined;
|
1928
2011
|
reason: string;
|
1929
2012
|
pending: string;
|
1930
2013
|
recipient: string;
|
@@ -1980,8 +2063,6 @@ declare const eden: {
|
|
1980
2063
|
pendings: {
|
1981
2064
|
post: (body: {
|
1982
2065
|
data: {
|
1983
|
-
auxiliaryData1?: string | undefined;
|
1984
|
-
auxiliaryData2?: string | undefined;
|
1985
2066
|
reason: string;
|
1986
2067
|
pending: string;
|
1987
2068
|
recipient: string;
|
@@ -2532,8 +2613,6 @@ declare const eden: {
|
|
2532
2613
|
pending: string;
|
2533
2614
|
amount: string;
|
2534
2615
|
claimed: string;
|
2535
|
-
auxiliaryData1: string | null;
|
2536
|
-
auxiliaryData2: string | null;
|
2537
2616
|
}[];
|
2538
2617
|
claimed: bigint;
|
2539
2618
|
amount: bigint;
|
@@ -2547,8 +2626,6 @@ declare const eden: {
|
|
2547
2626
|
claimed: bigint;
|
2548
2627
|
amount: bigint;
|
2549
2628
|
pending: bigint;
|
2550
|
-
auxiliaryData1: string | null;
|
2551
|
-
auxiliaryData2: string | null;
|
2552
2629
|
}[];
|
2553
2630
|
})[];
|
2554
2631
|
distributor: string;
|
@@ -2647,8 +2724,6 @@ declare const eden: {
|
|
2647
2724
|
pending: string;
|
2648
2725
|
amount: string;
|
2649
2726
|
claimed: string;
|
2650
|
-
auxiliaryData1: string | null;
|
2651
|
-
auxiliaryData2: string | null;
|
2652
2727
|
}[];
|
2653
2728
|
claimed: bigint;
|
2654
2729
|
amount: bigint;
|
@@ -2663,8 +2738,6 @@ declare const eden: {
|
|
2663
2738
|
pending: string;
|
2664
2739
|
amount: string;
|
2665
2740
|
claimed: string;
|
2666
|
-
auxiliaryData1: string | null;
|
2667
|
-
auxiliaryData2: string | null;
|
2668
2741
|
}[];
|
2669
2742
|
})[];
|
2670
2743
|
})[];
|
@@ -3202,13 +3275,13 @@ declare const eden: {
|
|
3202
3275
|
chainId?: number | undefined;
|
3203
3276
|
startTimestamp?: string | undefined;
|
3204
3277
|
endTimestamp?: string | undefined;
|
3278
|
+
campaignStatus?: {} | undefined;
|
3205
3279
|
distributionChainId?: number | undefined;
|
3206
3280
|
campaignId?: string | undefined;
|
3207
3281
|
rewardTokenId?: string | undefined;
|
3208
3282
|
amount?: string | undefined;
|
3209
3283
|
opportunityId?: string | undefined;
|
3210
3284
|
creatorAddress?: string | undefined;
|
3211
|
-
campaignStatus?: {} | undefined;
|
3212
3285
|
rewardToken?: {} | undefined;
|
3213
3286
|
rewardTokenAddress?: string | undefined;
|
3214
3287
|
distributionChain?: {} | undefined;
|
@@ -3410,12 +3483,6 @@ declare const eden: {
|
|
3410
3483
|
delayFormatted: string;
|
3411
3484
|
startTimestamp: bigint;
|
3412
3485
|
endTimestamp: bigint;
|
3413
|
-
computeChainId: number;
|
3414
|
-
distributionChainId: number;
|
3415
|
-
campaignId: string;
|
3416
|
-
Opportunity: {
|
3417
|
-
name: string;
|
3418
|
-
};
|
3419
3486
|
CampaignStatus: {
|
3420
3487
|
error: string;
|
3421
3488
|
details: import("database/api/.generated/runtime/library").JsonValue;
|
@@ -3424,6 +3491,12 @@ declare const eden: {
|
|
3424
3491
|
computedUntil: bigint;
|
3425
3492
|
processingStarted: bigint;
|
3426
3493
|
}[];
|
3494
|
+
Opportunity: {
|
3495
|
+
name: string;
|
3496
|
+
};
|
3497
|
+
computeChainId: number;
|
3498
|
+
distributionChainId: number;
|
3499
|
+
campaignId: string;
|
3427
3500
|
}[];
|
3428
3501
|
422: {
|
3429
3502
|
type: "validation";
|
@@ -4721,8 +4794,6 @@ declare const eden: {
|
|
4721
4794
|
token: string;
|
4722
4795
|
mainParameter: string;
|
4723
4796
|
decimals: number;
|
4724
|
-
auxiliaryData1: string;
|
4725
|
-
auxiliaryData2: string;
|
4726
4797
|
unclaimed: string;
|
4727
4798
|
accumulated: string;
|
4728
4799
|
};
|
@@ -5417,7 +5488,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
5417
5488
|
tags: string[];
|
5418
5489
|
icon: string;
|
5419
5490
|
} | null | undefined;
|
5420
|
-
depositUrl?: string | undefined;
|
5421
5491
|
aprRecord?: {
|
5422
5492
|
timestamp: string | bigint;
|
5423
5493
|
cumulated: number;
|
@@ -5429,6 +5499,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
5429
5499
|
aprRecordId: string;
|
5430
5500
|
}[];
|
5431
5501
|
} | undefined;
|
5502
|
+
depositUrl?: string | undefined;
|
5432
5503
|
tvlRecord?: {
|
5433
5504
|
total: number;
|
5434
5505
|
timestamp: string | bigint;
|
@@ -5550,7 +5621,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
5550
5621
|
tags: string[];
|
5551
5622
|
icon: string;
|
5552
5623
|
} | null | undefined;
|
5553
|
-
depositUrl?: string | undefined;
|
5554
5624
|
aprRecord?: {
|
5555
5625
|
timestamp: string | bigint;
|
5556
5626
|
cumulated: number;
|
@@ -5562,6 +5632,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
5562
5632
|
aprRecordId: string;
|
5563
5633
|
}[];
|
5564
5634
|
} | undefined;
|
5635
|
+
depositUrl?: string | undefined;
|
5565
5636
|
tvlRecord?: {
|
5566
5637
|
total: number;
|
5567
5638
|
timestamp: string | bigint;
|
@@ -5718,7 +5789,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
5718
5789
|
tags: string[];
|
5719
5790
|
icon: string;
|
5720
5791
|
} | null | undefined;
|
5721
|
-
depositUrl?: string | undefined;
|
5722
5792
|
aprRecord?: {
|
5723
5793
|
timestamp: string | bigint;
|
5724
5794
|
cumulated: number;
|
@@ -5730,6 +5800,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
5730
5800
|
aprRecordId: string;
|
5731
5801
|
}[];
|
5732
5802
|
} | undefined;
|
5803
|
+
depositUrl?: string | undefined;
|
5733
5804
|
tvlRecord?: {
|
5734
5805
|
total: number;
|
5735
5806
|
timestamp: string | bigint;
|
@@ -6300,10 +6371,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
6300
6371
|
response: {
|
6301
6372
|
200: {
|
6302
6373
|
endTimestamp: bigint;
|
6303
|
-
campaignId: string;
|
6304
6374
|
CampaignStatus: {
|
6305
6375
|
computedUntil: bigint;
|
6306
6376
|
}[];
|
6377
|
+
campaignId: string;
|
6307
6378
|
}[];
|
6308
6379
|
422: {
|
6309
6380
|
type: "validation";
|
@@ -6978,6 +7049,106 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
6978
7049
|
};
|
6979
7050
|
};
|
6980
7051
|
};
|
7052
|
+
} & {
|
7053
|
+
campaign: {
|
7054
|
+
":campaignId": {
|
7055
|
+
index: {
|
7056
|
+
get: {
|
7057
|
+
body: unknown;
|
7058
|
+
params: {
|
7059
|
+
campaignId: string;
|
7060
|
+
};
|
7061
|
+
query: {
|
7062
|
+
items?: number | undefined;
|
7063
|
+
page?: number | undefined;
|
7064
|
+
};
|
7065
|
+
headers: unknown;
|
7066
|
+
response: {
|
7067
|
+
200: {
|
7068
|
+
amount: string;
|
7069
|
+
claimed: string;
|
7070
|
+
pending: string;
|
7071
|
+
recipient: string;
|
7072
|
+
}[];
|
7073
|
+
422: {
|
7074
|
+
type: "validation";
|
7075
|
+
on: string;
|
7076
|
+
summary?: string;
|
7077
|
+
message?: string;
|
7078
|
+
found?: unknown;
|
7079
|
+
property?: string;
|
7080
|
+
expected?: string;
|
7081
|
+
};
|
7082
|
+
};
|
7083
|
+
};
|
7084
|
+
};
|
7085
|
+
};
|
7086
|
+
};
|
7087
|
+
} & {
|
7088
|
+
campaign: {
|
7089
|
+
":campaignId": {
|
7090
|
+
total: {
|
7091
|
+
get: {
|
7092
|
+
body: unknown;
|
7093
|
+
params: {
|
7094
|
+
campaignId: string;
|
7095
|
+
};
|
7096
|
+
query: {
|
7097
|
+
items?: number | undefined;
|
7098
|
+
page?: number | undefined;
|
7099
|
+
};
|
7100
|
+
headers: unknown;
|
7101
|
+
response: {
|
7102
|
+
200: {
|
7103
|
+
tokenId: string;
|
7104
|
+
amount: bigint;
|
7105
|
+
};
|
7106
|
+
422: {
|
7107
|
+
type: "validation";
|
7108
|
+
on: string;
|
7109
|
+
summary?: string;
|
7110
|
+
message?: string;
|
7111
|
+
found?: unknown;
|
7112
|
+
property?: string;
|
7113
|
+
expected?: string;
|
7114
|
+
};
|
7115
|
+
};
|
7116
|
+
};
|
7117
|
+
};
|
7118
|
+
};
|
7119
|
+
};
|
7120
|
+
} & {
|
7121
|
+
campaign: {
|
7122
|
+
":campaignId": {
|
7123
|
+
count: {
|
7124
|
+
get: {
|
7125
|
+
body: unknown;
|
7126
|
+
params: {
|
7127
|
+
campaignId: string;
|
7128
|
+
};
|
7129
|
+
query: {
|
7130
|
+
items?: number | undefined;
|
7131
|
+
page?: number | undefined;
|
7132
|
+
};
|
7133
|
+
headers: unknown;
|
7134
|
+
response: {
|
7135
|
+
200: {
|
7136
|
+
count: number;
|
7137
|
+
};
|
7138
|
+
422: {
|
7139
|
+
type: "validation";
|
7140
|
+
on: string;
|
7141
|
+
summary?: string;
|
7142
|
+
message?: string;
|
7143
|
+
found?: unknown;
|
7144
|
+
property?: string;
|
7145
|
+
expected?: string;
|
7146
|
+
};
|
7147
|
+
};
|
7148
|
+
};
|
7149
|
+
};
|
7150
|
+
};
|
7151
|
+
};
|
6981
7152
|
} & {
|
6982
7153
|
token: {
|
6983
7154
|
index: {
|
@@ -6987,12 +7158,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
6987
7158
|
query: {
|
6988
7159
|
items?: number | undefined;
|
6989
7160
|
page?: number | undefined;
|
7161
|
+
campaignIds?: string[] | undefined;
|
6990
7162
|
chainId: number;
|
6991
7163
|
address: string;
|
6992
7164
|
};
|
6993
7165
|
headers: unknown;
|
6994
7166
|
response: {
|
6995
|
-
200:
|
7167
|
+
200: {
|
7168
|
+
amount: string;
|
7169
|
+
claimed: string;
|
7170
|
+
pending: string;
|
7171
|
+
recipient: string;
|
7172
|
+
}[];
|
6996
7173
|
422: {
|
6997
7174
|
type: "validation";
|
6998
7175
|
on: string;
|
@@ -7015,6 +7192,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
7015
7192
|
query: {
|
7016
7193
|
items?: number | undefined;
|
7017
7194
|
page?: number | undefined;
|
7195
|
+
campaignIds?: string[] | undefined;
|
7018
7196
|
chainId: number;
|
7019
7197
|
address: string;
|
7020
7198
|
};
|
@@ -7046,6 +7224,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
7046
7224
|
query: {
|
7047
7225
|
items?: number | undefined;
|
7048
7226
|
page?: number | undefined;
|
7227
|
+
campaignIds?: string[] | undefined;
|
7049
7228
|
chainId: number;
|
7050
7229
|
address: string;
|
7051
7230
|
};
|
@@ -7114,8 +7293,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
7114
7293
|
rewardToken: string;
|
7115
7294
|
breakdowns: {
|
7116
7295
|
protocolId?: string | undefined;
|
7117
|
-
auxiliaryData1?: string | undefined;
|
7118
|
-
auxiliaryData2?: string | undefined;
|
7119
7296
|
reason: string;
|
7120
7297
|
pending: string;
|
7121
7298
|
recipient: string;
|
@@ -7181,8 +7358,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
7181
7358
|
post: {
|
7182
7359
|
body: {
|
7183
7360
|
data: {
|
7184
|
-
auxiliaryData1?: string | undefined;
|
7185
|
-
auxiliaryData2?: string | undefined;
|
7186
7361
|
reason: string;
|
7187
7362
|
pending: string;
|
7188
7363
|
recipient: string;
|
@@ -7961,8 +8136,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
7961
8136
|
pending: string;
|
7962
8137
|
amount: string;
|
7963
8138
|
claimed: string;
|
7964
|
-
auxiliaryData1: string | null;
|
7965
|
-
auxiliaryData2: string | null;
|
7966
8139
|
}[];
|
7967
8140
|
claimed: bigint;
|
7968
8141
|
amount: bigint;
|
@@ -7976,8 +8149,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
7976
8149
|
claimed: bigint;
|
7977
8150
|
amount: bigint;
|
7978
8151
|
pending: bigint;
|
7979
|
-
auxiliaryData1: string | null;
|
7980
|
-
auxiliaryData2: string | null;
|
7981
8152
|
}[];
|
7982
8153
|
})[];
|
7983
8154
|
distributor: string;
|
@@ -8087,8 +8258,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
8087
8258
|
pending: string;
|
8088
8259
|
amount: string;
|
8089
8260
|
claimed: string;
|
8090
|
-
auxiliaryData1: string | null;
|
8091
|
-
auxiliaryData2: string | null;
|
8092
8261
|
}[];
|
8093
8262
|
claimed: bigint;
|
8094
8263
|
amount: bigint;
|
@@ -8103,8 +8272,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
8103
8272
|
pending: string;
|
8104
8273
|
amount: string;
|
8105
8274
|
claimed: string;
|
8106
|
-
auxiliaryData1: string | null;
|
8107
|
-
auxiliaryData2: string | null;
|
8108
8275
|
}[];
|
8109
8276
|
})[];
|
8110
8277
|
})[];
|
@@ -8708,13 +8875,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
8708
8875
|
chainId?: number | undefined;
|
8709
8876
|
startTimestamp?: string | undefined;
|
8710
8877
|
endTimestamp?: string | undefined;
|
8878
|
+
campaignStatus?: {} | undefined;
|
8711
8879
|
distributionChainId?: number | undefined;
|
8712
8880
|
campaignId?: string | undefined;
|
8713
8881
|
rewardTokenId?: string | undefined;
|
8714
8882
|
amount?: string | undefined;
|
8715
8883
|
opportunityId?: string | undefined;
|
8716
8884
|
creatorAddress?: string | undefined;
|
8717
|
-
campaignStatus?: {} | undefined;
|
8718
8885
|
rewardToken?: {} | undefined;
|
8719
8886
|
rewardTokenAddress?: string | undefined;
|
8720
8887
|
distributionChain?: {} | undefined;
|
@@ -8942,12 +9109,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
8942
9109
|
delayFormatted: string;
|
8943
9110
|
startTimestamp: bigint;
|
8944
9111
|
endTimestamp: bigint;
|
8945
|
-
computeChainId: number;
|
8946
|
-
distributionChainId: number;
|
8947
|
-
campaignId: string;
|
8948
|
-
Opportunity: {
|
8949
|
-
name: string;
|
8950
|
-
};
|
8951
9112
|
CampaignStatus: {
|
8952
9113
|
error: string;
|
8953
9114
|
details: import("database/api/.generated/runtime/library").JsonValue;
|
@@ -8956,6 +9117,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
8956
9117
|
computedUntil: bigint;
|
8957
9118
|
processingStarted: bigint;
|
8958
9119
|
}[];
|
9120
|
+
Opportunity: {
|
9121
|
+
name: string;
|
9122
|
+
};
|
9123
|
+
computeChainId: number;
|
9124
|
+
distributionChainId: number;
|
9125
|
+
campaignId: string;
|
8959
9126
|
}[];
|
8960
9127
|
422: {
|
8961
9128
|
type: "validation";
|
@@ -10524,8 +10691,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
10524
10691
|
token: string;
|
10525
10692
|
mainParameter: string;
|
10526
10693
|
decimals: number;
|
10527
|
-
auxiliaryData1: string;
|
10528
|
-
auxiliaryData2: string;
|
10529
10694
|
unclaimed: string;
|
10530
10695
|
accumulated: string;
|
10531
10696
|
};
|
@@ -10987,7 +11152,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
10987
11152
|
tags: string[];
|
10988
11153
|
icon: string;
|
10989
11154
|
} | null | undefined;
|
10990
|
-
depositUrl?: string | undefined;
|
10991
11155
|
aprRecord?: {
|
10992
11156
|
timestamp: string | bigint;
|
10993
11157
|
cumulated: number;
|
@@ -10999,6 +11163,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
10999
11163
|
aprRecordId: string;
|
11000
11164
|
}[];
|
11001
11165
|
} | undefined;
|
11166
|
+
depositUrl?: string | undefined;
|
11002
11167
|
tvlRecord?: {
|
11003
11168
|
total: number;
|
11004
11169
|
timestamp: string | bigint;
|
@@ -11099,7 +11264,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
11099
11264
|
tags: string[];
|
11100
11265
|
icon: string;
|
11101
11266
|
} | null | undefined;
|
11102
|
-
depositUrl?: string | undefined;
|
11103
11267
|
aprRecord?: {
|
11104
11268
|
timestamp: string | bigint;
|
11105
11269
|
cumulated: number;
|
@@ -11111,6 +11275,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
11111
11275
|
aprRecordId: string;
|
11112
11276
|
}[];
|
11113
11277
|
} | undefined;
|
11278
|
+
depositUrl?: string | undefined;
|
11114
11279
|
tvlRecord?: {
|
11115
11280
|
total: number;
|
11116
11281
|
timestamp: string | bigint;
|
@@ -11508,7 +11673,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
11508
11673
|
tags: string[];
|
11509
11674
|
icon: string;
|
11510
11675
|
} | null | undefined;
|
11511
|
-
depositUrl?: string | undefined;
|
11512
11676
|
aprRecord?: {
|
11513
11677
|
timestamp: string | bigint;
|
11514
11678
|
cumulated: number;
|
@@ -11520,6 +11684,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
11520
11684
|
aprRecordId: string;
|
11521
11685
|
}[];
|
11522
11686
|
} | undefined;
|
11687
|
+
depositUrl?: string | undefined;
|
11523
11688
|
tvlRecord?: {
|
11524
11689
|
total: number;
|
11525
11690
|
timestamp: string | bigint;
|
@@ -12003,10 +12168,10 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
12003
12168
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
12004
12169
|
200: {
|
12005
12170
|
endTimestamp: bigint;
|
12006
|
-
campaignId: string;
|
12007
12171
|
CampaignStatus: {
|
12008
12172
|
computedUntil: bigint;
|
12009
12173
|
}[];
|
12174
|
+
campaignId: string;
|
12010
12175
|
}[];
|
12011
12176
|
422: {
|
12012
12177
|
type: "validation";
|
@@ -12594,6 +12759,83 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
12594
12759
|
}>>;
|
12595
12760
|
};
|
12596
12761
|
};
|
12762
|
+
campaign: ((params: {
|
12763
|
+
campaignId: string | number;
|
12764
|
+
}) => {
|
12765
|
+
index: {
|
12766
|
+
get: (options: {
|
12767
|
+
headers?: Record<string, unknown> | undefined;
|
12768
|
+
query: {
|
12769
|
+
items?: number | undefined;
|
12770
|
+
page?: number | undefined;
|
12771
|
+
};
|
12772
|
+
fetch?: RequestInit | undefined;
|
12773
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
12774
|
+
200: {
|
12775
|
+
amount: string;
|
12776
|
+
claimed: string;
|
12777
|
+
pending: string;
|
12778
|
+
recipient: string;
|
12779
|
+
}[];
|
12780
|
+
422: {
|
12781
|
+
type: "validation";
|
12782
|
+
on: string;
|
12783
|
+
summary?: string;
|
12784
|
+
message?: string;
|
12785
|
+
found?: unknown;
|
12786
|
+
property?: string;
|
12787
|
+
expected?: string;
|
12788
|
+
};
|
12789
|
+
}>>;
|
12790
|
+
};
|
12791
|
+
total: {
|
12792
|
+
get: (options: {
|
12793
|
+
headers?: Record<string, unknown> | undefined;
|
12794
|
+
query: {
|
12795
|
+
items?: number | undefined;
|
12796
|
+
page?: number | undefined;
|
12797
|
+
};
|
12798
|
+
fetch?: RequestInit | undefined;
|
12799
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
12800
|
+
200: {
|
12801
|
+
tokenId: string;
|
12802
|
+
amount: bigint;
|
12803
|
+
};
|
12804
|
+
422: {
|
12805
|
+
type: "validation";
|
12806
|
+
on: string;
|
12807
|
+
summary?: string;
|
12808
|
+
message?: string;
|
12809
|
+
found?: unknown;
|
12810
|
+
property?: string;
|
12811
|
+
expected?: string;
|
12812
|
+
};
|
12813
|
+
}>>;
|
12814
|
+
};
|
12815
|
+
count: {
|
12816
|
+
get: (options: {
|
12817
|
+
headers?: Record<string, unknown> | undefined;
|
12818
|
+
query: {
|
12819
|
+
items?: number | undefined;
|
12820
|
+
page?: number | undefined;
|
12821
|
+
};
|
12822
|
+
fetch?: RequestInit | undefined;
|
12823
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
12824
|
+
200: {
|
12825
|
+
count: number;
|
12826
|
+
};
|
12827
|
+
422: {
|
12828
|
+
type: "validation";
|
12829
|
+
on: string;
|
12830
|
+
summary?: string;
|
12831
|
+
message?: string;
|
12832
|
+
found?: unknown;
|
12833
|
+
property?: string;
|
12834
|
+
expected?: string;
|
12835
|
+
};
|
12836
|
+
}>>;
|
12837
|
+
};
|
12838
|
+
}) & {};
|
12597
12839
|
token: {
|
12598
12840
|
index: {
|
12599
12841
|
get: (options: {
|
@@ -12601,12 +12843,18 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
12601
12843
|
query: {
|
12602
12844
|
items?: number | undefined;
|
12603
12845
|
page?: number | undefined;
|
12846
|
+
campaignIds?: string[] | undefined;
|
12604
12847
|
chainId: number;
|
12605
12848
|
address: string;
|
12606
12849
|
};
|
12607
12850
|
fetch?: RequestInit | undefined;
|
12608
12851
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
12609
|
-
200:
|
12852
|
+
200: {
|
12853
|
+
amount: string;
|
12854
|
+
claimed: string;
|
12855
|
+
pending: string;
|
12856
|
+
recipient: string;
|
12857
|
+
}[];
|
12610
12858
|
422: {
|
12611
12859
|
type: "validation";
|
12612
12860
|
on: string;
|
@@ -12624,6 +12872,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
12624
12872
|
query: {
|
12625
12873
|
items?: number | undefined;
|
12626
12874
|
page?: number | undefined;
|
12875
|
+
campaignIds?: string[] | undefined;
|
12627
12876
|
chainId: number;
|
12628
12877
|
address: string;
|
12629
12878
|
};
|
@@ -12650,6 +12899,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
12650
12899
|
query: {
|
12651
12900
|
items?: number | undefined;
|
12652
12901
|
page?: number | undefined;
|
12902
|
+
campaignIds?: string[] | undefined;
|
12653
12903
|
chainId: number;
|
12654
12904
|
address: string;
|
12655
12905
|
};
|
@@ -12710,8 +12960,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
12710
12960
|
rewardToken: string;
|
12711
12961
|
breakdowns: {
|
12712
12962
|
protocolId?: string | undefined;
|
12713
|
-
auxiliaryData1?: string | undefined;
|
12714
|
-
auxiliaryData2?: string | undefined;
|
12715
12963
|
reason: string;
|
12716
12964
|
pending: string;
|
12717
12965
|
recipient: string;
|
@@ -12767,8 +13015,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
12767
13015
|
pendings: {
|
12768
13016
|
post: (body: {
|
12769
13017
|
data: {
|
12770
|
-
auxiliaryData1?: string | undefined;
|
12771
|
-
auxiliaryData2?: string | undefined;
|
12772
13018
|
reason: string;
|
12773
13019
|
pending: string;
|
12774
13020
|
recipient: string;
|
@@ -13319,8 +13565,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
13319
13565
|
pending: string;
|
13320
13566
|
amount: string;
|
13321
13567
|
claimed: string;
|
13322
|
-
auxiliaryData1: string | null;
|
13323
|
-
auxiliaryData2: string | null;
|
13324
13568
|
}[];
|
13325
13569
|
claimed: bigint;
|
13326
13570
|
amount: bigint;
|
@@ -13334,8 +13578,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
13334
13578
|
claimed: bigint;
|
13335
13579
|
amount: bigint;
|
13336
13580
|
pending: bigint;
|
13337
|
-
auxiliaryData1: string | null;
|
13338
|
-
auxiliaryData2: string | null;
|
13339
13581
|
}[];
|
13340
13582
|
})[];
|
13341
13583
|
distributor: string;
|
@@ -13434,8 +13676,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
13434
13676
|
pending: string;
|
13435
13677
|
amount: string;
|
13436
13678
|
claimed: string;
|
13437
|
-
auxiliaryData1: string | null;
|
13438
|
-
auxiliaryData2: string | null;
|
13439
13679
|
}[];
|
13440
13680
|
claimed: bigint;
|
13441
13681
|
amount: bigint;
|
@@ -13450,8 +13690,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
13450
13690
|
pending: string;
|
13451
13691
|
amount: string;
|
13452
13692
|
claimed: string;
|
13453
|
-
auxiliaryData1: string | null;
|
13454
|
-
auxiliaryData2: string | null;
|
13455
13693
|
}[];
|
13456
13694
|
})[];
|
13457
13695
|
})[];
|
@@ -13989,13 +14227,13 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
13989
14227
|
chainId?: number | undefined;
|
13990
14228
|
startTimestamp?: string | undefined;
|
13991
14229
|
endTimestamp?: string | undefined;
|
14230
|
+
campaignStatus?: {} | undefined;
|
13992
14231
|
distributionChainId?: number | undefined;
|
13993
14232
|
campaignId?: string | undefined;
|
13994
14233
|
rewardTokenId?: string | undefined;
|
13995
14234
|
amount?: string | undefined;
|
13996
14235
|
opportunityId?: string | undefined;
|
13997
14236
|
creatorAddress?: string | undefined;
|
13998
|
-
campaignStatus?: {} | undefined;
|
13999
14237
|
rewardToken?: {} | undefined;
|
14000
14238
|
rewardTokenAddress?: string | undefined;
|
14001
14239
|
distributionChain?: {} | undefined;
|
@@ -14197,12 +14435,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
14197
14435
|
delayFormatted: string;
|
14198
14436
|
startTimestamp: bigint;
|
14199
14437
|
endTimestamp: bigint;
|
14200
|
-
computeChainId: number;
|
14201
|
-
distributionChainId: number;
|
14202
|
-
campaignId: string;
|
14203
|
-
Opportunity: {
|
14204
|
-
name: string;
|
14205
|
-
};
|
14206
14438
|
CampaignStatus: {
|
14207
14439
|
error: string;
|
14208
14440
|
details: import("database/api/.generated/runtime/library").JsonValue;
|
@@ -14211,6 +14443,12 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
14211
14443
|
computedUntil: bigint;
|
14212
14444
|
processingStarted: bigint;
|
14213
14445
|
}[];
|
14446
|
+
Opportunity: {
|
14447
|
+
name: string;
|
14448
|
+
};
|
14449
|
+
computeChainId: number;
|
14450
|
+
distributionChainId: number;
|
14451
|
+
campaignId: string;
|
14214
14452
|
}[];
|
14215
14453
|
422: {
|
14216
14454
|
type: "validation";
|
@@ -15508,8 +15746,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", {
|
|
15508
15746
|
token: string;
|
15509
15747
|
mainParameter: string;
|
15510
15748
|
decimals: number;
|
15511
|
-
auxiliaryData1: string;
|
15512
|
-
auxiliaryData2: string;
|
15513
15749
|
unclaimed: string;
|
15514
15750
|
accumulated: string;
|
15515
15751
|
};
|