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

fix(iron-bank): Add presentation config to Iron Bank #699

Merged
merged 1 commit into from
Jun 21, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 22 additions & 2 deletions src/apps/iron-bank/iron-bank.definition.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,28 @@ export const IRON_BANK_DEFINITION = appDefinition({
description: 'iron',
url: 'https://app.ib.xyz/',
groups: {
supply: { id: 'supply', type: GroupType.TOKEN, label: 'Supply' },
borrow: { id: 'borrow', type: GroupType.POSITION, label: 'Borrow' },
supply: { id: 'supply', type: GroupType.TOKEN, label: 'Lending', groupLabel: 'Supply' },
borrow: { id: 'borrow', type: GroupType.POSITION, label: 'Lending', groupLabel: 'Borrow' },
},
presentationConfig: {
tabs: [
{
label: 'Lending',
viewType: 'split',
views: [
{
viewType: 'list',
label: 'Supply',
groupIds: ['supply'],
},
{
viewType: 'list',
label: 'Borrow',
groupIds: ['borrow'],
},
],
},
],
},
tags: [AppTag.LENDING],
keywords: [],
Expand Down