Interface EntryPointInterface

Hierarchy

  • Interface
    • EntryPointInterface

Index

Constructors

constructor

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

Properties

Readonly _abiCoder

_abiCoder: AbiCoder

Readonly _isInterface

_isInterface: boolean

Readonly deploy

deploy: ConstructorFragment

Readonly errors

errors: {}

Type declaration

  • [name: string]: ErrorFragment

events

events: { AccountDeployed(bytes32,address,address,address): EventFragment; Deposited(address,uint256): EventFragment; SignatureAggregatorChanged(address): EventFragment; StakeLocked(address,uint256,uint256): EventFragment; StakeUnlocked(address,uint256): EventFragment; StakeWithdrawn(address,address,uint256): EventFragment; UserOperationEvent(bytes32,address,address,uint256,bool,uint256,uint256): EventFragment; UserOperationRevertReason(bytes32,address,uint256,bytes): EventFragment; Withdrawn(address,address,uint256): EventFragment }

Type declaration

  • AccountDeployed(bytes32,address,address,address): EventFragment
  • Deposited(address,uint256): EventFragment
  • SignatureAggregatorChanged(address): EventFragment
  • StakeLocked(address,uint256,uint256): EventFragment
  • StakeUnlocked(address,uint256): EventFragment
  • StakeWithdrawn(address,address,uint256): EventFragment
  • UserOperationEvent(bytes32,address,address,uint256,bool,uint256,uint256): EventFragment
  • UserOperationRevertReason(bytes32,address,uint256,bytes): EventFragment
  • Withdrawn(address,address,uint256): EventFragment

Readonly fragments

fragments: ReadonlyArray<Fragment>

functions

functions: { SIG_VALIDATION_FAILED(): FunctionFragment; _validateSenderAndPaymaster(bytes,address,bytes): FunctionFragment; addStake(uint32): FunctionFragment; balanceOf(address): FunctionFragment; depositTo(address): FunctionFragment; deposits(address): FunctionFragment; getDepositInfo(address): FunctionFragment; getSenderAddress(bytes): FunctionFragment; getUserOpHash((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)): FunctionFragment; handleAggregatedOps(((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[],address,bytes)[],address): FunctionFragment; handleOps((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[],address): FunctionFragment; innerHandleOp(bytes,((address,uint256,uint256,uint256,uint256,address,uint256,uint256),bytes32,uint256,uint256,uint256),bytes): FunctionFragment; simulateHandleOp((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes),address,bytes): FunctionFragment; simulateValidation((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)): FunctionFragment; unlockStake(): FunctionFragment; withdrawStake(address): FunctionFragment; withdrawTo(address,uint256): FunctionFragment }

Type declaration

  • SIG_VALIDATION_FAILED(): FunctionFragment
  • _validateSenderAndPaymaster(bytes,address,bytes): FunctionFragment
  • addStake(uint32): FunctionFragment
  • balanceOf(address): FunctionFragment
  • depositTo(address): FunctionFragment
  • deposits(address): FunctionFragment
  • getDepositInfo(address): FunctionFragment
  • getSenderAddress(bytes): FunctionFragment
  • getUserOpHash((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)): FunctionFragment
  • handleAggregatedOps(((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[],address,bytes)[],address): FunctionFragment
  • handleOps((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)[],address): FunctionFragment
  • innerHandleOp(bytes,((address,uint256,uint256,uint256,uint256,address,uint256,uint256),bytes32,uint256,uint256,uint256),bytes): FunctionFragment
  • simulateHandleOp((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes),address,bytes): FunctionFragment
  • simulateValidation((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes)): FunctionFragment
  • unlockStake(): FunctionFragment
  • withdrawStake(address): FunctionFragment
  • withdrawTo(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: "SIG_VALIDATION_FAILED", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "_validateSenderAndPaymaster", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "addStake", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "balanceOf", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "depositTo", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "deposits", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "getDepositInfo", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "getSenderAddress", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "getUserOpHash", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "handleAggregatedOps", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "handleOps", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "innerHandleOp", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "simulateHandleOp", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "simulateValidation", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "unlockStake", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "withdrawStake", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "withdrawTo", 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: "SIG_VALIDATION_FAILED", values?: undefined): string
  • encodeFunctionData(functionFragment: "_validateSenderAndPaymaster", values: []): string
  • encodeFunctionData(functionFragment: "addStake", values: []): string
  • encodeFunctionData(functionFragment: "balanceOf", values: []): string
  • encodeFunctionData(functionFragment: "depositTo", values: []): string
  • encodeFunctionData(functionFragment: "deposits", values: []): string
  • encodeFunctionData(functionFragment: "getDepositInfo", values: []): string
  • encodeFunctionData(functionFragment: "getSenderAddress", values: []): string
  • encodeFunctionData(functionFragment: "getUserOpHash", values: []): string
  • encodeFunctionData(functionFragment: "handleAggregatedOps", values: []): string
  • encodeFunctionData(functionFragment: "handleOps", values: []): string
  • encodeFunctionData(functionFragment: "innerHandleOp", values: []): string
  • encodeFunctionData(functionFragment: "simulateHandleOp", values: []): string
  • encodeFunctionData(functionFragment: "simulateValidation", values: []): string
  • encodeFunctionData(functionFragment: "unlockStake", values?: undefined): string
  • encodeFunctionData(functionFragment: "withdrawStake", values: []): string
  • encodeFunctionData(functionFragment: "withdrawTo", 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: "AccountDeployed"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "Deposited"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "SignatureAggregatorChanged"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "StakeLocked"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "StakeUnlocked"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "StakeWithdrawn"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "UserOperationEvent"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "UserOperationRevertReason"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "Withdrawn"): EventFragment

getEventTopic

  • getEventTopic(eventFragment: EventFragment | string): string

getFunction

  • getFunction(nameOrSignatureOrTopic: "SIG_VALIDATION_FAILED" | "_validateSenderAndPaymaster" | "addStake" | "balanceOf" | "depositTo" | "deposits" | "getDepositInfo" | "getSenderAddress" | "getUserOpHash" | "handleAggregatedOps" | "handleOps" | "innerHandleOp" | "simulateHandleOp" | "simulateValidation" | "unlockStake" | "withdrawStake" | "withdrawTo"): FunctionFragment
  • Parameters

    • nameOrSignatureOrTopic: "SIG_VALIDATION_FAILED" | "_validateSenderAndPaymaster" | "addStake" | "balanceOf" | "depositTo" | "deposits" | "getDepositInfo" | "getSenderAddress" | "getUserOpHash" | "handleAggregatedOps" | "handleOps" | "innerHandleOp" | "simulateHandleOp" | "simulateValidation" | "unlockStake" | "withdrawStake" | "withdrawTo"

    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