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,11 +1,11 @@
/* eslint-disable camelcase */
import { Provider } from '@ethersproject/providers';
import { BytesLike, ethers, Signer } from 'ethers';
import {
Exchange as ExchangeContract,
Exchange__factory as ExchangeContract__factory,
} from '../artifacts/contracts';
import { LibAtomic } from '../artifacts/contracts/Exchange';
} from '@orionprotocol/contracts/ethers';
import { LibAtomic } from '@orionprotocol/contracts/ethers/Exchange';
import { BytesLike, ethers, Signer } from 'ethers';
import {
DEPOSIT_ERC20_GAS_LIMIT, DEPOSIT_ETH_GAS_LIMIT, LOCKATOMIC_GAS_LIMIT,
REDEEMATOMIC_GAS_LIMIT, SWAP_THROUGH_ORION_POOL_GAS_LIMIT, WITHDRAW_GAS_LIMIT,