Webpack / contracts

This commit is contained in:
Aleksandr Kraiz
2022-05-29 18:33:23 +04:00
parent d9294673b5
commit 9e8b90e477
31 changed files with 98 additions and 5805 deletions

View File

@@ -1,6 +1,6 @@
import type { Exchange } from '@orionprotocol/contracts/ethers';
import BigNumber from 'bignumber.js';
import { ethers } from 'ethers';
import { contracts } from '..';
import { OrionAggregator } from '../services/OrionAggregator';
import getBalance from './getBalance';
@@ -8,7 +8,7 @@ export default async (
balancesRequired: Partial<Record<string, string>>,
orionAggregator: OrionAggregator,
walletAddress: string,
exchangeContract: contracts.Exchange,
exchangeContract: Exchange,
provider: ethers.providers.Provider,
) => {
const balances = await Promise.all(