Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • BaseContract
    • VAnchorEncodeInputs

Index

Constructors

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

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

    Returns VAnchorEncodeInputs

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: { EVM_CHAIN_ID_TYPE: any; _encodeInputs16: any; _encodeInputs2: any; getChainId: any; getChainIdType: any }

Type declaration

  • EVM_CHAIN_ID_TYPE:function
    • EVM_CHAIN_ID_TYPE(overrides?: CallOverrides): Promise<string>
  • _encodeInputs16:function
    • _encodeInputs16(_args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }, _maxEdges: BigNumberish, overrides?: CallOverrides): Promise<[string, string[]]>
    • Parameters

      • _args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }
        • extDataHash: BytesLike
        • inputNullifiers: BytesLike[]
        • outputCommitments: [BytesLike, BytesLike]
        • proof: BytesLike
        • publicAmount: BigNumberish
        • roots: BytesLike
      • _maxEdges: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[string, string[]]>

  • _encodeInputs2:function
    • _encodeInputs2(_args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }, _maxEdges: BigNumberish, overrides?: CallOverrides): Promise<[string, string[]]>
    • Parameters

      • _args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }
        • extDataHash: BytesLike
        • inputNullifiers: BytesLike[]
        • outputCommitments: [BytesLike, BytesLike]
        • proof: BytesLike
        • publicAmount: BigNumberish
        • roots: BytesLike
      • _maxEdges: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[string, string[]]>

  • getChainId:function
    • getChainId(overrides?: CallOverrides): Promise<BigNumber>
  • getChainIdType:function
    • getChainIdType(overrides?: CallOverrides): Promise<number>
deployTransaction: TransactionResponse
estimateGas: { EVM_CHAIN_ID_TYPE: any; _encodeInputs16: any; _encodeInputs2: any; getChainId: any; getChainIdType: any }

Type declaration

  • EVM_CHAIN_ID_TYPE:function
    • EVM_CHAIN_ID_TYPE(overrides?: CallOverrides): Promise<BigNumber>
  • _encodeInputs16:function
    • _encodeInputs16(_args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }, _maxEdges: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }
        • extDataHash: BytesLike
        • inputNullifiers: BytesLike[]
        • outputCommitments: [BytesLike, BytesLike]
        • proof: BytesLike
        • publicAmount: BigNumberish
        • roots: BytesLike
      • _maxEdges: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • _encodeInputs2:function
    • _encodeInputs2(_args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }, _maxEdges: BigNumberish, overrides?: CallOverrides): Promise<BigNumber>
    • Parameters

      • _args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }
        • extDataHash: BytesLike
        • inputNullifiers: BytesLike[]
        • outputCommitments: [BytesLike, BytesLike]
        • proof: BytesLike
        • publicAmount: BigNumberish
        • roots: BytesLike
      • _maxEdges: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<BigNumber>

  • getChainId:function
    • getChainId(overrides?: CallOverrides): Promise<BigNumber>
  • getChainIdType:function
    • getChainIdType(overrides?: CallOverrides): Promise<BigNumber>
filters: {}

