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

Commit

Permalink
fix(solace): Add metatype to bond tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
immasandwich committed May 20, 2022
1 parent ac4a3ab commit df2ef9b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { getImagesFromToken, getLabelFromToken } from '~app-toolkit/helpers/pres
import { ContractType } from '~position/contract.interface';
import { PositionFetcher } from '~position/position-fetcher.interface';
import { ContractPosition } from '~position/position.interface';
import { claimable, supplied } from '~position/position.utils';
import { Network } from '~types/network.interface';

import { SOLACE_DEFINITION } from '../solace.definition';
Expand Down Expand Up @@ -74,7 +75,7 @@ export class EthereumSolaceBondsContractPositionFetcher implements PositionFetch
BOND_TELLERS.map(async teller => {
const depositToken = allTokens.find(v => v.address === teller.deposit);
if (!depositToken || !solaceToken) return null;
const tokens = [depositToken, solaceToken];
const tokens = [supplied(depositToken), claimable(solaceToken)];

const position: ContractPosition = {
type: ContractType.POSITION,
Expand Down

0 comments on commit df2ef9b

Please sign in to comment.