UNPKG

descent-js

Version:

A Typescript library for interacting with the Descent Protocol

18 lines (13 loc) 422 B
import { ethers } from 'ethers'; export type IContract = ethers.Contract; export type ISigner = ethers.JsonRpcSigner | ethers.Wallet; export type IProvider = ethers.Provider | ethers.JsonRpcProvider | ethers.BrowserProvider; export type IContractFactory = ethers.ContractFactory; export enum ICollateral { USDC = 'USDC', } export enum IMode { https = 'https', browser = 'browser', simulation = 'simulation', }