Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📦 0.30.2 collector #223

Merged
merged 2 commits into from
Mar 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,7 @@ yarn prettier . --write
| Changes | Prefix |
| ------------------ | ------ |
| Collector | 📦 |
| Strategies | 💲 |
| Assets, tokenlist | 🪙 |
| Sync state, etc | ♻️️ |
| Content generators | 🎇 |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@stabilitydao/stability",
"version": "0.30.1",
"version": "0.30.2",
"description": "Stability Integration Library",
"main": "out/index.js",
"types": "out/index.d.ts",
Expand Down
11 changes: 11 additions & 0 deletions src/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -564,6 +564,16 @@ export const assets: Asset[] = [
website: "https://www.originprotocol.com/",
color: "#1a82ff",
},
{
addresses: {
"146": "0x9F0dF7799f6FDAd409300080cfF680f5A23df4b1",
},
symbol: "wOS",
description:
"Hypersonic liquid staking. Permissionless Money Lego. Ideal for stacking yield. Rebasing token.",
website: "https://www.originprotocol.com/",
color: "#1a82ff",
},
{
addresses: {
"146": "0x3333b97138D4b086720b5aE8A7844b1345a33333",
Expand Down Expand Up @@ -599,6 +609,7 @@ export const sonicWhitelistedAssets: {
["0xE5DA20F15420aD15DE0fa650600aFc998bbE3955".toLowerCase()]: 4,
["0xb1e25689D55734FD3ffFc939c4C3Eb52DFf8A794".toLowerCase()]: 4,
["0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38".toLowerCase()]: 4,
["0x9F0dF7799f6FDAd409300080cfF680f5A23df4b1".toLowerCase()]: 4,
// ONE, WETH: 2x (Boosted)
["0x50c42dEAcD8Fc9773493ED674b675bE577f2634b".toLowerCase()]: 2,
// SolvBTC and SolvBTC.BBN: 2x (Boosted)
Expand Down
8 changes: 8 additions & 0 deletions src/stability.tokenlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -939,6 +939,14 @@
"name": "Stability Gem Season 1",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/stabilitydao/.github/main/tokens/sGEM1.png"
},
{
"chainId": 146,
"address": "0x9F0dF7799f6FDAd409300080cfF680f5A23df4b1",
"symbol": "wOS",
"name": "Wrapped Origin Sonic",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/stabilitydao/.github/main/tokens/os.png"
}
]
}
12 changes: 12 additions & 0 deletions src/strategies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ export const enum StrategyShortId {
ASF = "ASF",
Si = "Si",
SiL = "SiL",
SiAL = "SiAL",
}

export enum StrategyState {
Expand Down Expand Up @@ -544,6 +545,17 @@ export const strategies: { [shortId in StrategyShortId]: Strategy } = {
protocols: ["silo:siloV2"],
description: "Leverage lending on Silo V2",
},
[StrategyShortId.SiAL]: {
id: "Silo Advanced Leverage",
shortId: StrategyShortId.SiAL,
state: StrategyState.LIVE,
contractGithubId: 229,
color: "#ff00ea",
bgColor: "#190031",
baseStrategies: [BaseStrategy.LEVERAGED_LENDING],
protocols: ["silo:siloV2"],
description: "Advanced leverage lending on Silo V2",
},
};

export const getMerklStrategies = (): string[] => {
Expand Down