Skip to content

Commit

Permalink
Merge pull request #123 from stabilitydao/dev
Browse files Browse the repository at this point in the history
📦 0.23.1 collector
  • Loading branch information
a17 authored Dec 4, 2024
2 parents 3033f71 + 1ab4573 commit f197ea4
Show file tree
Hide file tree
Showing 6 changed files with 42 additions and 46 deletions.
Binary file modified chains.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified integrations.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.23.0",
"version": "0.23.1",
"description": "Stability Integration Library",
"main": "out/index.js",
"types": "out/index.d.ts",
Expand Down
7 changes: 7 additions & 0 deletions src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export const enum ChainName {
DYMENSION = "Dymension",
HELA = "Hela",
ASSET_CHAIN = "Asset Chain",
SONIC = "Sonic",
}

export const chains: { [chainId: string]: Chain } = {
Expand Down Expand Up @@ -170,6 +171,12 @@ export const chains: { [chainId: string]: Chain } = {
img: "polygon.svg",
multisig: "0x36780E69D38c8b175761c6C5F8eD42E61ee490E9",
},
"146": {
name: ChainName.SONIC,
chainId: 146,
status: ChainStatus.NOT_SUPPORTED,
img: "sonic.png",
},
"169": {
name: ChainName.MANTA,
chainId: 169,
Expand Down
77 changes: 33 additions & 44 deletions src/integrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ export const integrations: { [org: string]: DeFiOrganization } = {
ChainName.ZKSYNC,
ChainName.METIS,
ChainName.SCROLL,
ChainName.SONIC,
],
adapters: ["ChainLinkAdapter"],
coreContracts: ["PriceReader"],
Expand Down Expand Up @@ -406,6 +407,7 @@ export const integrations: { [org: string]: DeFiOrganization } = {
ChainName.OPTIMISM,
ChainName.X_LAYER,
ChainName.FRAXTAL,
ChainName.SONIC,
],
strategies: [StrategyShortId.CCF],
adapters: ["CurveAdapter"],
Expand Down Expand Up @@ -721,11 +723,7 @@ export const integrations: { [org: string]: DeFiOrganization } = {
beethovenx: {
name: "Beethoven X",
category: DefiCategory.AMM,
chains: [
ChainName.FANTOM,
ChainName.OPTIMISM,
// SONIC
],
chains: [ChainName.FANTOM, ChainName.OPTIMISM, ChainName.SONIC],
adapters: [
// stable pools
// weighted pools
Expand All @@ -743,10 +741,7 @@ export const integrations: { [org: string]: DeFiOrganization } = {
wigoswap: {
name: "WigoSwap",
category: DefiCategory.AMM,
chains: [
ChainName.FANTOM,
// SONIC
],
chains: [ChainName.FANTOM, ChainName.SONIC],
adapters: ["UniswapV3Adapter"],
},
},
Expand All @@ -761,11 +756,7 @@ export const integrations: { [org: string]: DeFiOrganization } = {
gravity: {
name: "Gravity",
category: DefiCategory.AMM,
chains: [
ChainName.POLYGON,
ChainName.POLYGON_ZKEVM,
// sonic
],
chains: [ChainName.POLYGON, ChainName.POLYGON_ZKEVM, ChainName.SONIC],
},
},
defiLlama: "gravity-finance",
Expand All @@ -779,9 +770,7 @@ export const integrations: { [org: string]: DeFiOrganization } = {
shadow: {
name: "Shadow Exchange",
category: DefiCategory.AMM,
chains: [
// sonic
],
chains: [ChainName.SONIC],
adapters: ["UniswapV3Adapter"],
},
},
Expand All @@ -794,9 +783,7 @@ export const integrations: { [org: string]: DeFiOrganization } = {
swapx: {
name: "SwapX",
category: DefiCategory.AMM,
chains: [
// sonic
],
chains: [ChainName.SONIC],
adapters: [
// "AlgebraAdapter", ?
],
Expand All @@ -811,9 +798,7 @@ export const integrations: { [org: string]: DeFiOrganization } = {
supersonic: {
name: "SuperSonic",
category: DefiCategory.AMM,
chains: [
// sonic
],
chains: [ChainName.SONIC],
},
},
},
Expand All @@ -825,11 +810,7 @@ export const integrations: { [org: string]: DeFiOrganization } = {
equalizer: {
name: "Equalizer",
category: DefiCategory.AMM,
chains: [
ChainName.FANTOM,
ChainName.BASE,
// sonic
],
chains: [ChainName.FANTOM, ChainName.BASE, ChainName.SONIC],
adapters: ["UniswapV3Adapter"],
},
},
Expand All @@ -843,12 +824,24 @@ export const integrations: { [org: string]: DeFiOrganization } = {
metropolis: {
name: "Metropolis",
category: DefiCategory.AMM,
chains: [
// sonic
],
chains: [ChainName.SONIC],
},
},
},
ramses: {
name: "Ramses",
website: "https://www.ramses.exchange",
img: "ramses.png",
protocols: {
ramses: {
name: "Ramses Exchange",
category: DefiCategory.AMM,
chains: [ChainName.ARBITRUM],
},
},
github: "RamsesExchange",
defiLlama: "ramses-exchange",
},
// ALM
gamma: {
name: "Gamma",
Expand Down Expand Up @@ -876,7 +869,7 @@ export const integrations: { [org: string]: DeFiOrganization } = {
ChainName.GNOSIS,
ChainName.METIS,
ChainName.BLAST,
// sonic
ChainName.SONIC,
],
strategies: [StrategyShortId.GQMF, StrategyShortId.GRMF],
},
Expand Down Expand Up @@ -927,6 +920,7 @@ export const integrations: { [org: string]: DeFiOrganization } = {
ChainName.CELO,
ChainName.SKALE_EUROPA,
ChainName.REAL,
ChainName.SONIC,
],
strategies: [
StrategyShortId.IQMF,
Expand Down Expand Up @@ -968,6 +962,7 @@ export const integrations: { [org: string]: DeFiOrganization } = {
ChainName.EVMOS,
ChainName.MODE,
ChainName.TELOS,
ChainName.SONIC,
],
strategies: [StrategyShortId.SQMF],
},
Expand Down Expand Up @@ -1188,7 +1183,7 @@ export const integrations: { [org: string]: DeFiOrganization } = {
ChainName.MODE,
ChainName.TAIKO,
ChainName.ZETA,
// sonic
ChainName.SONIC,
// b^2
// iotex
// kaia
Expand All @@ -1209,7 +1204,7 @@ export const integrations: { [org: string]: DeFiOrganization } = {
ChainName.ARBITRUM,
ChainName.OPTIMISM,
ChainName.ETHEREUM,
// sonic?
ChainName.SONIC,
],
},
siloV2: {
Expand All @@ -1232,9 +1227,7 @@ export const integrations: { [org: string]: DeFiOrganization } = {
vicuna: {
name: "Vicuna",
category: DefiCategory.LENDING,
chains: [
// sonic
],
chains: [ChainName.SONIC],
},
},
},
Expand All @@ -1261,9 +1254,7 @@ export const integrations: { [org: string]: DeFiOrganization } = {
lever: {
name: "Lever",
category: DefiCategory.LENDING,
chains: [
// sonic
],
chains: [ChainName.SONIC],
},
},
github: "zerolend",
Expand Down Expand Up @@ -1306,9 +1297,7 @@ export const integrations: { [org: string]: DeFiOrganization } = {
mach: {
name: "Mach Finance",
category: DefiCategory.LENDING,
chains: [
// sonic
],
chains: [ChainName.SONIC],
},
},
github: "Mach-Finance",
Expand Down Expand Up @@ -1357,7 +1346,7 @@ export const integrations: { [org: string]: DeFiOrganization } = {
ChainName.ETHEREUM,
ChainName.ARBITRUM,
ChainName.POLYGON,
// sonic
ChainName.SONIC,
],
strategies: [StrategyShortId.Y],
},
Expand Down
2 changes: 1 addition & 1 deletion tools/draw-integrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ async function main() {
const height = 800;

// Organization blocks positioning
const organizationBlockSize = 86;
const organizationBlockSize = 80;
const organizationBlockPadding = 20;
const xPadding = 76;

Expand Down

0 comments on commit f197ea4

Please sign in to comment.