@merkl/api 0.10.231 → 0.10.233
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/database/api/.generated/edge.js +6 -12
- package/dist/database/api/.generated/index-browser.js +3 -8
- package/dist/database/api/.generated/index.d.ts +156 -124
- package/dist/database/api/.generated/index.js +6 -12
- package/dist/database/api/.generated/package.json +1 -1
- package/dist/database/api/.generated/schema.prisma +3 -10
- package/dist/database/api/.generated/wasm.js +3 -8
- package/dist/database/engine/.generated/edge.js +2 -3
- package/dist/database/engine/.generated/index.js +2 -3
- package/dist/database/engine/.generated/package.json +1 -1
- package/dist/database/engine/.generated/schema.prisma +1 -1
- package/dist/src/eden/index.d.ts +142 -155
- package/dist/src/index.d.ts +52 -55
- package/dist/src/modules/v4/campaign/campaign.repository.js +3 -1
- package/dist/src/modules/v4/enso/enso.service.d.ts +1 -1
- package/dist/src/modules/v4/interaction/interaction.controller.d.ts +2 -42
- package/dist/src/modules/v4/interaction/interaction.controller.js +2 -20
- package/dist/src/modules/v4/interaction/interaction.model.d.ts +1 -0
- package/dist/src/modules/v4/interaction/interaction.model.js +1 -0
- package/dist/src/modules/v4/interaction/interaction.service.d.ts +1 -1
- package/dist/src/modules/v4/interaction/interaction.service.js +2 -2
- package/dist/src/modules/v4/kyberzap/kyberzap.model.d.ts +1 -0
- package/dist/src/modules/v4/kyberzap/kyberzap.model.js +1 -0
- package/dist/src/modules/v4/kyberzap/kyberzap.service.d.ts +1 -1
- package/dist/src/modules/v4/kyberzap/kyberzap.service.js +6 -2
- package/dist/src/modules/v4/opportunity/opportunity.controller.d.ts +5 -3
- package/dist/src/modules/v4/opportunity/opportunity.controller.js +1 -2
- package/dist/src/modules/v4/opportunity/opportunity.model.d.ts +2 -14
- package/dist/src/modules/v4/opportunity/opportunity.repository.d.ts +18 -8
- package/dist/src/modules/v4/opportunity/opportunity.service.d.ts +9 -4
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +3 -0
- package/dist/src/modules/v4/programPayload/programPayload.repository.js +95 -25
- package/dist/src/modules/v4/protocol/protocol.controller.d.ts +6 -6
- package/dist/src/modules/v4/protocol/protocol.model.d.ts +3 -15
- package/dist/src/modules/v4/protocol/protocol.model.js +3 -4
- package/dist/src/modules/v4/protocol/protocol.repository.d.ts +5 -5
- package/dist/src/modules/v4/protocol/protocol.repository.js +11 -6
- package/dist/src/modules/v4/protocol/protocol.service.d.ts +2 -2
- package/dist/src/modules/v4/reward/reward.repository.d.ts +3 -2
- package/dist/src/modules/v4/reward/reward.service.d.ts +18 -12
- package/dist/src/modules/v4/router.d.ts +52 -55
- package/dist/src/modules/v4/token/token.controller.d.ts +33 -0
- package/dist/src/modules/v4/token/token.controller.js +14 -1
- package/dist/src/modules/v4/token/token.model.d.ts +8 -0
- package/dist/src/modules/v4/token/token.model.js +7 -0
- package/dist/src/modules/v4/token/token.service.d.ts +19 -1
- package/dist/src/modules/v4/token/token.service.js +10 -0
- package/dist/src/modules/v4/user/user.controller.d.ts +6 -4
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/src/modules/v4/zyfi/zyfi.model.d.ts +0 -45
- package/dist/src/modules/v4/zyfi/zyfi.model.js +0 -1
- package/dist/src/modules/v4/zyfi/zyfi.service.d.ts +0 -30
- package/dist/src/modules/v4/zyfi/zyfi.service.js +0 -35
package/dist/src/eden/index.d.ts
CHANGED
@@ -108,7 +108,7 @@ declare const eden: {
|
|
108
108
|
url: string;
|
109
109
|
description: string;
|
110
110
|
id: string;
|
111
|
-
tags:
|
111
|
+
tags: string[];
|
112
112
|
icon: string;
|
113
113
|
} | null | undefined;
|
114
114
|
aprRecord?: {
|
@@ -208,7 +208,7 @@ declare const eden: {
|
|
208
208
|
url: string;
|
209
209
|
description: string;
|
210
210
|
id: string;
|
211
|
-
tags:
|
211
|
+
tags: string[];
|
212
212
|
icon: string;
|
213
213
|
} | null | undefined;
|
214
214
|
aprRecord?: {
|
@@ -361,6 +361,7 @@ declare const eden: {
|
|
361
361
|
identifier: string;
|
362
362
|
chainId: number;
|
363
363
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
364
|
+
depositUrl: string | null;
|
364
365
|
mainProtocolId: string | null;
|
365
366
|
tvl: number;
|
366
367
|
apr: number;
|
@@ -483,7 +484,7 @@ declare const eden: {
|
|
483
484
|
url: string;
|
484
485
|
description: string;
|
485
486
|
id: string;
|
486
|
-
tags:
|
487
|
+
tags: string[];
|
487
488
|
icon: string;
|
488
489
|
} | undefined;
|
489
490
|
name: string;
|
@@ -493,6 +494,7 @@ declare const eden: {
|
|
493
494
|
identifier: string;
|
494
495
|
chainId: number;
|
495
496
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
497
|
+
depositUrl: string | null;
|
496
498
|
tvl: number;
|
497
499
|
apr: number;
|
498
500
|
dailyRewards: number;
|
@@ -738,7 +740,7 @@ declare const eden: {
|
|
738
740
|
url: string;
|
739
741
|
description: string;
|
740
742
|
id: string;
|
741
|
-
tags:
|
743
|
+
tags: string[];
|
742
744
|
icon: string;
|
743
745
|
} | null;
|
744
746
|
}>>;
|
@@ -758,7 +760,7 @@ declare const eden: {
|
|
758
760
|
url: string;
|
759
761
|
description: string;
|
760
762
|
id: string;
|
761
|
-
tags:
|
763
|
+
tags: string[];
|
762
764
|
icon: string;
|
763
765
|
};
|
764
766
|
}>>;
|
@@ -769,7 +771,7 @@ declare const eden: {
|
|
769
771
|
query: {
|
770
772
|
id?: string | undefined;
|
771
773
|
items?: number | undefined;
|
772
|
-
tags?:
|
774
|
+
tags?: string[] | undefined;
|
773
775
|
page?: number | undefined;
|
774
776
|
opportunityTag?: string | undefined;
|
775
777
|
};
|
@@ -780,7 +782,7 @@ declare const eden: {
|
|
780
782
|
url: string;
|
781
783
|
description: string;
|
782
784
|
id: string;
|
783
|
-
tags:
|
785
|
+
tags: string[];
|
784
786
|
icon: string;
|
785
787
|
} & {})[];
|
786
788
|
}>>;
|
@@ -789,7 +791,7 @@ declare const eden: {
|
|
789
791
|
url: string;
|
790
792
|
description: string;
|
791
793
|
id: string;
|
792
|
-
tags:
|
794
|
+
tags: string[];
|
793
795
|
icon: string;
|
794
796
|
}, options: {
|
795
797
|
headers: {
|
@@ -803,7 +805,7 @@ declare const eden: {
|
|
803
805
|
url: string;
|
804
806
|
description: string;
|
805
807
|
id: string;
|
806
|
-
tags:
|
808
|
+
tags: string[];
|
807
809
|
icon: string;
|
808
810
|
};
|
809
811
|
}>>;
|
@@ -920,6 +922,32 @@ declare const eden: {
|
|
920
922
|
price?: number | null | undefined;
|
921
923
|
})[];
|
922
924
|
}>>;
|
925
|
+
post: (body: {
|
926
|
+
isTest?: boolean | undefined;
|
927
|
+
icon: string;
|
928
|
+
chainId: number;
|
929
|
+
address: string;
|
930
|
+
verified: boolean;
|
931
|
+
}, options: {
|
932
|
+
headers: {
|
933
|
+
authorization: string;
|
934
|
+
};
|
935
|
+
query?: Record<string, unknown> | undefined;
|
936
|
+
fetch?: RequestInit | undefined;
|
937
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
938
|
+
200: {
|
939
|
+
symbol: string;
|
940
|
+
name: string | null;
|
941
|
+
id: string;
|
942
|
+
icon: string;
|
943
|
+
chainId: number;
|
944
|
+
address: string;
|
945
|
+
decimals: number;
|
946
|
+
verified: boolean;
|
947
|
+
isTest: boolean;
|
948
|
+
price?: number | null | undefined;
|
949
|
+
} | undefined;
|
950
|
+
}>>;
|
923
951
|
};
|
924
952
|
count: {
|
925
953
|
get: (options: {
|
@@ -1453,7 +1481,7 @@ declare const eden: {
|
|
1453
1481
|
url: string;
|
1454
1482
|
description: string;
|
1455
1483
|
id: string;
|
1456
|
-
tags:
|
1484
|
+
tags: string[];
|
1457
1485
|
icon: string;
|
1458
1486
|
}[];
|
1459
1487
|
MainProtocol: {
|
@@ -1461,7 +1489,7 @@ declare const eden: {
|
|
1461
1489
|
url: string;
|
1462
1490
|
description: string;
|
1463
1491
|
id: string;
|
1464
|
-
tags:
|
1492
|
+
tags: string[];
|
1465
1493
|
icon: string;
|
1466
1494
|
} | null;
|
1467
1495
|
} & {
|
@@ -1473,6 +1501,7 @@ declare const eden: {
|
|
1473
1501
|
identifier: string;
|
1474
1502
|
chainId: number;
|
1475
1503
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
1504
|
+
depositUrl: string | null;
|
1476
1505
|
mainProtocolId: string | null;
|
1477
1506
|
tvl: number;
|
1478
1507
|
apr: number;
|
@@ -1557,7 +1586,7 @@ declare const eden: {
|
|
1557
1586
|
url: string;
|
1558
1587
|
description: string;
|
1559
1588
|
id: string;
|
1560
|
-
tags:
|
1589
|
+
tags: string[];
|
1561
1590
|
icon: string;
|
1562
1591
|
}[];
|
1563
1592
|
MainProtocol: {
|
@@ -1565,7 +1594,7 @@ declare const eden: {
|
|
1565
1594
|
url: string;
|
1566
1595
|
description: string;
|
1567
1596
|
id: string;
|
1568
|
-
tags:
|
1597
|
+
tags: string[];
|
1569
1598
|
icon: string;
|
1570
1599
|
} | null;
|
1571
1600
|
} & {
|
@@ -1577,6 +1606,7 @@ declare const eden: {
|
|
1577
1606
|
identifier: string;
|
1578
1607
|
chainId: number;
|
1579
1608
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
1609
|
+
depositUrl: string | null;
|
1580
1610
|
mainProtocolId: string | null;
|
1581
1611
|
tvl: number;
|
1582
1612
|
apr: number;
|
@@ -1765,7 +1795,7 @@ declare const eden: {
|
|
1765
1795
|
url: string;
|
1766
1796
|
description: string;
|
1767
1797
|
id: string;
|
1768
|
-
tags:
|
1798
|
+
tags: string[];
|
1769
1799
|
icon: string;
|
1770
1800
|
} & {})[];
|
1771
1801
|
}>>;
|
@@ -1774,6 +1804,7 @@ declare const eden: {
|
|
1774
1804
|
get: (options: {
|
1775
1805
|
headers?: Record<string, unknown> | undefined;
|
1776
1806
|
query: {
|
1807
|
+
slippage?: number | undefined;
|
1777
1808
|
identifier: string;
|
1778
1809
|
chainId: number;
|
1779
1810
|
protocolId: string;
|
@@ -1792,42 +1823,6 @@ declare const eden: {
|
|
1792
1823
|
} | undefined;
|
1793
1824
|
}>>;
|
1794
1825
|
};
|
1795
|
-
sponsored: {
|
1796
|
-
get: (options: {
|
1797
|
-
headers?: Record<string, unknown> | undefined;
|
1798
|
-
query: {
|
1799
|
-
identifier: string;
|
1800
|
-
chainId: number;
|
1801
|
-
protocolId: string;
|
1802
|
-
userAddress: string;
|
1803
|
-
fromAmount: string;
|
1804
|
-
fromTokenAddress: string;
|
1805
|
-
};
|
1806
|
-
fetch?: RequestInit | undefined;
|
1807
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
1808
|
-
200: {
|
1809
|
-
expirationTime: string;
|
1810
|
-
expiresIn: string;
|
1811
|
-
feeTokenAmount: string;
|
1812
|
-
feeTokendecimals: string;
|
1813
|
-
feeUSD: string;
|
1814
|
-
gasLimit: string;
|
1815
|
-
gasPrice: string;
|
1816
|
-
markup: string;
|
1817
|
-
maxNonce: string;
|
1818
|
-
protocolAddress: string;
|
1819
|
-
sponsorshipRatio: string;
|
1820
|
-
tokenAddress: string;
|
1821
|
-
tokenPrice: string;
|
1822
|
-
txData: {
|
1823
|
-
from: string;
|
1824
|
-
to: string;
|
1825
|
-
data: string;
|
1826
|
-
};
|
1827
|
-
warnings: string[];
|
1828
|
-
} | undefined;
|
1829
|
-
}>>;
|
1830
|
-
};
|
1831
1826
|
};
|
1832
1827
|
accounting: {
|
1833
1828
|
index: {
|
@@ -3008,7 +3003,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3008
3003
|
url: string;
|
3009
3004
|
description: string;
|
3010
3005
|
id: string;
|
3011
|
-
tags:
|
3006
|
+
tags: string[];
|
3012
3007
|
icon: string;
|
3013
3008
|
} | undefined;
|
3014
3009
|
name: string;
|
@@ -3018,6 +3013,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3018
3013
|
identifier: string;
|
3019
3014
|
chainId: number;
|
3020
3015
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
3016
|
+
depositUrl: string | null;
|
3021
3017
|
tvl: number;
|
3022
3018
|
apr: number;
|
3023
3019
|
dailyRewards: number;
|
@@ -3071,7 +3067,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3071
3067
|
url: string;
|
3072
3068
|
description: string;
|
3073
3069
|
id: string;
|
3074
|
-
tags:
|
3070
|
+
tags: string[];
|
3075
3071
|
icon: string;
|
3076
3072
|
} | null | undefined;
|
3077
3073
|
aprRecord?: {
|
@@ -3180,7 +3176,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3180
3176
|
url: string;
|
3181
3177
|
description: string;
|
3182
3178
|
id: string;
|
3183
|
-
tags:
|
3179
|
+
tags: string[];
|
3184
3180
|
icon: string;
|
3185
3181
|
} | null | undefined;
|
3186
3182
|
aprRecord?: {
|
@@ -3376,6 +3372,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3376
3372
|
identifier: string;
|
3377
3373
|
chainId: number;
|
3378
3374
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
3375
|
+
depositUrl: string | null;
|
3379
3376
|
mainProtocolId: string | null;
|
3380
3377
|
tvl: number;
|
3381
3378
|
apr: number;
|
@@ -3597,7 +3594,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3597
3594
|
query: {
|
3598
3595
|
id?: string | undefined;
|
3599
3596
|
items?: number | undefined;
|
3600
|
-
tags?:
|
3597
|
+
tags?: string[] | undefined;
|
3601
3598
|
page?: number | undefined;
|
3602
3599
|
opportunityTag?: string | undefined;
|
3603
3600
|
};
|
@@ -3608,7 +3605,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3608
3605
|
url: string;
|
3609
3606
|
description: string;
|
3610
3607
|
id: string;
|
3611
|
-
tags:
|
3608
|
+
tags: string[];
|
3612
3609
|
icon: string;
|
3613
3610
|
} & {})[];
|
3614
3611
|
};
|
@@ -3645,7 +3642,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3645
3642
|
url: string;
|
3646
3643
|
description: string;
|
3647
3644
|
id: string;
|
3648
|
-
tags:
|
3645
|
+
tags: string[];
|
3649
3646
|
icon: string;
|
3650
3647
|
} | null;
|
3651
3648
|
};
|
@@ -3674,7 +3671,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3674
3671
|
url: string;
|
3675
3672
|
description: string;
|
3676
3673
|
id: string;
|
3677
|
-
tags:
|
3674
|
+
tags: string[];
|
3678
3675
|
icon: string;
|
3679
3676
|
};
|
3680
3677
|
};
|
@@ -3690,7 +3687,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3690
3687
|
url: string;
|
3691
3688
|
description: string;
|
3692
3689
|
id: string;
|
3693
|
-
tags:
|
3690
|
+
tags: string[];
|
3694
3691
|
icon: string;
|
3695
3692
|
};
|
3696
3693
|
params: {};
|
@@ -3704,7 +3701,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3704
3701
|
url: string;
|
3705
3702
|
description: string;
|
3706
3703
|
id: string;
|
3707
|
-
tags:
|
3704
|
+
tags: string[];
|
3708
3705
|
icon: string;
|
3709
3706
|
};
|
3710
3707
|
};
|
@@ -3827,6 +3824,39 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
3827
3824
|
};
|
3828
3825
|
};
|
3829
3826
|
};
|
3827
|
+
} & {
|
3828
|
+
tokens: {
|
3829
|
+
index: {
|
3830
|
+
post: {
|
3831
|
+
body: {
|
3832
|
+
isTest?: boolean | undefined;
|
3833
|
+
icon: string;
|
3834
|
+
chainId: number;
|
3835
|
+
address: string;
|
3836
|
+
verified: boolean;
|
3837
|
+
};
|
3838
|
+
params: {};
|
3839
|
+
query: unknown;
|
3840
|
+
headers: {
|
3841
|
+
authorization: string;
|
3842
|
+
};
|
3843
|
+
response: {
|
3844
|
+
200: {
|
3845
|
+
symbol: string;
|
3846
|
+
name: string | null;
|
3847
|
+
id: string;
|
3848
|
+
icon: string;
|
3849
|
+
chainId: number;
|
3850
|
+
address: string;
|
3851
|
+
decimals: number;
|
3852
|
+
verified: boolean;
|
3853
|
+
isTest: boolean;
|
3854
|
+
price?: number | null | undefined;
|
3855
|
+
} | undefined;
|
3856
|
+
};
|
3857
|
+
};
|
3858
|
+
};
|
3859
|
+
};
|
3830
3860
|
} & {
|
3831
3861
|
tokens: {
|
3832
3862
|
":id": {
|
@@ -4575,7 +4605,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4575
4605
|
url: string;
|
4576
4606
|
description: string;
|
4577
4607
|
id: string;
|
4578
|
-
tags:
|
4608
|
+
tags: string[];
|
4579
4609
|
icon: string;
|
4580
4610
|
}[];
|
4581
4611
|
MainProtocol: {
|
@@ -4583,7 +4613,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4583
4613
|
url: string;
|
4584
4614
|
description: string;
|
4585
4615
|
id: string;
|
4586
|
-
tags:
|
4616
|
+
tags: string[];
|
4587
4617
|
icon: string;
|
4588
4618
|
} | null;
|
4589
4619
|
} & {
|
@@ -4595,6 +4625,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4595
4625
|
identifier: string;
|
4596
4626
|
chainId: number;
|
4597
4627
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
4628
|
+
depositUrl: string | null;
|
4598
4629
|
mainProtocolId: string | null;
|
4599
4630
|
tvl: number;
|
4600
4631
|
apr: number;
|
@@ -4690,7 +4721,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4690
4721
|
url: string;
|
4691
4722
|
description: string;
|
4692
4723
|
id: string;
|
4693
|
-
tags:
|
4724
|
+
tags: string[];
|
4694
4725
|
icon: string;
|
4695
4726
|
}[];
|
4696
4727
|
MainProtocol: {
|
@@ -4698,7 +4729,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4698
4729
|
url: string;
|
4699
4730
|
description: string;
|
4700
4731
|
id: string;
|
4701
|
-
tags:
|
4732
|
+
tags: string[];
|
4702
4733
|
icon: string;
|
4703
4734
|
} | null;
|
4704
4735
|
} & {
|
@@ -4710,6 +4741,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4710
4741
|
identifier: string;
|
4711
4742
|
chainId: number;
|
4712
4743
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
4744
|
+
depositUrl: string | null;
|
4713
4745
|
mainProtocolId: string | null;
|
4714
4746
|
tvl: number;
|
4715
4747
|
apr: number;
|
@@ -4913,7 +4945,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4913
4945
|
url: string;
|
4914
4946
|
description: string;
|
4915
4947
|
id: string;
|
4916
|
-
tags:
|
4948
|
+
tags: string[];
|
4917
4949
|
icon: string;
|
4918
4950
|
} & {})[];
|
4919
4951
|
};
|
@@ -4927,6 +4959,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4927
4959
|
body: unknown;
|
4928
4960
|
params: {};
|
4929
4961
|
query: {
|
4962
|
+
slippage?: number | undefined;
|
4930
4963
|
identifier: string;
|
4931
4964
|
chainId: number;
|
4932
4965
|
protocolId: string;
|
@@ -4947,47 +4980,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
4947
4980
|
};
|
4948
4981
|
};
|
4949
4982
|
};
|
4950
|
-
} & {
|
4951
|
-
interaction: {
|
4952
|
-
sponsored: {
|
4953
|
-
get: {
|
4954
|
-
body: unknown;
|
4955
|
-
params: {};
|
4956
|
-
query: {
|
4957
|
-
identifier: string;
|
4958
|
-
chainId: number;
|
4959
|
-
protocolId: string;
|
4960
|
-
userAddress: string;
|
4961
|
-
fromAmount: string;
|
4962
|
-
fromTokenAddress: string;
|
4963
|
-
};
|
4964
|
-
headers: unknown;
|
4965
|
-
response: {
|
4966
|
-
200: {
|
4967
|
-
expirationTime: string;
|
4968
|
-
expiresIn: string;
|
4969
|
-
feeTokenAmount: string;
|
4970
|
-
feeTokendecimals: string;
|
4971
|
-
feeUSD: string;
|
4972
|
-
gasLimit: string;
|
4973
|
-
gasPrice: string;
|
4974
|
-
markup: string;
|
4975
|
-
maxNonce: string;
|
4976
|
-
protocolAddress: string;
|
4977
|
-
sponsorshipRatio: string;
|
4978
|
-
tokenAddress: string;
|
4979
|
-
tokenPrice: string;
|
4980
|
-
txData: {
|
4981
|
-
from: string;
|
4982
|
-
to: string;
|
4983
|
-
data: string;
|
4984
|
-
};
|
4985
|
-
warnings: string[];
|
4986
|
-
} | undefined;
|
4987
|
-
};
|
4988
|
-
};
|
4989
|
-
};
|
4990
|
-
};
|
4991
4983
|
};
|
4992
4984
|
} & {
|
4993
4985
|
v4: {
|
@@ -6296,7 +6288,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6296
6288
|
url: string;
|
6297
6289
|
description: string;
|
6298
6290
|
id: string;
|
6299
|
-
tags:
|
6291
|
+
tags: string[];
|
6300
6292
|
icon: string;
|
6301
6293
|
} | null | undefined;
|
6302
6294
|
aprRecord?: {
|
@@ -6396,7 +6388,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6396
6388
|
url: string;
|
6397
6389
|
description: string;
|
6398
6390
|
id: string;
|
6399
|
-
tags:
|
6391
|
+
tags: string[];
|
6400
6392
|
icon: string;
|
6401
6393
|
} | null | undefined;
|
6402
6394
|
aprRecord?: {
|
@@ -6549,6 +6541,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6549
6541
|
identifier: string;
|
6550
6542
|
chainId: number;
|
6551
6543
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
6544
|
+
depositUrl: string | null;
|
6552
6545
|
mainProtocolId: string | null;
|
6553
6546
|
tvl: number;
|
6554
6547
|
apr: number;
|
@@ -6671,7 +6664,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6671
6664
|
url: string;
|
6672
6665
|
description: string;
|
6673
6666
|
id: string;
|
6674
|
-
tags:
|
6667
|
+
tags: string[];
|
6675
6668
|
icon: string;
|
6676
6669
|
} | undefined;
|
6677
6670
|
name: string;
|
@@ -6681,6 +6674,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6681
6674
|
identifier: string;
|
6682
6675
|
chainId: number;
|
6683
6676
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
6677
|
+
depositUrl: string | null;
|
6684
6678
|
tvl: number;
|
6685
6679
|
apr: number;
|
6686
6680
|
dailyRewards: number;
|
@@ -6926,7 +6920,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6926
6920
|
url: string;
|
6927
6921
|
description: string;
|
6928
6922
|
id: string;
|
6929
|
-
tags:
|
6923
|
+
tags: string[];
|
6930
6924
|
icon: string;
|
6931
6925
|
} | null;
|
6932
6926
|
}>>;
|
@@ -6946,7 +6940,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6946
6940
|
url: string;
|
6947
6941
|
description: string;
|
6948
6942
|
id: string;
|
6949
|
-
tags:
|
6943
|
+
tags: string[];
|
6950
6944
|
icon: string;
|
6951
6945
|
};
|
6952
6946
|
}>>;
|
@@ -6957,7 +6951,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6957
6951
|
query: {
|
6958
6952
|
id?: string | undefined;
|
6959
6953
|
items?: number | undefined;
|
6960
|
-
tags?:
|
6954
|
+
tags?: string[] | undefined;
|
6961
6955
|
page?: number | undefined;
|
6962
6956
|
opportunityTag?: string | undefined;
|
6963
6957
|
};
|
@@ -6968,7 +6962,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6968
6962
|
url: string;
|
6969
6963
|
description: string;
|
6970
6964
|
id: string;
|
6971
|
-
tags:
|
6965
|
+
tags: string[];
|
6972
6966
|
icon: string;
|
6973
6967
|
} & {})[];
|
6974
6968
|
}>>;
|
@@ -6977,7 +6971,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6977
6971
|
url: string;
|
6978
6972
|
description: string;
|
6979
6973
|
id: string;
|
6980
|
-
tags:
|
6974
|
+
tags: string[];
|
6981
6975
|
icon: string;
|
6982
6976
|
}, options: {
|
6983
6977
|
headers: {
|
@@ -6991,7 +6985,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
6991
6985
|
url: string;
|
6992
6986
|
description: string;
|
6993
6987
|
id: string;
|
6994
|
-
tags:
|
6988
|
+
tags: string[];
|
6995
6989
|
icon: string;
|
6996
6990
|
};
|
6997
6991
|
}>>;
|
@@ -7108,6 +7102,32 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7108
7102
|
price?: number | null | undefined;
|
7109
7103
|
})[];
|
7110
7104
|
}>>;
|
7105
|
+
post: (body: {
|
7106
|
+
isTest?: boolean | undefined;
|
7107
|
+
icon: string;
|
7108
|
+
chainId: number;
|
7109
|
+
address: string;
|
7110
|
+
verified: boolean;
|
7111
|
+
}, options: {
|
7112
|
+
headers: {
|
7113
|
+
authorization: string;
|
7114
|
+
};
|
7115
|
+
query?: Record<string, unknown> | undefined;
|
7116
|
+
fetch?: RequestInit | undefined;
|
7117
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
7118
|
+
200: {
|
7119
|
+
symbol: string;
|
7120
|
+
name: string | null;
|
7121
|
+
id: string;
|
7122
|
+
icon: string;
|
7123
|
+
chainId: number;
|
7124
|
+
address: string;
|
7125
|
+
decimals: number;
|
7126
|
+
verified: boolean;
|
7127
|
+
isTest: boolean;
|
7128
|
+
price?: number | null | undefined;
|
7129
|
+
} | undefined;
|
7130
|
+
}>>;
|
7111
7131
|
};
|
7112
7132
|
count: {
|
7113
7133
|
get: (options: {
|
@@ -7641,7 +7661,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7641
7661
|
url: string;
|
7642
7662
|
description: string;
|
7643
7663
|
id: string;
|
7644
|
-
tags:
|
7664
|
+
tags: string[];
|
7645
7665
|
icon: string;
|
7646
7666
|
}[];
|
7647
7667
|
MainProtocol: {
|
@@ -7649,7 +7669,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7649
7669
|
url: string;
|
7650
7670
|
description: string;
|
7651
7671
|
id: string;
|
7652
|
-
tags:
|
7672
|
+
tags: string[];
|
7653
7673
|
icon: string;
|
7654
7674
|
} | null;
|
7655
7675
|
} & {
|
@@ -7661,6 +7681,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7661
7681
|
identifier: string;
|
7662
7682
|
chainId: number;
|
7663
7683
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
7684
|
+
depositUrl: string | null;
|
7664
7685
|
mainProtocolId: string | null;
|
7665
7686
|
tvl: number;
|
7666
7687
|
apr: number;
|
@@ -7745,7 +7766,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7745
7766
|
url: string;
|
7746
7767
|
description: string;
|
7747
7768
|
id: string;
|
7748
|
-
tags:
|
7769
|
+
tags: string[];
|
7749
7770
|
icon: string;
|
7750
7771
|
}[];
|
7751
7772
|
MainProtocol: {
|
@@ -7753,7 +7774,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7753
7774
|
url: string;
|
7754
7775
|
description: string;
|
7755
7776
|
id: string;
|
7756
|
-
tags:
|
7777
|
+
tags: string[];
|
7757
7778
|
icon: string;
|
7758
7779
|
} | null;
|
7759
7780
|
} & {
|
@@ -7765,6 +7786,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7765
7786
|
identifier: string;
|
7766
7787
|
chainId: number;
|
7767
7788
|
action: import("../../database/api/.generated").$Enums.OpportunityAction;
|
7789
|
+
depositUrl: string | null;
|
7768
7790
|
mainProtocolId: string | null;
|
7769
7791
|
tvl: number;
|
7770
7792
|
apr: number;
|
@@ -7953,7 +7975,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7953
7975
|
url: string;
|
7954
7976
|
description: string;
|
7955
7977
|
id: string;
|
7956
|
-
tags:
|
7978
|
+
tags: string[];
|
7957
7979
|
icon: string;
|
7958
7980
|
} & {})[];
|
7959
7981
|
}>>;
|
@@ -7962,6 +7984,7 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7962
7984
|
get: (options: {
|
7963
7985
|
headers?: Record<string, unknown> | undefined;
|
7964
7986
|
query: {
|
7987
|
+
slippage?: number | undefined;
|
7965
7988
|
identifier: string;
|
7966
7989
|
chainId: number;
|
7967
7990
|
protocolId: string;
|
@@ -7980,42 +8003,6 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
7980
8003
|
} | undefined;
|
7981
8004
|
}>>;
|
7982
8005
|
};
|
7983
|
-
sponsored: {
|
7984
|
-
get: (options: {
|
7985
|
-
headers?: Record<string, unknown> | undefined;
|
7986
|
-
query: {
|
7987
|
-
identifier: string;
|
7988
|
-
chainId: number;
|
7989
|
-
protocolId: string;
|
7990
|
-
userAddress: string;
|
7991
|
-
fromAmount: string;
|
7992
|
-
fromTokenAddress: string;
|
7993
|
-
};
|
7994
|
-
fetch?: RequestInit | undefined;
|
7995
|
-
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
7996
|
-
200: {
|
7997
|
-
expirationTime: string;
|
7998
|
-
expiresIn: string;
|
7999
|
-
feeTokenAmount: string;
|
8000
|
-
feeTokendecimals: string;
|
8001
|
-
feeUSD: string;
|
8002
|
-
gasLimit: string;
|
8003
|
-
gasPrice: string;
|
8004
|
-
markup: string;
|
8005
|
-
maxNonce: string;
|
8006
|
-
protocolAddress: string;
|
8007
|
-
sponsorshipRatio: string;
|
8008
|
-
tokenAddress: string;
|
8009
|
-
tokenPrice: string;
|
8010
|
-
txData: {
|
8011
|
-
from: string;
|
8012
|
-
to: string;
|
8013
|
-
data: string;
|
8014
|
-
};
|
8015
|
-
warnings: string[];
|
8016
|
-
} | undefined;
|
8017
|
-
}>>;
|
8018
|
-
};
|
8019
8006
|
};
|
8020
8007
|
accounting: {
|
8021
8008
|
index: {
|