Skip to content

Commit 25696e5

Browse files
authored
Merge pull request #352 from stabilitydao/upd
📦♻️️ OS: IBuildersMemory
2 parents 4aee157 + fceae57 commit 25696e5

File tree

4 files changed

+23
-12
lines changed

4 files changed

+23
-12
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@stabilitydao/stability",
3-
"version": "0.51.1",
3+
"version": "0.51.2",
44
"description": "Stability Operating System Library",
55
"main": "out/index.js",
66
"types": "out/index.d.ts",

src/activity/builder.ts

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,17 @@ export interface IIssue {
2020
body?: string;
2121
}
2222

23-
export interface IBuilderMemory {
24-
openIssues: {
25-
total: { [repo: string]: number };
26-
pools: { [poolName: string]: IIssue[] };
27-
};
28-
conveyors: {
29-
[conveyorName: string]: {
30-
[taskId: string]: {
31-
[stepName: string]: IIssue[];
23+
export interface IBuildersMemory {
24+
[tokenSymbol: string]: {
25+
openIssues: {
26+
total: { [repo: string]: number };
27+
pools: { [poolName: string]: IIssue[] };
28+
};
29+
conveyors: {
30+
[conveyorName: string]: {
31+
[taskId: string]: {
32+
[stepName: string]: IIssue[];
33+
};
3234
};
3335
};
3436
};

src/integrations.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1895,7 +1895,11 @@ export const integrations: { [org: string]: DeFiOrganization } = {
18951895
ChainName.SONIC,
18961896
ChainName.PLASMA,
18971897
],
1898-
strategies: [StrategyShortId.AMF, StrategyShortId.A],
1898+
strategies: [
1899+
StrategyShortId.AMF,
1900+
StrategyShortId.A,
1901+
StrategyShortId.ALMF,
1902+
],
18991903
intermediaryStrategies: [StrategyShortId.Y],
19001904
},
19011905
merit: {

src/strategies.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -794,7 +794,12 @@ export const strategies: { [shortId in StrategyShortId]: Strategy } = {
794794
description: "Leverage asset on Aave V3",
795795
farmStruct: {
796796
addresses: ["Collateral aToken", "Borrowed aToken", "FlashLoan Pool"],
797-
nums: ["Target min LTV", "Target max LTV", "flashloan kind (0/1/2/3)"],
797+
nums: [
798+
"Target min LTV",
799+
"Target max LTV",
800+
"flashloan kind (0/1/2/3)",
801+
"E-mode category",
802+
],
798803
ticks: [],
799804
},
800805
},

0 commit comments

Comments
 (0)