Options
All
  • Public
  • Public/Protected
  • All
Menu

Transaction builder for oep-4 contracts

Hierarchy

  • Oep4TxBuilder

Index

Constructors

constructor

Properties

contractAddr

contractAddr: Address

Methods

init

makeApproveTx

makeQueryAllowanceTx

makeTransferFromTx

makeTransferMultiTx

  • Make transaction for multi transfer. The transaction needs signatures of each sender in states and the signature of the payer.

    Parameters

    • states: Oep4State[]

      Array of State(sender, receiver, amount)

    • gasPrice: string

      Gas price

    • gasLimit: string

      Gas limit

    • payer: Address

      Payer to pay for gas

    Returns Transaction

makeTransferTx

queryBalanceOf

queryDecimals

queryName

querySymbol

queryTotalSupply

Generated using TypeDoc