@merkl/api 0.19.34 → 0.19.36
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/src/eden/index.d.ts +482 -69
- package/dist/src/index.d.ts +158 -45
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +50 -46
- package/dist/src/modules/v4/campaign/campaign.controller.js +14 -7
- package/dist/src/modules/v4/opportunity/opportunity.repository.js +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.service.js +2 -2
- package/dist/src/modules/v4/reward/reward.controller.d.ts +123 -1
- package/dist/src/modules/v4/reward/reward.controller.js +14 -2
- package/dist/src/modules/v4/reward/reward.model.d.ts +7 -0
- package/dist/src/modules/v4/reward/reward.model.js +6 -0
- package/dist/src/modules/v4/reward/reward.repository.d.ts +9 -1
- package/dist/src/modules/v4/reward/reward.repository.js +27 -0
- package/dist/src/modules/v4/reward/reward.service.d.ts +165 -0
- package/dist/src/modules/v4/reward/reward.service.js +50 -0
- package/dist/src/modules/v4/router.d.ts +158 -45
- package/dist/src/modules/v4/token/token.service.js +9 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -1184,6 +1184,7 @@ declare const eden: {
|
|
1184
1184
|
200: unknown[];
|
1185
1185
|
}>>;
|
1186
1186
|
};
|
1187
|
+
}) & {
|
1187
1188
|
metadata: {
|
1188
1189
|
get: (options: {
|
1189
1190
|
headers: {
|
@@ -1224,7 +1225,7 @@ declare const eden: {
|
|
1224
1225
|
};
|
1225
1226
|
}>>;
|
1226
1227
|
};
|
1227
|
-
}
|
1228
|
+
};
|
1228
1229
|
index: {
|
1229
1230
|
get: (options: {
|
1230
1231
|
headers?: Record<string, unknown> | undefined;
|
@@ -1416,9 +1417,11 @@ declare const eden: {
|
|
1416
1417
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1417
1418
|
200: number;
|
1418
1419
|
}>>;
|
1419
|
-
"by-
|
1420
|
+
"by-types": {
|
1420
1421
|
get: (options: {
|
1421
|
-
headers
|
1422
|
+
headers: {
|
1423
|
+
authorization: string;
|
1424
|
+
};
|
1422
1425
|
query: {
|
1423
1426
|
type?: string | undefined;
|
1424
1427
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
@@ -1450,9 +1453,11 @@ declare const eden: {
|
|
1450
1453
|
};
|
1451
1454
|
}>>;
|
1452
1455
|
};
|
1453
|
-
"by-
|
1456
|
+
"by-protocols": {
|
1454
1457
|
get: (options: {
|
1455
|
-
headers
|
1458
|
+
headers: {
|
1459
|
+
authorization: string;
|
1460
|
+
};
|
1456
1461
|
query: {
|
1457
1462
|
type?: string | undefined;
|
1458
1463
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
@@ -1489,7 +1494,9 @@ declare const eden: {
|
|
1489
1494
|
campaignscount: {
|
1490
1495
|
"by-chains": {
|
1491
1496
|
get: (options: {
|
1492
|
-
headers
|
1497
|
+
headers: {
|
1498
|
+
authorization: string;
|
1499
|
+
};
|
1493
1500
|
query: {
|
1494
1501
|
type?: string | undefined;
|
1495
1502
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
@@ -1969,6 +1976,74 @@ declare const eden: {
|
|
1969
1976
|
amount: bigint;
|
1970
1977
|
};
|
1971
1978
|
}>>;
|
1979
|
+
distributed: {
|
1980
|
+
get: (options: {
|
1981
|
+
headers: {
|
1982
|
+
authorization: string;
|
1983
|
+
};
|
1984
|
+
query: {
|
1985
|
+
since: Date;
|
1986
|
+
};
|
1987
|
+
fetch?: RequestInit | undefined;
|
1988
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1989
|
+
200: number;
|
1990
|
+
}>>;
|
1991
|
+
"by-opportunities": {
|
1992
|
+
get: (options: {
|
1993
|
+
headers: {
|
1994
|
+
authorization: string;
|
1995
|
+
};
|
1996
|
+
query: {
|
1997
|
+
since: Date;
|
1998
|
+
};
|
1999
|
+
fetch?: RequestInit | undefined;
|
2000
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
2001
|
+
200: string;
|
2002
|
+
}>>;
|
2003
|
+
};
|
2004
|
+
"by-chains": {
|
2005
|
+
get: (options: {
|
2006
|
+
headers: {
|
2007
|
+
authorization: string;
|
2008
|
+
};
|
2009
|
+
query: {
|
2010
|
+
since: Date;
|
2011
|
+
};
|
2012
|
+
fetch?: RequestInit | undefined;
|
2013
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
2014
|
+
[x: string]: any;
|
2015
|
+
200: any;
|
2016
|
+
}>>;
|
2017
|
+
};
|
2018
|
+
"by-types": {
|
2019
|
+
get: (options: {
|
2020
|
+
headers: {
|
2021
|
+
authorization: string;
|
2022
|
+
};
|
2023
|
+
query: {
|
2024
|
+
since: Date;
|
2025
|
+
};
|
2026
|
+
fetch?: RequestInit | undefined;
|
2027
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
2028
|
+
[x: string]: any;
|
2029
|
+
200: any;
|
2030
|
+
}>>;
|
2031
|
+
};
|
2032
|
+
"by-protocols": {
|
2033
|
+
get: (options: {
|
2034
|
+
headers: {
|
2035
|
+
authorization: string;
|
2036
|
+
};
|
2037
|
+
query: {
|
2038
|
+
since: Date;
|
2039
|
+
};
|
2040
|
+
fetch?: RequestInit | undefined;
|
2041
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
2042
|
+
[x: string]: any;
|
2043
|
+
200: any;
|
2044
|
+
}>>;
|
2045
|
+
};
|
2046
|
+
};
|
1972
2047
|
};
|
1973
2048
|
count: {
|
1974
2049
|
get: (options: {
|
@@ -4842,6 +4917,7 @@ declare const eden: {
|
|
4842
4917
|
200: unknown[];
|
4843
4918
|
}>>;
|
4844
4919
|
};
|
4920
|
+
}) & {
|
4845
4921
|
metadata: {
|
4846
4922
|
get: (options: {
|
4847
4923
|
headers: {
|
@@ -4882,7 +4958,7 @@ declare const eden: {
|
|
4882
4958
|
};
|
4883
4959
|
}>>;
|
4884
4960
|
};
|
4885
|
-
}
|
4961
|
+
};
|
4886
4962
|
index: {
|
4887
4963
|
get: (options: {
|
4888
4964
|
headers?: Record<string, unknown> | undefined;
|
@@ -5074,9 +5150,11 @@ declare const eden: {
|
|
5074
5150
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5075
5151
|
200: number;
|
5076
5152
|
}>>;
|
5077
|
-
"by-
|
5153
|
+
"by-types": {
|
5078
5154
|
get: (options: {
|
5079
|
-
headers
|
5155
|
+
headers: {
|
5156
|
+
authorization: string;
|
5157
|
+
};
|
5080
5158
|
query: {
|
5081
5159
|
type?: string | undefined;
|
5082
5160
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
@@ -5108,9 +5186,11 @@ declare const eden: {
|
|
5108
5186
|
};
|
5109
5187
|
}>>;
|
5110
5188
|
};
|
5111
|
-
"by-
|
5189
|
+
"by-protocols": {
|
5112
5190
|
get: (options: {
|
5113
|
-
headers
|
5191
|
+
headers: {
|
5192
|
+
authorization: string;
|
5193
|
+
};
|
5114
5194
|
query: {
|
5115
5195
|
type?: string | undefined;
|
5116
5196
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
@@ -5147,7 +5227,9 @@ declare const eden: {
|
|
5147
5227
|
campaignscount: {
|
5148
5228
|
"by-chains": {
|
5149
5229
|
get: (options: {
|
5150
|
-
headers
|
5230
|
+
headers: {
|
5231
|
+
authorization: string;
|
5232
|
+
};
|
5151
5233
|
query: {
|
5152
5234
|
type?: string | undefined;
|
5153
5235
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
@@ -5627,6 +5709,74 @@ declare const eden: {
|
|
5627
5709
|
amount: bigint;
|
5628
5710
|
};
|
5629
5711
|
}>>;
|
5712
|
+
distributed: {
|
5713
|
+
get: (options: {
|
5714
|
+
headers: {
|
5715
|
+
authorization: string;
|
5716
|
+
};
|
5717
|
+
query: {
|
5718
|
+
since: Date;
|
5719
|
+
};
|
5720
|
+
fetch?: RequestInit | undefined;
|
5721
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5722
|
+
200: number;
|
5723
|
+
}>>;
|
5724
|
+
"by-opportunities": {
|
5725
|
+
get: (options: {
|
5726
|
+
headers: {
|
5727
|
+
authorization: string;
|
5728
|
+
};
|
5729
|
+
query: {
|
5730
|
+
since: Date;
|
5731
|
+
};
|
5732
|
+
fetch?: RequestInit | undefined;
|
5733
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5734
|
+
200: string;
|
5735
|
+
}>>;
|
5736
|
+
};
|
5737
|
+
"by-chains": {
|
5738
|
+
get: (options: {
|
5739
|
+
headers: {
|
5740
|
+
authorization: string;
|
5741
|
+
};
|
5742
|
+
query: {
|
5743
|
+
since: Date;
|
5744
|
+
};
|
5745
|
+
fetch?: RequestInit | undefined;
|
5746
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5747
|
+
[x: string]: any;
|
5748
|
+
200: any;
|
5749
|
+
}>>;
|
5750
|
+
};
|
5751
|
+
"by-types": {
|
5752
|
+
get: (options: {
|
5753
|
+
headers: {
|
5754
|
+
authorization: string;
|
5755
|
+
};
|
5756
|
+
query: {
|
5757
|
+
since: Date;
|
5758
|
+
};
|
5759
|
+
fetch?: RequestInit | undefined;
|
5760
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5761
|
+
[x: string]: any;
|
5762
|
+
200: any;
|
5763
|
+
}>>;
|
5764
|
+
};
|
5765
|
+
"by-protocols": {
|
5766
|
+
get: (options: {
|
5767
|
+
headers: {
|
5768
|
+
authorization: string;
|
5769
|
+
};
|
5770
|
+
query: {
|
5771
|
+
since: Date;
|
5772
|
+
};
|
5773
|
+
fetch?: RequestInit | undefined;
|
5774
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
5775
|
+
[x: string]: any;
|
5776
|
+
200: any;
|
5777
|
+
}>>;
|
5778
|
+
};
|
5779
|
+
};
|
5630
5780
|
};
|
5631
5781
|
count: {
|
5632
5782
|
get: (options: {
|
@@ -9252,48 +9402,44 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9252
9402
|
};
|
9253
9403
|
} & {
|
9254
9404
|
"dry-run": {
|
9255
|
-
|
9256
|
-
|
9257
|
-
|
9258
|
-
|
9259
|
-
|
9260
|
-
|
9261
|
-
|
9262
|
-
|
9263
|
-
|
9264
|
-
|
9265
|
-
|
9266
|
-
|
9267
|
-
|
9268
|
-
|
9269
|
-
|
9270
|
-
|
9405
|
+
metadata: {
|
9406
|
+
get: {
|
9407
|
+
body: unknown;
|
9408
|
+
params: {};
|
9409
|
+
query: {
|
9410
|
+
campaignId: string;
|
9411
|
+
distributionChain: number;
|
9412
|
+
};
|
9413
|
+
headers: {
|
9414
|
+
authorization: string;
|
9415
|
+
};
|
9416
|
+
response: {
|
9417
|
+
200: {
|
9418
|
+
id: string;
|
9419
|
+
chainId: number;
|
9420
|
+
type: string;
|
9421
|
+
identifier: string;
|
9422
|
+
name: string;
|
9423
|
+
status: "PAST" | "LIVE" | "SOON";
|
9424
|
+
action: any;
|
9425
|
+
tokens: ({
|
9426
|
+
symbol: string;
|
9271
9427
|
id: string;
|
9428
|
+
name: string | null;
|
9429
|
+
icon: string;
|
9430
|
+
address: string;
|
9272
9431
|
chainId: number;
|
9273
|
-
|
9274
|
-
|
9275
|
-
|
9276
|
-
|
9277
|
-
|
9278
|
-
|
9279
|
-
|
9280
|
-
|
9281
|
-
|
9282
|
-
|
9283
|
-
|
9284
|
-
chainId: number;
|
9285
|
-
decimals: number;
|
9286
|
-
verified: boolean;
|
9287
|
-
isTest: boolean;
|
9288
|
-
isPoint: boolean;
|
9289
|
-
isNative: boolean;
|
9290
|
-
} & {
|
9291
|
-
price?: number | null | undefined;
|
9292
|
-
})[];
|
9293
|
-
mainProtocol: "splice" | "morpho" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quick-swap" | "ramses" | "retro" | "stryke" | "sushiswap" | "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" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
9294
|
-
depositUrl: any;
|
9295
|
-
tags: string[];
|
9296
|
-
};
|
9432
|
+
decimals: number;
|
9433
|
+
verified: boolean;
|
9434
|
+
isTest: boolean;
|
9435
|
+
isPoint: boolean;
|
9436
|
+
isNative: boolean;
|
9437
|
+
} & {
|
9438
|
+
price?: number | null | undefined;
|
9439
|
+
})[];
|
9440
|
+
mainProtocol: "splice" | "morpho" | "euler" | "ambient" | "uniswap" | "arthswap" | "base-swap" | "camelot" | "crust" | "fenix" | "horiza" | "izumi" | "kim" | "pancake-swap" | "quick-swap" | "ramses" | "retro" | "stryke" | "sushiswap" | "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" | "angles" | "enzyme" | "toros" | "vicuna" | "bunni" | "beratrax" | "concrete" | "cian" | "pendle" | "yei" | "filament" | "gammaswap" | "maha" | "tempest" | "uranium" | "holdstation" | "katana" | "satlayer" | undefined;
|
9441
|
+
depositUrl: any;
|
9442
|
+
tags: string[];
|
9297
9443
|
};
|
9298
9444
|
};
|
9299
9445
|
};
|
@@ -9735,7 +9881,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9735
9881
|
withOpportunity?: boolean | undefined;
|
9736
9882
|
createdAfter?: Date | null | undefined;
|
9737
9883
|
};
|
9738
|
-
headers:
|
9884
|
+
headers: {
|
9885
|
+
authorization: string;
|
9886
|
+
};
|
9739
9887
|
response: {
|
9740
9888
|
200: {
|
9741
9889
|
[x: string]: number;
|
@@ -9747,7 +9895,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9747
9895
|
} & {
|
9748
9896
|
campaigns: {
|
9749
9897
|
count: {
|
9750
|
-
"by-
|
9898
|
+
"by-types": {
|
9751
9899
|
get: {
|
9752
9900
|
body: unknown;
|
9753
9901
|
params: {};
|
@@ -9775,7 +9923,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9775
9923
|
withOpportunity?: boolean | undefined;
|
9776
9924
|
createdAfter?: Date | null | undefined;
|
9777
9925
|
};
|
9778
|
-
headers:
|
9926
|
+
headers: {
|
9927
|
+
authorization: string;
|
9928
|
+
};
|
9779
9929
|
response: {
|
9780
9930
|
200: {
|
9781
9931
|
[x: string]: number;
|
@@ -9788,7 +9938,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9788
9938
|
} & {
|
9789
9939
|
campaigns: {
|
9790
9940
|
count: {
|
9791
|
-
"by-
|
9941
|
+
"by-protocols": {
|
9792
9942
|
get: {
|
9793
9943
|
body: unknown;
|
9794
9944
|
params: {};
|
@@ -9816,7 +9966,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
9816
9966
|
withOpportunity?: boolean | undefined;
|
9817
9967
|
createdAfter?: Date | null | undefined;
|
9818
9968
|
};
|
9819
|
-
headers:
|
9969
|
+
headers: {
|
9970
|
+
authorization: string;
|
9971
|
+
};
|
9820
9972
|
response: {
|
9821
9973
|
200: {
|
9822
9974
|
[x: string]: number;
|
@@ -10644,6 +10796,117 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
10644
10796
|
};
|
10645
10797
|
};
|
10646
10798
|
};
|
10799
|
+
} & {
|
10800
|
+
rewards: {
|
10801
|
+
total: {
|
10802
|
+
distributed: {
|
10803
|
+
get: {
|
10804
|
+
body: unknown;
|
10805
|
+
params: {};
|
10806
|
+
query: {
|
10807
|
+
since: Date;
|
10808
|
+
};
|
10809
|
+
headers: {
|
10810
|
+
authorization: string;
|
10811
|
+
};
|
10812
|
+
response: {
|
10813
|
+
200: number;
|
10814
|
+
};
|
10815
|
+
};
|
10816
|
+
};
|
10817
|
+
};
|
10818
|
+
};
|
10819
|
+
} & {
|
10820
|
+
rewards: {
|
10821
|
+
total: {
|
10822
|
+
distributed: {
|
10823
|
+
"by-opportunities": {
|
10824
|
+
get: {
|
10825
|
+
body: unknown;
|
10826
|
+
params: {};
|
10827
|
+
query: {
|
10828
|
+
since: Date;
|
10829
|
+
};
|
10830
|
+
headers: {
|
10831
|
+
authorization: string;
|
10832
|
+
};
|
10833
|
+
response: {
|
10834
|
+
200: string;
|
10835
|
+
};
|
10836
|
+
};
|
10837
|
+
};
|
10838
|
+
};
|
10839
|
+
};
|
10840
|
+
};
|
10841
|
+
} & {
|
10842
|
+
rewards: {
|
10843
|
+
total: {
|
10844
|
+
distributed: {
|
10845
|
+
"by-chains": {
|
10846
|
+
get: {
|
10847
|
+
body: unknown;
|
10848
|
+
params: {};
|
10849
|
+
query: {
|
10850
|
+
since: Date;
|
10851
|
+
};
|
10852
|
+
headers: {
|
10853
|
+
authorization: string;
|
10854
|
+
};
|
10855
|
+
response: {
|
10856
|
+
[x: string]: any;
|
10857
|
+
200: any;
|
10858
|
+
};
|
10859
|
+
};
|
10860
|
+
};
|
10861
|
+
};
|
10862
|
+
};
|
10863
|
+
};
|
10864
|
+
} & {
|
10865
|
+
rewards: {
|
10866
|
+
total: {
|
10867
|
+
distributed: {
|
10868
|
+
"by-types": {
|
10869
|
+
get: {
|
10870
|
+
body: unknown;
|
10871
|
+
params: {};
|
10872
|
+
query: {
|
10873
|
+
since: Date;
|
10874
|
+
};
|
10875
|
+
headers: {
|
10876
|
+
authorization: string;
|
10877
|
+
};
|
10878
|
+
response: {
|
10879
|
+
[x: string]: any;
|
10880
|
+
200: any;
|
10881
|
+
};
|
10882
|
+
};
|
10883
|
+
};
|
10884
|
+
};
|
10885
|
+
};
|
10886
|
+
};
|
10887
|
+
} & {
|
10888
|
+
rewards: {
|
10889
|
+
total: {
|
10890
|
+
distributed: {
|
10891
|
+
"by-protocols": {
|
10892
|
+
get: {
|
10893
|
+
body: unknown;
|
10894
|
+
params: {};
|
10895
|
+
query: {
|
10896
|
+
since: Date;
|
10897
|
+
};
|
10898
|
+
headers: {
|
10899
|
+
authorization: string;
|
10900
|
+
};
|
10901
|
+
response: {
|
10902
|
+
[x: string]: any;
|
10903
|
+
200: any;
|
10904
|
+
};
|
10905
|
+
};
|
10906
|
+
};
|
10907
|
+
};
|
10908
|
+
};
|
10909
|
+
};
|
10647
10910
|
};
|
10648
10911
|
} & {
|
10649
10912
|
v4: {
|
@@ -14572,6 +14835,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14572
14835
|
200: unknown[];
|
14573
14836
|
}>>;
|
14574
14837
|
};
|
14838
|
+
}) & {
|
14575
14839
|
metadata: {
|
14576
14840
|
get: (options: {
|
14577
14841
|
headers: {
|
@@ -14612,7 +14876,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14612
14876
|
};
|
14613
14877
|
}>>;
|
14614
14878
|
};
|
14615
|
-
}
|
14879
|
+
};
|
14616
14880
|
index: {
|
14617
14881
|
get: (options: {
|
14618
14882
|
headers?: Record<string, unknown> | undefined;
|
@@ -14804,9 +15068,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14804
15068
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14805
15069
|
200: number;
|
14806
15070
|
}>>;
|
14807
|
-
"by-
|
15071
|
+
"by-types": {
|
14808
15072
|
get: (options: {
|
14809
|
-
headers
|
15073
|
+
headers: {
|
15074
|
+
authorization: string;
|
15075
|
+
};
|
14810
15076
|
query: {
|
14811
15077
|
type?: string | undefined;
|
14812
15078
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
@@ -14838,9 +15104,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14838
15104
|
};
|
14839
15105
|
}>>;
|
14840
15106
|
};
|
14841
|
-
"by-
|
15107
|
+
"by-protocols": {
|
14842
15108
|
get: (options: {
|
14843
|
-
headers
|
15109
|
+
headers: {
|
15110
|
+
authorization: string;
|
15111
|
+
};
|
14844
15112
|
query: {
|
14845
15113
|
type?: string | undefined;
|
14846
15114
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
@@ -14877,7 +15145,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14877
15145
|
campaignscount: {
|
14878
15146
|
"by-chains": {
|
14879
15147
|
get: (options: {
|
14880
|
-
headers
|
15148
|
+
headers: {
|
15149
|
+
authorization: string;
|
15150
|
+
};
|
14881
15151
|
query: {
|
14882
15152
|
type?: string | undefined;
|
14883
15153
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
@@ -15357,6 +15627,74 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15357
15627
|
amount: bigint;
|
15358
15628
|
};
|
15359
15629
|
}>>;
|
15630
|
+
distributed: {
|
15631
|
+
get: (options: {
|
15632
|
+
headers: {
|
15633
|
+
authorization: string;
|
15634
|
+
};
|
15635
|
+
query: {
|
15636
|
+
since: Date;
|
15637
|
+
};
|
15638
|
+
fetch?: RequestInit | undefined;
|
15639
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
15640
|
+
200: number;
|
15641
|
+
}>>;
|
15642
|
+
"by-opportunities": {
|
15643
|
+
get: (options: {
|
15644
|
+
headers: {
|
15645
|
+
authorization: string;
|
15646
|
+
};
|
15647
|
+
query: {
|
15648
|
+
since: Date;
|
15649
|
+
};
|
15650
|
+
fetch?: RequestInit | undefined;
|
15651
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
15652
|
+
200: string;
|
15653
|
+
}>>;
|
15654
|
+
};
|
15655
|
+
"by-chains": {
|
15656
|
+
get: (options: {
|
15657
|
+
headers: {
|
15658
|
+
authorization: string;
|
15659
|
+
};
|
15660
|
+
query: {
|
15661
|
+
since: Date;
|
15662
|
+
};
|
15663
|
+
fetch?: RequestInit | undefined;
|
15664
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
15665
|
+
[x: string]: any;
|
15666
|
+
200: any;
|
15667
|
+
}>>;
|
15668
|
+
};
|
15669
|
+
"by-types": {
|
15670
|
+
get: (options: {
|
15671
|
+
headers: {
|
15672
|
+
authorization: string;
|
15673
|
+
};
|
15674
|
+
query: {
|
15675
|
+
since: Date;
|
15676
|
+
};
|
15677
|
+
fetch?: RequestInit | undefined;
|
15678
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
15679
|
+
[x: string]: any;
|
15680
|
+
200: any;
|
15681
|
+
}>>;
|
15682
|
+
};
|
15683
|
+
"by-protocols": {
|
15684
|
+
get: (options: {
|
15685
|
+
headers: {
|
15686
|
+
authorization: string;
|
15687
|
+
};
|
15688
|
+
query: {
|
15689
|
+
since: Date;
|
15690
|
+
};
|
15691
|
+
fetch?: RequestInit | undefined;
|
15692
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
15693
|
+
[x: string]: any;
|
15694
|
+
200: any;
|
15695
|
+
}>>;
|
15696
|
+
};
|
15697
|
+
};
|
15360
15698
|
};
|
15361
15699
|
count: {
|
15362
15700
|
get: (options: {
|
@@ -18230,6 +18568,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18230
18568
|
200: unknown[];
|
18231
18569
|
}>>;
|
18232
18570
|
};
|
18571
|
+
}) & {
|
18233
18572
|
metadata: {
|
18234
18573
|
get: (options: {
|
18235
18574
|
headers: {
|
@@ -18270,7 +18609,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18270
18609
|
};
|
18271
18610
|
}>>;
|
18272
18611
|
};
|
18273
|
-
}
|
18612
|
+
};
|
18274
18613
|
index: {
|
18275
18614
|
get: (options: {
|
18276
18615
|
headers?: Record<string, unknown> | undefined;
|
@@ -18462,9 +18801,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18462
18801
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
18463
18802
|
200: number;
|
18464
18803
|
}>>;
|
18465
|
-
"by-
|
18804
|
+
"by-types": {
|
18466
18805
|
get: (options: {
|
18467
|
-
headers
|
18806
|
+
headers: {
|
18807
|
+
authorization: string;
|
18808
|
+
};
|
18468
18809
|
query: {
|
18469
18810
|
type?: string | undefined;
|
18470
18811
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
@@ -18496,9 +18837,11 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18496
18837
|
};
|
18497
18838
|
}>>;
|
18498
18839
|
};
|
18499
|
-
"by-
|
18840
|
+
"by-protocols": {
|
18500
18841
|
get: (options: {
|
18501
|
-
headers
|
18842
|
+
headers: {
|
18843
|
+
authorization: string;
|
18844
|
+
};
|
18502
18845
|
query: {
|
18503
18846
|
type?: string | undefined;
|
18504
18847
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
@@ -18535,7 +18878,9 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
18535
18878
|
campaignscount: {
|
18536
18879
|
"by-chains": {
|
18537
18880
|
get: (options: {
|
18538
|
-
headers
|
18881
|
+
headers: {
|
18882
|
+
authorization: string;
|
18883
|
+
};
|
18539
18884
|
query: {
|
18540
18885
|
type?: string | undefined;
|
18541
18886
|
status?: "NONE" | "PAST" | "LIVE" | "SOON" | undefined;
|
@@ -19015,6 +19360,74 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
19015
19360
|
amount: bigint;
|
19016
19361
|
};
|
19017
19362
|
}>>;
|
19363
|
+
distributed: {
|
19364
|
+
get: (options: {
|
19365
|
+
headers: {
|
19366
|
+
authorization: string;
|
19367
|
+
};
|
19368
|
+
query: {
|
19369
|
+
since: Date;
|
19370
|
+
};
|
19371
|
+
fetch?: RequestInit | undefined;
|
19372
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19373
|
+
200: number;
|
19374
|
+
}>>;
|
19375
|
+
"by-opportunities": {
|
19376
|
+
get: (options: {
|
19377
|
+
headers: {
|
19378
|
+
authorization: string;
|
19379
|
+
};
|
19380
|
+
query: {
|
19381
|
+
since: Date;
|
19382
|
+
};
|
19383
|
+
fetch?: RequestInit | undefined;
|
19384
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19385
|
+
200: string;
|
19386
|
+
}>>;
|
19387
|
+
};
|
19388
|
+
"by-chains": {
|
19389
|
+
get: (options: {
|
19390
|
+
headers: {
|
19391
|
+
authorization: string;
|
19392
|
+
};
|
19393
|
+
query: {
|
19394
|
+
since: Date;
|
19395
|
+
};
|
19396
|
+
fetch?: RequestInit | undefined;
|
19397
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19398
|
+
[x: string]: any;
|
19399
|
+
200: any;
|
19400
|
+
}>>;
|
19401
|
+
};
|
19402
|
+
"by-types": {
|
19403
|
+
get: (options: {
|
19404
|
+
headers: {
|
19405
|
+
authorization: string;
|
19406
|
+
};
|
19407
|
+
query: {
|
19408
|
+
since: Date;
|
19409
|
+
};
|
19410
|
+
fetch?: RequestInit | undefined;
|
19411
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19412
|
+
[x: string]: any;
|
19413
|
+
200: any;
|
19414
|
+
}>>;
|
19415
|
+
};
|
19416
|
+
"by-protocols": {
|
19417
|
+
get: (options: {
|
19418
|
+
headers: {
|
19419
|
+
authorization: string;
|
19420
|
+
};
|
19421
|
+
query: {
|
19422
|
+
since: Date;
|
19423
|
+
};
|
19424
|
+
fetch?: RequestInit | undefined;
|
19425
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
19426
|
+
[x: string]: any;
|
19427
|
+
200: any;
|
19428
|
+
}>>;
|
19429
|
+
};
|
19430
|
+
};
|
19018
19431
|
};
|
19019
19432
|
count: {
|
19020
19433
|
get: (options: {
|