@merkl/api 1.9.9 → 1.9.11
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 +72 -68
- package/dist/src/engine/implementations/ErcMultiToken/metadata.d.ts +1 -1
- package/dist/src/engine/implementations/StabullStaking/metadata.d.ts +1 -1
- package/dist/src/index.d.ts +82 -78
- package/dist/src/modules/v4/campaign/campaign.query-transformer.d.ts +111 -111
- package/dist/src/modules/v4/claims/claims.controller.d.ts +61 -57
- package/dist/src/modules/v4/claims/claims.controller.js.map +1 -1
- package/dist/src/modules/v4/legacy-claims/claims.controller.js.map +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.query-transformer.d.ts +40 -40
- package/dist/src/modules/v4/router.d.ts +82 -78
- package/dist/src/modules/v4/router.js.map +1 -1
- package/dist/src/utils/parseDistributionType.d.ts +180 -180
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
|
@@ -1205,6 +1205,78 @@ declare const eden: {
|
|
|
1205
1205
|
}>>;
|
|
1206
1206
|
};
|
|
1207
1207
|
};
|
|
1208
|
+
beta: {
|
|
1209
|
+
claims: {
|
|
1210
|
+
get: (options: {
|
|
1211
|
+
fetch?: RequestInit | undefined;
|
|
1212
|
+
headers?: Record<string, unknown> | undefined;
|
|
1213
|
+
query: {
|
|
1214
|
+
chainId?: number | undefined;
|
|
1215
|
+
recipient?: string | undefined;
|
|
1216
|
+
campaignId?: string | undefined;
|
|
1217
|
+
token?: string | undefined;
|
|
1218
|
+
root?: string | undefined;
|
|
1219
|
+
};
|
|
1220
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
1221
|
+
200: {
|
|
1222
|
+
id: string;
|
|
1223
|
+
chainId: number;
|
|
1224
|
+
recipient: string;
|
|
1225
|
+
blockNumber: number;
|
|
1226
|
+
timestamp: number;
|
|
1227
|
+
token: string;
|
|
1228
|
+
campaignId: string;
|
|
1229
|
+
reason: string;
|
|
1230
|
+
root: string;
|
|
1231
|
+
amount: string;
|
|
1232
|
+
metadata: any;
|
|
1233
|
+
isLatest: boolean;
|
|
1234
|
+
}[];
|
|
1235
|
+
422: {
|
|
1236
|
+
type: "validation";
|
|
1237
|
+
on: string;
|
|
1238
|
+
summary?: string | undefined;
|
|
1239
|
+
message?: string | undefined;
|
|
1240
|
+
found?: unknown;
|
|
1241
|
+
property?: string | undefined;
|
|
1242
|
+
expected?: string | undefined;
|
|
1243
|
+
};
|
|
1244
|
+
}>>;
|
|
1245
|
+
status: {
|
|
1246
|
+
get: (options: {
|
|
1247
|
+
fetch?: RequestInit | undefined;
|
|
1248
|
+
headers?: Record<string, unknown> | undefined;
|
|
1249
|
+
query: {
|
|
1250
|
+
chainIds?: number[] | undefined;
|
|
1251
|
+
};
|
|
1252
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
1253
|
+
200: {
|
|
1254
|
+
[x: number]: {
|
|
1255
|
+
chainId: number;
|
|
1256
|
+
sources: {
|
|
1257
|
+
sourceId: string;
|
|
1258
|
+
chainId: number;
|
|
1259
|
+
currentBlock: number;
|
|
1260
|
+
lastFetchedBlock: number;
|
|
1261
|
+
blockDifference: number;
|
|
1262
|
+
claimCount: number;
|
|
1263
|
+
timeBehind: number | null;
|
|
1264
|
+
}[];
|
|
1265
|
+
};
|
|
1266
|
+
};
|
|
1267
|
+
422: {
|
|
1268
|
+
type: "validation";
|
|
1269
|
+
on: string;
|
|
1270
|
+
summary?: string | undefined;
|
|
1271
|
+
message?: string | undefined;
|
|
1272
|
+
found?: unknown;
|
|
1273
|
+
property?: string | undefined;
|
|
1274
|
+
expected?: string | undefined;
|
|
1275
|
+
};
|
|
1276
|
+
}>>;
|
|
1277
|
+
};
|
|
1278
|
+
};
|
|
1279
|
+
};
|
|
1208
1280
|
blacklists: {
|
|
1209
1281
|
get: (options: {
|
|
1210
1282
|
fetch?: RequestInit | undefined;
|
|
@@ -8006,41 +8078,6 @@ declare const eden: {
|
|
|
8006
8078
|
};
|
|
8007
8079
|
}>>;
|
|
8008
8080
|
}) & {
|
|
8009
|
-
get: (options: {
|
|
8010
|
-
fetch?: RequestInit | undefined;
|
|
8011
|
-
headers?: Record<string, unknown> | undefined;
|
|
8012
|
-
query: {
|
|
8013
|
-
chainId?: number | undefined;
|
|
8014
|
-
recipient?: string | undefined;
|
|
8015
|
-
campaignId?: string | undefined;
|
|
8016
|
-
token?: string | undefined;
|
|
8017
|
-
root?: string | undefined;
|
|
8018
|
-
};
|
|
8019
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
8020
|
-
200: {
|
|
8021
|
-
id: string;
|
|
8022
|
-
chainId: number;
|
|
8023
|
-
recipient: string;
|
|
8024
|
-
blockNumber: number;
|
|
8025
|
-
timestamp: number;
|
|
8026
|
-
token: string;
|
|
8027
|
-
campaignId: string;
|
|
8028
|
-
reason: string;
|
|
8029
|
-
root: string;
|
|
8030
|
-
amount: string;
|
|
8031
|
-
metadata: any;
|
|
8032
|
-
isLatest: boolean;
|
|
8033
|
-
}[];
|
|
8034
|
-
422: {
|
|
8035
|
-
type: "validation";
|
|
8036
|
-
on: string;
|
|
8037
|
-
summary?: string | undefined;
|
|
8038
|
-
message?: string | undefined;
|
|
8039
|
-
found?: unknown;
|
|
8040
|
-
property?: string | undefined;
|
|
8041
|
-
expected?: string | undefined;
|
|
8042
|
-
};
|
|
8043
|
-
}>>;
|
|
8044
8081
|
count: {
|
|
8045
8082
|
get: (options: {
|
|
8046
8083
|
fetch?: RequestInit | undefined;
|
|
@@ -8070,39 +8107,6 @@ declare const eden: {
|
|
|
8070
8107
|
}>>;
|
|
8071
8108
|
};
|
|
8072
8109
|
};
|
|
8073
|
-
status: {
|
|
8074
|
-
get: (options: {
|
|
8075
|
-
fetch?: RequestInit | undefined;
|
|
8076
|
-
headers?: Record<string, unknown> | undefined;
|
|
8077
|
-
query: {
|
|
8078
|
-
chainIds?: number[] | undefined;
|
|
8079
|
-
};
|
|
8080
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
|
8081
|
-
200: {
|
|
8082
|
-
[x: number]: {
|
|
8083
|
-
chainId: number;
|
|
8084
|
-
sources: {
|
|
8085
|
-
sourceId: string;
|
|
8086
|
-
chainId: number;
|
|
8087
|
-
currentBlock: number;
|
|
8088
|
-
lastFetchedBlock: number;
|
|
8089
|
-
blockDifference: number;
|
|
8090
|
-
claimCount: number;
|
|
8091
|
-
timeBehind: number | null;
|
|
8092
|
-
}[];
|
|
8093
|
-
};
|
|
8094
|
-
};
|
|
8095
|
-
422: {
|
|
8096
|
-
type: "validation";
|
|
8097
|
-
on: string;
|
|
8098
|
-
summary?: string | undefined;
|
|
8099
|
-
message?: string | undefined;
|
|
8100
|
-
found?: unknown;
|
|
8101
|
-
property?: string | undefined;
|
|
8102
|
-
expected?: string | undefined;
|
|
8103
|
-
};
|
|
8104
|
-
}>>;
|
|
8105
|
-
};
|
|
8106
8110
|
};
|
|
8107
8111
|
clamm: {
|
|
8108
8112
|
pools: ((params: {
|
|
@@ -17,13 +17,13 @@ export declare class ErcMultiTokenMetadata implements MetadataBuilder<campaignTy
|
|
|
17
17
|
mainProtocol: ProtocolType;
|
|
18
18
|
depositUrl: string;
|
|
19
19
|
} | {
|
|
20
|
-
description?: undefined;
|
|
21
20
|
action: "HOLD";
|
|
22
21
|
name: string;
|
|
23
22
|
tokens: never[];
|
|
24
23
|
explorerAddress: string;
|
|
25
24
|
mainProtocol: undefined;
|
|
26
25
|
depositUrl: undefined;
|
|
26
|
+
description?: undefined;
|
|
27
27
|
}>;
|
|
28
28
|
}
|
|
29
29
|
export {};
|
|
@@ -16,7 +16,6 @@ export declare class StabullStakingMetadata implements MetadataBuilder<campaignT
|
|
|
16
16
|
description: string;
|
|
17
17
|
howToSteps: string[];
|
|
18
18
|
} | {
|
|
19
|
-
description?: undefined;
|
|
20
19
|
howToSteps?: undefined;
|
|
21
20
|
action: "STAKE";
|
|
22
21
|
mainProtocol: ProtocolType;
|
|
@@ -27,6 +26,7 @@ export declare class StabullStakingMetadata implements MetadataBuilder<campaignT
|
|
|
27
26
|
}[];
|
|
28
27
|
explorerAddress: string | undefined;
|
|
29
28
|
depositUrl: string | undefined;
|
|
29
|
+
description?: undefined;
|
|
30
30
|
}>;
|
|
31
31
|
}
|
|
32
32
|
export {};
|
package/dist/src/index.d.ts
CHANGED
|
@@ -7755,6 +7755,88 @@ declare const app: Elysia<"", {
|
|
|
7755
7755
|
};
|
|
7756
7756
|
};
|
|
7757
7757
|
};
|
|
7758
|
+
} & {
|
|
7759
|
+
beta: {
|
|
7760
|
+
claims: {
|
|
7761
|
+
get: {
|
|
7762
|
+
body: unknown;
|
|
7763
|
+
params: {};
|
|
7764
|
+
query: {
|
|
7765
|
+
chainId?: number | undefined;
|
|
7766
|
+
recipient?: string | undefined;
|
|
7767
|
+
campaignId?: string | undefined;
|
|
7768
|
+
token?: string | undefined;
|
|
7769
|
+
root?: string | undefined;
|
|
7770
|
+
};
|
|
7771
|
+
headers: unknown;
|
|
7772
|
+
response: {
|
|
7773
|
+
200: {
|
|
7774
|
+
id: string;
|
|
7775
|
+
chainId: number;
|
|
7776
|
+
recipient: string;
|
|
7777
|
+
blockNumber: number;
|
|
7778
|
+
timestamp: number;
|
|
7779
|
+
token: string;
|
|
7780
|
+
campaignId: string;
|
|
7781
|
+
reason: string;
|
|
7782
|
+
root: string;
|
|
7783
|
+
amount: string;
|
|
7784
|
+
metadata: any;
|
|
7785
|
+
isLatest: boolean;
|
|
7786
|
+
}[];
|
|
7787
|
+
422: {
|
|
7788
|
+
type: "validation";
|
|
7789
|
+
on: string;
|
|
7790
|
+
summary?: string | undefined;
|
|
7791
|
+
message?: string | undefined;
|
|
7792
|
+
found?: unknown;
|
|
7793
|
+
property?: string | undefined;
|
|
7794
|
+
expected?: string | undefined;
|
|
7795
|
+
};
|
|
7796
|
+
};
|
|
7797
|
+
};
|
|
7798
|
+
};
|
|
7799
|
+
};
|
|
7800
|
+
} & {
|
|
7801
|
+
beta: {
|
|
7802
|
+
claims: {
|
|
7803
|
+
status: {
|
|
7804
|
+
get: {
|
|
7805
|
+
body: unknown;
|
|
7806
|
+
params: {};
|
|
7807
|
+
query: {
|
|
7808
|
+
chainIds?: number[] | undefined;
|
|
7809
|
+
};
|
|
7810
|
+
headers: unknown;
|
|
7811
|
+
response: {
|
|
7812
|
+
200: {
|
|
7813
|
+
[x: number]: {
|
|
7814
|
+
chainId: number;
|
|
7815
|
+
sources: {
|
|
7816
|
+
sourceId: string;
|
|
7817
|
+
chainId: number;
|
|
7818
|
+
currentBlock: number;
|
|
7819
|
+
lastFetchedBlock: number;
|
|
7820
|
+
blockDifference: number;
|
|
7821
|
+
claimCount: number;
|
|
7822
|
+
timeBehind: number | null;
|
|
7823
|
+
}[];
|
|
7824
|
+
};
|
|
7825
|
+
};
|
|
7826
|
+
422: {
|
|
7827
|
+
type: "validation";
|
|
7828
|
+
on: string;
|
|
7829
|
+
summary?: string | undefined;
|
|
7830
|
+
message?: string | undefined;
|
|
7831
|
+
found?: unknown;
|
|
7832
|
+
property?: string | undefined;
|
|
7833
|
+
expected?: string | undefined;
|
|
7834
|
+
};
|
|
7835
|
+
};
|
|
7836
|
+
};
|
|
7837
|
+
};
|
|
7838
|
+
};
|
|
7839
|
+
};
|
|
7758
7840
|
} & {
|
|
7759
7841
|
claims: {
|
|
7760
7842
|
":address": {
|
|
@@ -7841,84 +7923,6 @@ declare const app: Elysia<"", {
|
|
|
7841
7923
|
};
|
|
7842
7924
|
};
|
|
7843
7925
|
};
|
|
7844
|
-
} & {
|
|
7845
|
-
claims: {
|
|
7846
|
-
get: {
|
|
7847
|
-
body: unknown;
|
|
7848
|
-
params: {};
|
|
7849
|
-
query: {
|
|
7850
|
-
chainId?: number | undefined;
|
|
7851
|
-
recipient?: string | undefined;
|
|
7852
|
-
campaignId?: string | undefined;
|
|
7853
|
-
token?: string | undefined;
|
|
7854
|
-
root?: string | undefined;
|
|
7855
|
-
};
|
|
7856
|
-
headers: unknown;
|
|
7857
|
-
response: {
|
|
7858
|
-
200: {
|
|
7859
|
-
id: string;
|
|
7860
|
-
chainId: number;
|
|
7861
|
-
recipient: string;
|
|
7862
|
-
blockNumber: number;
|
|
7863
|
-
timestamp: number;
|
|
7864
|
-
token: string;
|
|
7865
|
-
campaignId: string;
|
|
7866
|
-
reason: string;
|
|
7867
|
-
root: string;
|
|
7868
|
-
amount: string;
|
|
7869
|
-
metadata: any;
|
|
7870
|
-
isLatest: boolean;
|
|
7871
|
-
}[];
|
|
7872
|
-
422: {
|
|
7873
|
-
type: "validation";
|
|
7874
|
-
on: string;
|
|
7875
|
-
summary?: string | undefined;
|
|
7876
|
-
message?: string | undefined;
|
|
7877
|
-
found?: unknown;
|
|
7878
|
-
property?: string | undefined;
|
|
7879
|
-
expected?: string | undefined;
|
|
7880
|
-
};
|
|
7881
|
-
};
|
|
7882
|
-
};
|
|
7883
|
-
};
|
|
7884
|
-
} & {
|
|
7885
|
-
claims: {
|
|
7886
|
-
status: {
|
|
7887
|
-
get: {
|
|
7888
|
-
body: unknown;
|
|
7889
|
-
params: {};
|
|
7890
|
-
query: {
|
|
7891
|
-
chainIds?: number[] | undefined;
|
|
7892
|
-
};
|
|
7893
|
-
headers: unknown;
|
|
7894
|
-
response: {
|
|
7895
|
-
200: {
|
|
7896
|
-
[x: number]: {
|
|
7897
|
-
chainId: number;
|
|
7898
|
-
sources: {
|
|
7899
|
-
sourceId: string;
|
|
7900
|
-
chainId: number;
|
|
7901
|
-
currentBlock: number;
|
|
7902
|
-
lastFetchedBlock: number;
|
|
7903
|
-
blockDifference: number;
|
|
7904
|
-
claimCount: number;
|
|
7905
|
-
timeBehind: number | null;
|
|
7906
|
-
}[];
|
|
7907
|
-
};
|
|
7908
|
-
};
|
|
7909
|
-
422: {
|
|
7910
|
-
type: "validation";
|
|
7911
|
-
on: string;
|
|
7912
|
-
summary?: string | undefined;
|
|
7913
|
-
message?: string | undefined;
|
|
7914
|
-
found?: unknown;
|
|
7915
|
-
property?: string | undefined;
|
|
7916
|
-
expected?: string | undefined;
|
|
7917
|
-
};
|
|
7918
|
-
};
|
|
7919
|
-
};
|
|
7920
|
-
};
|
|
7921
|
-
};
|
|
7922
7926
|
} & {
|
|
7923
7927
|
clamm: {
|
|
7924
7928
|
pools: {
|