Interface IEtherspotWalletInterface

Hierarchy

  • Interface
    • IEtherspotWalletInterface

Index

Constructors

constructor

  • new IEtherspotWalletInterface(fragments: string | ReadonlyArray<Fragment | JsonFragment | string>): IEtherspotWalletInterface

Properties

Readonly _abiCoder

_abiCoder: AbiCoder

Readonly _isInterface

_isInterface: boolean

Readonly deploy

deploy: ConstructorFragment

Readonly errors

errors: {}

Type declaration

  • [name: string]: ErrorFragment

events

events: { EtherspotWalletInitialized(address,address): EventFragment; EtherspotWalletReceived(address,uint256): EventFragment; GuardianAdded(address): EventFragment; GuardianRemoved(address): EventFragment; OwnerAdded(address): EventFragment; OwnerRemoved(address): EventFragment; ProposalDiscarded(uint256,address): EventFragment; ProposalSubmitted(uint256,address,address): EventFragment; ProposalTimelockChanged(uint256): EventFragment; QuorumNotReached(uint256,address,uint256): EventFragment }

Type declaration

  • EtherspotWalletInitialized(address,address): EventFragment
  • EtherspotWalletReceived(address,uint256): EventFragment
  • GuardianAdded(address): EventFragment
  • GuardianRemoved(address): EventFragment
  • OwnerAdded(address): EventFragment
  • OwnerRemoved(address): EventFragment
  • ProposalDiscarded(uint256,address): EventFragment
  • ProposalSubmitted(uint256,address,address): EventFragment
  • ProposalTimelockChanged(uint256): EventFragment
  • QuorumNotReached(uint256,address,uint256): EventFragment

Readonly fragments

fragments: ReadonlyArray<Fragment>

functions

functions: { addDeposit(): FunctionFragment; addGuardian(address): FunctionFragment; addOwner(address): FunctionFragment; changeProposalTimelock(uint256): FunctionFragment; discardCurrentProposal(): FunctionFragment; entryPoint(): FunctionFragment; execute(address,uint256,bytes): FunctionFragment; executeBatch(address[],uint256[],bytes[]): FunctionFragment; getDeposit(): FunctionFragment; getProposal(uint256): FunctionFragment; guardianCosign(): FunctionFragment; guardianPropose(address): FunctionFragment; isGuardian(address): FunctionFragment; isOwner(address): FunctionFragment; isValidSignature(bytes32,bytes): FunctionFragment; removeGuardian(address): FunctionFragment; removeOwner(address): FunctionFragment; withdrawDepositTo(address,uint256): FunctionFragment }

Type declaration

  • addDeposit(): FunctionFragment
  • addGuardian(address): FunctionFragment
  • addOwner(address): FunctionFragment
  • changeProposalTimelock(uint256): FunctionFragment
  • discardCurrentProposal(): FunctionFragment
  • entryPoint(): FunctionFragment
  • execute(address,uint256,bytes): FunctionFragment
  • executeBatch(address[],uint256[],bytes[]): FunctionFragment
  • getDeposit(): FunctionFragment
  • getProposal(uint256): FunctionFragment
  • guardianCosign(): FunctionFragment
  • guardianPropose(address): FunctionFragment
  • isGuardian(address): FunctionFragment
  • isOwner(address): FunctionFragment
  • isValidSignature(bytes32,bytes): FunctionFragment
  • removeGuardian(address): FunctionFragment
  • removeOwner(address): FunctionFragment
  • withdrawDepositTo(address,uint256): FunctionFragment

Readonly structs

structs: {}

Type declaration

  • [name: string]: any

Methods

_decodeParams

  • _decodeParams(params: ReadonlyArray<ParamType>, data: BytesLike): Result

_encodeParams

  • _encodeParams(params: ReadonlyArray<ParamType>, values: ReadonlyArray<any>): string

decodeErrorResult

  • decodeErrorResult(fragment: ErrorFragment | string, data: BytesLike): Result

decodeEventLog

  • decodeEventLog(eventFragment: EventFragment | string, data: BytesLike, topics?: ReadonlyArray<string>): Result
  • Parameters

    • eventFragment: EventFragment | string
    • data: BytesLike
    • Optional topics: ReadonlyArray<string>

    Returns Result

decodeFunctionData

  • decodeFunctionData(functionFragment: FunctionFragment | string, data: BytesLike): Result

decodeFunctionResult

  • decodeFunctionResult(functionFragment: "addDeposit", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "addGuardian", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "addOwner", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "changeProposalTimelock", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "discardCurrentProposal", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "entryPoint", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "execute", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "executeBatch", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "getDeposit", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "getProposal", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "guardianCosign", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "guardianPropose", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "isGuardian", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "isOwner", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "isValidSignature", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "removeGuardian", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "removeOwner", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "withdrawDepositTo", data: BytesLike): Result

