Smart contracts typed interface for OTC.
Use with web3-react
import { useWeb3React } from "@web3-react/core";
import {
OTCMarket,
OTCMarket__factory,
} from "otc-contracts-v1/typechain-types";
import deployments from "otc-contracts-v1/deployments.json";
const { provider } = useWeb3React();
// your typed contract instance
const otcMarket: OTCMarket = OTCMarket__factory.connect(
deployments.otcMarket,
provider,
);