consistent imports

This commit is contained in:
Alex Kraiz
2023-10-03 16:54:40 +04:00
parent 2942bb5426
commit 902b5f3994
7 changed files with 10 additions and 8 deletions

View File

@@ -1,5 +1,4 @@
import type { Exchange } from '@orionprotocol/contracts/lib/ethers-v6';
import { ERC20__factory } from '@orionprotocol/contracts/lib/ethers-v6';
import { ERC20__factory, type Exchange } from '@orionprotocol/contracts/lib/ethers-v6/index.js';
import type { BigNumber } from 'bignumber.js';
import { ethers } from 'ethers';
import { INTERNAL_PROTOCOL_PRECISION, NATIVE_CURRENCY_PRECISION } from '../constants/index.js';

View File

@@ -1,4 +1,4 @@
import { Exchange__factory } from '@orionprotocol/contracts/lib/ethers-v6';
import { Exchange__factory } from '@orionprotocol/contracts/lib/ethers-v6/index.js';
import { ethers } from 'ethers';
import { z } from 'zod';