biuauthui
Version:
Ui modal for biuAuth
8 lines (7 loc) • 512 B
TypeScript
import { JsonRpcProvider, JsonRpcSigner } from "@ethersproject/providers";
import { Signer } from "ethers";
import { Erc20 } from "../payTypes/Erc20";
export declare const getErc20Contract: (address: `0x${string}`, signer?: Signer | JsonRpcProvider | JsonRpcSigner) => Erc20;
export declare const useERC20: (address: string, withSignerIfPossible?: boolean) => Erc20;
export declare const getUsdtAddress: (chainId?: number) => string;
export declare const useUsdtERC20: (withSignerIfPossible?: boolean) => Erc20;