Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BaseContract
    • IBeacon

Index

Constructors

constructor

  • new IBeacon(addressOrName: string, contractInterface: ContractInterface, signerOrProvider?: Signer | Provider): IBeacon
  • Parameters

    • addressOrName: string
    • contractInterface: ContractInterface
    • Optional signerOrProvider: Signer | Provider

    Returns IBeacon

Properties

_deployedPromise

_deployedPromise: Promise<Contract>

_runningEvents

_runningEvents: {}

Type declaration

  • [eventTag: string]: RunningEvent

_wrappedEmits

_wrappedEmits: {}

Type declaration

  • [eventTag: string]: (...args: any[]) => void
      • (...args: any[]): void
      • Parameters

        • Rest ...args: any[]

        Returns void

Readonly address

address: string

callStatic

callStatic: { implementation: any }

Type declaration

  • implementation: function
    • implementation(overrides?: CallOverrides): Promise<string>
    • Must return an address that can be used as a delegate call target. {BeaconProxy} will check that this address is a contract.

      Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

Readonly deployTransaction

deployTransaction: TransactionResponse

estimateGas

estimateGas: { implementation: any }

Type declaration

  • implementation: function
    • implementation(overrides?: CallOverrides): Promise<BigNumber>
    • Must return an address that can be used as a delegate call target. {BeaconProxy} will check that this address is a contract.

      Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

filters

filters: {}

Type declaration

functions

functions: { implementation: any }

Type declaration

  • implementation: function
    • implementation(overrides?: CallOverrides): Promise<[string]>
    • Must return an address that can be used as a delegate call target. {BeaconProxy} will check that this address is a contract.

      Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[string]>

interface

interface: IBeaconInterface

populateTransaction

populateTransaction: { implementation: any }

Type declaration

  • implementation: function
    • implementation(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Must return an address that can be used as a delegate call target. {BeaconProxy} will check that this address is a contract.

      Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

Readonly provider

provider: Provider

Readonly resolvedAddress

resolvedAddress: Promise<string>

Readonly signer

signer: Signer

Methods

_checkRunningEvents

  • _checkRunningEvents(runningEvent: RunningEvent): void
  • Parameters

    • runningEvent: RunningEvent

    Returns void

_deployed

  • _deployed(blockTag?: BlockTag): Promise<Contract>
  • Parameters

    • Optional blockTag: BlockTag

    Returns Promise<Contract>

_wrapEvent

  • _wrapEvent(runningEvent: RunningEvent, log: Log, listener: Listener): Event
  • Parameters

    • runningEvent: RunningEvent
    • log: Log
    • listener: Listener

    Returns Event

attach

  • attach(addressOrName: string): IBeacon
  • Parameters

    • addressOrName: string

    Returns IBeacon

connect

  • connect(signerOrProvider: string | Signer | Provider): IBeacon
  • Parameters

    • signerOrProvider: string | Signer | Provider

    Returns IBeacon

deployed

  • Returns Promise<IBeacon>

emit

  • emit(eventName: string | EventFilter, ...args: any[]): boolean
  • Parameters

    • eventName: string | EventFilter
    • Rest ...args: any[]

    Returns boolean

fallback

  • fallback(overrides?: TransactionRequest): Promise<TransactionResponse>
  • Parameters

    • Optional overrides: TransactionRequest

    Returns Promise<TransactionResponse>

implementation

  • implementation(overrides?: CallOverrides): Promise<string>
  • Must return an address that can be used as a delegate call target. {BeaconProxy} will check that this address is a contract.

    Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

listenerCount

  • listenerCount(eventName?: string | EventFilter): number
  • Parameters

    • Optional eventName: string | EventFilter

    Returns number

listeners

  • listeners<EventArgsArray, EventArgsObject>(eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject>): TypedListener<EventArgsArray, EventArgsObject>[]
  • listeners(eventName?: string): Listener[]
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • Optional eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>

    Returns TypedListener<EventArgsArray, EventArgsObject>[]

  • Parameters

    • Optional eventName: string

    Returns Listener[]

off

  • off<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): IBeacon
  • off(eventName: string, listener: Listener): IBeacon
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns IBeacon

  • Parameters

    • eventName: string
    • listener: Listener

    Returns IBeacon

on

  • on<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): IBeacon
  • on(eventName: string, listener: Listener): IBeacon
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns IBeacon

  • Parameters

    • eventName: string
    • listener: Listener

    Returns IBeacon

once

  • once<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): IBeacon
  • once(eventName: string, listener: Listener): IBeacon
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns IBeacon

  • Parameters

    • eventName: string
    • listener: Listener

    Returns IBeacon

queryFilter

  • queryFilter<EventArgsArray, EventArgsObject>(event: TypedEventFilter<EventArgsArray, EventArgsObject>, fromBlockOrBlockhash?: string | number, toBlock?: string | number): Promise<TypedEvent<EventArgsArray & EventArgsObject>[]>
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • event: TypedEventFilter<EventArgsArray, EventArgsObject>
    • Optional fromBlockOrBlockhash: string | number
    • Optional toBlock: string | number

    Returns Promise<TypedEvent<EventArgsArray & EventArgsObject>[]>

removeAllListeners

  • removeAllListeners<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>): IBeacon
  • removeAllListeners(eventName?: string): IBeacon
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>

    Returns IBeacon

  • Parameters

    • Optional eventName: string

    Returns IBeacon

removeListener

  • removeListener<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): IBeacon
  • removeListener(eventName: string, listener: Listener): IBeacon
  • Type parameters

    • EventArgsArray: any[]

    • EventArgsObject

    Parameters

    • eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>
    • listener: TypedListener<EventArgsArray, EventArgsObject>

    Returns IBeacon

  • Parameters

    • eventName: string
    • listener: Listener

    Returns IBeacon

Static getContractAddress

  • getContractAddress(transaction: { from: string; nonce: BigNumberish }): string
  • Parameters

    • transaction: { from: string; nonce: BigNumberish }
      • from: string
      • nonce: BigNumberish

    Returns string

Static getInterface

  • getInterface(contractInterface: ContractInterface): Interface
  • Parameters

    • contractInterface: ContractInterface

    Returns Interface

Static isIndexed

  • isIndexed(value: any): value is Indexed
  • Parameters

    • value: any

    Returns value is Indexed

Generated using TypeDoc