Interface IEtherspotPaymasterInterface

Hierarchy

  • Interface
    • IEtherspotPaymasterInterface

Index

Constructors

constructor

Properties

Readonly _abiCoder

_abiCoder: AbiCoder

Readonly _isInterface

_isInterface: boolean

Readonly deploy

deploy: ConstructorFragment

Readonly errors

errors: {}

Type declaration

  • [name: string]: ErrorFragment

events

events: { AddedBatchToWhitelist(address,address[]): EventFragment; AddedToWhitelist(address,address): EventFragment; RemovedBatchFromWhitelist(address,address[]): EventFragment; RemovedFromWhitelist(address,address): EventFragment; SponsorSuccessful(address,address): EventFragment }

Type declaration

  • AddedBatchToWhitelist(address,address[]): EventFragment
  • AddedToWhitelist(address,address): EventFragment
  • RemovedBatchFromWhitelist(address,address[]): EventFragment
  • RemovedFromWhitelist(address,address): EventFragment
  • SponsorSuccessful(address,address): EventFragment

Readonly fragments

fragments: ReadonlyArray<Fragment>

functions

functions: { addBatchToWhitelist(address[]): FunctionFragment; addStake(uint32): FunctionFragment; addToWhitelist(address): FunctionFragment; check(address,address): FunctionFragment; depositFunds(): FunctionFragment; getDeposit(): FunctionFragment; getHash((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes),uint48,uint48): FunctionFragment; getSponsorBalance(address): FunctionFragment; parsePaymasterAndData(bytes): FunctionFragment; postOp(uint8,bytes,uint256): FunctionFragment; removeBatchFromWhitelist(address[]): FunctionFragment; removeFromWhitelist(address): FunctionFragment; unlockStake(): FunctionFragment; validatePaymasterUserOp((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes),bytes32,uint256): FunctionFragment; withdrawFunds(address,uint256): FunctionFragment; withdrawStake(address): FunctionFragment }

Type declaration

  • addBatchToWhitelist(address[]): FunctionFragment
  • addStake(uint32): FunctionFragment
  • addToWhitelist(address): FunctionFragment
  • check(address,address): FunctionFragment
  • depositFunds(): FunctionFragment
  • getDeposit(): FunctionFragment
  • getHash((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes),uint48,uint48): FunctionFragment
  • getSponsorBalance(address): FunctionFragment
  • parsePaymasterAndData(bytes): FunctionFragment
  • postOp(uint8,bytes,uint256): FunctionFragment
  • removeBatchFromWhitelist(address[]): FunctionFragment
  • removeFromWhitelist(address): FunctionFragment
  • unlockStake(): FunctionFragment
  • validatePaymasterUserOp((address,uint256,bytes,bytes,uint256,uint256,uint256,uint256,uint256,bytes,bytes),bytes32,uint256): FunctionFragment
  • withdrawFunds(address,uint256): FunctionFragment
  • withdrawStake(address): 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: "addBatchToWhitelist", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "addStake", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "addToWhitelist", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "check", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "depositFunds", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "getDeposit", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "getHash", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "getSponsorBalance", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "parsePaymasterAndData", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "postOp", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "removeBatchFromWhitelist", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "removeFromWhitelist", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "unlockStake", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "validatePaymasterUserOp", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "withdrawFunds", data: BytesLike): Result
  • decodeFunctionResult(functionFragment: "withdrawStake", 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: "addBatchToWhitelist", values: []): string
  • encodeFunctionData(functionFragment: "addStake", values: []): string
  • encodeFunctionData(functionFragment: "addToWhitelist", values: []): string
  • encodeFunctionData(functionFragment: "check", values: []): string
  • encodeFunctionData(functionFragment: "depositFunds", values?: undefined): string
  • encodeFunctionData(functionFragment: "getDeposit", values?: undefined): string
  • encodeFunctionData(functionFragment: "getHash", values: []): string
  • encodeFunctionData(functionFragment: "getSponsorBalance", values: []): string
  • encodeFunctionData(functionFragment: "parsePaymasterAndData", values: []): string
  • encodeFunctionData(functionFragment: "postOp", values: []): string
  • encodeFunctionData(functionFragment: "removeBatchFromWhitelist", values: []): string
  • encodeFunctionData(functionFragment: "removeFromWhitelist", values: []): string
  • encodeFunctionData(functionFragment: "unlockStake", values?: undefined): string
  • encodeFunctionData(functionFragment: "validatePaymasterUserOp", values: []): string
  • encodeFunctionData(functionFragment: "withdrawFunds", values: []): string
  • encodeFunctionData(functionFragment: "withdrawStake", 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: "AddedBatchToWhitelist"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "AddedToWhitelist"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "RemovedBatchFromWhitelist"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "RemovedFromWhitelist"): EventFragment
  • getEvent(nameOrSignatureOrTopic: "SponsorSuccessful"): EventFragment

getEventTopic

  • getEventTopic(eventFragment: EventFragment | string): string

getFunction

  • getFunction(nameOrSignatureOrTopic: "addBatchToWhitelist" | "addStake" | "addToWhitelist" | "check" | "depositFunds" | "getDeposit" | "getHash" | "getSponsorBalance" | "parsePaymasterAndData" | "postOp" | "removeBatchFromWhitelist" | "removeFromWhitelist" | "unlockStake" | "validatePaymasterUserOp" | "withdrawFunds" | "withdrawStake"): FunctionFragment
  • Parameters

    • nameOrSignatureOrTopic: "addBatchToWhitelist" | "addStake" | "addToWhitelist" | "check" | "depositFunds" | "getDeposit" | "getHash" | "getSponsorBalance" | "parsePaymasterAndData" | "postOp" | "removeBatchFromWhitelist" | "removeFromWhitelist" | "unlockStake" | "validatePaymasterUserOp" | "withdrawFunds" | "withdrawStake"

    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