Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ContractFactory
    • TokenState__factory

Index

Constructors

constructor

  • Parameters

    • Optional signer: Signer

    Returns TokenState__factory

Properties

Readonly bytecode

bytecode: string

Readonly interface

interface: Interface

Readonly signer

signer: Signer

Static Readonly abi

abi: { inputs: { internalType: string; name: string; type: string }[]; name: string; outputs: { internalType: string; name: string; type: string }[]; stateMutability: string; type: string }[] = ...

Static Readonly bytecode

bytecode: "0x608060405234801561001057600080fd5b5060c78061001f6000396000f3fe6080604052348015600f57600080fd5b506004361060285760003560e01c80637ecebe0014602d575b600080fd5b605360383660046065565b6001600160a01b03166000908152600e602052604090205490565b60405190815260200160405180910390f35b6000602082840312156075578081fd5b81356001600160a01b0381168114608a578182fd5b939250505056fea264697066735822122078df88d7ea4337649e62641e313b81030eae221fd6d08f4740654cc4483a2d6564736f6c63430008040033" = ...

Methods

attach

  • Parameters

    • address: string

    Returns TokenState

connect

  • Parameters

    • signer: Signer

    Returns TokenState__factory

deploy

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

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

    Returns Promise<TokenState>

getDeployTransaction

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

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

    Returns TransactionRequest

Static connect

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

    • address: string
    • signerOrProvider: Signer | Provider

    Returns TokenState

Static createInterface

  • createInterface(): TokenStateInterface
  • Returns TokenStateInterface

Static fromSolidity

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

    • compilerOutput: any
    • Optional signer: Signer

    Returns ContractFactory

Static getContract

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

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

    Returns Contract

Static getContractAddress

  • 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

Static getInterface

  • getInterface(contractInterface: ContractInterface): Interface
  • Parameters

    • contractInterface: ContractInterface

    Returns Interface

Generated using TypeDoc