Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BaseContract
    • Verifier5

Index

Constructors

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

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

    Returns Verifier5

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: { verifyProof: any }

Type declaration

  • verifyProof:function
    • verifyProof(a: [BigNumberish, BigNumberish], b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]], c: [BigNumberish, BigNumberish], input: [BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish], overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • a: [BigNumberish, BigNumberish]
      • b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]]
      • c: [BigNumberish, BigNumberish]
      • input: [BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish]
      • Optional overrides: CallOverrides

      Returns Promise<boolean>

deployTransaction: TransactionResponse
estimateGas: { verifyProof: any }

Type declaration

  • verifyProof:function
    • verifyProof(a: [BigNumberish, BigNumberish], b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]], c: [BigNumberish, BigNumberish], input: [BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish], overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • a: [BigNumberish, BigNumberish]
      • b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]]
      • c: [BigNumberish, BigNumberish]
      • input: [BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish]
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

filters: {}

Type declaration

    functions: { verifyProof: any }

    Type declaration

    • verifyProof:function
      • verifyProof(a: [BigNumberish, BigNumberish], b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]], c: [BigNumberish, BigNumberish], input: [BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish], overrides?: CallOverrides): Promise<[boolean] & { r: boolean }>
      • Parameters

        • a: [BigNumberish, BigNumberish]
        • b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]]
        • c: [BigNumberish, BigNumberish]
        • input: [BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish]
        • Optional overrides: CallOverrides

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

    interface: Verifier5Interface
    populateTransaction: { verifyProof: any }

    Type declaration

    • verifyProof:function
      • verifyProof(a: [BigNumberish, BigNumberish], b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]], c: [BigNumberish, BigNumberish], input: [BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish], overrides?: CallOverrides): Promise<PopulatedTransaction>
      • Parameters

        • a: [BigNumberish, BigNumberish]
        • b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]]
        • c: [BigNumberish, BigNumberish]
        • input: [BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish]
        • 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

    • connect(signerOrProvider: string | Signer | Provider): Verifier5
    • 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>): Verifier5
    • off(eventName: string, listener: Listener): Verifier5
    • on<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): Verifier5
    • on(eventName: string, listener: Listener): Verifier5
    • once<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): Verifier5
    • once(eventName: string, listener: Listener): Verifier5
    • 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>): Verifier5
    • removeAllListeners(eventName?: string): Verifier5
    • removeListener<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): Verifier5
    • removeListener(eventName: string, listener: Listener): Verifier5
    • verifyProof(a: [BigNumberish, BigNumberish], b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]], c: [BigNumberish, BigNumberish], input: [BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish], overrides?: CallOverrides): Promise<boolean>
    • Parameters

      • a: [BigNumberish, BigNumberish]
      • b: [[BigNumberish, BigNumberish], [BigNumberish, BigNumberish]]
      • c: [BigNumberish, BigNumberish]
      • input: [BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish, BigNumberish]
      • 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