Skip to content

Commit

Permalink
Merge pull request #101 from stabilitydao/alien-dev
Browse files Browse the repository at this point in the history
🌐 add Impermax
  • Loading branch information
a17 authored Nov 6, 2024
2 parents 3ec21b3 + 2bee1c5 commit f79f14d
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 41 deletions.
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.21.2",
"version": "0.21.3",
"description": "Stability Integration Library",
"main": "out/index.js",
"types": "out/index.d.ts",
Expand Down
107 changes: 68 additions & 39 deletions src/integrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,45 @@ export const integrations: { [org: string]: DeFiOrganization } = {
defiLlama: "chainlink",
github: "smartcontractkit",
},
dia: {
name: "DIA",
img: "Diadata.svg",
website: "https://www.diadata.org/",
protocols: {
diadata: {
name: "Dia Data",
category: DefiCategory.ORACLE,
chains: [
ChainName.ARBITRUM,
ChainName.AURORA,
ChainName.AVALANCHE,
ChainName.BASE,
ChainName.BEVM,
ChainName.CELO,
ChainName.ETHEREUM,
ChainName.EVMOS,
ChainName.FANTOM,
ChainName.FUSE,
ChainName.LINEA,
ChainName.METIS,
ChainName.MOONBEAM,
ChainName.MOONRIVER,
ChainName.ZKSYNC,
ChainName.TELOS,
ChainName.OPTIMISM,
ChainName.POLYGON,
ChainName.POLYGON_ZKEVM,
ChainName.GNOSIS,
ChainName.BSC,
ChainName.BOBA,
ChainName.ASTAR_ZKEVM,
],
adapters: ["DiaAdapter"],
},
},
defiLlama: "dia",
github: "diadata-org",
},
// Rewarding
angle: {
name: "Angle",
Expand Down Expand Up @@ -766,6 +805,35 @@ export const integrations: { [org: string]: DeFiOrganization } = {
defiLlama: "aave",
github: "aave",
},
// leveraged lending
impermax: {
name: "Impermax",
img: "Impermax.svg",
website: "https://www.impermax.finance/",
protocols: {
impermax: {
name: "Impermax",
category: DefiCategory.LENDING,
chains: [
ChainName.ETHEREUM,
ChainName.BASE,
ChainName.OPTIMISM,
ChainName.POLYGON,
ChainName.ARBITRUM,
ChainName.AVALANCHE,
ChainName.SCROLL,
ChainName.FANTOM,
ChainName.MOONRIVER,
ChainName.ZKSYNC,
ChainName.MANTLE,
ChainName.REAL,
// canto
],
},
},
defiLlama: "impermax-finance",
github: "Impermax-Finance",
},
// Boost aggregator
convex: {
name: "Convex",
Expand Down Expand Up @@ -1206,45 +1274,6 @@ export const integrations: { [org: string]: DeFiOrganization } = {
},
defiLlama: "cytoswap",
},
dia: {
name: "DIA",
img: "Diadata.svg",
website: "https://www.diadata.org/",
protocols: {
diadata: {
name: "Dia Data",
category: DefiCategory.ORACLE,
chains: [
ChainName.ARBITRUM,
ChainName.AURORA,
ChainName.AVALANCHE,
ChainName.BASE,
ChainName.BEVM,
ChainName.CELO,
ChainName.ETHEREUM,
ChainName.EVMOS,
ChainName.FANTOM,
ChainName.FUSE,
ChainName.LINEA,
ChainName.METIS,
ChainName.MOONBEAM,
ChainName.MOONRIVER,
ChainName.ZKSYNC,
ChainName.TELOS,
ChainName.OPTIMISM,
ChainName.POLYGON,
ChainName.POLYGON_ZKEVM,
ChainName.GNOSIS,
ChainName.BSC,
ChainName.BOBA,
ChainName.ASTAR_ZKEVM,
],
adapters: ["DiaAdapter"],
},
},
defiLlama: "dia",
github: "diadata-org",
},
};

export const getIntegrationStatus = (p: DeFiProtocol): IntegrationStatus => {
Expand Down
2 changes: 1 addition & 1 deletion tools/draw-integrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ async function main() {
const p = `${tmpDir}/${organization.img}`;
if (!fs.existsSync(p)) {
await downloadFile(
`https://raw.githubusercontent.com/stabilitydao/.github/renzo-dev/assets/${organization.img}`,
`https://raw.githubusercontent.com/stabilitydao/.github/main/assets/${organization.img}`,
p,
);
}
Expand Down

0 comments on commit f79f14d

Please sign in to comment.