@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
@@ -603,7 +603,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
603
603
|
};
|
604
604
|
};
|
605
605
|
} & {
|
606
|
-
|
606
|
+
"campaigns-to-process": {
|
607
607
|
index: {
|
608
608
|
get: {
|
609
609
|
body: unknown;
|
@@ -625,7 +625,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
625
625
|
};
|
626
626
|
};
|
627
627
|
} & {
|
628
|
-
|
628
|
+
"campaigns-to-process": {
|
629
629
|
count: {
|
630
630
|
get: {
|
631
631
|
body: unknown;
|
@@ -641,7 +641,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
641
641
|
};
|
642
642
|
};
|
643
643
|
} & {
|
644
|
-
|
644
|
+
"campaigns-to-process": {
|
645
645
|
index: {
|
646
646
|
post: {
|
647
647
|
body: unknown;
|
@@ -940,35 +940,37 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
940
940
|
};
|
941
941
|
} & {
|
942
942
|
rewards: {
|
943
|
-
|
944
|
-
|
945
|
-
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
952
|
-
|
953
|
-
|
954
|
-
|
955
|
-
|
956
|
-
|
957
|
-
|
958
|
-
|
959
|
-
|
960
|
-
|
961
|
-
|
962
|
-
|
963
|
-
|
964
|
-
|
965
|
-
|
966
|
-
|
967
|
-
|
968
|
-
|
969
|
-
|
970
|
-
|
971
|
-
|
943
|
+
engine: {
|
944
|
+
pendings: {
|
945
|
+
post: {
|
946
|
+
body: {
|
947
|
+
distributionChainId: number;
|
948
|
+
campaignId: string;
|
949
|
+
root: string;
|
950
|
+
rewardToken: string;
|
951
|
+
toUpdate: {
|
952
|
+
auxiliaryData1?: string | undefined;
|
953
|
+
auxiliaryData2?: string | undefined;
|
954
|
+
reason: string;
|
955
|
+
pending: string;
|
956
|
+
recipient: string;
|
957
|
+
}[];
|
958
|
+
toCreate: {
|
959
|
+
auxiliaryData1?: string | undefined;
|
960
|
+
auxiliaryData2?: string | undefined;
|
961
|
+
reason: string;
|
962
|
+
pending: string;
|
963
|
+
recipient: string;
|
964
|
+
}[];
|
965
|
+
};
|
966
|
+
params: {};
|
967
|
+
query: unknown;
|
968
|
+
headers: {
|
969
|
+
authorization: string;
|
970
|
+
};
|
971
|
+
response: {
|
972
|
+
200: boolean;
|
973
|
+
};
|
972
974
|
};
|
973
975
|
};
|
974
976
|
};
|
@@ -1276,27 +1278,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1276
1278
|
v4: {
|
1277
1279
|
blacklists: {
|
1278
1280
|
index: {
|
1279
|
-
get: {
|
1280
|
-
body: unknown;
|
1281
|
-
params: {};
|
1282
|
-
query: unknown;
|
1283
|
-
headers: unknown;
|
1284
|
-
response: {
|
1285
|
-
200: {
|
1286
|
-
id: string;
|
1287
|
-
chainId: number;
|
1288
|
-
poolAddress: string;
|
1289
|
-
userAddress: string;
|
1290
|
-
arrestTimestamp: bigint;
|
1291
|
-
arrestDetails: import("database/api/.generated/runtime/library").JsonValue;
|
1292
|
-
}[];
|
1293
|
-
};
|
1294
|
-
};
|
1295
|
-
};
|
1296
|
-
};
|
1297
|
-
} & {
|
1298
|
-
blacklists: {
|
1299
|
-
all: {
|
1300
1281
|
get: {
|
1301
1282
|
body: unknown;
|
1302
1283
|
params: {};
|
@@ -1723,7 +1704,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1723
1704
|
} & {
|
1724
1705
|
v4: {
|
1725
1706
|
roots: {
|
1726
|
-
|
1707
|
+
index: {
|
1727
1708
|
get: {
|
1728
1709
|
body: unknown;
|
1729
1710
|
params: {};
|
@@ -1746,7 +1727,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1746
1727
|
};
|
1747
1728
|
} & {
|
1748
1729
|
roots: {
|
1749
|
-
|
1730
|
+
live: {
|
1750
1731
|
get: {
|
1751
1732
|
body: unknown;
|
1752
1733
|
params: {};
|
@@ -1765,7 +1746,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1765
1746
|
};
|
1766
1747
|
} & {
|
1767
1748
|
v4: {
|
1768
|
-
|
1749
|
+
interaction: {
|
1769
1750
|
targets: {
|
1770
1751
|
get: {
|
1771
1752
|
body: unknown;
|
@@ -1777,13 +1758,13 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1777
1758
|
};
|
1778
1759
|
headers: unknown;
|
1779
1760
|
response: {
|
1780
|
-
200: import("../../modules/v4/
|
1761
|
+
200: import("../../modules/v4/interaction/interaction.model").InteractionTarget[] | undefined;
|
1781
1762
|
};
|
1782
1763
|
};
|
1783
1764
|
};
|
1784
1765
|
};
|
1785
1766
|
} & {
|
1786
|
-
|
1767
|
+
interaction: {
|
1787
1768
|
protocols: {
|
1788
1769
|
get: {
|
1789
1770
|
body: unknown;
|
@@ -1806,7 +1787,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1806
1787
|
};
|
1807
1788
|
};
|
1808
1789
|
} & {
|
1809
|
-
|
1790
|
+
interaction: {
|
1810
1791
|
quote: {
|
1811
1792
|
get: {
|
1812
1793
|
body: unknown;
|
@@ -1832,7 +1813,7 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
1832
1813
|
};
|
1833
1814
|
};
|
1834
1815
|
} & {
|
1835
|
-
|
1816
|
+
interaction: {
|
1836
1817
|
transaction: {
|
1837
1818
|
get: {
|
1838
1819
|
body: unknown;
|
@@ -2054,31 +2035,25 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2054
2035
|
};
|
2055
2036
|
} & {
|
2056
2037
|
v4: {
|
2057
|
-
|
2058
|
-
|
2059
|
-
|
2060
|
-
|
2061
|
-
|
2062
|
-
|
2063
|
-
|
2064
|
-
|
2065
|
-
|
2066
|
-
|
2067
|
-
|
2068
|
-
|
2069
|
-
|
2070
|
-
|
2071
|
-
|
2072
|
-
|
2073
|
-
|
2074
|
-
|
2075
|
-
|
2076
|
-
cardName: string;
|
2077
|
-
blacklistedSupply: number;
|
2078
|
-
priceTargetToken: number;
|
2079
|
-
};
|
2080
|
-
};
|
2081
|
-
};
|
2038
|
+
"dynamic-data": {
|
2039
|
+
index: {
|
2040
|
+
get: {
|
2041
|
+
body: unknown;
|
2042
|
+
params: {};
|
2043
|
+
query: {
|
2044
|
+
chainId: number;
|
2045
|
+
tokenAddress: string;
|
2046
|
+
};
|
2047
|
+
headers: {
|
2048
|
+
authorization: string;
|
2049
|
+
};
|
2050
|
+
response: {
|
2051
|
+
200: {
|
2052
|
+
tvl: number;
|
2053
|
+
totalSupply: number;
|
2054
|
+
cardName: string;
|
2055
|
+
blacklistedSupply: number;
|
2056
|
+
priceTargetToken: number;
|
2082
2057
|
};
|
2083
2058
|
};
|
2084
2059
|
};
|
@@ -2087,11 +2062,11 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2087
2062
|
};
|
2088
2063
|
} & {
|
2089
2064
|
v4: {
|
2090
|
-
|
2065
|
+
"campaign-status": {
|
2091
2066
|
engine: {
|
2092
|
-
|
2093
|
-
|
2094
|
-
|
2067
|
+
":campaignId": {
|
2068
|
+
put: {
|
2069
|
+
body: {
|
2095
2070
|
value: "SUCCESS";
|
2096
2071
|
computedUntil: number;
|
2097
2072
|
} | {
|
@@ -2105,90 +2080,74 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2105
2080
|
details: string;
|
2106
2081
|
value: "FAILED";
|
2107
2082
|
};
|
2108
|
-
|
2109
|
-
|
2110
|
-
|
2111
|
-
|
2112
|
-
|
2113
|
-
|
2114
|
-
|
2115
|
-
|
2116
|
-
|
2117
|
-
|
2083
|
+
params: {
|
2084
|
+
campaignId: string;
|
2085
|
+
};
|
2086
|
+
query: unknown;
|
2087
|
+
headers: {
|
2088
|
+
authorization: string;
|
2089
|
+
};
|
2090
|
+
response: {
|
2091
|
+
200: void;
|
2092
|
+
};
|
2118
2093
|
};
|
2119
2094
|
};
|
2120
2095
|
};
|
2121
2096
|
};
|
2122
2097
|
} & {
|
2123
|
-
|
2124
|
-
|
2125
|
-
|
2126
|
-
|
2127
|
-
|
2128
|
-
|
2129
|
-
|
2130
|
-
response: {
|
2131
|
-
200: {
|
2132
|
-
error: string;
|
2133
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
2134
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2098
|
+
"campaign-status": {
|
2099
|
+
engine: {
|
2100
|
+
overlaps: {
|
2101
|
+
get: {
|
2102
|
+
body: unknown;
|
2103
|
+
params: {};
|
2104
|
+
query: {
|
2135
2105
|
campaignId: string;
|
2136
|
-
|
2137
|
-
|
2138
|
-
|
2106
|
+
distributionChain: number;
|
2107
|
+
};
|
2108
|
+
headers: {
|
2109
|
+
authorization: string;
|
2110
|
+
};
|
2111
|
+
response: {
|
2112
|
+
200: boolean;
|
2113
|
+
};
|
2139
2114
|
};
|
2140
2115
|
};
|
2141
2116
|
};
|
2142
2117
|
};
|
2143
2118
|
} & {
|
2144
|
-
|
2145
|
-
|
2119
|
+
"campaign-status": {
|
2120
|
+
index: {
|
2146
2121
|
get: {
|
2147
2122
|
body: unknown;
|
2148
2123
|
params: {};
|
2149
2124
|
query: {
|
2150
|
-
status
|
2125
|
+
status?: "PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED" | ("PROCESSING" | "SUCCESS" | "FAILED" | "SKIPPED")[] | undefined;
|
2126
|
+
computeChainId?: number | undefined;
|
2151
2127
|
};
|
2152
2128
|
headers: unknown;
|
2153
2129
|
response: {
|
2154
|
-
200:
|
2155
|
-
Campaign: {
|
2156
|
-
type: import("../../../database/api/.generated").$Enums.CampaignType;
|
2157
|
-
id: string;
|
2158
|
-
params: import("database/api/.generated/runtime/library").JsonValue;
|
2159
|
-
subType: number | null;
|
2160
|
-
startTimestamp: bigint;
|
2161
|
-
endTimestamp: bigint;
|
2162
|
-
computeChainId: number;
|
2163
|
-
distributionChainId: number;
|
2164
|
-
campaignId: string;
|
2165
|
-
rewardTokenId: string;
|
2166
|
-
amount: string;
|
2167
|
-
opportunityId: string;
|
2168
|
-
creatorAddress: string;
|
2169
|
-
};
|
2170
|
-
} & {
|
2130
|
+
200: {
|
2171
2131
|
error: string;
|
2172
2132
|
details: import("database/api/.generated/runtime/library").JsonValue;
|
2173
2133
|
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2174
2134
|
campaignId: string;
|
2175
2135
|
computedUntil: bigint;
|
2176
2136
|
processingStarted: bigint;
|
2177
|
-
}
|
2137
|
+
}[];
|
2178
2138
|
};
|
2179
2139
|
};
|
2180
2140
|
};
|
2181
2141
|
};
|
2182
2142
|
} & {
|
2183
|
-
|
2184
|
-
|
2143
|
+
"campaign-status": {
|
2144
|
+
":campaignId": {
|
2185
2145
|
get: {
|
2186
2146
|
body: unknown;
|
2187
|
-
params: {
|
2188
|
-
query: {
|
2147
|
+
params: {
|
2189
2148
|
campaignId: string;
|
2190
|
-
distributionChain: number;
|
2191
2149
|
};
|
2150
|
+
query: unknown;
|
2192
2151
|
headers: unknown;
|
2193
2152
|
response: {
|
2194
2153
|
200: {
|
@@ -2203,52 +2162,6 @@ declare const _default: (app: App) => import("elysia").default<"", false, {
|
|
2203
2162
|
};
|
2204
2163
|
};
|
2205
2164
|
};
|
2206
|
-
} & {
|
2207
|
-
campaignStatus: {
|
2208
|
-
computeChain: {
|
2209
|
-
":chainId": {
|
2210
|
-
get: {
|
2211
|
-
body: unknown;
|
2212
|
-
params: {
|
2213
|
-
chainId: number;
|
2214
|
-
};
|
2215
|
-
query: unknown;
|
2216
|
-
headers: unknown;
|
2217
|
-
response: {
|
2218
|
-
200: {
|
2219
|
-
error: string;
|
2220
|
-
details: import("database/api/.generated/runtime/library").JsonValue;
|
2221
|
-
status: import("../../../database/api/.generated").$Enums.RunStatus;
|
2222
|
-
campaignId: string;
|
2223
|
-
computedUntil: bigint;
|
2224
|
-
processingStarted: bigint;
|
2225
|
-
}[];
|
2226
|
-
};
|
2227
|
-
};
|
2228
|
-
};
|
2229
|
-
};
|
2230
|
-
};
|
2231
|
-
} & {
|
2232
|
-
campaignStatus: {
|
2233
|
-
engine: {
|
2234
|
-
overlaps: {
|
2235
|
-
get: {
|
2236
|
-
body: unknown;
|
2237
|
-
params: {};
|
2238
|
-
query: {
|
2239
|
-
campaignId: string;
|
2240
|
-
distributionChain: number;
|
2241
|
-
};
|
2242
|
-
headers: {
|
2243
|
-
authorization: string;
|
2244
|
-
};
|
2245
|
-
response: {
|
2246
|
-
200: boolean;
|
2247
|
-
};
|
2248
|
-
};
|
2249
|
-
};
|
2250
|
-
};
|
2251
|
-
};
|
2252
2165
|
};
|
2253
2166
|
} & {
|
2254
2167
|
index: {
|