Skip to content
This repository has been archived by the owner on Jan 24, 2024. It is now read-only.

Commit

Permalink
feat(aave-v2): Add presentation config (#705)
Browse files Browse the repository at this point in the history
  • Loading branch information
pwele authored Jun 21, 2022
1 parent 066a11f commit cd13f94
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion src/apps/aave-v2/aave-v2.definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,35 @@ export const AAVE_V2_DEFINITION = appDefinition({
isHiddenFromExplore: true,
},
},

presentationConfig: {
tabs: [
{
label: 'Lending',
viewType: 'split',
views: [
{
viewType: 'list',
label: 'Supply',
groupIds: ['supply'],
},
{
viewType: 'split',
label: 'Borrow',
views: [
{
label: 'Variable',
groupIds: ['variable-debt'],
},
{
label: 'Stable',
groupIds: ['stable-debt'],
},
],
},
],
},
],
},
supportedNetworks: {
[Network.ETHEREUM_MAINNET]: [AppAction.VIEW, AppAction.TRANSACT],
[Network.AVALANCHE_MAINNET]: [AppAction.VIEW, AppAction.TRANSACT],
Expand Down

0 comments on commit cd13f94

Please sign in to comment.