@merkl/api 0.15.26 → 0.15.27
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 +152 -125
- package/dist/src/index.d.ts +32 -25
- package/dist/src/modules/v4/boost/boost.controller.d.ts +32 -25
- package/dist/src/modules/v4/boost/boost.controller.js +4 -3
- package/dist/src/modules/v4/boost/boost.model.d.ts +6 -0
- package/dist/src/modules/v4/boost/boost.model.js +4 -0
- package/dist/src/modules/v4/boost/boost.service.d.ts +6 -1
- package/dist/src/modules/v4/boost/boost.service.js +33 -1
- package/dist/src/modules/v4/programPayload/programPayload.repository.d.ts +22 -2
- package/dist/src/modules/v4/programPayload/programPayload.repository.js +403 -42
- package/dist/src/modules/v4/router.d.ts +32 -25
- package/dist/tsconfig.package.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/src/eden/index.d.ts
CHANGED
@@ -2995,32 +2995,37 @@ declare const eden: {
|
|
2995
2995
|
}[];
|
2996
2996
|
}>>;
|
2997
2997
|
};
|
2998
|
-
|
2999
|
-
|
3000
|
-
|
3001
|
-
score: string;
|
3002
|
-
}[] | {
|
3003
|
-
addresses: string[];
|
3004
|
-
}, options?: {
|
3005
|
-
headers?: Record<string, unknown> | undefined;
|
3006
|
-
query?: Record<string, unknown> | undefined;
|
3007
|
-
fetch?: RequestInit | undefined;
|
3008
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
3009
|
-
200: {
|
3010
|
-
address: string;
|
3011
|
-
boost: string;
|
3012
|
-
}[];
|
3013
|
-
}>>;
|
3014
|
-
get: (options?: {
|
3015
|
-
headers?: Record<string, unknown> | undefined;
|
3016
|
-
query?: Record<string, unknown> | undefined;
|
3017
|
-
fetch?: RequestInit | undefined;
|
3018
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
3019
|
-
200: {
|
2998
|
+
openblock: {
|
2999
|
+
zksync: {
|
3000
|
+
post: (body: {
|
3020
3001
|
address: string;
|
3021
|
-
|
3022
|
-
}[]
|
3023
|
-
|
3002
|
+
score: string;
|
3003
|
+
}[] | {
|
3004
|
+
addresses: string[];
|
3005
|
+
}, options: {
|
3006
|
+
headers?: Record<string, unknown> | undefined;
|
3007
|
+
query: {
|
3008
|
+
protocol: string;
|
3009
|
+
target: string;
|
3010
|
+
};
|
3011
|
+
fetch?: RequestInit | undefined;
|
3012
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
3013
|
+
200: {
|
3014
|
+
address: string;
|
3015
|
+
boost: string;
|
3016
|
+
}[];
|
3017
|
+
}>>;
|
3018
|
+
get: (options?: {
|
3019
|
+
headers?: Record<string, unknown> | undefined;
|
3020
|
+
query?: Record<string, unknown> | undefined;
|
3021
|
+
fetch?: RequestInit | undefined;
|
3022
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
3023
|
+
200: {
|
3024
|
+
address: string;
|
3025
|
+
boost: string;
|
3026
|
+
}[];
|
3027
|
+
}>>;
|
3028
|
+
};
|
3024
3029
|
};
|
3025
3030
|
};
|
3026
3031
|
value: {
|
@@ -6067,32 +6072,37 @@ declare const eden: {
|
|
6067
6072
|
}[];
|
6068
6073
|
}>>;
|
6069
6074
|
};
|
6070
|
-
|
6071
|
-
|
6072
|
-
|
6073
|
-
score: string;
|
6074
|
-
}[] | {
|
6075
|
-
addresses: string[];
|
6076
|
-
}, options?: {
|
6077
|
-
headers?: Record<string, unknown> | undefined;
|
6078
|
-
query?: Record<string, unknown> | undefined;
|
6079
|
-
fetch?: RequestInit | undefined;
|
6080
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
6081
|
-
200: {
|
6082
|
-
address: string;
|
6083
|
-
boost: string;
|
6084
|
-
}[];
|
6085
|
-
}>>;
|
6086
|
-
get: (options?: {
|
6087
|
-
headers?: Record<string, unknown> | undefined;
|
6088
|
-
query?: Record<string, unknown> | undefined;
|
6089
|
-
fetch?: RequestInit | undefined;
|
6090
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
6091
|
-
200: {
|
6075
|
+
openblock: {
|
6076
|
+
zksync: {
|
6077
|
+
post: (body: {
|
6092
6078
|
address: string;
|
6093
|
-
|
6094
|
-
}[]
|
6095
|
-
|
6079
|
+
score: string;
|
6080
|
+
}[] | {
|
6081
|
+
addresses: string[];
|
6082
|
+
}, options: {
|
6083
|
+
headers?: Record<string, unknown> | undefined;
|
6084
|
+
query: {
|
6085
|
+
protocol: string;
|
6086
|
+
target: string;
|
6087
|
+
};
|
6088
|
+
fetch?: RequestInit | undefined;
|
6089
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
6090
|
+
200: {
|
6091
|
+
address: string;
|
6092
|
+
boost: string;
|
6093
|
+
}[];
|
6094
|
+
}>>;
|
6095
|
+
get: (options?: {
|
6096
|
+
headers?: Record<string, unknown> | undefined;
|
6097
|
+
query?: Record<string, unknown> | undefined;
|
6098
|
+
fetch?: RequestInit | undefined;
|
6099
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
6100
|
+
200: {
|
6101
|
+
address: string;
|
6102
|
+
boost: string;
|
6103
|
+
}[];
|
6104
|
+
}>>;
|
6105
|
+
};
|
6096
6106
|
};
|
6097
6107
|
};
|
6098
6108
|
value: {
|
@@ -10540,39 +10550,46 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
10540
10550
|
};
|
10541
10551
|
} & {
|
10542
10552
|
boosts: {
|
10543
|
-
|
10544
|
-
|
10545
|
-
|
10546
|
-
|
10547
|
-
|
10548
|
-
|
10549
|
-
score: string;
|
10550
|
-
}[];
|
10551
|
-
params: {};
|
10552
|
-
query: unknown;
|
10553
|
-
headers: unknown;
|
10554
|
-
response: {
|
10555
|
-
200: {
|
10553
|
+
openblock: {
|
10554
|
+
zksync: {
|
10555
|
+
post: {
|
10556
|
+
body: {
|
10557
|
+
addresses: string[];
|
10558
|
+
} | {
|
10556
10559
|
address: string;
|
10557
|
-
|
10560
|
+
score: string;
|
10558
10561
|
}[];
|
10562
|
+
params: {};
|
10563
|
+
query: {
|
10564
|
+
protocol: string;
|
10565
|
+
target: string;
|
10566
|
+
};
|
10567
|
+
headers: unknown;
|
10568
|
+
response: {
|
10569
|
+
200: {
|
10570
|
+
address: string;
|
10571
|
+
boost: string;
|
10572
|
+
}[];
|
10573
|
+
};
|
10559
10574
|
};
|
10560
10575
|
};
|
10561
10576
|
};
|
10562
10577
|
};
|
10563
10578
|
} & {
|
10564
10579
|
boosts: {
|
10565
|
-
|
10566
|
-
|
10567
|
-
|
10568
|
-
|
10569
|
-
|
10570
|
-
|
10571
|
-
|
10572
|
-
|
10573
|
-
|
10574
|
-
|
10575
|
-
|
10580
|
+
openblock: {
|
10581
|
+
zksync: {
|
10582
|
+
get: {
|
10583
|
+
body: unknown;
|
10584
|
+
params: {};
|
10585
|
+
query: unknown;
|
10586
|
+
headers: unknown;
|
10587
|
+
response: {
|
10588
|
+
200: {
|
10589
|
+
address: string;
|
10590
|
+
boost: string;
|
10591
|
+
}[];
|
10592
|
+
};
|
10576
10593
|
};
|
10577
10594
|
};
|
10578
10595
|
};
|
@@ -14558,32 +14575,37 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
14558
14575
|
}[];
|
14559
14576
|
}>>;
|
14560
14577
|
};
|
14561
|
-
|
14562
|
-
|
14563
|
-
|
14564
|
-
score: string;
|
14565
|
-
}[] | {
|
14566
|
-
addresses: string[];
|
14567
|
-
}, options?: {
|
14568
|
-
headers?: Record<string, unknown> | undefined;
|
14569
|
-
query?: Record<string, unknown> | undefined;
|
14570
|
-
fetch?: RequestInit | undefined;
|
14571
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14572
|
-
200: {
|
14573
|
-
address: string;
|
14574
|
-
boost: string;
|
14575
|
-
}[];
|
14576
|
-
}>>;
|
14577
|
-
get: (options?: {
|
14578
|
-
headers?: Record<string, unknown> | undefined;
|
14579
|
-
query?: Record<string, unknown> | undefined;
|
14580
|
-
fetch?: RequestInit | undefined;
|
14581
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14582
|
-
200: {
|
14578
|
+
openblock: {
|
14579
|
+
zksync: {
|
14580
|
+
post: (body: {
|
14583
14581
|
address: string;
|
14584
|
-
|
14585
|
-
}[]
|
14586
|
-
|
14582
|
+
score: string;
|
14583
|
+
}[] | {
|
14584
|
+
addresses: string[];
|
14585
|
+
}, options: {
|
14586
|
+
headers?: Record<string, unknown> | undefined;
|
14587
|
+
query: {
|
14588
|
+
protocol: string;
|
14589
|
+
target: string;
|
14590
|
+
};
|
14591
|
+
fetch?: RequestInit | undefined;
|
14592
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14593
|
+
200: {
|
14594
|
+
address: string;
|
14595
|
+
boost: string;
|
14596
|
+
}[];
|
14597
|
+
}>>;
|
14598
|
+
get: (options?: {
|
14599
|
+
headers?: Record<string, unknown> | undefined;
|
14600
|
+
query?: Record<string, unknown> | undefined;
|
14601
|
+
fetch?: RequestInit | undefined;
|
14602
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
14603
|
+
200: {
|
14604
|
+
address: string;
|
14605
|
+
boost: string;
|
14606
|
+
}[];
|
14607
|
+
}>>;
|
14608
|
+
};
|
14587
14609
|
};
|
14588
14610
|
};
|
14589
14611
|
value: {
|
@@ -17630,32 +17652,37 @@ export declare const MerklApi: (domain: string | import("elysia").default<"", fa
|
|
17630
17652
|
}[];
|
17631
17653
|
}>>;
|
17632
17654
|
};
|
17633
|
-
|
17634
|
-
|
17635
|
-
|
17636
|
-
score: string;
|
17637
|
-
}[] | {
|
17638
|
-
addresses: string[];
|
17639
|
-
}, options?: {
|
17640
|
-
headers?: Record<string, unknown> | undefined;
|
17641
|
-
query?: Record<string, unknown> | undefined;
|
17642
|
-
fetch?: RequestInit | undefined;
|
17643
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17644
|
-
200: {
|
17645
|
-
address: string;
|
17646
|
-
boost: string;
|
17647
|
-
}[];
|
17648
|
-
}>>;
|
17649
|
-
get: (options?: {
|
17650
|
-
headers?: Record<string, unknown> | undefined;
|
17651
|
-
query?: Record<string, unknown> | undefined;
|
17652
|
-
fetch?: RequestInit | undefined;
|
17653
|
-
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17654
|
-
200: {
|
17655
|
+
openblock: {
|
17656
|
+
zksync: {
|
17657
|
+
post: (body: {
|
17655
17658
|
address: string;
|
17656
|
-
|
17657
|
-
}[]
|
17658
|
-
|
17659
|
+
score: string;
|
17660
|
+
}[] | {
|
17661
|
+
addresses: string[];
|
17662
|
+
}, options: {
|
17663
|
+
headers?: Record<string, unknown> | undefined;
|
17664
|
+
query: {
|
17665
|
+
protocol: string;
|
17666
|
+
target: string;
|
17667
|
+
};
|
17668
|
+
fetch?: RequestInit | undefined;
|
17669
|
+
}) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17670
|
+
200: {
|
17671
|
+
address: string;
|
17672
|
+
boost: string;
|
17673
|
+
}[];
|
17674
|
+
}>>;
|
17675
|
+
get: (options?: {
|
17676
|
+
headers?: Record<string, unknown> | undefined;
|
17677
|
+
query?: Record<string, unknown> | undefined;
|
17678
|
+
fetch?: RequestInit | undefined;
|
17679
|
+
} | undefined) => Promise<import("@elysiajs/eden").Treaty.TreatyResponse<{
|
17680
|
+
200: {
|
17681
|
+
address: string;
|
17682
|
+
boost: string;
|
17683
|
+
}[];
|
17684
|
+
}>>;
|
17685
|
+
};
|
17659
17686
|
};
|
17660
17687
|
};
|
17661
17688
|
value: {
|
package/dist/src/index.d.ts
CHANGED
@@ -3698,39 +3698,46 @@ declare const app: Elysia<"", false, {
|
|
3698
3698
|
};
|
3699
3699
|
} & {
|
3700
3700
|
boosts: {
|
3701
|
-
|
3702
|
-
|
3703
|
-
|
3704
|
-
|
3705
|
-
|
3706
|
-
|
3707
|
-
score: string;
|
3708
|
-
}[];
|
3709
|
-
params: {};
|
3710
|
-
query: unknown;
|
3711
|
-
headers: unknown;
|
3712
|
-
response: {
|
3713
|
-
200: {
|
3701
|
+
openblock: {
|
3702
|
+
zksync: {
|
3703
|
+
post: {
|
3704
|
+
body: {
|
3705
|
+
addresses: string[];
|
3706
|
+
} | {
|
3714
3707
|
address: string;
|
3715
|
-
|
3708
|
+
score: string;
|
3716
3709
|
}[];
|
3710
|
+
params: {};
|
3711
|
+
query: {
|
3712
|
+
protocol: string;
|
3713
|
+
target: string;
|
3714
|
+
};
|
3715
|
+
headers: unknown;
|
3716
|
+
response: {
|
3717
|
+
200: {
|
3718
|
+
address: string;
|
3719
|
+
boost: string;
|
3720
|
+
}[];
|
3721
|
+
};
|
3717
3722
|
};
|
3718
3723
|
};
|
3719
3724
|
};
|
3720
3725
|
};
|
3721
3726
|
} & {
|
3722
3727
|
boosts: {
|
3723
|
-
|
3724
|
-
|
3725
|
-
|
3726
|
-
|
3727
|
-
|
3728
|
-
|
3729
|
-
|
3730
|
-
|
3731
|
-
|
3732
|
-
|
3733
|
-
|
3728
|
+
openblock: {
|
3729
|
+
zksync: {
|
3730
|
+
get: {
|
3731
|
+
body: unknown;
|
3732
|
+
params: {};
|
3733
|
+
query: unknown;
|
3734
|
+
headers: unknown;
|
3735
|
+
response: {
|
3736
|
+
200: {
|
3737
|
+
address: string;
|
3738
|
+
boost: string;
|
3739
|
+
}[];
|
3740
|
+
};
|
3734
3741
|
};
|
3735
3742
|
};
|
3736
3743
|
};
|
@@ -52,39 +52,46 @@ export declare const BoostController: Elysia<"/boosts", false, {
|
|
52
52
|
};
|
53
53
|
} & {
|
54
54
|
boosts: {
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
score: string;
|
62
|
-
}[];
|
63
|
-
params: {};
|
64
|
-
query: unknown;
|
65
|
-
headers: unknown;
|
66
|
-
response: {
|
67
|
-
200: {
|
55
|
+
openblock: {
|
56
|
+
zksync: {
|
57
|
+
post: {
|
58
|
+
body: {
|
59
|
+
addresses: string[];
|
60
|
+
} | {
|
68
61
|
address: string;
|
69
|
-
|
62
|
+
score: string;
|
70
63
|
}[];
|
64
|
+
params: {};
|
65
|
+
query: {
|
66
|
+
protocol: string;
|
67
|
+
target: string;
|
68
|
+
};
|
69
|
+
headers: unknown;
|
70
|
+
response: {
|
71
|
+
200: {
|
72
|
+
address: string;
|
73
|
+
boost: string;
|
74
|
+
}[];
|
75
|
+
};
|
71
76
|
};
|
72
77
|
};
|
73
78
|
};
|
74
79
|
};
|
75
80
|
} & {
|
76
81
|
boosts: {
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
82
|
+
openblock: {
|
83
|
+
zksync: {
|
84
|
+
get: {
|
85
|
+
body: unknown;
|
86
|
+
params: {};
|
87
|
+
query: unknown;
|
88
|
+
headers: unknown;
|
89
|
+
response: {
|
90
|
+
200: {
|
91
|
+
address: string;
|
92
|
+
boost: string;
|
93
|
+
}[];
|
94
|
+
};
|
88
95
|
};
|
89
96
|
};
|
90
97
|
};
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import Elysia from "elysia";
|
2
|
-
import { getEulerBoostBody } from "./boost.model";
|
2
|
+
import { getEulerBoostBody, getZksyncBoost } from "./boost.model";
|
3
3
|
import { BoostService } from "./boost.service";
|
4
4
|
export const BoostController = new Elysia({ prefix: "/boosts", detail: { tags: ["Boosts"], hide: true } })
|
5
5
|
// ─── Get Euler Boost ─────────────────────────────────────────────────
|
@@ -8,8 +8,9 @@ export const BoostController = new Elysia({ prefix: "/boosts", detail: { tags: [
|
|
8
8
|
detail: { hide: true },
|
9
9
|
})
|
10
10
|
.get("/euler", async () => BoostService.getEulerBoost())
|
11
|
-
.post("/
|
11
|
+
.post("/openblock/zksync", async ({ query, body }) => BoostService.getOpenBlockBoost(query, body), {
|
12
|
+
query: getZksyncBoost,
|
12
13
|
body: getEulerBoostBody,
|
13
14
|
detail: { hide: true },
|
14
15
|
})
|
15
|
-
.get("/
|
16
|
+
.get("/openblock/zksync", async () => BoostService.getOpenBlockBoostDefault());
|
@@ -4,3 +4,9 @@ export declare const getEulerBoostBody: import("@sinclair/typebox").TUnion<[impo
|
|
4
4
|
address: import("@sinclair/typebox").TString;
|
5
5
|
score: import("@sinclair/typebox").TString;
|
6
6
|
}>>]>;
|
7
|
+
export declare const getZksyncBoost: import("@sinclair/typebox").TObject<{
|
8
|
+
protocol: import("@sinclair/typebox").TString;
|
9
|
+
target: import("@sinclair/typebox").TString;
|
10
|
+
}>;
|
11
|
+
export type getZksyncBoostModel = typeof getZksyncBoost.static;
|
12
|
+
export type getEulerBoostBodyModel = typeof getEulerBoostBody.static;
|
@@ -1,9 +1,14 @@
|
|
1
|
+
import type { getEulerBoostBodyModel, getZksyncBoostModel } from "./boost.model";
|
1
2
|
export declare class BoostService {
|
2
3
|
static getEulerBoost(): Promise<{
|
3
4
|
address: string;
|
4
5
|
boost: string;
|
5
6
|
}[]>;
|
6
|
-
static getOpenBlockBoost(): Promise<{
|
7
|
+
static getOpenBlockBoost(query: getZksyncBoostModel, body: getEulerBoostBodyModel): Promise<{
|
8
|
+
address: string;
|
9
|
+
boost: string;
|
10
|
+
}[]>;
|
11
|
+
static getOpenBlockBoostDefault(): Promise<{
|
7
12
|
address: string;
|
8
13
|
boost: string;
|
9
14
|
}[]>;
|
@@ -3,7 +3,39 @@ export class BoostService {
|
|
3
3
|
static async getEulerBoost() {
|
4
4
|
return (await axios.get("https://points.euler.finance/integrations/merkl/usd0multipliers")).data.map(({ address, score }) => ({ address, boost: score }));
|
5
5
|
}
|
6
|
-
static async getOpenBlockBoost() {
|
6
|
+
static async getOpenBlockBoost(query, body) {
|
7
|
+
const protocol = query.protocol;
|
8
|
+
const target = query.target;
|
9
|
+
const url = `https://www.data-openblocklabs.com/zksync/boosts/${protocol}/${target}`;
|
10
|
+
// console.log(url);
|
11
|
+
// return (
|
12
|
+
// await axios.post(url, body, {
|
13
|
+
// headers: {
|
14
|
+
// "Content-Type": "application/json",
|
15
|
+
// }}));
|
16
|
+
return [
|
17
|
+
{ address: "0x684566c9ffcac7f6a04c3a9997000d2d58c00824", boost: "0" },
|
18
|
+
{ address: "0x29dfdd80d6acc0f9028d8a6fa7d7d448342e25c1", boost: "0" },
|
19
|
+
{ address: "0x5b9effdcbd65946f2b143725dc244563248aa4ee", boost: "0" },
|
20
|
+
{ address: "0xd2262a05e225ce0c61fb699fdcf14068132dd362", boost: "0" },
|
21
|
+
{ address: "0x7da8481e24303d55f29f0c06174f18b30b81c9ac", boost: "0" },
|
22
|
+
{ address: "0x1d098a8d7fa63a39e0884b720f86f9ba8cbbeef1", boost: "0" },
|
23
|
+
{ address: "0x7f3e3d663a5f29274d0809020c675f5cc3d1429a", boost: "0" },
|
24
|
+
{ address: "0x7f04f7fdad3272b806e3d57bec445e0ece82f2ad", boost: "0" },
|
25
|
+
{ address: "0xfe769b6f39a000ff508b5baf8fbe3a1f516f258c", boost: "0" },
|
26
|
+
{ address: "0xd635736f8ac2241cdfcc3ee02d3f3bac1f78431f", boost: "0" },
|
27
|
+
{ address: "0xb38c7e2b4ba3cdc4eaea863cbb01470353c5ea16", boost: "0" },
|
28
|
+
{ address: "0xe37885b5e1187f7f618407fb0c14a3383998348e", boost: "0" },
|
29
|
+
{ address: "0xe01f660b304be815627628c38c2dcdf37f68245e", boost: "0" },
|
30
|
+
{ address: "0xe746db07d2b4babf5f2051d40987b7278414192f", boost: "0" },
|
31
|
+
{ address: "0xa0265ed27561b25c0e7ad3ed1fed74c2ee5f8cdf", boost: "0" },
|
32
|
+
{ address: "0xdf5ad5a87fceaacb1ecef40e8e61c42c92339a10", boost: "0" },
|
33
|
+
{ address: "0xc91fc9dd7f1bb6ec429eddb577b9ace6236b2147", boost: "0" },
|
34
|
+
{ address: "0x8b81420441ac3933c58d1190c8499c2f89eb1263", boost: "0" },
|
35
|
+
{ address: "0x0000000000000000000000000000000000000000", boost: "1" },
|
36
|
+
];
|
37
|
+
}
|
38
|
+
static async getOpenBlockBoostDefault() {
|
7
39
|
return [
|
8
40
|
{ address: "0x684566c9ffcac7f6a04c3a9997000d2d58c00824", boost: "0" },
|
9
41
|
{ address: "0x29dfdd80d6acc0f9028d8a6fa7d7d448342e25c1", boost: "0" },
|
@@ -4,7 +4,24 @@ export declare enum program {
|
|
4
4
|
ZkSync = "ZkSync",
|
5
5
|
Mode = "Mode",
|
6
6
|
Vicuna = "Vicuna",
|
7
|
-
Sonicmarket = "Sonicmarket"
|
7
|
+
Sonicmarket = "Sonicmarket",
|
8
|
+
Reserve = "Reserve"
|
9
|
+
}
|
10
|
+
export declare enum reserveCampaigns {
|
11
|
+
Alpha_Base_Index_Reserve = "Alpha Base Index Reserve Base 0xeBcda5b80f62DD4DD2A96357b42BB6Facbf30267",
|
12
|
+
Clanker_Index_Reserve = "Clanker Index Reserve Base 0x44551CA46Fa5592bb572E20043f7C3D54c85cAD7",
|
13
|
+
AIndex_Reserve = "AIndex Reserve Base 0xfe45EDa533e97198d9f3dEEDA9aE6c147141f6F9",
|
14
|
+
Virtual_Index_Reserve = "Virtual Index Reserve Base 0x47686106181b3CEfe4eAf94C4c10b48Ac750370b",
|
15
|
+
MarketVector_Digital_Assets_25_Index_Reserve = "MarketVector Digital Assets 25 Index Reserve Base 0xD600e748C17Ca237Fcb5967Fa13d688AFf17Be78",
|
16
|
+
Bloomberg_Galaxy_Crypto_Index_Reserve = "Bloomberg Galaxy Crypto Index Reserve Base 0x23418De10d422AD71C9D5713a2B8991a9c586443",
|
17
|
+
MarketVector_Token_Terminal_Fundamental_Index_Reserve = "MarketVector Token Terminal Fundamental Index Reserve Base 0xe8b46b116D3BdFA787CE9CF3f5aCC78dc7cA380E",
|
18
|
+
Base_MemeIndexer_DTF_Reserve = "Base MemeIndexer DTF Reserve Base 0xb8753941196692E322846cfEE9C14C97AC81928A",
|
19
|
+
Large_Cap_DeFi_Index_Reserve = "Large Cap DeFi Index Reserve Mainnet 0x20d81101D254729a6E689418526bE31e2c544290",
|
20
|
+
DeFi_Growth_Index_Reserve = "DeFi Growth Index Reserve Mainnet 0x9a1741E151233a82Cf69209A2F1bC7442B1fB29C",
|
21
|
+
CoinDesk_DeFi_Select_Index_Reserve = "CoinDesk DeFi Select Index Reserve Mainnet 0x188D12Eb13a5Eadd0867074ce8354B1AD6f4790b",
|
22
|
+
RWA_Index_Reserve = "RWA Index Reserve Mainnet 0xA5cdea03B11042fc10B52aF9eCa48bb17A2107d2",
|
23
|
+
Imagine_the_SMEL_Reserve = "Imagine the SMEL Reserve Mainnet 0xF91384484F4717314798E8975BCd904A35fc2BF1",
|
24
|
+
BTC_ETH_DCA_Index_Reserve = "BTC ETH DCA Index Reserve Mainnet 0x4E3B170DcBe704b248df5f56D488114acE01B1C5"
|
8
25
|
}
|
9
26
|
export declare enum sonicmarketCampaigns {
|
10
27
|
USDCe_S_Vault_Sonic_Market = "USDC.e/S Vault Sonic Market 0x46107Ec44112675689053b96aea2127fD952bd47",
|
@@ -269,6 +286,9 @@ export declare enum modeCampaigns {
|
|
269
286
|
Bedrock_Ionic_Supply_ionuniBTC_Mode = "Bedrock Ionic Supply uniBTC 0xa48750877a83f7dec11f722178c317b54a44d142",
|
270
287
|
Bedrock_Ironclad_Supply_uniBTC_Mode = "Bedrock Ironclad Supply uniBTC 0x0F041cf2ae959f39215EFfB50d681Df55D4d90B1"
|
271
288
|
}
|
289
|
+
declare const ReserveInterfaceCampaigns: {
|
290
|
+
[key in reserveCampaigns]: partialConfig;
|
291
|
+
};
|
272
292
|
declare const SonicmarketInterfaceCampaigns: {
|
273
293
|
[key in sonicmarketCampaigns]: partialConfig;
|
274
294
|
};
|
@@ -285,6 +305,6 @@ declare const PufferInterfaceCampaigns: {
|
|
285
305
|
[key in pufferCampaigns]: partialConfig;
|
286
306
|
};
|
287
307
|
export declare const MerklInterfaceCampaigns: {
|
288
|
-
[key in program]: typeof PufferInterfaceCampaigns | typeof ZkSyncInterfaceCampaigns | typeof ModeInterfaceCampaigns | typeof VicunaInterfaceCampaigns | typeof SonicmarketInterfaceCampaigns;
|
308
|
+
[key in program]: typeof PufferInterfaceCampaigns | typeof ZkSyncInterfaceCampaigns | typeof ModeInterfaceCampaigns | typeof VicunaInterfaceCampaigns | typeof SonicmarketInterfaceCampaigns | typeof ReserveInterfaceCampaigns;
|
289
309
|
};
|
290
310
|
export {};
|