UNPKG

@verified-network/verified-sdk

Version:

An SDK to develop applications on the Verified Network

26 lines (25 loc) 1.23 kB
import { VerifiedContract, Options } from "../index"; import { VerifiedWallet } from "../../wallet"; export default class ERC20 extends VerifiedContract { contractAddress: string; constructor(signer: VerifiedWallet, contractNetworkAddress: string); _getMeeQuote(paymentTokenAddress: string, functionName: string, args: any[], apiKey?: string, rpcUrl?: string, isReactNative?: boolean): Promise<{ tokenAddress: string; amount: string; amountInWei: string; amouuntValue: string; chainId: number; functionName: string; }>; name(): any; symbol(): any; decimals(): any; totalSupply(): any; balanceOf(_account: string, options?: Options): any; transfer(_recipient: string, _amount: string, options?: Options): any; approve(_spender: string, _amount: string, options?: Options): any; allowance(_owner: string, _spender: string, options?: Options): any; increaseAllowance(_spender: string, _addedValue: string, options?: Options): any; decreaseAllowance(_spender: string, _subtractedValue: string, options?: Options): any; transferFrom(_senderAddress: string, _recieverAddress: string, _tokens: string, options?: Options): any; }