UNPKG

bounce-sdk-beta

Version:

Bounce finance quick building applications

17 lines (16 loc) 685 B
import { ethers } from "ethers"; import { SupportChain } from "../types"; export declare class Currency { private provider; private universalErc20ContractWithProvider; address: string; name: string | undefined; symbol: string | undefined; decimals: string | undefined; constructor(tokenAddress: string, chainId: SupportChain); initialization(): Promise<void>; totalSupply(): Promise<any>; balanceOf(accountAddress: string): Promise<any>; allowance(owner: string, spender: string): Promise<any>; approve(signer: ethers.Wallet | ethers.providers.JsonRpcSigner, spender: string, wei_amount?: string): Promise<ethers.ContractTransaction>; }