Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ContractFactory
    • Migrations__factory

Index

Constructors

constructor

  • Parameters

    • Optional signer: Signer

    Returns Migrations__factory

Properties

Readonly bytecode

bytecode: string

Readonly interface

interface: Interface

Readonly signer

signer: Signer

Static Readonly abi

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

Static Readonly bytecode

bytecode: "0x6080604052600080546001600160a01b0319163317905534801561002257600080fd5b5061016f806100326000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c8063445df0ac146100465780638da5cb5b14610062578063fdacd5761461008d575b600080fd5b61004f60015481565b6040519081526020015b60405180910390f35b600054610075906001600160a01b031681565b6040516001600160a01b039091168152602001610059565b6100a061009b366004610121565b6100a2565b005b6000546001600160a01b0316331461011c5760405162461bcd60e51b815260206004820152603360248201527f546869732066756e6374696f6e206973207265737472696374656420746f207460448201527234329031b7b73a3930b1ba13b99037bbb732b960691b606482015260840160405180910390fd5b600155565b600060208284031215610132578081fd5b503591905056fea264697066735822122098760e95ecee9757125787c83deb04126a6b1815d1813d8a5f58be99167b44c664736f6c63430008040033" = ...

Methods

attach

  • Parameters

    • address: string

    Returns Migrations

connect

  • Parameters

    • signer: Signer

    Returns Migrations__factory

deploy

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

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

    Returns Promise<Migrations>

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): Migrations
  • Parameters

    • address: string
    • signerOrProvider: Signer | Provider

    Returns Migrations

Static createInterface

  • createInterface(): MigrationsInterface
  • Returns MigrationsInterface

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