Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ERC20TxFactory

A factory for creating IERC20 contract transactions.

Hierarchy

  • ERC20TxFactory

Implements

  • IERC20TxFactory

Index

Constructors

Properties

Accessors

Methods

Constructors

Properties

#erc20: IERC20
#tokenAddress: string

Accessors

  • get tokenAddress(): string

Methods

  • approve(spender: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>): Promise<PopulatedTransaction>
  • Parameters

    • spender: PromiseOrValue<string>
    • amount: PromiseOrValue<BigNumberish>

    Returns Promise<PopulatedTransaction>

Generated using TypeDoc