@merkl/api 0.10.137 → 0.10.139
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 +291 -520
- package/dist/src/index.d.ts +99 -186
- package/dist/src/index.js +1 -1
- package/dist/src/libs/campaigns/campaignTypes/CompoundDynamicData.js +21 -7
- package/dist/src/libs/deprecated-merklv3/index.js +1 -1
- package/dist/src/libs/positions/compound/index.d.ts +0 -2
- package/dist/src/libs/positions/compound/index.js +3 -6
- package/dist/src/modules/v4/blacklist/blacklist.controller.d.ts +0 -21
- package/dist/src/modules/v4/blacklist/blacklist.controller.js +2 -2
- package/dist/src/modules/v4/blacklist/blacklist.repository.d.ts +0 -8
- package/dist/src/modules/v4/blacklist/blacklist.repository.js +1 -4
- package/dist/src/modules/v4/blacklist/blacklist.service.d.ts +1 -9
- package/dist/src/modules/v4/blacklist/blacklist.service.js +1 -4
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +3 -3
- package/dist/src/modules/v4/campaign/campaign.controller.js +8 -6
- package/dist/src/modules/v4/campaign/campaign.service.js +1 -2
- package/dist/src/modules/v4/chain/chain.controller.js +2 -1
- package/dist/src/modules/v4/dynamicData/dynamicData.controller.d.ts +20 -26
- package/dist/src/modules/v4/dynamicData/dynamicData.controller.js +5 -5
- package/dist/src/modules/v4/enso/enso.service.d.ts +1 -1
- package/dist/src/modules/v4/{participate/participate.controller.d.ts → interaction/interaction.controller.d.ts} +6 -6
- package/dist/src/modules/v4/{participate/participate.controller.js → interaction/interaction.controller.js} +12 -13
- package/dist/src/modules/v4/{participate/participate.model.d.ts → interaction/interaction.model.d.ts} +12 -12
- package/dist/src/modules/v4/{participate/participate.model.js → interaction/interaction.model.js} +3 -3
- package/dist/src/modules/v4/{participate/participate.service.d.ts → interaction/interaction.service.d.ts} +5 -5
- package/dist/src/modules/v4/{participate/participate.service.js → interaction/interaction.service.js} +3 -3
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.d.ts +2 -2
- package/dist/src/modules/v4/merklRoot/merklRoot.controller.js +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.js +5 -1
- package/dist/src/modules/v4/price/price.controller.js +3 -0
- package/dist/src/modules/v4/reward/reward.controller.d.ts +31 -29
- package/dist/src/modules/v4/reward/reward.controller.js +3 -3
- package/dist/src/modules/v4/reward/{rewardConvertor.service.d.ts → subservices/converter.d.ts} +2 -2
- package/dist/src/modules/v4/reward/{rewardConvertor.service.js → subservices/converter.js} +1 -1
- package/dist/src/modules/v4/router.d.ts +99 -186
- package/dist/src/modules/v4/router.js +2 -2
- package/dist/src/modules/v4/status/status.controller.d.ts +40 -102
- package/dist/src/modules/v4/status/status.controller.js +16 -22
- package/dist/src/modules/v4/status/status.model.d.ts +33 -26
- package/dist/src/modules/v4/status/status.model.js +9 -20
- package/dist/src/modules/v4/status/status.repository.d.ts +12 -42
- package/dist/src/modules/v4/status/status.repository.js +10 -22
- package/dist/src/modules/v4/status/status.service.d.ts +4 -36
- package/dist/src/modules/v4/status/status.service.js +9 -18
- package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.d.ts +1 -1
- package/dist/src/modules/v4/uniswapV4/uniswapV4.controller.js +1 -1
- package/dist/src/modules/v4/user/user.controller.js +3 -2
- package/dist/src/routes/v3/ERC20Campaigns.d.ts +99 -186
- package/dist/src/routes/v3/blacklist.d.ts +99 -186
- package/dist/src/routes/v3/campaigns.d.ts +99 -186
- package/dist/src/routes/v3/campaignsInfo.d.ts +99 -186
- package/dist/src/routes/v3/multiChainPositions.d.ts +99 -186
- package/dist/src/routes/v3/opportunity.d.ts +99 -186
- package/dist/src/routes/v3/positions.d.ts +99 -186
- package/dist/src/routes/v3/rewards.d.ts +99 -186
- package/dist/src/routes/v3/rewards.js +1 -1
- package/dist/src/routes/v3/updates.d.ts +99 -186
- package/dist/src/routes/v3/userRewards.d.ts +99 -186
- package/dist/src/routes/v3/userRewards.js +1 -1
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +4 -5
- package/dist/src/modules/v4/apr/apr.repository.d.ts +0 -0
- package/dist/src/modules/v4/apr/apr.repository.js +0 -1
- package/dist/src/modules/v4/tvl/tvl.repository.d.ts +0 -0
- package/dist/src/modules/v4/tvl/tvl.repository.js +0 -1
@@ -621,7 +621,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
621
621
|
};
|
622
622
|
};
|
623
623
|
} & {
|
624
|
-
|
624
|
+
"campaigns-to-process": {
|
625
625
|
index: {
|
626
626
|
get: {
|
627
627
|
body: unknown;
|
@@ -643,7 +643,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
643
643
|
};
|
644
644
|
};
|
645
645
|
} & {
|
646
|
-
|
646
|
+
"campaigns-to-process": {
|
647
647
|
count: {
|
648
648
|
get: {
|
649
649
|
body: unknown;
|
@@ -659,7 +659,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
659
659
|
};
|
660
660
|
};
|
661
661
|
} & {
|
662
|
-
|
662
|
+
"campaigns-to-process": {
|
663
663
|
index: {
|
664
664
|
post: {
|
665
665
|
body: unknown;
|
@@ -958,35 +958,37 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
958
958
|
};
|
959
959
|
} & {
|
960
960
|
rewards: {
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
972
|
-
|
973
|
-
|
974
|
-
|
975
|
-
|
976
|
-
|
977
|
-
|
978
|
-
|
979
|
-
|
980
|
-
|
981
|
-
|
982
|
-
|
983
|
-
|
984
|
-
|
985
|
-
|
986
|
-
|
987
|
-
|
988
|
-
|
989
|
-
|
961
|
+
engine: {
|
962
|
+
pendings: {
|
963
|
+
post: {
|
964
|
+
body: {
|
965
|
+
distributionChainId: number;
|
966
|
+
campaignId: string;
|
967
|
+
root: string;
|
968
|
+
rewardToken: string;
|
969
|
+
toUpdate: {
|
970
|
+
auxiliaryData1?: string | undefined;
|
971
|
+
auxiliaryData2?: string | undefined;
|
972
|
+
reason: string;
|
973
|
+
pending: string;
|
974
|
+
recipient: string;
|
975
|
+
}[];
|
976
|
+
toCreate: {
|
977
|
+
auxiliaryData1?: string | undefined;
|
978
|
+
auxiliaryData2?: string | undefined;
|
979
|
+
reason: string;
|
980
|
+
pending: string;
|
981
|
+
recipient: string;
|
982
|
+
}[];
|
983
|
+
};
|
984
|
+
params: {};
|
985
|
+
query: unknown;
|
986
|
+
headers: {
|
987
|
+
authorization: string;
|
988
|
+
};
|
989
|
+
response: {
|
990
|
+
200: boolean;
|
991
|
+
};
|
990
992
|
};
|
991
993
|
};
|
992
994
|
};
|
@@ -1294,27 +1296,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1294
1296
|
v4: {
|
1295
1297
|
blacklists: {
|
1296
1298
|
index: {
|
1297
|
-
get: {
|
1298
|
-
body: unknown;
|
1299
|
-
params: {};
|
1300
|
-
query: unknown;
|
1301
|
-
headers: unknown;
|
1302
|
-
response: {
|
1303
|
-
200: {
|
1304
|
-
id: string;
|
1305
|
-
chainId: number;
|
1306
|
-
poolAddress: string;
|
1307
|
-
userAddress: string;
|
1308
|
-
arrestTimestamp: bigint;
|
1309
|
-
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1310
|
-
}[];
|
1311
|
-
};
|
1312
|
-
};
|
1313
|
-
};
|
1314
|
-
};
|
1315
|
-
} & {
|
1316
|
-
blacklists: {
|
1317
|
-
all: {
|
1318
1299
|
get: {
|
1319
1300
|
body: unknown;
|
1320
1301
|
params: {};
|
@@ -1741,7 +1722,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1741
1722
|
} & {
|
1742
1723
|
v4: {
|
1743
1724
|
roots: {
|
1744
|
-
|
1725
|
+
index: {
|
1745
1726
|
get: {
|
1746
1727
|
body: unknown;
|
1747
1728
|
params: {};
|
@@ -1764,7 +1745,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1764
1745
|
};
|
1765
1746
|
} & {
|
1766
1747
|
roots: {
|
1767
|
-
|
1748
|
+
live: {
|
1768
1749
|
get: {
|
1769
1750
|
body: unknown;
|
1770
1751
|
params: {};
|
@@ -1783,7 +1764,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1783
1764
|
};
|
1784
1765
|
} & {
|
1785
1766
|
v4: {
|
1786
|
-
|
1767
|
+
interaction: {
|
1787
1768
|
targets: {
|
1788
1769
|
get: {
|
1789
1770
|
body: unknown;
|
@@ -1795,13 +1776,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1795
1776
|
};
|
1796
1777
|
headers: unknown;
|
1797
1778
|
response: {
|
1798
|
-
200: import("../../modules/v4/
|
1779
|
+
200: import("../../modules/v4/interaction/interaction.model").InteractionTarget[] | undefined;
|
1799
1780
|
};
|
1800
1781
|
};
|
1801
1782
|
};
|
1802
1783
|
};
|
1803
1784
|
} & {
|
1804
|
-
|
1785
|
+
interaction: {
|
1805
1786
|
protocols: {
|
1806
1787
|
get: {
|
1807
1788
|
body: unknown;
|
@@ -1824,7 +1805,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1824
1805
|
};
|
1825
1806
|
};
|
1826
1807
|
} & {
|
1827
|
-
|
1808
|
+
interaction: {
|
1828
1809
|
quote: {
|
1829
1810
|
get: {
|
1830
1811
|
body: unknown;
|
@@ -1850,7 +1831,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1850
1831
|
};
|
1851
1832
|
};
|
1852
1833
|
} & {
|
1853
|
-
|
1834
|
+
interaction: {
|
1854
1835
|
transaction: {
|
1855
1836
|
get: {
|
1856
1837
|
body: unknown;
|
@@ -2072,31 +2053,25 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2072
2053
|
};
|
2073
2054
|
} & {
|
2074
2055
|
v4: {
|
2075
|
-
|
2076
|
-
|
2077
|
-
|
2078
|
-
|
2079
|
-
|
2080
|
-
|
2081
|
-
|
2082
|
-
|
2083
|
-
|
2084
|
-
|
2085
|
-
|
2086
|
-
|
2087
|
-
|
2088
|
-
|
2089
|
-
|
2090
|
-
|
2091
|
-
|
2092
|
-
|
2093
|
-
|
2094
|
-
cardName: string;
|
2095
|
-
blacklistedSupply: number;
|
2096
|
-
priceTargetToken: number;
|
2097
|
-
};
|
2098
|
-
};
|
2099
|
-
};
|
2056
|
+
"dynamic-data": {
|
2057
|
+
index: {
|
2058
|
+
get: {
|
2059
|
+
body: unknown;
|
2060
|
+
params: {};
|
2061
|
+
query: {
|
2062
|
+
chainId: number;
|
2063
|
+
tokenAddress: string;
|
2064
|
+
};
|
2065
|
+
headers: {
|
2066
|
+
authorization: string;
|
2067
|
+
};
|
2068
|
+
response: {
|
2069
|
+
200: {
|
2070
|
+
tvl: number;
|
2071
|
+
totalSupply: number;
|
2072
|
+
cardName: string;
|
2073
|
+
blacklistedSupply: number;
|
2074
|
+
priceTargetToken: number;
|
2100
2075
|
};
|
2101
2076
|
};
|
2102
2077
|
};
|
@@ -2105,11 +2080,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2105
2080
|
};
|
2106
2081
|
} & {
|
2107
2082
|
v4: {
|
2108
|
-
|
2083
|
+
"campaign-status": {
|
2109
2084
|
engine: {
|
2110
|
-
|
2111
|
-
|
2112
|
-
|
2085
|
+
":campaignId": {
|
2086
|
+
put: {
|
2087
|
+
body: {
|
2113
2088
|
value: "SUCCESS";
|
2114
2089
|
computedUntil: number;
|
2115
2090
|
} | {
|
@@ -2123,90 +2098,74 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2123
2098
|
details: string;
|
2124
2099
|
value: "FAILED";
|
2125
2100
|
};
|
2126
|
-
|
2127
|
-
|
2128
|
-
|
2129
|
-
|
2130
|
-
|
2131
|
-
|
2132
|
-
|
2133
|
-
|
2134
|
-
|
2135
|
-
|
2101
|
+
params: {
|
2102
|
+
campaignId: string;
|
2103
|
+
};
|
2104
|
+
query: unknown;
|
2105
|
+
headers: {
|
2106
|
+
authorization: string;
|
2107
|
+
};
|
2108
|
+
response: {
|
2109
|
+
200: void;
|
2110
|
+
};
|
2136
2111
|
};
|
2137
2112
|
};
|
2138
2113
|
};
|
2139
2114
|
};
|
2140
2115
|
} & {
|
2141
|
-
|
2142
|
-
|
2143
|
-
|
2144
|
-
|
2145
|
-
|
2146
|
-
|
2147
|
-
|
2148
|
-
response: {
|
2149
|
-
200: {
|
2150
|
-
error: string;
|
2151
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
2152
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2116
|
+
"campaign-status": {
|
2117
|
+
engine: {
|
2118
|
+
overlaps: {
|
2119
|
+
get: {
|
2120
|
+
body: unknown;
|
2121
|
+
params: {};
|
2122
|
+
query: {
|
2153
2123
|
campaignId: string;
|
2154
|
-
|
2155
|
-
|
2156
|
-
|
2124
|
+
distributionChain: number;
|
2125
|
+
};
|
2126
|
+
headers: {
|
2127
|
+
authorization: string;
|
2128
|
+
};
|
2129
|
+
response: {
|
2130
|
+
200: boolean;
|
2131
|
+
};
|
2157
2132
|
};
|
2158
2133
|
};
|
2159
2134
|
};
|
2160
2135
|
};
|
2161
2136
|
} & {
|
2162
|
-
|
2163
|
-
|
2137
|
+
"campaign-status": {
|
2138
|
+
index: {
|
2164
2139
|
get: {
|
2165
2140
|
body: unknown;
|
2166
2141
|
params: {};
|
2167
2142
|
query: {
|
2168
|
-
status
|
2143
|
+
status?: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[] | undefined;
|
2144
|
+
computeChainId?: number | undefined;
|
2169
2145
|
};
|
2170
2146
|
headers: unknown;
|
2171
2147
|
response: {
|
2172
|
-
200:
|
2173
|
-
Campaign: {
|
2174
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2175
|
-
id: string;
|
2176
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
2177
|
-
subType: number | null;
|
2178
|
-
startTimestamp: bigint;
|
2179
|
-
endTimestamp: bigint;
|
2180
|
-
computeChainId: number;
|
2181
|
-
distributionChainId: number;
|
2182
|
-
campaignId: string;
|
2183
|
-
rewardTokenId: string;
|
2184
|
-
amount: string;
|
2185
|
-
opportunityId: string;
|
2186
|
-
creatorAddress: string;
|
2187
|
-
};
|
2188
|
-
} & {
|
2148
|
+
200: {
|
2189
2149
|
error: string;
|
2190
2150
|
details: import("database/api/.generated/runtime/library").JsonValue;
|
2191
2151
|
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2192
2152
|
campaignId: string;
|
2193
2153
|
computedUntil: bigint;
|
2194
2154
|
processingStarted: bigint;
|
2195
|
-
}
|
2155
|
+
}[];
|
2196
2156
|
};
|
2197
2157
|
};
|
2198
2158
|
};
|
2199
2159
|
};
|
2200
2160
|
} & {
|
2201
|
-
|
2202
|
-
|
2161
|
+
"campaign-status": {
|
2162
|
+
":campaignId": {
|
2203
2163
|
get: {
|
2204
2164
|
body: unknown;
|
2205
|
-
params: {
|
2206
|
-
query: {
|
2165
|
+
params: {
|
2207
2166
|
campaignId: string;
|
2208
|
-
distributionChain: number;
|
2209
2167
|
};
|
2168
|
+
query: unknown;
|
2210
2169
|
headers: unknown;
|
2211
2170
|
response: {
|
2212
2171
|
200: {
|
@@ -2221,52 +2180,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2221
2180
|
};
|
2222
2181
|
};
|
2223
2182
|
};
|
2224
|
-
} & {
|
2225
|
-
campaignStatus: {
|
2226
|
-
computeChain: {
|
2227
|
-
":chainId": {
|
2228
|
-
get: {
|
2229
|
-
body: unknown;
|
2230
|
-
params: {
|
2231
|
-
chainId: number;
|
2232
|
-
};
|
2233
|
-
query: unknown;
|
2234
|
-
headers: unknown;
|
2235
|
-
response: {
|
2236
|
-
200: {
|
2237
|
-
error: string;
|
2238
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
2239
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2240
|
-
campaignId: string;
|
2241
|
-
computedUntil: bigint;
|
2242
|
-
processingStarted: bigint;
|
2243
|
-
}[];
|
2244
|
-
};
|
2245
|
-
};
|
2246
|
-
};
|
2247
|
-
};
|
2248
|
-
};
|
2249
|
-
} & {
|
2250
|
-
campaignStatus: {
|
2251
|
-
engine: {
|
2252
|
-
overlaps: {
|
2253
|
-
get: {
|
2254
|
-
body: unknown;
|
2255
|
-
params: {};
|
2256
|
-
query: {
|
2257
|
-
campaignId: string;
|
2258
|
-
distributionChain: number;
|
2259
|
-
};
|
2260
|
-
headers: {
|
2261
|
-
authorization: string;
|
2262
|
-
};
|
2263
|
-
response: {
|
2264
|
-
200: boolean;
|
2265
|
-
};
|
2266
|
-
};
|
2267
|
-
};
|
2268
|
-
};
|
2269
|
-
};
|
2270
2183
|
};
|
2271
2184
|
} & {
|
2272
2185
|
index: {
|