Type declaration

    functions: { EVM_CHAIN_ID_TYPE: any; _encodeInputs16: any; _encodeInputs2: any; getChainId: any; getChainIdType: any }

    Type declaration

    • EVM_CHAIN_ID_TYPE:function
      • EVM_CHAIN_ID_TYPE(overrides?: CallOverrides): Promise<[string]>
    • _encodeInputs16:function
      • _encodeInputs16(_args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }, _maxEdges: BigNumberish, overrides?: CallOverrides): Promise<[string, string[]]>
      • Parameters

        • _args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }
          • extDataHash: BytesLike
          • inputNullifiers: BytesLike[]
          • outputCommitments: [BytesLike, BytesLike]
          • proof: BytesLike
          • publicAmount: BigNumberish
          • roots: BytesLike
        • _maxEdges: BigNumberish
        • Optional overrides: CallOverrides

        Returns Promise<[string, string[]]>

    • _encodeInputs2:function
      • _encodeInputs2(_args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }, _maxEdges: BigNumberish, overrides?: CallOverrides): Promise<[string, string[]]>
      • Parameters

        • _args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }
          • extDataHash: BytesLike
          • inputNullifiers: BytesLike[]
          • outputCommitments: [BytesLike, BytesLike]
          • proof: BytesLike
          • publicAmount: BigNumberish
          • roots: BytesLike
        • _maxEdges: BigNumberish
        • Optional overrides: CallOverrides

        Returns Promise<[string, string[]]>

    • getChainId:function
      • getChainId(overrides?: CallOverrides): Promise<[BigNumber]>
    • getChainIdType:function
      • getChainIdType(overrides?: CallOverrides): Promise<[number]>
    interface: VAnchorEncodeInputsInterface
    populateTransaction: { EVM_CHAIN_ID_TYPE: any; _encodeInputs16: any; _encodeInputs2: any; getChainId: any; getChainIdType: any }

    Type declaration

    • EVM_CHAIN_ID_TYPE:function
      • EVM_CHAIN_ID_TYPE(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • _encodeInputs16:function
      • _encodeInputs16(_args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }, _maxEdges: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
      • Parameters

        • _args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }
          • extDataHash: BytesLike
          • inputNullifiers: BytesLike[]
          • outputCommitments: [BytesLike, BytesLike]
          • proof: BytesLike
          • publicAmount: BigNumberish
          • roots: BytesLike
        • _maxEdges: BigNumberish
        • Optional overrides: CallOverrides

        Returns Promise<PopulatedTransaction>

    • _encodeInputs2:function
      • _encodeInputs2(_args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }, _maxEdges: BigNumberish, overrides?: CallOverrides): Promise<PopulatedTransaction>
      • Parameters

        • _args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }
          • extDataHash: BytesLike
          • inputNullifiers: BytesLike[]
          • outputCommitments: [BytesLike, BytesLike]
          • proof: BytesLike
          • publicAmount: BigNumberish
          • roots: BytesLike
        • _maxEdges: BigNumberish
        • Optional overrides: CallOverrides

        Returns Promise<PopulatedTransaction>

    • getChainId:function
      • getChainId(overrides?: CallOverrides): Promise<PopulatedTransaction>
    • getChainIdType:function
      • getChainIdType(overrides?: CallOverrides): Promise<PopulatedTransaction>
    provider: Provider
    resolvedAddress: Promise<string>
    signer: Signer

    Methods

    • EVM_CHAIN_ID_TYPE(overrides?: CallOverrides): Promise<string>
    • _checkRunningEvents(runningEvent: RunningEvent): void
    • Parameters

      • runningEvent: RunningEvent

      Returns void

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

      • Optional blockTag: BlockTag

      Returns Promise<Contract>

    • _encodeInputs16(_args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }, _maxEdges: BigNumberish, overrides?: CallOverrides): Promise<[string, string[]]>
    • Parameters

      • _args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }
        • extDataHash: BytesLike
        • inputNullifiers: BytesLike[]
        • outputCommitments: [BytesLike, BytesLike]
        • proof: BytesLike
        • publicAmount: BigNumberish
        • roots: BytesLike
      • _maxEdges: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[string, string[]]>

    • _encodeInputs2(_args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }, _maxEdges: BigNumberish, overrides?: CallOverrides): Promise<[string, string[]]>
    • Parameters

      • _args: { extDataHash: BytesLike; inputNullifiers: BytesLike[]; outputCommitments: [BytesLike, BytesLike]; proof: BytesLike; publicAmount: BigNumberish; roots: BytesLike }
        • extDataHash: BytesLike
        • inputNullifiers: BytesLike[]
        • outputCommitments: [BytesLike, BytesLike]
        • proof: BytesLike
        • publicAmount: BigNumberish
        • roots: BytesLike
      • _maxEdges: BigNumberish
      • Optional overrides: CallOverrides

      Returns Promise<[string, string[]]>

    • _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>

    • getChainId(overrides?: CallOverrides): Promise<BigNumber>
    • getChainIdType(overrides?: CallOverrides): Promise<number>
    • 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[]
    • off<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): VAnchorEncodeInputs
    • off(eventName: string, listener: Listener): VAnchorEncodeInputs
    • on<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): VAnchorEncodeInputs
    • on(eventName: string, listener: Listener): VAnchorEncodeInputs
    • once<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): VAnchorEncodeInputs
    • once(eventName: string, listener: Listener): VAnchorEncodeInputs
    • 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>): VAnchorEncodeInputs
    • removeAllListeners(eventName?: string): VAnchorEncodeInputs
    • removeListener<EventArgsArray, EventArgsObject>(eventFilter: TypedEventFilter<EventArgsArray, EventArgsObject>, listener: TypedListener<EventArgsArray, EventArgsObject>): VAnchorEncodeInputs
    • removeListener(eventName: string, listener: Listener): VAnchorEncodeInputs
    • 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