@merkl/api 1.9.13 → 1.9.14
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 +68 -72
- package/dist/src/index.d.ts +56 -60
- package/dist/src/modules/v4/claims/claims.controller.d.ts +57 -61
- package/dist/src/modules/v4/claims/claims.controller.js.map +1 -1
- package/dist/src/modules/v4/router.d.ts +56 -60
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
|
@@ -1205,78 +1205,6 @@ 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
|
-
};
|
|
1280
1208
|
blacklists: {
|
|
1281
1209
|
get: (options: {
|
|
1282
1210
|
fetch?: RequestInit | undefined;
|
|
@@ -8078,6 +8006,41 @@ declare const eden: {
|
|
|
8078
8006
|
};
|
|
8079
8007
|
}>>;
|
|
8080
8008
|
}) & {
|
|
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
|
+
}>>;
|
|
8081
8044
|
count: {
|
|
8082
8045
|
get: (options: {
|
|
8083
8046
|
fetch?: RequestInit | undefined;
|
|
@@ -8107,6 +8070,39 @@ declare const eden: {
|
|
|
8107
8070
|
}>>;
|
|
8108
8071
|
};
|
|
8109
8072
|
};
|
|
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
|
+
};
|
|
8110
8106
|
};
|
|
8111
8107
|
clamm: {
|
|
8112
8108
|
pools: ((params: {
|
package/dist/src/index.d.ts
CHANGED
|
@@ -7756,34 +7756,70 @@ declare const app: Elysia<"", {
|
|
|
7756
7756
|
};
|
|
7757
7757
|
};
|
|
7758
7758
|
} & {
|
|
7759
|
-
|
|
7760
|
-
|
|
7759
|
+
claims: {
|
|
7760
|
+
get: {
|
|
7761
|
+
body: unknown;
|
|
7762
|
+
params: {};
|
|
7763
|
+
query: {
|
|
7764
|
+
chainId?: number | undefined;
|
|
7765
|
+
recipient?: string | undefined;
|
|
7766
|
+
campaignId?: string | undefined;
|
|
7767
|
+
token?: string | undefined;
|
|
7768
|
+
root?: string | undefined;
|
|
7769
|
+
};
|
|
7770
|
+
headers: unknown;
|
|
7771
|
+
response: {
|
|
7772
|
+
200: {
|
|
7773
|
+
id: string;
|
|
7774
|
+
chainId: number;
|
|
7775
|
+
recipient: string;
|
|
7776
|
+
blockNumber: number;
|
|
7777
|
+
timestamp: number;
|
|
7778
|
+
token: string;
|
|
7779
|
+
campaignId: string;
|
|
7780
|
+
reason: string;
|
|
7781
|
+
root: string;
|
|
7782
|
+
amount: string;
|
|
7783
|
+
metadata: any;
|
|
7784
|
+
isLatest: boolean;
|
|
7785
|
+
}[];
|
|
7786
|
+
422: {
|
|
7787
|
+
type: "validation";
|
|
7788
|
+
on: string;
|
|
7789
|
+
summary?: string | undefined;
|
|
7790
|
+
message?: string | undefined;
|
|
7791
|
+
found?: unknown;
|
|
7792
|
+
property?: string | undefined;
|
|
7793
|
+
expected?: string | undefined;
|
|
7794
|
+
};
|
|
7795
|
+
};
|
|
7796
|
+
};
|
|
7797
|
+
};
|
|
7798
|
+
} & {
|
|
7799
|
+
claims: {
|
|
7800
|
+
status: {
|
|
7761
7801
|
get: {
|
|
7762
7802
|
body: unknown;
|
|
7763
7803
|
params: {};
|
|
7764
7804
|
query: {
|
|
7765
|
-
|
|
7766
|
-
recipient?: string | undefined;
|
|
7767
|
-
campaignId?: string | undefined;
|
|
7768
|
-
token?: string | undefined;
|
|
7769
|
-
root?: string | undefined;
|
|
7805
|
+
chainIds?: number[] | undefined;
|
|
7770
7806
|
};
|
|
7771
7807
|
headers: unknown;
|
|
7772
7808
|
response: {
|
|
7773
7809
|
200: {
|
|
7774
|
-
|
|
7775
|
-
|
|
7776
|
-
|
|
7777
|
-
|
|
7778
|
-
|
|
7779
|
-
|
|
7780
|
-
|
|
7781
|
-
|
|
7782
|
-
|
|
7783
|
-
|
|
7784
|
-
|
|
7785
|
-
|
|
7786
|
-
}
|
|
7810
|
+
[x: number]: {
|
|
7811
|
+
chainId: number;
|
|
7812
|
+
sources: {
|
|
7813
|
+
sourceId: string;
|
|
7814
|
+
chainId: number;
|
|
7815
|
+
currentBlock: number;
|
|
7816
|
+
lastFetchedBlock: number;
|
|
7817
|
+
blockDifference: number;
|
|
7818
|
+
claimCount: number;
|
|
7819
|
+
timeBehind: number | null;
|
|
7820
|
+
}[];
|
|
7821
|
+
};
|
|
7822
|
+
};
|
|
7787
7823
|
422: {
|
|
7788
7824
|
type: "validation";
|
|
7789
7825
|
on: string;
|
|
@@ -7797,46 +7833,6 @@ declare const app: Elysia<"", {
|
|
|
7797
7833
|
};
|
|
7798
7834
|
};
|
|
7799
7835
|
};
|
|
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
|
-
};
|
|
7840
7836
|
} & {
|
|
7841
7837
|
claims: {
|
|
7842
7838
|
":address": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import Elysia from "elysia";
|
|
2
|
-
export declare const ClaimsController: Elysia<"/
|
|
2
|
+
export declare const ClaimsController: Elysia<"/claims", {
|
|
3
3
|
decorator: {};
|
|
4
4
|
store: {};
|
|
5
5
|
derive: {};
|
|
@@ -15,34 +15,70 @@ export declare const ClaimsController: Elysia<"/beta/claims", {
|
|
|
15
15
|
parser: {};
|
|
16
16
|
response: {};
|
|
17
17
|
}, {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
claims: {
|
|
19
|
+
get: {
|
|
20
|
+
body: unknown;
|
|
21
|
+
params: {};
|
|
22
|
+
query: {
|
|
23
|
+
chainId?: number | undefined;
|
|
24
|
+
recipient?: string | undefined;
|
|
25
|
+
campaignId?: string | undefined;
|
|
26
|
+
token?: string | undefined;
|
|
27
|
+
root?: string | undefined;
|
|
28
|
+
};
|
|
29
|
+
headers: unknown;
|
|
30
|
+
response: {
|
|
31
|
+
200: {
|
|
32
|
+
id: string;
|
|
33
|
+
chainId: number;
|
|
34
|
+
recipient: string;
|
|
35
|
+
blockNumber: number;
|
|
36
|
+
timestamp: number;
|
|
37
|
+
token: string;
|
|
38
|
+
campaignId: string;
|
|
39
|
+
reason: string;
|
|
40
|
+
root: string;
|
|
41
|
+
amount: string;
|
|
42
|
+
metadata: any;
|
|
43
|
+
isLatest: boolean;
|
|
44
|
+
}[];
|
|
45
|
+
422: {
|
|
46
|
+
type: "validation";
|
|
47
|
+
on: string;
|
|
48
|
+
summary?: string | undefined;
|
|
49
|
+
message?: string | undefined;
|
|
50
|
+
found?: unknown;
|
|
51
|
+
property?: string | undefined;
|
|
52
|
+
expected?: string | undefined;
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
} & {
|
|
58
|
+
claims: {
|
|
59
|
+
status: {
|
|
20
60
|
get: {
|
|
21
61
|
body: unknown;
|
|
22
62
|
params: {};
|
|
23
63
|
query: {
|
|
24
|
-
|
|
25
|
-
recipient?: string | undefined;
|
|
26
|
-
campaignId?: string | undefined;
|
|
27
|
-
token?: string | undefined;
|
|
28
|
-
root?: string | undefined;
|
|
64
|
+
chainIds?: number[] | undefined;
|
|
29
65
|
};
|
|
30
66
|
headers: unknown;
|
|
31
67
|
response: {
|
|
32
68
|
200: {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
}
|
|
69
|
+
[x: number]: {
|
|
70
|
+
chainId: number;
|
|
71
|
+
sources: {
|
|
72
|
+
sourceId: string;
|
|
73
|
+
chainId: number;
|
|
74
|
+
currentBlock: number;
|
|
75
|
+
lastFetchedBlock: number;
|
|
76
|
+
blockDifference: number;
|
|
77
|
+
claimCount: number;
|
|
78
|
+
timeBehind: number | null;
|
|
79
|
+
}[];
|
|
80
|
+
};
|
|
81
|
+
};
|
|
46
82
|
422: {
|
|
47
83
|
type: "validation";
|
|
48
84
|
on: string;
|
|
@@ -56,46 +92,6 @@ export declare const ClaimsController: Elysia<"/beta/claims", {
|
|
|
56
92
|
};
|
|
57
93
|
};
|
|
58
94
|
};
|
|
59
|
-
} & {
|
|
60
|
-
beta: {
|
|
61
|
-
claims: {
|
|
62
|
-
status: {
|
|
63
|
-
get: {
|
|
64
|
-
body: unknown;
|
|
65
|
-
params: {};
|
|
66
|
-
query: {
|
|
67
|
-
chainIds?: number[] | undefined;
|
|
68
|
-
};
|
|
69
|
-
headers: unknown;
|
|
70
|
-
response: {
|
|
71
|
-
200: {
|
|
72
|
-
[x: number]: {
|
|
73
|
-
chainId: number;
|
|
74
|
-
sources: {
|
|
75
|
-
sourceId: string;
|
|
76
|
-
chainId: number;
|
|
77
|
-
currentBlock: number;
|
|
78
|
-
lastFetchedBlock: number;
|
|
79
|
-
blockDifference: number;
|
|
80
|
-
claimCount: number;
|
|
81
|
-
timeBehind: number | null;
|
|
82
|
-
}[];
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
422: {
|
|
86
|
-
type: "validation";
|
|
87
|
-
on: string;
|
|
88
|
-
summary?: string | undefined;
|
|
89
|
-
message?: string | undefined;
|
|
90
|
-
found?: unknown;
|
|
91
|
-
property?: string | undefined;
|
|
92
|
-
expected?: string | undefined;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
95
|
}, {
|
|
100
96
|
derive: {};
|
|
101
97
|
resolve: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"claims.controller.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/claims/claims.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACnH,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,MAAM,CAAC,EAAE,MAAM,EAAE,
|
|
1
|
+
{"version":3,"file":"claims.controller.js","sourceRoot":"","sources":["../../../../../../../apps/api/src/modules/v4/claims/claims.controller.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,OAAO,MAAM,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,sBAAsB,CAAC;AACxF,OAAO,EAAE,oBAAoB,EAAE,uBAAuB,EAAE,YAAY,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAC;AACnH,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEjD,MAAM,CAAC,MAAM,gBAAgB,GAAG,IAAI,MAAM,CAAC,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,CAAC,QAAQ,CAAC,EAAE,EAAE,CAAC;KAC5F,KAAK,CAAC;IACL,MAAM,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE;CACvB,CAAC;KACD,GAAG,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,gBAAgB,CAAC,QAAQ,CAAC,KAAK,CAAC,EAAE;IACrE,KAAK,EAAE,YAAY;IACnB,YAAY,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;QAC3B,IAAI,KAAK,CAAC,SAAS,IAAI,iBAAiB,CAAC,CAAC,CAAC,CAAC,aAAa,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,CAAC;YAC3E,KAAK,CAAC,SAAS,GAAG,qBAAqB,CAAC,KAAK,CAAC,SAAS,EAAE,KAAK,CAAC,OAAO,IAAI,CAAC,CAAE,CAAC;QAChF,CAAC;QACD,IAAI,KAAK,CAAC,OAAO,KAAK,SAAS;YAAE,yBAAyB,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAAA,CAC3E;IACD,QAAQ,EAAE,oBAAoB;IAC9B,MAAM,EAAE;QACN,WAAW,EACT,+HAA+H;KAClI;CACF,CAAC;IAEF,iEAAuC;KACtC,GAAG,CAAC,SAAS,EAAE,KAAK,EAAE,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,MAAM,aAAa,CAAC,eAAe,CAAC,KAAK,CAAC,QAAQ,CAAC,EAAE;IACxF,KAAK,EAAE,oBAAoB;IAC3B,YAAY,EAAE,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;QAC3B,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;YACnB,KAAK,MAAM,OAAO,IAAI,KAAK,CAAC,QAAQ,EAAE,CAAC;gBACrC,yBAAyB,CAAC,OAAO,CAAC,CAAC;YACrC,CAAC;QACH,CAAC;IAAA,CACF;IACD,QAAQ,EAAE,uBAAuB;IACjC,MAAM,EAAE;QACN,WAAW,EACT,4HAA4H;KAC/H;CACF,CAAC,CAAC"}
|
|
@@ -7720,34 +7720,70 @@ export declare const v4: Elysia<"/v4", {
|
|
|
7720
7720
|
};
|
|
7721
7721
|
};
|
|
7722
7722
|
} & {
|
|
7723
|
-
|
|
7724
|
-
|
|
7723
|
+
claims: {
|
|
7724
|
+
get: {
|
|
7725
|
+
body: unknown;
|
|
7726
|
+
params: {};
|
|
7727
|
+
query: {
|
|
7728
|
+
chainId?: number | undefined;
|
|
7729
|
+
recipient?: string | undefined;
|
|
7730
|
+
campaignId?: string | undefined;
|
|
7731
|
+
token?: string | undefined;
|
|
7732
|
+
root?: string | undefined;
|
|
7733
|
+
};
|
|
7734
|
+
headers: unknown;
|
|
7735
|
+
response: {
|
|
7736
|
+
200: {
|
|
7737
|
+
id: string;
|
|
7738
|
+
chainId: number;
|
|
7739
|
+
recipient: string;
|
|
7740
|
+
blockNumber: number;
|
|
7741
|
+
timestamp: number;
|
|
7742
|
+
token: string;
|
|
7743
|
+
campaignId: string;
|
|
7744
|
+
reason: string;
|
|
7745
|
+
root: string;
|
|
7746
|
+
amount: string;
|
|
7747
|
+
metadata: any;
|
|
7748
|
+
isLatest: boolean;
|
|
7749
|
+
}[];
|
|
7750
|
+
422: {
|
|
7751
|
+
type: "validation";
|
|
7752
|
+
on: string;
|
|
7753
|
+
summary?: string | undefined;
|
|
7754
|
+
message?: string | undefined;
|
|
7755
|
+
found?: unknown;
|
|
7756
|
+
property?: string | undefined;
|
|
7757
|
+
expected?: string | undefined;
|
|
7758
|
+
};
|
|
7759
|
+
};
|
|
7760
|
+
};
|
|
7761
|
+
};
|
|
7762
|
+
} & {
|
|
7763
|
+
claims: {
|
|
7764
|
+
status: {
|
|
7725
7765
|
get: {
|
|
7726
7766
|
body: unknown;
|
|
7727
7767
|
params: {};
|
|
7728
7768
|
query: {
|
|
7729
|
-
|
|
7730
|
-
recipient?: string | undefined;
|
|
7731
|
-
campaignId?: string | undefined;
|
|
7732
|
-
token?: string | undefined;
|
|
7733
|
-
root?: string | undefined;
|
|
7769
|
+
chainIds?: number[] | undefined;
|
|
7734
7770
|
};
|
|
7735
7771
|
headers: unknown;
|
|
7736
7772
|
response: {
|
|
7737
7773
|
200: {
|
|
7738
|
-
|
|
7739
|
-
|
|
7740
|
-
|
|
7741
|
-
|
|
7742
|
-
|
|
7743
|
-
|
|
7744
|
-
|
|
7745
|
-
|
|
7746
|
-
|
|
7747
|
-
|
|
7748
|
-
|
|
7749
|
-
|
|
7750
|
-
}
|
|
7774
|
+
[x: number]: {
|
|
7775
|
+
chainId: number;
|
|
7776
|
+
sources: {
|
|
7777
|
+
sourceId: string;
|
|
7778
|
+
chainId: number;
|
|
7779
|
+
currentBlock: number;
|
|
7780
|
+
lastFetchedBlock: number;
|
|
7781
|
+
blockDifference: number;
|
|
7782
|
+
claimCount: number;
|
|
7783
|
+
timeBehind: number | null;
|
|
7784
|
+
}[];
|
|
7785
|
+
};
|
|
7786
|
+
};
|
|
7751
7787
|
422: {
|
|
7752
7788
|
type: "validation";
|
|
7753
7789
|
on: string;
|
|
@@ -7761,46 +7797,6 @@ export declare const v4: Elysia<"/v4", {
|
|
|
7761
7797
|
};
|
|
7762
7798
|
};
|
|
7763
7799
|
};
|
|
7764
|
-
} & {
|
|
7765
|
-
beta: {
|
|
7766
|
-
claims: {
|
|
7767
|
-
status: {
|
|
7768
|
-
get: {
|
|
7769
|
-
body: unknown;
|
|
7770
|
-
params: {};
|
|
7771
|
-
query: {
|
|
7772
|
-
chainIds?: number[] | undefined;
|
|
7773
|
-
};
|
|
7774
|
-
headers: unknown;
|
|
7775
|
-
response: {
|
|
7776
|
-
200: {
|
|
7777
|
-
[x: number]: {
|
|
7778
|
-
chainId: number;
|
|
7779
|
-
sources: {
|
|
7780
|
-
sourceId: string;
|
|
7781
|
-
chainId: number;
|
|
7782
|
-
currentBlock: number;
|
|
7783
|
-
lastFetchedBlock: number;
|
|
7784
|
-
blockDifference: number;
|
|
7785
|
-
claimCount: number;
|
|
7786
|
-
timeBehind: number | null;
|
|
7787
|
-
}[];
|
|
7788
|
-
};
|
|
7789
|
-
};
|
|
7790
|
-
422: {
|
|
7791
|
-
type: "validation";
|
|
7792
|
-
on: string;
|
|
7793
|
-
summary?: string | undefined;
|
|
7794
|
-
message?: string | undefined;
|
|
7795
|
-
found?: unknown;
|
|
7796
|
-
property?: string | undefined;
|
|
7797
|
-
expected?: string | undefined;
|
|
7798
|
-
};
|
|
7799
|
-
};
|
|
7800
|
-
};
|
|
7801
|
-
};
|
|
7802
|
-
};
|
|
7803
|
-
};
|
|
7804
7800
|
} & {
|
|
7805
7801
|
claims: {
|
|
7806
7802
|
":address": {
|