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

fix: removed prefix from coslend positions label #822

Merged
merged 1 commit into from
Jul 4, 2022
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { AbracadabraContractFactory, AbracadabraMspell } from '../contracts';
const appId = ABRACADABRA_DEFINITION.id;
const groupId = ABRACADABRA_DEFINITION.groups.mSpell.id;
const network = Network.ARBITRUM_MAINNET;

@Register.ContractPositionFetcher({ appId, groupId, network })
export class ArbitrumAbracadabraMspellContractPositionFetcher implements PositionFetcher<ContractPosition> {
constructor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { AbracadabraContractFactory, AbracadabraMspell } from '../contracts';
const appId = ABRACADABRA_DEFINITION.id;
const groupId = ABRACADABRA_DEFINITION.groups.mSpell.id;
const network = Network.AVALANCHE_MAINNET;

@Register.ContractPositionFetcher({ appId, groupId, network })
export class AvalancheAbracadabraMspellContractPositionFetcher implements PositionFetcher<ContractPosition> {
constructor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { AbracadabraContractFactory, AbracadabraMspell } from '../contracts';
const appId = ABRACADABRA_DEFINITION.id;
const groupId = ABRACADABRA_DEFINITION.groups.mSpell.id;
const network = Network.FANTOM_OPERA_MAINNET;

@Register.ContractPositionFetcher({ appId, groupId, network })
export class FantomAbracadabraMspellContractPositionFetcher implements PositionFetcher<ContractPosition> {
constructor(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export class CoslendBorrowContractPositionHelper {
const images = appToken.displayProps.images;
const statsItems = isNumber(borrowApy)
? [
{ label: 'Borrow APR', value: buildPercentageDisplayItem(borrowApy) },
{ label: 'APR', value: buildPercentageDisplayItem(borrowApy) },
{ label: 'Liquidity', value: buildDollarDisplayItem(borrowLiquidity) },
]
: [];
Expand Down
2 changes: 1 addition & 1 deletion src/apps/coslend/helper/coslend.supply.token-helper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export class CoslendSupplyTokenHelper {
const images = [getTokenImg(underlyingToken.address, network)];
const balanceDisplayMode = BalanceDisplayMode.UNDERLYING;
const statsItems = [
{ label: 'Supply APY', value: buildPercentageDisplayItem(supplyApy) },
{ label: 'APY', value: buildPercentageDisplayItem(supplyApy) },
{ label: 'Liquidity', value: buildDollarDisplayItem(liquidity) },
];

Expand Down