Exchange.js imports
This commit is contained in:
@@ -1,4 +1,11 @@
|
|||||||
import React from 'react';
|
import React, { useEffect, useState } from "react";
|
||||||
|
import { Contract } from "@ethersproject/contracts";
|
||||||
|
import { abis } from "@my-app/contracts";
|
||||||
|
import { ERC20, useContractFunction, useEthers, useTokenAllowance, useTokenBalance } from "@usedapp/core";
|
||||||
|
import { ethers } from "ethers";
|
||||||
|
import { parseUnits } from "ethers/lib/utils";
|
||||||
|
|
||||||
|
import { ROUTER_ADDRESS } from "../config";
|
||||||
|
|
||||||
const Exchange = () => {
|
const Exchange = () => {
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user