Interface EtherspotWallet

Hierarchy

  • BaseContract
    • EtherspotWallet

Index

Constructors

constructor

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

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

    Returns EtherspotWallet

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: { addDeposit: any; addGuardian: any; addOwner: any; changeProposalTimelock: any; discardCurrentProposal: any; entryPoint: any; execute: any; executeBatch: any; getDeposit: any; getNonce: any; getProposal: any; guardianCosign: any; guardianCount: any; guardianPropose: any; initialize: any; isGuardian: any; isOwner: any; isValidSignature: any; onERC1155BatchReceived: any; onERC1155Received: any; onERC721Received: any; ownerCount: any; proposalId: any; proposalTimelock: any; proxiableUUID: any; removeGuardian: any; removeOwner: any; supportsInterface: any; tokensReceived: any; upgradeTo: any; upgradeToAndCall: any; validateUserOp: any; withdrawDepositTo: any }

Type declaration

  • addDeposit: function
    • addDeposit(overrides?: CallOverrides): Promise<void>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<void>

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

      • _newGuardian: PromiseOrValue<string>
      • Optional overrides: CallOverrides

      Returns Promise<void>

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

      Returns Promise<void>

  • changeProposalTimelock: function
    • changeProposalTimelock(_newTimelock: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>
    • Parameters

      • _newTimelock: PromiseOrValue<BigNumberish>
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • discardCurrentProposal: function
    • discardCurrentProposal(overrides?: CallOverrides): Promise<void>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<void>

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

      • Optional overrides: CallOverrides

      Returns Promise<string>

  • execute: function
  • executeBatch: function
  • getDeposit: function
    • getDeposit(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getProposal: function
    • getProposal(_proposalId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[] & { approvalCount_: BigNumber; guardiansApproved_: string[]; ownerProposed_: string; proposedAt_: BigNumber; resolved_: boolean }>
    • Parameters

      • _proposalId: PromiseOrValue<BigNumberish>
      • Optional overrides: CallOverrides

      Returns Promise<[] & { approvalCount_: BigNumber; guardiansApproved_: string[]; ownerProposed_: string; proposedAt_: BigNumber; resolved_: boolean }>

  • guardianCosign: function
    • guardianCosign(overrides?: CallOverrides): Promise<void>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<void>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      Returns Promise<void>

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

      Returns Promise<void>

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

      Returns Promise<boolean>

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

      Returns Promise<boolean>

  • isValidSignature: function
  • onERC1155BatchReceived: function
  • onERC1155Received: function
  • onERC721Received: function
  • ownerCount: function
    • ownerCount(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<string>

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

      Returns Promise<void>

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

      Returns Promise<void>

  • supportsInterface: function
    • supportsInterface(interfaceId: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • interfaceId: PromiseOrValue<BytesLike>
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

  • tokensReceived: function
  • upgradeTo: function
    • upgradeTo(newImplementation: PromiseOrValue<string>, overrides?: CallOverrides): Promise<void>
    • Parameters

      • newImplementation: PromiseOrValue<string>
      • Optional overrides: CallOverrides

      Returns Promise<void>

  • upgradeToAndCall: function
    • Parameters

      Returns Promise<void>

  • validateUserOp: function
  • withdrawDepositTo: function
    • withdrawDepositTo(withdrawAddress: PromiseOrValue<string>, amount: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<void>
    • Parameters

      Returns Promise<void>

Readonly deployTransaction

deployTransaction: TransactionResponse

estimateGas

estimateGas: { addDeposit: any; addGuardian: any; addOwner: any; changeProposalTimelock: any; discardCurrentProposal: any; entryPoint: any; execute: any; executeBatch: any; getDeposit: any; getNonce: any; getProposal: any; guardianCosign: any; guardianCount: any; guardianPropose: any; initialize: any; isGuardian: any; isOwner: any; isValidSignature: any; onERC1155BatchReceived: any; onERC1155Received: any; onERC721Received: any; ownerCount: any; proposalId: any; proposalTimelock: any; proxiableUUID: any; removeGuardian: any; removeOwner: any; supportsInterface: any; tokensReceived: any; upgradeTo: any; upgradeToAndCall: any; validateUserOp: any; withdrawDepositTo: any }

Type declaration

  • addDeposit: function
    • addDeposit(overrides?: PayableOverrides & { from?: PromiseOrValue<string> }): Promise<BigNumber>
    • Parameters

      • Optional overrides: PayableOverrides & { from?: PromiseOrValue<string> }

      Returns Promise<BigNumber>

  • addGuardian: function
    • Parameters

      Returns Promise<BigNumber>

  • addOwner: function
  • changeProposalTimelock: function
    • changeProposalTimelock(_newTimelock: PromiseOrValue<BigNumberish>, overrides?: Overrides & { from?: PromiseOrValue<string> }): Promise<BigNumber>
    • Parameters

      Returns Promise<BigNumber>

  • discardCurrentProposal: function
    • discardCurrentProposal(overrides?: Overrides & { from?: PromiseOrValue<string> }): Promise<BigNumber>
    • Parameters

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • execute: function
  • executeBatch: function
  • getDeposit: function
    • getDeposit(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getProposal: function
    • getProposal(_proposalId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _proposalId: PromiseOrValue<BigNumberish>
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • guardianCosign: function
    • guardianCosign(overrides?: Overrides & { from?: PromiseOrValue<string> }): Promise<BigNumber>
    • Parameters

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • guardianPropose: function
  • initialize: function
  • isGuardian: function
    • isGuardian(_address: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      Returns Promise<BigNumber>

  • isOwner: function
    • isOwner(_address: PromiseOrValue<string>, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      Returns Promise<BigNumber>

  • isValidSignature: function
    • Parameters

      Returns Promise<BigNumber>

  • onERC1155BatchReceived: function
  • onERC1155Received: function
  • onERC721Received: function
  • ownerCount: function
    • ownerCount(overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

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

      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • removeGuardian: function
  • removeOwner: function
  • supportsInterface: function
    • supportsInterface(interfaceId: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • interfaceId: PromiseOrValue<BytesLike>
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • tokensReceived: function
  • upgradeTo: function
    • Parameters

      Returns Promise<BigNumber>

  • upgradeToAndCall: function
  • validateUserOp: function
  • withdrawDepositTo: function

filters

filters: { AdminChanged: any; AdminChanged(address,address): any; BeaconUpgraded: any; BeaconUpgraded(address): any; EtherspotWalletInitialized: any; EtherspotWalletInitialized(address,address): any; EtherspotWalletReceived: any; EtherspotWalletReceived(address,uint256): any; GuardianAdded: any; GuardianAdded(address): any; GuardianRemoved: any; GuardianRemoved(address): any; Initialized: any; Initialized(uint8): any; OwnerAdded: any; OwnerAdded(address): any; OwnerRemoved: any; OwnerRemoved(address): any; ProposalDiscarded: any; ProposalDiscarded(uint256,address): any; ProposalSubmitted: any; ProposalSubmitted(uint256,address,address): any; ProposalTimelockChanged: any; ProposalTimelockChanged(uint256): any; QuorumNotReached: any; QuorumNotReached(uint256,address,uint256): any; Upgraded: any; Upgraded(address): any }

Type declaration

functions

functions: { addDeposit: any; addGuardian: any; addOwner: any; changeProposalTimelock: any; discardCurrentProposal: any; entryPoint: any; execute: any; executeBatch: any; getDeposit: any; getNonce: any; getProposal: any; guardianCosign: any; guardianCount: any; guardianPropose: any; initialize: any; isGuardian: any; isOwner: any; isValidSignature: any; onERC1155BatchReceived: any; onERC1155Received: any; onERC721Received: any; ownerCount: any; proposalId: any; proposalTimelock: any; proxiableUUID: any; removeGuardian: any; removeOwner: any; supportsInterface: any; tokensReceived: any; upgradeTo: any; upgradeToAndCall: any; validateUserOp: any; withdrawDepositTo: any }

Type declaration

  • addDeposit: function
    • addDeposit(overrides?: PayableOverrides & { from?: PromiseOrValue<string> }): Promise<ContractTransaction>
    • Parameters

      • Optional overrides: PayableOverrides & { from?: PromiseOrValue<string> }

      Returns Promise<ContractTransaction>

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

      Returns Promise<ContractTransaction>

  • addOwner: function
    • Parameters

      Returns Promise<ContractTransaction>

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

      Returns Promise<ContractTransaction>

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

      Returns Promise<ContractTransaction>

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

      • Optional overrides: CallOverrides

      Returns Promise<[]>

  • execute: function
  • executeBatch: function
  • getDeposit: function
    • getDeposit(overrides?: CallOverrides): Promise<[]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[]>

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

      • Optional overrides: CallOverrides

      Returns Promise<[]>

  • getProposal: function
    • getProposal(_proposalId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[] & { approvalCount_: BigNumber; guardiansApproved_: string[]; ownerProposed_: string; proposedAt_: BigNumber; resolved_: boolean }>
    • Parameters

      • _proposalId: PromiseOrValue<BigNumberish>
      • Optional overrides: CallOverrides

      Returns Promise<[] & { approvalCount_: BigNumber; guardiansApproved_: string[]; ownerProposed_: string; proposedAt_: BigNumber; resolved_: boolean }>

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

      Returns Promise<ContractTransaction>

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

      • Optional overrides: CallOverrides

      Returns Promise<[]>

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

      Returns Promise<ContractTransaction>

  • initialize: function
    • Parameters

      Returns Promise<ContractTransaction>

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

      Returns Promise<[]>

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

      Returns Promise<[]>

  • isValidSignature: function
  • onERC1155BatchReceived: function
  • onERC1155Received: function
  • onERC721Received: function
  • ownerCount: function
    • ownerCount(overrides?: CallOverrides): Promise<[]>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<[]>

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

      • Optional overrides: CallOverrides

      Returns Promise<[]>

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

      • Optional overrides: CallOverrides

      Returns Promise<[]>

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

      • Optional overrides: CallOverrides

      Returns Promise<[]>

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

      Returns Promise<ContractTransaction>

  • removeOwner: function
    • Parameters

      Returns Promise<ContractTransaction>

  • supportsInterface: function
    • supportsInterface(interfaceId: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<[]>
    • Parameters

      • interfaceId: PromiseOrValue<BytesLike>
      • Optional overrides: CallOverrides

      Returns Promise<[]>

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

      Returns Promise<ContractTransaction>

  • upgradeToAndCall: function
  • validateUserOp: function
  • withdrawDepositTo: function

interface

off

off: OnEvent<this>

on

on: OnEvent<this>

once

once: OnEvent<this>

populateTransaction

populateTransaction: { addDeposit: any; addGuardian: any; addOwner: any; changeProposalTimelock: any; discardCurrentProposal: any; entryPoint: any; execute: any; executeBatch: any; getDeposit: any; getNonce: any; getProposal: any; guardianCosign: any; guardianCount: any; guardianPropose: any; initialize: any; isGuardian: any; isOwner: any; isValidSignature: any; onERC1155BatchReceived: any; onERC1155Received: any; onERC721Received: any; ownerCount: any; proposalId: any; proposalTimelock: any; proxiableUUID: any; removeGuardian: any; removeOwner: any; supportsInterface: any; tokensReceived: any; upgradeTo: any; upgradeToAndCall: any; validateUserOp: any; withdrawDepositTo: any }

Type declaration

  • addDeposit: function
    • addDeposit(overrides?: PayableOverrides & { from?: PromiseOrValue<string> }): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: PayableOverrides & { from?: PromiseOrValue<string> }

      Returns Promise<PopulatedTransaction>

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

      Returns Promise<PopulatedTransaction>

  • addOwner: function
    • Parameters

      Returns Promise<PopulatedTransaction>

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

      Returns Promise<PopulatedTransaction>

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

      Returns Promise<PopulatedTransaction>

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • execute: function
  • executeBatch: function
  • getDeposit: function
    • getDeposit(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

  • getProposal: function
    • getProposal(_proposalId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • _proposalId: PromiseOrValue<BigNumberish>
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      Returns Promise<PopulatedTransaction>

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      Returns Promise<PopulatedTransaction>

  • initialize: function
    • Parameters

      Returns Promise<PopulatedTransaction>

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

      Returns Promise<PopulatedTransaction>

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

      Returns Promise<PopulatedTransaction>

  • isValidSignature: function
    • isValidSignature(hash: PromiseOrValue<BytesLike>, signature: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      Returns Promise<PopulatedTransaction>

  • onERC1155BatchReceived: function
  • onERC1155Received: function
  • onERC721Received: function
  • ownerCount: function
    • ownerCount(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      Returns Promise<PopulatedTransaction>

  • removeOwner: function
    • Parameters

      Returns Promise<PopulatedTransaction>

  • supportsInterface: function
    • supportsInterface(interfaceId: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<PopulatedTransaction>
    • Parameters

      • interfaceId: PromiseOrValue<BytesLike>
      • Optional overrides: CallOverrides

      Returns Promise<PopulatedTransaction>

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

      Returns Promise<PopulatedTransaction>

  • upgradeToAndCall: function
  • validateUserOp: function
  • withdrawDepositTo: function

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

addDeposit

  • addDeposit(overrides?: PayableOverrides & { from?: PromiseOrValue<string> }): Promise<ContractTransaction>
  • Parameters

    • Optional overrides: PayableOverrides & { from?: PromiseOrValue<string> }

    Returns Promise<ContractTransaction>

addGuardian

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

    Returns Promise<ContractTransaction>

addOwner

  • Parameters

    Returns Promise<ContractTransaction>

attach

  • attach(addressOrName: string): this
  • Parameters

    • addressOrName: string

    Returns this

changeProposalTimelock

  • changeProposalTimelock(_newTimelock: PromiseOrValue<BigNumberish>, overrides?: Overrides & { from?: PromiseOrValue<string> }): Promise<ContractTransaction>
  • Parameters

    Returns Promise<ContractTransaction>

connect

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

    • signerOrProvider: Signer | Provider | string

    Returns this

deployed

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

discardCurrentProposal

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

    Returns Promise<ContractTransaction>

emit

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

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

    Returns boolean

entryPoint

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

    • Optional overrides: CallOverrides

    Returns Promise<string>

execute

executeBatch

fallback

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

    • Optional overrides: TransactionRequest

    Returns Promise<TransactionResponse>

getDeposit

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

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

getNonce

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

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

getProposal

  • getProposal(_proposalId: PromiseOrValue<BigNumberish>, overrides?: CallOverrides): Promise<[] & { approvalCount_: BigNumber; guardiansApproved_: string[]; ownerProposed_: string; proposedAt_: BigNumber; resolved_: boolean }>
  • Parameters

    • _proposalId: PromiseOrValue<BigNumberish>
    • Optional overrides: CallOverrides

    Returns Promise<[] & { approvalCount_: BigNumber; guardiansApproved_: string[]; ownerProposed_: string; proposedAt_: BigNumber; resolved_: boolean }>

guardianCosign

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

    Returns Promise<ContractTransaction>

guardianCount

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

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

guardianPropose

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

    Returns Promise<ContractTransaction>

initialize

  • Parameters

    Returns Promise<ContractTransaction>

isGuardian

  • isGuardian(_address: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    Returns Promise<boolean>

isOwner

  • isOwner(_address: PromiseOrValue<string>, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    Returns Promise<boolean>

isValidSignature

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>

onERC1155BatchReceived

onERC1155Received

onERC721Received

ownerCount

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

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

proposalId

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

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

proposalTimelock

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

    • Optional overrides: CallOverrides

    Returns Promise<BigNumber>

proxiableUUID

  • proxiableUUID(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

removeGuardian

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

    Returns Promise<ContractTransaction>

removeOwner

  • Parameters

    Returns Promise<ContractTransaction>

supportsInterface

  • supportsInterface(interfaceId: PromiseOrValue<BytesLike>, overrides?: CallOverrides): Promise<boolean>
  • Parameters

    • interfaceId: PromiseOrValue<BytesLike>
    • Optional overrides: CallOverrides

    Returns Promise<boolean>

tokensReceived

upgradeTo

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

    Returns Promise<ContractTransaction>

upgradeToAndCall

validateUserOp

withdrawDepositTo

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