encodeDeploy

  • encodeDeploy(values?: ReadonlyArray<any>): string

encodeErrorResult

  • encodeErrorResult(fragment: ErrorFragment | string, values?: ReadonlyArray<any>): string

encodeEventLog

  • encodeEventLog(eventFragment: EventFragment | string, values: ReadonlyArray<any>): { data: string; topics: Array<string> }
  • Parameters

    • eventFragment: EventFragment | string
    • values: ReadonlyArray<any>

    Returns { data: string; topics: Array<string> }

    • data: string
    • topics: Array<string>

encodeFilterTopics

  • encodeFilterTopics(eventFragment: EventFragment | string, values: ReadonlyArray<any>): Array<string | Array<string>>

encodeFunctionData

  • encodeFunctionData(functionFragment: "addDeposit", values?: undefined): string
  • encodeFunctionData(functionFragment: "addGuardian", values: []): string
  • encodeFunctionData(functionFragment: "addOwner", values: []): string
  • encodeFunctionData(functionFragment: "changeProposalTimelock", values: []): string
  • encodeFunctionData(functionFragment: "discardCurrentProposal", values?: undefined): string
  • encodeFunctionData(functionFragment: "entryPoint", values?: undefined): string
  • encodeFunctionData(functionFragment: "execute", values: []): string
  • encodeFunctionData(functionFragment: "executeBatch", values: []): string
  • encodeFunctionData(functionFragment: "getDeposit", values?: undefined): string
  • encodeFunctionData(functionFragment: "getProposal", values: []): string
  • encodeFunctionData(functionFragment: "guardianCosign", values?: undefined): string
  • encodeFunctionData(functionFragment: "guardianPropose", values: []): string
  • encodeFunctionData(functionFragment: "isGuardian", values: []): string
  • encodeFunctionData(functionFragment: "isOwner", values: []): string
  • encodeFunctionData(functionFragment: "isValidSignature", values: []): string
  • encodeFunctionData(functionFragment: "removeGuardian", values: []): string
  • encodeFunctionData(functionFragment: "removeOwner", values: []): string
  • encodeFunctionData(functionFragment: "withdrawDepositTo", values: []): string

encodeFunctionResult

  • encodeFunctionResult(functionFragment: FunctionFragment | string, values?: ReadonlyArray<any>): string

format

  • format(format?: string): string | Array<string>

getError

  • getError(nameOrSignatureOrSighash: string): ErrorFragment

getEvent

  • getEvent(nameOrSignatureOrTopic: "EtherspotWalletInitialized"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "EtherspotWalletReceived"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "GuardianAdded"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "GuardianRemoved"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "OwnerAdded"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "OwnerRemoved"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "ProposalDiscarded"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "ProposalSubmitted"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "ProposalTimelockChanged"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "QuorumNotReached"): EventFragment

getEventTopic

  • getEventTopic(eventFragment: EventFragment | string): string

getFunction

  • getFunction(nameOrSignatureOrTopic: "addDeposit" | "addGuardian" | "addOwner" | "changeProposalTimelock" | "discardCurrentProposal" | "entryPoint" | "execute" | "executeBatch" | "getDeposit" | "getProposal" | "guardianCosign" | "guardianPropose" | "isGuardian" | "isOwner" | "isValidSignature" | "removeGuardian" | "removeOwner" | "withdrawDepositTo"): FunctionFragment
  • Parameters

    • nameOrSignatureOrTopic: "addDeposit" | "addGuardian" | "addOwner" | "changeProposalTimelock" | "discardCurrentProposal" | "entryPoint" | "execute" | "executeBatch" | "getDeposit" | "getProposal" | "guardianCosign" | "guardianPropose" | "isGuardian" | "isOwner" | "isValidSignature" | "removeGuardian" | "removeOwner" | "withdrawDepositTo"

    Returns FunctionFragment

getSighash

  • getSighash(fragment: ErrorFragment | FunctionFragment | string): string

parseError

  • parseError(data: BytesLike): ErrorDescription

parseLog

  • parseLog(log: { data: string; topics: Array<string> }): LogDescription
  • Parameters

    • log: { data: string; topics: Array<string> }
      • data: string
      • topics: Array<string>

    Returns LogDescription

parseTransaction

  • parseTransaction(tx: { data: string; value?: BigNumberish }): TransactionDescription
  • Parameters

    • tx: { data: string; value?: BigNumberish }
      • data: string
      • Optional value?: BigNumberish

    Returns TransactionDescription

Static getAbiCoder

  • getAbiCoder(): AbiCoder

Static getAddress

  • getAddress(address: string): string

Static getEventTopic

  • getEventTopic(eventFragment: EventFragment): string

Static getSighash

  • getSighash(fragment: ErrorFragment | FunctionFragment): string

Static isInterface

  • isInterface(value: any): value is Interface