Skip to content

Commit

Permalink
Merge pull request #18 from stabilitydao/dev
Browse files Browse the repository at this point in the history
0.12.2
  • Loading branch information
a17 authored Sep 17, 2024
2 parents 9bde3c6 + 8593ea4 commit d7c8a8e
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 12 deletions.
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.12.1",
"version": "0.12.2",
"description": "Stability Integration Library",
"main": "out/index.js",
"types": "out/index.d.ts",
Expand Down
70 changes: 60 additions & 10 deletions src/integrations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,19 +40,19 @@ export enum DefiCategory {
ORACLE = 'Oracle',
REWARDING = 'Rewarding',
VAULTS_ERC4626 = 'Vaults ERC-4626',
BRIDGE = 'Bridge',
LST = 'Liquid staking',
INTEROPERABILITY = 'Interoperability',
}

export const integrations: { [org: string]: DeFiOrganization } = {
// oracle
// oracle, cross-chain
chainlink: {
name: 'ChainLink',
img: 'Chainlink.svg',
website: 'https://chain.link',
protocols: {
chainlink: {
name: 'Chainlink',
name: 'Data Feeds',
category: DefiCategory.ORACLE,
networks: [
NetworkId.ETHEREUM,
Expand All @@ -76,6 +76,27 @@ export const integrations: { [org: string]: DeFiOrganization } = {
coreContracts: ['PriceReader'],
adapters: ['ChainLinkAdapter',],
},
ccip: {
name: 'CCIP',
category: DefiCategory.INTEROPERABILITY,
networks: [
NetworkId.ARBITRUM,
NetworkId.AVALANCHE,
NetworkId.BASE,
NetworkId.BLAST,
NetworkId.BSC,
NetworkId.CELO,
NetworkId.ETHEREUM,
NetworkId.GNOSIS,
NetworkId.KROMA,
NetworkId.METIS,
NetworkId.MODE,
NetworkId.OPTIMISM,
NetworkId.POLYGON,
NetworkId.WEMIX,
NetworkId.ZKSYNC,
],
},
},
defiLlama: 'chainlink',
github: 'smartcontractkit',
Expand Down Expand Up @@ -248,6 +269,14 @@ export const integrations: { [org: string]: DeFiOrganization } = {
strategies: [StrategyShortId.CCF],
adapters: ['CurveAdapter',],
},
llamalend: {
name: 'LlamaLend',
category: DefiCategory.LENDING,
networks: [
NetworkId.ETHEREUM,
NetworkId.ARBITRUM,
],
},
},
defiLlama: 'curve-finance',
github: 'curvefi',
Expand Down Expand Up @@ -698,16 +727,32 @@ export const integrations: { [org: string]: DeFiOrganization } = {
defiLlama: 'dhedge',
github: 'dhedge',
},
// Bridge (liquidity transport etc)
// INTEROPERABILITY (liquidity transport, cross-chain messaging etc)
stargate: {
name: 'Stargate',
img: 'Stargate.svg',
website: 'https://stargate.finance',
protocols: {
stargate: {
name: 'Stargate',
category: DefiCategory.BRIDGE,
networks: [NetworkId.ETHEREUM, NetworkId.BASE, NetworkId.ARBITRUM, NetworkId.POLYGON,],
stargateV2: {
name: 'Stargate V2',
category: DefiCategory.INTEROPERABILITY,
networks: [
NetworkId.ETHEREUM,
NetworkId.BSC,
NetworkId.AVALANCHE,
NetworkId.POLYGON,
NetworkId.ARBITRUM,
NetworkId.OPTIMISM,
NetworkId.METIS,
NetworkId.LINEA,
NetworkId.MANTLE,
NetworkId.BASE,
NetworkId.KAVA,
NetworkId.SCROLL,
NetworkId.AURORA,
NetworkId.SEI,
// NetworkId.ZKSYNC, coming soon
],
intermediaryStrategies: [StrategyShortId.Y],
},
},
Expand All @@ -720,8 +765,13 @@ export const integrations: { [org: string]: DeFiOrganization } = {
img: 'Lido.svg',
website: 'https://lido.fi',
protocols: {
lido: {
name: 'Lido Staked MATIC',
stEth: {
name: 'stETH',
category: DefiCategory.LST,
networks: [NetworkId.ETHEREUM,],
},
stMatic: {
name: 'stMATIC',
category: DefiCategory.LST,
networks: [NetworkId.ETHEREUM, NetworkId.POLYGON,],
strategies: [StrategyShortId.Y,],
Expand Down
12 changes: 12 additions & 0 deletions src/networks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,8 @@ export const enum NetworkId {
HAQQ = 'Haqq',
ROOTSTOCK = 'Rootstock',
THUNDERCORE = 'ThunderCore',
KROMA = 'Kroma',
WEMIX = 'WEMIX3.0',
}

export const networks: { [chainId: string]: Network } = {
Expand Down Expand Up @@ -139,6 +141,11 @@ export const networks: { [chainId: string]: Network } = {
chainId: 252,
status: NetworkStatus.NOT_SUPPORTED,
},
"255": {
id: NetworkId.KROMA,
chainId: 255,
status: NetworkStatus.NOT_SUPPORTED,
},
"288": {
id: NetworkId.BOBA,
chainId: 288,
Expand Down Expand Up @@ -169,6 +176,11 @@ export const networks: { [chainId: string]: Network } = {
chainId: 1101,
status: NetworkStatus.NOT_SUPPORTED,
},
"1111" : {
id: NetworkId.WEMIX,
chainId: 1111,
status: NetworkStatus.NOT_SUPPORTED,
},
"1116": {
id: NetworkId.CORE,
chainId: 1116,
Expand Down
2 changes: 1 addition & 1 deletion tools/overview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ let protocolsTotal = 0
for (const defiOrgCode of Object.keys(integrations)) {
protocolsTotal += Object.keys(integrations[defiOrgCode].protocols).length
}
console.log(`DeFi protocols: ${protocolsTotal}`)
console.log(`DeFi organizations: ${Object.keys(integrations).length}. Protocols: ${protocolsTotal}.`)
console.log(`Seed nodes: ${seeds.length}`)
console.log(``)

0 comments on commit d7c8a8e

Please sign in to comment.