Interface EtherspotWalletFactory

Hierarchy

  • BaseContract
    • EtherspotWalletFactory

Index

Constructors

constructor

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

Properties

_deployedPromise

_deployedPromise: Promise<Contract>

_runningEvents

_runningEvents: {}

Type declaration

  • [eventTag: string]: RunningEvent

_wrappedEmits

_wrappedEmits: {}

Type declaration

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

        • Rest ...args: Array<any>

        Returns void

Readonly address

address: string

callStatic

callStatic: { accountCreationCode: any; accountImplementation: any; changeOwner: any; checkImplementation: any; createAccount: any; getAddress: any; owner: any; setImplementation: any }

Type declaration

  • accountCreationCode: function
    • accountCreationCode(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • accountImplementation: function
    • accountImplementation(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • changeOwner: function
    • changeOwner(_newOwner: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>
    • Parameters

      Returns Promise<void>

  • checkImplementation: function
    • checkImplementation(_impl: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      Returns Promise<boolean>

  • createAccount: function
  • getAddress: function
  • owner: function
    • owner(overrides?: CallOverrides): Promise<string>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • setImplementation: function
    • setImplementation(_newImpl: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>
    • Parameters

      Returns Promise<void>

Readonly deployTransaction

deployTransaction: TransactionResponse

estimateGas

estimateGas: { accountCreationCode: any; accountImplementation: any; changeOwner: any; checkImplementation: any; createAccount: any; getAddress: any; owner: any; setImplementation: any }

Type declaration

  • accountCreationCode: function
    • accountCreationCode(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • accountImplementation: function
    • accountImplementation(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • changeOwner: function
  • checkImplementation: function
    • checkImplementation(_impl: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      Returns Promise<BigNumber>

  • createAccount: function
  • getAddress: function
    • Parameters

      Returns Promise<BigNumber>

  • owner: function
    • owner(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • setImplementation: function

filters

filters: { AccountCreation: any; AccountCreation(address,address,uint256): any; ImplementationSet: any; ImplementationSet(address): any; OwnerChanged: any; OwnerChanged(address): any }

Type declaration

functions

functions: { accountCreationCode: any; accountImplementation: any; changeOwner: any; checkImplementation: any; createAccount: any; getAddress: any; owner: any; setImplementation: any }

Type declaration

  • accountCreationCode: function
    • accountCreationCode(overrides?: CallOverrides): Promise<[]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[]>

  • accountImplementation: function
    • accountImplementation(overrides?: CallOverrides): Promise<[]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[]>

  • changeOwner: function
    • Parameters

      Returns Promise<ContractTransaction>

  • checkImplementation: function
    • checkImplementation(_impl: PromiseOrValue<string>, overrides?: CallOverrides): Promise<[]>
    • Parameters

      Returns Promise<[]>

  • createAccount: function
  • getAddress: function
    • getAddress(_owner: PromiseOrValue<string>, _index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[] & { proxy: string }>
    • Parameters

      Returns Promise<[] & { proxy: string }>

  • owner: function
    • owner(overrides?: CallOverrides): Promise<[]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[]>

  • setImplementation: function
    • setImplementation(_newImpl: PromiseOrValue<string>, overrides?: Overrides & { from?: PromiseOrValue<string> }): Promise<ContractTransaction>
    • Parameters

      Returns Promise<ContractTransaction>

interface

off

off: OnEvent<this>

on

on: OnEvent<this>

once

once: OnEvent<this>

populateTransaction

populateTransaction: { accountCreationCode: any; accountImplementation: any; changeOwner: any; checkImplementation: any; createAccount: any; getAddress: any; owner: any; setImplementation: any }

Type declaration

  • accountCreationCode: function
    • accountCreationCode(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • accountImplementation: function
    • accountImplementation(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • changeOwner: function
    • Parameters

      Returns Promise<PopulatedTransaction>

  • checkImplementation: function
    • checkImplementation(_impl: PromiseOrValue<string>, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      Returns Promise<PopulatedTransaction>

  • createAccount: function
  • getAddress: function
    • getAddress(_owner: PromiseOrValue<string>, _index: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      Returns Promise<PopulatedTransaction>

  • owner: function
    • owner(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • setImplementation: function
    • setImplementation(_newImpl: PromiseOrValue<string>, overrides?: Overrides & { from?: PromiseOrValue<string> }): Promise<PopulatedTransaction>
    • Parameters

      Returns Promise<PopulatedTransaction>

Readonly provider

provider: Provider

removeListener

removeListener: OnEvent<this>

Readonly resolvedAddress

resolvedAddress: Promise<string>

Readonly signer

signer: Signer

Methods

_checkRunningEvents

  • _checkRunningEvents(runningEvent: RunningEvent): 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

accountCreationCode

  • accountCreationCode(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

accountImplementation

  • accountImplementation(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

attach

  • attach(addressOrName: string): this
  • Parameters

    • addressOrName: string

    Returns this

changeOwner

  • Parameters

    Returns Promise<ContractTransaction>

checkImplementation

  • checkImplementation(_impl: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    Returns Promise<boolean>

connect

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

    • signerOrProvider: Signer | Provider | string

    Returns this

createAccount

deployed

  • deployed(): Promise<this>
  • Returns Promise<this>

emit

  • emit(eventName: EventFilter | string, ...args: Array<any>): boolean
  • Parameters

    • eventName: EventFilter | string
    • Rest ...args: Array<any>

    Returns boolean

fallback

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

    • Optional overrides: TransactionRequest

    Returns Promise<TransactionResponse>

getAddress

listenerCount

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

    • Optional eventName: EventFilter | string

    Returns number

listeners

  • Type parameters

    Parameters

    Returns Array<TypedListener<TEvent>>

  • Parameters

    • Optional eventName: string

    Returns Array<Listener>

owner

  • owner(overrides?: CallOverrides): Promise<string>
  • Parameters

    • Optional overrides: CallOverrides

    Returns Promise<string>

queryFilter

  • queryFilter<TEvent>(event: TypedEventFilter<TEvent>, fromBlockOrBlockhash?: string | number | undefined, toBlock?: string | number | undefined): Promise<Array<TEvent>>
  • Type parameters

    Parameters

    • event: TypedEventFilter<TEvent>
    • Optional fromBlockOrBlockhash: string | number | undefined
    • Optional toBlock: string | number | undefined

    Returns Promise<Array<TEvent>>

removeAllListeners

  • removeAllListeners<TEvent>(eventFilter: TypedEventFilter<TEvent>): this
  • removeAllListeners(eventName?: string): this
  • Type parameters

    Parameters

    Returns this

  • Parameters

    • Optional eventName: string

    Returns this

setImplementation

  • setImplementation(_newImpl: PromiseOrValue<string>, overrides?: Overrides & { from?: PromiseOrValue<string> }): Promise<ContractTransaction>
  • Parameters

    Returns Promise<ContractTransaction>

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