Skip to main content

DeployerMethodClass <FullContractAbi>

Index

Constructors

publicconstructor

  • Type parameters

    Parameters

    • parent: Contract<FullContractAbi>
    • deployOptions: undefined | { arguments?: ContractConstructorArgs<FullContractAbi>; data?: string; input?: string }
      • optionalarguments: ContractConstructorArgs<FullContractAbi>

        The arguments which get passed to the constructor on deployment.

      • optionaldata: string

        The byte code of the contract.

      • optionalinput: string

    Returns DeployerMethodClass<FullContractAbi>

Properties

publicdeployOptions

deployOptions: undefined | { arguments?: ContractConstructorArgs<FullContractAbi>; data?: string; input?: string }

publicparent

parent: Contract<FullContractAbi>

Methods

publicdecodeData

  • decodeData(data: string): { __length__: number; __method__: string }
  • Parameters

    • data: string

    Returns { __length__: number; __method__: string }

    • __length__: number
    • __method__: string

publicencodeABI

  • encodeABI(): string
  • Returns string

publicestimateGas

  • Type parameters

    • ReturnFormat: DataFormat = { bytes: HEX; number: BIGINT }

    Parameters

    Returns Promise<NumberTypes[ReturnFormat[number]]>

publicpopulateTransaction

publicsend