Skip to main content
Version: 2.0.0

Interface: EpochKeyLiteVerifierHelper

contracts.verifierHelpers.EpochKeyLiteVerifierHelper

Hierarchy​

  • BaseContract

    ↳ EpochKeyLiteVerifierHelper

Properties​

_deployedPromise​

β€’ _deployedPromise: Promise<Contract>

Inherited from​

BaseContract._deployedPromise

Defined in​

node_modules/@ethersproject/contracts/lib/index.d.ts:100


_runningEvents​

β€’ _runningEvents: Object

Index signature​

β–ͺ [eventTag: string]: RunningEvent

Inherited from​

BaseContract._runningEvents

Defined in​

node_modules/@ethersproject/contracts/lib/index.d.ts:101


_wrappedEmits​

β€’ _wrappedEmits: Object

Index signature​

β–ͺ [eventTag: string]: (...args: any[]) => void

Inherited from​

BaseContract._wrappedEmits

Defined in​

node_modules/@ethersproject/contracts/lib/index.d.ts:104


address​

β€’ Readonly address: string

Inherited from​

BaseContract.address

Defined in​

node_modules/@ethersproject/contracts/lib/index.d.ts:79


callStatic​

β€’ callStatic: Object

Type declaration​

NameType
SNARK_SCALAR_FIELD(overrides?: CallOverrides) => Promise<BigNumber>
chainid(overrides?: CallOverrides) => Promise<BigNumber>
decodeEpochKeyControl(control: BigNumberish, overrides?: CallOverrides) => Promise<[number, number, BigNumber, boolean, number] & { attesterId: BigNumber ; chainId: number ; epoch: number ; nonce: number ; revealNonce: boolean }>
decodeEpochKeyLiteSignals(publicSignals: BigNumberish[], overrides?: CallOverrides) => Promise<EpochKeySignalsStructOutput>
shiftAndParse(data: BigNumberish, shiftBits: BigNumberish, variableBits: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
verifyAndCheck(publicSignals: BigNumberish[], proof: BigNumberish[], overrides?: CallOverrides) => Promise<EpochKeySignalsStructOutput>
verifyAndCheckCaller(publicSignals: BigNumberish[], proof: BigNumberish[], overrides?: CallOverrides) => Promise<EpochKeySignalsStructOutput>

Overrides​

BaseContract.callStatic

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:243


deployTransaction​

β€’ Readonly deployTransaction: TransactionResponse

Inherited from​

BaseContract.deployTransaction

Defined in​

node_modules/@ethersproject/contracts/lib/index.d.ts:99


estimateGas​

β€’ estimateGas: Object

Type declaration​

NameType
SNARK_SCALAR_FIELD(overrides?: CallOverrides) => Promise<BigNumber>
chainid(overrides?: CallOverrides) => Promise<BigNumber>
decodeEpochKeyControl(control: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
decodeEpochKeyLiteSignals(publicSignals: BigNumberish[], overrides?: CallOverrides) => Promise<BigNumber>
shiftAndParse(data: BigNumberish, shiftBits: BigNumberish, variableBits: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
verifyAndCheck(publicSignals: BigNumberish[], proof: BigNumberish[], overrides?: CallOverrides) => Promise<BigNumber>
verifyAndCheckCaller(publicSignals: BigNumberish[], proof: BigNumberish[], overrides?: CallOverrides) => Promise<BigNumber>

Overrides​

BaseContract.estimateGas

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:288


filters​

β€’ filters: Object

Overrides​

BaseContract.filters

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:286


functions​

β€’ functions: Object

Type declaration​

NameType
SNARK_SCALAR_FIELD(overrides?: CallOverrides) => Promise<[BigNumber]>
chainid(overrides?: CallOverrides) => Promise<[BigNumber]>
decodeEpochKeyControl(control: BigNumberish, overrides?: CallOverrides) => Promise<[number, number, BigNumber, boolean, number] & { attesterId: BigNumber ; chainId: number ; epoch: number ; nonce: number ; revealNonce: boolean }>
decodeEpochKeyLiteSignals(publicSignals: BigNumberish[], overrides?: CallOverrides) => Promise<[EpochKeySignalsStructOutput]>
shiftAndParse(data: BigNumberish, shiftBits: BigNumberish, variableBits: BigNumberish, overrides?: CallOverrides) => Promise<[BigNumber]>
verifyAndCheck(publicSignals: BigNumberish[], proof: BigNumberish[], overrides?: CallOverrides) => Promise<[EpochKeySignalsStructOutput]>
verifyAndCheckCaller(publicSignals: BigNumberish[], proof: BigNumberish[], overrides?: CallOverrides) => Promise<[EpochKeySignalsStructOutput]>

Overrides​

BaseContract.functions

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:159


interface​

β€’ interface: EpochKeyLiteVerifierHelperInterface

Overrides​

BaseContract.interface

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:138


off​

β€’ off: OnEvent<EpochKeyLiteVerifierHelper>

Overrides​

BaseContract.off

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:154


on​

β€’ on: OnEvent<EpochKeyLiteVerifierHelper>

Overrides​

BaseContract.on

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:155


once​

β€’ once: OnEvent<EpochKeyLiteVerifierHelper>

Overrides​

BaseContract.once

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:156


populateTransaction​

β€’ populateTransaction: Object

Type declaration​

NameType
SNARK_SCALAR_FIELD(overrides?: CallOverrides) => Promise<PopulatedTransaction>
chainid(overrides?: CallOverrides) => Promise<PopulatedTransaction>
decodeEpochKeyControl(control: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
decodeEpochKeyLiteSignals(publicSignals: BigNumberish[], overrides?: CallOverrides) => Promise<PopulatedTransaction>
shiftAndParse(data: BigNumberish, shiftBits: BigNumberish, variableBits: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
verifyAndCheck(publicSignals: BigNumberish[], proof: BigNumberish[], overrides?: CallOverrides) => Promise<PopulatedTransaction>
verifyAndCheckCaller(publicSignals: BigNumberish[], proof: BigNumberish[], overrides?: CallOverrides) => Promise<PopulatedTransaction>

Overrides​

BaseContract.populateTransaction

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:323


provider​

β€’ Readonly provider: Provider

Inherited from​

BaseContract.provider

Defined in​

node_modules/@ethersproject/contracts/lib/index.d.ts:82


removeListener​

β€’ removeListener: OnEvent<EpochKeyLiteVerifierHelper>

Overrides​

BaseContract.removeListener

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:157


resolvedAddress​

β€’ Readonly resolvedAddress: Promise<string>

Inherited from​

BaseContract.resolvedAddress

Defined in​

node_modules/@ethersproject/contracts/lib/index.d.ts:98


signer​

β€’ Readonly signer: Signer

Inherited from​

BaseContract.signer

Defined in​

node_modules/@ethersproject/contracts/lib/index.d.ts:81

Methods​

SNARK_SCALAR_FIELD​

β–Έ SNARK_SCALAR_FIELD(overrides?): Promise<BigNumber>

Parameters​

NameType
overrides?CallOverrides

Returns​

Promise<BigNumber>

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:202


_checkRunningEvents​

β–Έ _checkRunningEvents(runningEvent): void

Parameters​

NameType
runningEventRunningEvent

Returns​

void

Inherited from​

BaseContract._checkRunningEvents

Defined in​

node_modules/@ethersproject/contracts/lib/index.d.ts:121


_deployed​

β–Έ _deployed(blockTag?): Promise<Contract>

Parameters​

NameType
blockTag?BlockTag

Returns​

Promise<Contract>

Inherited from​

BaseContract._deployed

Defined in​

node_modules/@ethersproject/contracts/lib/index.d.ts:114


_wrapEvent​

β–Έ _wrapEvent(runningEvent, log, listener): Event

Parameters​

NameType
runningEventRunningEvent
logLog
listenerListener

Returns​

Event

Inherited from​

BaseContract._wrapEvent

Defined in​

node_modules/@ethersproject/contracts/lib/index.d.ts:122


attach​

β–Έ attach(addressOrName): EpochKeyLiteVerifierHelper

Parameters​

NameType
addressOrNamestring

Returns​

EpochKeyLiteVerifierHelper

Overrides​

BaseContract.attach

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:135


chainid​

β–Έ chainid(overrides?): Promise<BigNumber>

Parameters​

NameType
overrides?CallOverrides

Returns​

Promise<BigNumber>

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:204


connect​

β–Έ connect(signerOrProvider): EpochKeyLiteVerifierHelper

Parameters​

NameType
signerOrProviderstring | Provider | Signer

Returns​

EpochKeyLiteVerifierHelper

Overrides​

BaseContract.connect

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:134


decodeEpochKeyControl​

β–Έ decodeEpochKeyControl(control, overrides?): Promise<[number, number, BigNumber, boolean, number] & { attesterId: BigNumber ; chainId: number ; epoch: number ; nonce: number ; revealNonce: boolean }>

Parameters​

NameType
controlBigNumberish
overrides?CallOverrides

Returns​

Promise<[number, number, BigNumber, boolean, number] & { attesterId: BigNumber ; chainId: number ; epoch: number ; nonce: number ; revealNonce: boolean }>

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:206


decodeEpochKeyLiteSignals​

β–Έ decodeEpochKeyLiteSignals(publicSignals, overrides?): Promise<EpochKeySignalsStructOutput>

Parameters​

NameType
publicSignalsBigNumberish[]
overrides?CallOverrides

Returns​

Promise<EpochKeySignalsStructOutput>

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:219


deployed​

β–Έ deployed(): Promise<EpochKeyLiteVerifierHelper>

Returns​

Promise<EpochKeyLiteVerifierHelper>

Overrides​

BaseContract.deployed

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:136


emit​

β–Έ emit(eventName, ...args): boolean

Parameters​

NameType
eventNamestring | EventFilter
...argsany[]

Returns​

boolean

Inherited from​

BaseContract.emit

Defined in​

node_modules/@ethersproject/contracts/lib/index.d.ts:127


fallback​

β–Έ fallback(overrides?): Promise<TransactionResponse>

Parameters​

NameType
overrides?TransactionRequest

Returns​

Promise<TransactionResponse>

Inherited from​

BaseContract.fallback

Defined in​

node_modules/@ethersproject/contracts/lib/index.d.ts:115


listenerCount​

β–Έ listenerCount(eventName?): number

Parameters​

NameType
eventName?string | EventFilter

Returns​

number

Inherited from​

BaseContract.listenerCount

Defined in​

node_modules/@ethersproject/contracts/lib/index.d.ts:128


listeners​

β–Έ listeners<TEvent>(eventFilter?): TypedListener<TEvent>[]

Type parameters​

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters​

NameType
eventFilter?TypedEventFilter<TEvent>

Returns​

TypedListener<TEvent>[]

Overrides​

BaseContract.listeners

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:146

β–Έ listeners(eventName?): Listener[]

Parameters​

NameType
eventName?string

Returns​

Listener[]

Overrides​

BaseContract.listeners

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:149


queryFilter​

β–Έ queryFilter<TEvent>(event, fromBlockOrBlockhash?, toBlock?): Promise<TEvent[]>

Type parameters​

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters​

NameType
eventTypedEventFilter<TEvent>
fromBlockOrBlockhash?string | number
toBlock?string | number

Returns​

Promise<TEvent[]>

Overrides​

BaseContract.queryFilter

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:140


removeAllListeners​

β–Έ removeAllListeners<TEvent>(eventFilter): EpochKeyLiteVerifierHelper

Type parameters​

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters​

NameType
eventFilterTypedEventFilter<TEvent>

Returns​

EpochKeyLiteVerifierHelper

Overrides​

BaseContract.removeAllListeners

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:150

β–Έ removeAllListeners(eventName?): EpochKeyLiteVerifierHelper

Parameters​

NameType
eventName?string

Returns​

EpochKeyLiteVerifierHelper

Overrides​

BaseContract.removeAllListeners

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:153


shiftAndParse​

β–Έ shiftAndParse(data, shiftBits, variableBits, overrides?): Promise<BigNumber>

Parameters​

NameType
dataBigNumberish
shiftBitsBigNumberish
variableBitsBigNumberish
overrides?CallOverrides

Returns​

Promise<BigNumber>

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:224


verifyAndCheck​

β–Έ verifyAndCheck(publicSignals, proof, overrides?): Promise<EpochKeySignalsStructOutput>

Parameters​

NameType
publicSignalsBigNumberish[]
proofBigNumberish[]
overrides?CallOverrides

Returns​

Promise<EpochKeySignalsStructOutput>

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:231


verifyAndCheckCaller​

β–Έ verifyAndCheckCaller(publicSignals, proof, overrides?): Promise<EpochKeySignalsStructOutput>

Parameters​

NameType
publicSignalsBigNumberish[]
proofBigNumberish[]
overrides?CallOverrides

Returns​

Promise<EpochKeySignalsStructOutput>

Defined in​

packages/contracts/typechain/contracts/verifierHelpers/EpochKeyLiteVerifierHelper.ts:237