Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BaseContract
    • Verifier

Index

Constructors

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

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

    Returns Contracts.Verifier

Properties

_deployedPromise: Promise<Contract>
_runningEvents: {}

Type declaration

  • [eventTag: string]: RunningEvent
_wrappedEmits: {}

Type declaration

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

        • Rest ...args: any[]

        Returns void

address: string
callStatic: { v2: any; v3: any; v4: any; v5: any; v6: any; verifyProof: any }

Type declaration

  • v2:function
    • v2(overrides?: CallOverrides): Promise<string>
  • v3:function
    • v3(overrides?: CallOverrides): Promise<string>
  • v4:function
    • v4(overrides?: CallOverrides): Promise<string>
  • v5:function
    • v5(overrides?: CallOverrides): Promise<string>
  • v6:function
    • v6(overrides?: CallOverrides): Promise<string>
  • verifyProof:function
    • verifyProof(a: [BigNumberish, BigNumberish], b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]], c: [BigNumberish, BigNumberish], input: BytesLike, maxEdges: BigNumberish, arg5: boolean, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • a: [BigNumberish, BigNumberish]
      • b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]]
      • c: [BigNumberish, BigNumberish]
      • input: BytesLike
      • maxEdges: BigNumberish
      • arg5: boolean
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

deployTransaction: TransactionResponse
estimateGas: { v2: any; v3: any; v4: any; v5: any; v6: any; verifyProof: any }

Type declaration

  • v2:function
    • v2(overrides?: CallOverrides): Promise<BigNumber>
  • v3:function
    • v3(overrides?: CallOverrides): Promise<BigNumber>
  • v4:function
    • v4(overrides?: CallOverrides): Promise<BigNumber>
  • v5:function
    • v5(overrides?: CallOverrides): Promise<BigNumber>
  • v6:function
    • v6(overrides?: CallOverrides): Promise<BigNumber>
  • verifyProof:function
    • verifyProof(a: [BigNumberish, BigNumberish], b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]], c: [BigNumberish, BigNumberish], input: BytesLike, maxEdges: BigNumberish, arg5: boolean, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • a: [BigNumberish, BigNumberish]
      • b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]]
      • c: [BigNumberish, BigNumberish]
      • input: BytesLike
      • maxEdges: BigNumberish
      • arg5: boolean
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

filters: {}

