@merkl/api 0.16.18 → 0.16.19
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 +410 -35
- package/dist/src/index.d.ts +82 -7
- package/dist/src/modules/v4/campaign/campaign.controller.d.ts +13 -1
- package/dist/src/modules/v4/campaign/campaign.service.d.ts +26 -2
- package/dist/src/modules/v4/enso/enso.service.js +4 -1
- package/dist/src/modules/v4/kyberzap/kyberzap.service.js +1 -1
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +40 -4
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +2 -2
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +108 -12
- package/dist/src/modules/v4/opportunity/subservices/getClammMetadata.service.js +3 -3
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +1 -0
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +1 -0
- package/dist/src/modules/v4/protocol/protocol.model.js +1 -0
- package/dist/src/modules/v4/protocol/protocol.repository.js +5 -1
- package/dist/src/modules/v4/protocol/protocol.service.d.ts +0 -2
- package/dist/src/modules/v4/protocol/protocol.service.js +0 -38
- package/dist/src/modules/v4/router.d.ts +82 -7
- package/dist/src/modules/v4/token/token.controller.d.ts +28 -2
- package/dist/src/modules/v4/token/token.service.d.ts +71 -7
- package/dist/src/modules/v4/token/token.service.js +3 -3
- package/dist/src/utils/camelToKebabCase.d.ts +1 -0
- package/dist/src/utils/camelToKebabCase.js +3 -0
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -115,8 +115,20 @@ declare const eden: {
|
|
115
115
|
name: string;
|
116
116
|
status: "PAST" | "LIVE" | "SOON";
|
117
117
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
118
|
-
tokens:
|
119
|
-
|
118
|
+
tokens: ({
|
119
|
+
symbol: string;
|
120
|
+
name: string | null;
|
121
|
+
id: string;
|
122
|
+
icon: string;
|
123
|
+
chainId: number;
|
124
|
+
address: string;
|
125
|
+
decimals: number;
|
126
|
+
verified: boolean;
|
127
|
+
isTest: boolean;
|
128
|
+
} & {
|
129
|
+
price?: number | null | undefined;
|
130
|
+
})[];
|
131
|
+
mainProtocol: string | undefined;
|
120
132
|
depositUrl: any;
|
121
133
|
tags: string[];
|
122
134
|
};
|
@@ -511,7 +523,19 @@ declare const eden: {
|
|
511
523
|
};
|
512
524
|
id: string;
|
513
525
|
depositUrl: string | undefined;
|
514
|
-
tokens:
|
526
|
+
tokens: ({
|
527
|
+
symbol: string;
|
528
|
+
name: string | null;
|
529
|
+
id: string;
|
530
|
+
icon: string;
|
531
|
+
chainId: number;
|
532
|
+
address: string;
|
533
|
+
decimals: number;
|
534
|
+
verified: boolean;
|
535
|
+
isTest: boolean;
|
536
|
+
} & {
|
537
|
+
price?: number | null | undefined;
|
538
|
+
})[];
|
515
539
|
chain: {
|
516
540
|
name: string;
|
517
541
|
id: number;
|
@@ -677,7 +701,19 @@ declare const eden: {
|
|
677
701
|
id: number;
|
678
702
|
icon: string;
|
679
703
|
};
|
680
|
-
rewardToken:
|
704
|
+
rewardToken: {
|
705
|
+
symbol: string;
|
706
|
+
name: string | null;
|
707
|
+
id: string;
|
708
|
+
icon: string;
|
709
|
+
chainId: number;
|
710
|
+
address: string;
|
711
|
+
decimals: number;
|
712
|
+
verified: boolean;
|
713
|
+
isTest: boolean;
|
714
|
+
} & {
|
715
|
+
price?: number | null | undefined;
|
716
|
+
};
|
681
717
|
distributionChain: {
|
682
718
|
name: string;
|
683
719
|
id: number;
|
@@ -926,7 +962,19 @@ declare const eden: {
|
|
926
962
|
id: number;
|
927
963
|
icon: string;
|
928
964
|
};
|
929
|
-
rewardToken:
|
965
|
+
rewardToken: {
|
966
|
+
symbol: string;
|
967
|
+
name: string | null;
|
968
|
+
id: string;
|
969
|
+
icon: string;
|
970
|
+
chainId: number;
|
971
|
+
address: string;
|
972
|
+
decimals: number;
|
973
|
+
verified: boolean;
|
974
|
+
isTest: boolean;
|
975
|
+
} & {
|
976
|
+
price?: number | null | undefined;
|
977
|
+
};
|
930
978
|
distributionChain: {
|
931
979
|
name: string;
|
932
980
|
id: number;
|
@@ -1098,6 +1146,7 @@ declare const eden: {
|
|
1098
1146
|
items?: number | undefined;
|
1099
1147
|
tags?: string[] | undefined;
|
1100
1148
|
page?: number | undefined;
|
1149
|
+
ids?: string[] | undefined;
|
1101
1150
|
opportunityTag?: string | undefined;
|
1102
1151
|
};
|
1103
1152
|
fetch?: RequestInit | undefined;
|
@@ -1277,7 +1326,21 @@ declare const eden: {
|
|
1277
1326
|
};
|
1278
1327
|
fetch?: RequestInit | undefined;
|
1279
1328
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1280
|
-
200:
|
1329
|
+
200: ({
|
1330
|
+
symbol: string;
|
1331
|
+
name: string | null;
|
1332
|
+
id: string;
|
1333
|
+
icon: string;
|
1334
|
+
chainId: number;
|
1335
|
+
address: string;
|
1336
|
+
decimals: number;
|
1337
|
+
verified: boolean;
|
1338
|
+
isTest: boolean;
|
1339
|
+
} & {
|
1340
|
+
price?: number | null | undefined;
|
1341
|
+
} & {
|
1342
|
+
balance: bigint;
|
1343
|
+
})[];
|
1281
1344
|
}>>;
|
1282
1345
|
};
|
1283
1346
|
index: {
|
@@ -1294,7 +1357,19 @@ declare const eden: {
|
|
1294
1357
|
};
|
1295
1358
|
fetch?: RequestInit | undefined;
|
1296
1359
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1297
|
-
200:
|
1360
|
+
200: ({
|
1361
|
+
symbol: string;
|
1362
|
+
name: string | null;
|
1363
|
+
id: string;
|
1364
|
+
icon: string;
|
1365
|
+
chainId: number;
|
1366
|
+
address: string;
|
1367
|
+
decimals: number;
|
1368
|
+
verified: boolean;
|
1369
|
+
isTest: boolean;
|
1370
|
+
} & {
|
1371
|
+
price?: number | null | undefined;
|
1372
|
+
})[];
|
1298
1373
|
}>>;
|
1299
1374
|
post: (body: {
|
1300
1375
|
isTest?: boolean | undefined;
|
@@ -3217,8 +3292,20 @@ declare const eden: {
|
|
3217
3292
|
name: string;
|
3218
3293
|
status: "PAST" | "LIVE" | "SOON";
|
3219
3294
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
3220
|
-
tokens:
|
3221
|
-
|
3295
|
+
tokens: ({
|
3296
|
+
symbol: string;
|
3297
|
+
name: string | null;
|
3298
|
+
id: string;
|
3299
|
+
icon: string;
|
3300
|
+
chainId: number;
|
3301
|
+
address: string;
|
3302
|
+
decimals: number;
|
3303
|
+
verified: boolean;
|
3304
|
+
isTest: boolean;
|
3305
|
+
} & {
|
3306
|
+
price?: number | null | undefined;
|
3307
|
+
})[];
|
3308
|
+
mainProtocol: string | undefined;
|
3222
3309
|
depositUrl: any;
|
3223
3310
|
tags: string[];
|
3224
3311
|
};
|
@@ -3613,7 +3700,19 @@ declare const eden: {
|
|
3613
3700
|
};
|
3614
3701
|
id: string;
|
3615
3702
|
depositUrl: string | undefined;
|
3616
|
-
tokens:
|
3703
|
+
tokens: ({
|
3704
|
+
symbol: string;
|
3705
|
+
name: string | null;
|
3706
|
+
id: string;
|
3707
|
+
icon: string;
|
3708
|
+
chainId: number;
|
3709
|
+
address: string;
|
3710
|
+
decimals: number;
|
3711
|
+
verified: boolean;
|
3712
|
+
isTest: boolean;
|
3713
|
+
} & {
|
3714
|
+
price?: number | null | undefined;
|
3715
|
+
})[];
|
3617
3716
|
chain: {
|
3618
3717
|
name: string;
|
3619
3718
|
id: number;
|
@@ -3779,7 +3878,19 @@ declare const eden: {
|
|
3779
3878
|
id: number;
|
3780
3879
|
icon: string;
|
3781
3880
|
};
|
3782
|
-
rewardToken:
|
3881
|
+
rewardToken: {
|
3882
|
+
symbol: string;
|
3883
|
+
name: string | null;
|
3884
|
+
id: string;
|
3885
|
+
icon: string;
|
3886
|
+
chainId: number;
|
3887
|
+
address: string;
|
3888
|
+
decimals: number;
|
3889
|
+
verified: boolean;
|
3890
|
+
isTest: boolean;
|
3891
|
+
} & {
|
3892
|
+
price?: number | null | undefined;
|
3893
|
+
};
|
3783
3894
|
distributionChain: {
|
3784
3895
|
name: string;
|
3785
3896
|
id: number;
|
@@ -4028,7 +4139,19 @@ declare const eden: {
|
|
4028
4139
|
id: number;
|
4029
4140
|
icon: string;
|
4030
4141
|
};
|
4031
|
-
rewardToken:
|
4142
|
+
rewardToken: {
|
4143
|
+
symbol: string;
|
4144
|
+
name: string | null;
|
4145
|
+
id: string;
|
4146
|
+
icon: string;
|
4147
|
+
chainId: number;
|
4148
|
+
address: string;
|
4149
|
+
decimals: number;
|
4150
|
+
verified: boolean;
|
4151
|
+
isTest: boolean;
|
4152
|
+
} & {
|
4153
|
+
price?: number | null | undefined;
|
4154
|
+
};
|
4032
4155
|
distributionChain: {
|
4033
4156
|
name: string;
|
4034
4157
|
id: number;
|
@@ -4200,6 +4323,7 @@ declare const eden: {
|
|
4200
4323
|
items?: number | undefined;
|
4201
4324
|
tags?: string[] | undefined;
|
4202
4325
|
page?: number | undefined;
|
4326
|
+
ids?: string[] | undefined;
|
4203
4327
|
opportunityTag?: string | undefined;
|
4204
4328
|
};
|
4205
4329
|
fetch?: RequestInit | undefined;
|
@@ -4379,7 +4503,21 @@ declare const eden: {
|
|
4379
4503
|
};
|
4380
4504
|
fetch?: RequestInit | undefined;
|
4381
4505
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4382
|
-
200:
|
4506
|
+
200: ({
|
4507
|
+
symbol: string;
|
4508
|
+
name: string | null;
|
4509
|
+
id: string;
|
4510
|
+
icon: string;
|
4511
|
+
chainId: number;
|
4512
|
+
address: string;
|
4513
|
+
decimals: number;
|
4514
|
+
verified: boolean;
|
4515
|
+
isTest: boolean;
|
4516
|
+
} & {
|
4517
|
+
price?: number | null | undefined;
|
4518
|
+
} & {
|
4519
|
+
balance: bigint;
|
4520
|
+
})[];
|
4383
4521
|
}>>;
|
4384
4522
|
};
|
4385
4523
|
index: {
|
@@ -4396,7 +4534,19 @@ declare const eden: {
|
|
4396
4534
|
};
|
4397
4535
|
fetch?: RequestInit | undefined;
|
4398
4536
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
4399
|
-
200:
|
4537
|
+
200: ({
|
4538
|
+
symbol: string;
|
4539
|
+
name: string | null;
|
4540
|
+
id: string;
|
4541
|
+
icon: string;
|
4542
|
+
chainId: number;
|
4543
|
+
address: string;
|
4544
|
+
decimals: number;
|
4545
|
+
verified: boolean;
|
4546
|
+
isTest: boolean;
|
4547
|
+
} & {
|
4548
|
+
price?: number | null | undefined;
|
4549
|
+
})[];
|
4400
4550
|
}>>;
|
4401
4551
|
post: (body: {
|
4402
4552
|
isTest?: boolean | undefined;
|
@@ -7125,8 +7275,20 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7125
7275
|
name: string;
|
7126
7276
|
status: "PAST" | "LIVE" | "SOON";
|
7127
7277
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
7128
|
-
tokens:
|
7129
|
-
|
7278
|
+
tokens: ({
|
7279
|
+
symbol: string;
|
7280
|
+
name: string | null;
|
7281
|
+
id: string;
|
7282
|
+
icon: string;
|
7283
|
+
chainId: number;
|
7284
|
+
address: string;
|
7285
|
+
decimals: number;
|
7286
|
+
verified: boolean;
|
7287
|
+
isTest: boolean;
|
7288
|
+
} & {
|
7289
|
+
price?: number | null | undefined;
|
7290
|
+
})[];
|
7291
|
+
mainProtocol: string | undefined;
|
7130
7292
|
depositUrl: any;
|
7131
7293
|
tags: string[];
|
7132
7294
|
};
|
@@ -7211,7 +7373,19 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7211
7373
|
};
|
7212
7374
|
id: string;
|
7213
7375
|
depositUrl: string | undefined;
|
7214
|
-
tokens:
|
7376
|
+
tokens: ({
|
7377
|
+
symbol: string;
|
7378
|
+
name: string | null;
|
7379
|
+
id: string;
|
7380
|
+
icon: string;
|
7381
|
+
chainId: number;
|
7382
|
+
address: string;
|
7383
|
+
decimals: number;
|
7384
|
+
verified: boolean;
|
7385
|
+
isTest: boolean;
|
7386
|
+
} & {
|
7387
|
+
price?: number | null | undefined;
|
7388
|
+
})[];
|
7215
7389
|
chain: {
|
7216
7390
|
name: string;
|
7217
7391
|
id: number;
|
@@ -7498,7 +7672,19 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7498
7672
|
id: number;
|
7499
7673
|
icon: string;
|
7500
7674
|
};
|
7501
|
-
rewardToken:
|
7675
|
+
rewardToken: {
|
7676
|
+
symbol: string;
|
7677
|
+
name: string | null;
|
7678
|
+
id: string;
|
7679
|
+
icon: string;
|
7680
|
+
chainId: number;
|
7681
|
+
address: string;
|
7682
|
+
decimals: number;
|
7683
|
+
verified: boolean;
|
7684
|
+
isTest: boolean;
|
7685
|
+
} & {
|
7686
|
+
price?: number | null | undefined;
|
7687
|
+
};
|
7502
7688
|
distributionChain: {
|
7503
7689
|
name: string;
|
7504
7690
|
id: number;
|
@@ -7978,7 +8164,19 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7978
8164
|
id: number;
|
7979
8165
|
icon: string;
|
7980
8166
|
};
|
7981
|
-
rewardToken:
|
8167
|
+
rewardToken: {
|
8168
|
+
symbol: string;
|
8169
|
+
name: string | null;
|
8170
|
+
id: string;
|
8171
|
+
icon: string;
|
8172
|
+
chainId: number;
|
8173
|
+
address: string;
|
8174
|
+
decimals: number;
|
8175
|
+
verified: boolean;
|
8176
|
+
isTest: boolean;
|
8177
|
+
} & {
|
8178
|
+
price?: number | null | undefined;
|
8179
|
+
};
|
7982
8180
|
distributionChain: {
|
7983
8181
|
name: string;
|
7984
8182
|
id: number;
|
@@ -8135,6 +8333,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8135
8333
|
items?: number | undefined;
|
8136
8334
|
tags?: string[] | undefined;
|
8137
8335
|
page?: number | undefined;
|
8336
|
+
ids?: string[] | undefined;
|
8138
8337
|
opportunityTag?: string | undefined;
|
8139
8338
|
};
|
8140
8339
|
headers: unknown;
|
@@ -8391,7 +8590,21 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8391
8590
|
};
|
8392
8591
|
headers: unknown;
|
8393
8592
|
response: {
|
8394
|
-
200:
|
8593
|
+
200: ({
|
8594
|
+
symbol: string;
|
8595
|
+
name: string | null;
|
8596
|
+
id: string;
|
8597
|
+
icon: string;
|
8598
|
+
chainId: number;
|
8599
|
+
address: string;
|
8600
|
+
decimals: number;
|
8601
|
+
verified: boolean;
|
8602
|
+
isTest: boolean;
|
8603
|
+
} & {
|
8604
|
+
price?: number | null | undefined;
|
8605
|
+
} & {
|
8606
|
+
balance: bigint;
|
8607
|
+
})[];
|
8395
8608
|
};
|
8396
8609
|
};
|
8397
8610
|
};
|
@@ -8413,7 +8626,19 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
8413
8626
|
};
|
8414
8627
|
headers: unknown;
|
8415
8628
|
response: {
|
8416
|
-
200:
|
8629
|
+
200: ({
|
8630
|
+
symbol: string;
|
8631
|
+
name: string | null;
|
8632
|
+
id: string;
|
8633
|
+
icon: string;
|
8634
|
+
chainId: number;
|
8635
|
+
address: string;
|
8636
|
+
decimals: number;
|
8637
|
+
verified: boolean;
|
8638
|
+
isTest: boolean;
|
8639
|
+
} & {
|
8640
|
+
price?: number | null | undefined;
|
8641
|
+
})[];
|
8417
8642
|
};
|
8418
8643
|
};
|
8419
8644
|
};
|
@@ -11787,8 +12012,20 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
11787
12012
|
name: string;
|
11788
12013
|
status: "PAST" | "LIVE" | "SOON";
|
11789
12014
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
11790
|
-
tokens:
|
11791
|
-
|
12015
|
+
tokens: ({
|
12016
|
+
symbol: string;
|
12017
|
+
name: string | null;
|
12018
|
+
id: string;
|
12019
|
+
icon: string;
|
12020
|
+
chainId: number;
|
12021
|
+
address: string;
|
12022
|
+
decimals: number;
|
12023
|
+
verified: boolean;
|
12024
|
+
isTest: boolean;
|
12025
|
+
} & {
|
12026
|
+
price?: number | null | undefined;
|
12027
|
+
})[];
|
12028
|
+
mainProtocol: string | undefined;
|
11792
12029
|
depositUrl: any;
|
11793
12030
|
tags: string[];
|
11794
12031
|
};
|
@@ -12183,7 +12420,19 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
12183
12420
|
};
|
12184
12421
|
id: string;
|
12185
12422
|
depositUrl: string | undefined;
|
12186
|
-
tokens:
|
12423
|
+
tokens: ({
|
12424
|
+
symbol: string;
|
12425
|
+
name: string | null;
|
12426
|
+
id: string;
|
12427
|
+
icon: string;
|
12428
|
+
chainId: number;
|
12429
|
+
address: string;
|
12430
|
+
decimals: number;
|
12431
|
+
verified: boolean;
|
12432
|
+
isTest: boolean;
|
12433
|
+
} & {
|
12434
|
+
price?: number | null | undefined;
|
12435
|
+
})[];
|
12187
12436
|
chain: {
|
12188
12437
|
name: string;
|
12189
12438
|
id: number;
|
@@ -12349,7 +12598,19 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
12349
12598
|
id: number;
|
12350
12599
|
icon: string;
|
12351
12600
|
};
|
12352
|
-
rewardToken:
|
12601
|
+
rewardToken: {
|
12602
|
+
symbol: string;
|
12603
|
+
name: string | null;
|
12604
|
+
id: string;
|
12605
|
+
icon: string;
|
12606
|
+
chainId: number;
|
12607
|
+
address: string;
|
12608
|
+
decimals: number;
|
12609
|
+
verified: boolean;
|
12610
|
+
isTest: boolean;
|
12611
|
+
} & {
|
12612
|
+
price?: number | null | undefined;
|
12613
|
+
};
|
12353
12614
|
distributionChain: {
|
12354
12615
|
name: string;
|
12355
12616
|
id: number;
|
@@ -12598,7 +12859,19 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
12598
12859
|
id: number;
|
12599
12860
|
icon: string;
|
12600
12861
|
};
|
12601
|
-
rewardToken:
|
12862
|
+
rewardToken: {
|
12863
|
+
symbol: string;
|
12864
|
+
name: string | null;
|
12865
|
+
id: string;
|
12866
|
+
icon: string;
|
12867
|
+
chainId: number;
|
12868
|
+
address: string;
|
12869
|
+
decimals: number;
|
12870
|
+
verified: boolean;
|
12871
|
+
isTest: boolean;
|
12872
|
+
} & {
|
12873
|
+
price?: number | null | undefined;
|
12874
|
+
};
|
12602
12875
|
distributionChain: {
|
12603
12876
|
name: string;
|
12604
12877
|
id: number;
|
@@ -12770,6 +13043,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
12770
13043
|
items?: number | undefined;
|
12771
13044
|
tags?: string[] | undefined;
|
12772
13045
|
page?: number | undefined;
|
13046
|
+
ids?: string[] | undefined;
|
12773
13047
|
opportunityTag?: string | undefined;
|
12774
13048
|
};
|
12775
13049
|
fetch?: RequestInit | undefined;
|
@@ -12949,7 +13223,21 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
12949
13223
|
};
|
12950
13224
|
fetch?: RequestInit | undefined;
|
12951
13225
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
12952
|
-
200:
|
13226
|
+
200: ({
|
13227
|
+
symbol: string;
|
13228
|
+
name: string | null;
|
13229
|
+
id: string;
|
13230
|
+
icon: string;
|
13231
|
+
chainId: number;
|
13232
|
+
address: string;
|
13233
|
+
decimals: number;
|
13234
|
+
verified: boolean;
|
13235
|
+
isTest: boolean;
|
13236
|
+
} & {
|
13237
|
+
price?: number | null | undefined;
|
13238
|
+
} & {
|
13239
|
+
balance: bigint;
|
13240
|
+
})[];
|
12953
13241
|
}>>;
|
12954
13242
|
};
|
12955
13243
|
index: {
|
@@ -12966,7 +13254,19 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
12966
13254
|
};
|
12967
13255
|
fetch?: RequestInit | undefined;
|
12968
13256
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
12969
|
-
200:
|
13257
|
+
200: ({
|
13258
|
+
symbol: string;
|
13259
|
+
name: string | null;
|
13260
|
+
id: string;
|
13261
|
+
icon: string;
|
13262
|
+
chainId: number;
|
13263
|
+
address: string;
|
13264
|
+
decimals: number;
|
13265
|
+
verified: boolean;
|
13266
|
+
isTest: boolean;
|
13267
|
+
} & {
|
13268
|
+
price?: number | null | undefined;
|
13269
|
+
})[];
|
12970
13270
|
}>>;
|
12971
13271
|
post: (body: {
|
12972
13272
|
isTest?: boolean | undefined;
|
@@ -14889,8 +15189,20 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14889
15189
|
name: string;
|
14890
15190
|
status: "PAST" | "LIVE" | "SOON";
|
14891
15191
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
14892
|
-
tokens:
|
14893
|
-
|
15192
|
+
tokens: ({
|
15193
|
+
symbol: string;
|
15194
|
+
name: string | null;
|
15195
|
+
id: string;
|
15196
|
+
icon: string;
|
15197
|
+
chainId: number;
|
15198
|
+
address: string;
|
15199
|
+
decimals: number;
|
15200
|
+
verified: boolean;
|
15201
|
+
isTest: boolean;
|
15202
|
+
} & {
|
15203
|
+
price?: number | null | undefined;
|
15204
|
+
})[];
|
15205
|
+
mainProtocol: string | undefined;
|
14894
15206
|
depositUrl: any;
|
14895
15207
|
tags: string[];
|
14896
15208
|
};
|
@@ -15285,7 +15597,19 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15285
15597
|
};
|
15286
15598
|
id: string;
|
15287
15599
|
depositUrl: string | undefined;
|
15288
|
-
tokens:
|
15600
|
+
tokens: ({
|
15601
|
+
symbol: string;
|
15602
|
+
name: string | null;
|
15603
|
+
id: string;
|
15604
|
+
icon: string;
|
15605
|
+
chainId: number;
|
15606
|
+
address: string;
|
15607
|
+
decimals: number;
|
15608
|
+
verified: boolean;
|
15609
|
+
isTest: boolean;
|
15610
|
+
} & {
|
15611
|
+
price?: number | null | undefined;
|
15612
|
+
})[];
|
15289
15613
|
chain: {
|
15290
15614
|
name: string;
|
15291
15615
|
id: number;
|
@@ -15451,7 +15775,19 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15451
15775
|
id: number;
|
15452
15776
|
icon: string;
|
15453
15777
|
};
|
15454
|
-
rewardToken:
|
15778
|
+
rewardToken: {
|
15779
|
+
symbol: string;
|
15780
|
+
name: string | null;
|
15781
|
+
id: string;
|
15782
|
+
icon: string;
|
15783
|
+
chainId: number;
|
15784
|
+
address: string;
|
15785
|
+
decimals: number;
|
15786
|
+
verified: boolean;
|
15787
|
+
isTest: boolean;
|
15788
|
+
} & {
|
15789
|
+
price?: number | null | undefined;
|
15790
|
+
};
|
15455
15791
|
distributionChain: {
|
15456
15792
|
name: string;
|
15457
15793
|
id: number;
|
@@ -15700,7 +16036,19 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15700
16036
|
id: number;
|
15701
16037
|
icon: string;
|
15702
16038
|
};
|
15703
|
-
rewardToken:
|
16039
|
+
rewardToken: {
|
16040
|
+
symbol: string;
|
16041
|
+
name: string | null;
|
16042
|
+
id: string;
|
16043
|
+
icon: string;
|
16044
|
+
chainId: number;
|
16045
|
+
address: string;
|
16046
|
+
decimals: number;
|
16047
|
+
verified: boolean;
|
16048
|
+
isTest: boolean;
|
16049
|
+
} & {
|
16050
|
+
price?: number | null | undefined;
|
16051
|
+
};
|
15704
16052
|
distributionChain: {
|
15705
16053
|
name: string;
|
15706
16054
|
id: number;
|
@@ -15872,6 +16220,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
15872
16220
|
items?: number | undefined;
|
15873
16221
|
tags?: string[] | undefined;
|
15874
16222
|
page?: number | undefined;
|
16223
|
+
ids?: string[] | undefined;
|
15875
16224
|
opportunityTag?: string | undefined;
|
15876
16225
|
};
|
15877
16226
|
fetch?: RequestInit | undefined;
|
@@ -16051,7 +16400,21 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16051
16400
|
};
|
16052
16401
|
fetch?: RequestInit | undefined;
|
16053
16402
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
16054
|
-
200:
|
16403
|
+
200: ({
|
16404
|
+
symbol: string;
|
16405
|
+
name: string | null;
|
16406
|
+
id: string;
|
16407
|
+
icon: string;
|
16408
|
+
chainId: number;
|
16409
|
+
address: string;
|
16410
|
+
decimals: number;
|
16411
|
+
verified: boolean;
|
16412
|
+
isTest: boolean;
|
16413
|
+
} & {
|
16414
|
+
price?: number | null | undefined;
|
16415
|
+
} & {
|
16416
|
+
balance: bigint;
|
16417
|
+
})[];
|
16055
16418
|
}>>;
|
16056
16419
|
};
|
16057
16420
|
index: {
|
@@ -16068,7 +16431,19 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
16068
16431
|
};
|
16069
16432
|
fetch?: RequestInit | undefined;
|
16070
16433
|
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
16071
|
-
200:
|
16434
|
+
200: ({
|
16435
|
+
symbol: string;
|
16436
|
+
name: string | null;
|
16437
|
+
id: string;
|
16438
|
+
icon: string;
|
16439
|
+
chainId: number;
|
16440
|
+
address: string;
|
16441
|
+
decimals: number;
|
16442
|
+
verified: boolean;
|
16443
|
+
isTest: boolean;
|
16444
|
+
} & {
|
16445
|
+
price?: number | null | undefined;
|
16446
|
+
})[];
|
16072
16447
|
}>>;
|
16073
16448
|
post: (body: {
|
16074
16449
|
isTest?: boolean | undefined;
|