Skip to content

Commit

Permalink
Add debank integration for supported protocols (#400)
Browse files Browse the repository at this point in the history
This pull request adds support of debank integration for supported
protocols
  • Loading branch information
piotrwitek authored Jun 26, 2024
1 parent d49e726 commit ec2868d
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions packages/serverless-shared/src/debank-helpers.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
import { NetworkNames } from './domain-types'

// For each new network, add a new enum value
export const DEBANK_SUPPORTED_CHAIN_IDS = ['eth', 'op', 'arb', 'base']
// For each new protocol, add a new enum value as network_protocol
export const DEBANK_SUPPORTED_PROTOCOL_IDS = [
// Mainnet
'aave2',
'aave3',
'arb_aave3',
'op_aave3',
'base_aave3',
'ajna',
'makerdao',
'spark',
'morphoblue',
// Optimism
'op_aave3',
'op_ajna',
// Arbitrum
'arb_aave3',
'arb_ajna',
// Base
'base_aave3',
'base_ajna',
'base_morphoblue',
]
export const DEBANK_SUPPORTED_PROXY_IDS = ['summer', 'makerdao']

Expand Down

0 comments on commit ec2868d

Please sign in to comment.