Type declaration

    functions: { v2: any; v3: any; v4: any; v5: any; v6: any; verifyProof: any }

    Type declaration

    • v2:function
      • v2(overrides?: CallOverrides): Promise<[string]>
    • v3:function
      • v3(overrides?: CallOverrides): Promise<[string]>
    • v4:function
      • v4(overrides?: CallOverrides): Promise<[string]>
    • v5:function
      • v5(overrides?: CallOverrides): Promise<[string]>
    • v6:function
      • v6(overrides?: CallOverrides): Promise<[string]>
    • verifyProof:function
      • verifyProof(a: [BigNumberish, BigNumberish], b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]], c: [BigNumberish, BigNumberish], input: BytesLike, maxEdges: BigNumberish, arg5: boolean, overrides?: CallOverrides): Promise<[boolean] & { r: boolean }>
      • Parameters

        • a: [BigNumberish, BigNumberish]
        • b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]]
        • c: [BigNumberish, BigNumberish]
        • input: BytesLike
        • maxEdges: BigNumberish
        • arg5: boolean
        • Optional overrides: CallOverrides

        Returns Promise<[boolean] & { r: boolean }>

    interface: VerifierInterface
    populateTransaction: { v2: any; v3: any; v4: any; v5: any; v6: any; verifyProof: any }

    Type declaration

    • v2:function
      • v2(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • v3:function
      • v3(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • v4:function
      • v4(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • v5:function
      • v5(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • v6:function
      • v6(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • verifyProof:function
      • verifyProof(a: [BigNumberish, BigNumberish], b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]], c: [BigNumberish, BigNumberish], input: BytesLike, maxEdges: BigNumberish, arg5: boolean, overrides?: CallOverrides): Promise<PopulatedTransaction>
      • Parameters

        • a: [BigNumberish, BigNumberish]
        • b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]]
        • c: [BigNumberish, BigNumberish]
        • input: BytesLike
        • maxEdges: BigNumberish
        • arg5: boolean
        • Optional overrides: CallOverrides

        Returns Promise<PopulatedTransaction>

    provider: Provider
    resolvedAddress: Promise<string>
    signer: Signer

    Methods

    • _checkRunningEvents(runningEvent: RunningEvent): void
    • Parameters

      • runningEvent: RunningEvent

      Returns void

    • _deployed(blockTag?: BlockTag): Promise<Contract>
    • Parameters

      • Optional blockTag: BlockTag

      Returns Promise<Contract>

    • _wrapEvent(runningEvent: RunningEvent, log: Log, listener: Listener): Event
    • Parameters

      • runningEvent: RunningEvent
      • log: Log
      • listener: Listener

      Returns Event

    • emit(eventName: string | EventFilter, ...args: any[]): boolean
    • Parameters

      • eventName: string | EventFilter
      • Rest ...args: any[]

      Returns boolean

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

      • Optional overrides: TransactionRequest

      Returns Promise<TransactionResponse>

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

      • Optional eventName: string | EventFilter

      Returns number

    • listeners<EventArgsArray, EventArgsObject>(eventFilter?: TypedEventFilter<EventArgsArray, EventArgsObject>): TypedListener<EventArgsArray, EventArgsObject>[]
    • listeners(eventName?: string): Listener[]
    • Type parameters

      • EventArgsArray: any[]

      • EventArgsObject

      Parameters

      • Optional eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>

      Returns TypedListener<EventArgsArray, EventArgsObject>[]

    • Parameters

      • Optional eventName: string

      Returns Listener[]

    • off<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): Contracts.Verifier
    • off(eventName: string, listener: Listener): Contracts.Verifier
    • on<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): Contracts.Verifier
    • on(eventName: string, listener: Listener): Contracts.Verifier
    • once<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): Contracts.Verifier
    • once(eventName: string, listener: Listener): Contracts.Verifier
    • queryFilter<EventArgsArray, EventArgsObject>(event: TypedEventFilter<EventArgsArray, EventArgsObject>, fromBlockOrBlockhash?: string | number, toBlock?: string | number): Promise<TypedEvent<EventArgsArray & EventArgsObject>[]>
    • Type parameters

      • EventArgsArray: any[]

      • EventArgsObject

      Parameters

      • event: TypedEventFilter<EventArgsArray, EventArgsObject>
      • Optional fromBlockOrBlockhash: string | number
      • Optional toBlock: string | number

      Returns Promise<TypedEvent<EventArgsArray & EventArgsObject>[]>

    • removeAllListeners<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>): Contracts.Verifier
    • removeAllListeners(eventName?: string): Contracts.Verifier
    • removeListener<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): Contracts.Verifier
    • removeListener(eventName: string, listener: Listener): Contracts.Verifier
    • v2(overrides?: CallOverrides): Promise<string>
    • v3(overrides?: CallOverrides): Promise<string>
    • v4(overrides?: CallOverrides): Promise<string>
    • v5(overrides?: CallOverrides): Promise<string>
    • v6(overrides?: CallOverrides): Promise<string>
    • verifyProof(a: [BigNumberish, BigNumberish], b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]], c: [BigNumberish, BigNumberish], input: BytesLike, maxEdges: BigNumberish, arg5: boolean, overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • a: [BigNumberish, BigNumberish]
      • b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]]
      • c: [BigNumberish, BigNumberish]
      • input: BytesLike
      • maxEdges: BigNumberish
      • arg5: boolean
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

    • getContractAddress(transaction: { from: string; nonce: BigNumberish }): string
    • Parameters

      • transaction: { from: string; nonce: BigNumberish }
        • from: string
        • nonce: BigNumberish

      Returns string

    • getInterface(contractInterface: ContractInterface): Interface
    • Parameters

      • contractInterface: ContractInterface

      Returns Interface

    • isIndexed(value: any): value is Indexed
    • Parameters

      • value: any

      Returns value is Indexed

    Generated using TypeDoc