Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MockToken__factory

Hierarchy

  • ContractFactory
    • MockToken__factory

Index

Constructors

  • Parameters

    • Optional signer: Signer

    Returns MockToken__factory

Properties

bytecode: string
interface: Interface
signer: Signer

Methods

  • Parameters

    • address: string

    Returns MockToken

  • Parameters

    • signer: Signer

    Returns MockToken__factory

  • deploy(overrides?: Overrides & { from?: string | Promise<string> }): Promise<MockToken>
  • Parameters

    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns Promise<MockToken>

  • getDeployTransaction(overrides?: Overrides & { from?: string | Promise<string> }): TransactionRequest
  • Parameters

    • Optional overrides: Overrides & { from?: string | Promise<string> }

    Returns TransactionRequest

  • connect(address: string, signerOrProvider: Signer | Provider): MockToken
  • Parameters

    • address: string
    • signerOrProvider: Signer | Provider

    Returns MockToken

  • fromSolidity(compilerOutput: any, signer?: Signer): ContractFactory
  • Parameters

    • compilerOutput: any
    • Optional signer: Signer

    Returns ContractFactory

  • getContract(address: string, contractInterface: ContractInterface, signer?: Signer): Contract
  • Parameters

    • address: string
    • contractInterface: ContractInterface
    • Optional signer: Signer

    Returns Contract

  • getContractAddress(tx: { from: string; nonce: number | BigNumber | BytesLike }): string
  • Parameters

    • tx: { from: string; nonce: number | BigNumber | BytesLike }
      • from: string
      • nonce: number | BigNumber | BytesLike

    Returns string

  • getInterface(contractInterface: ContractInterface): Interface
  • Parameters

    • contractInterface: ContractInterface

    Returns Interface

Generated using TypeDoc, the 11/12/2022