From ec2868d11ddb532b0b9252763fa5067403f69f02 Mon Sep 17 00:00:00 2001 From: Piotr Witek <739075+piotrwitek@users.noreply.github.com> Date: Wed, 26 Jun 2024 13:15:13 +0200 Subject: [PATCH] Add debank integration for supported protocols (#400) This pull request adds support of debank integration for supported protocols --- packages/serverless-shared/src/debank-helpers.ts | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/packages/serverless-shared/src/debank-helpers.ts b/packages/serverless-shared/src/debank-helpers.ts index b4fb17d81d..bc64d33ebb 100644 --- a/packages/serverless-shared/src/debank-helpers.ts +++ b/packages/serverless-shared/src/debank-helpers.ts @@ -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']