Skip to main content
Version: next

Interface: IUnirep

contracts.interfaces.IUnirep

Hierarchy

  • BaseContract

    IUnirep

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

Overrides

BaseContract.callStatic

Defined in

packages/contracts/typechain/contracts/interfaces/IUnirep.ts:175


deployTransaction

Readonly deployTransaction: TransactionResponse

Inherited from

BaseContract.deployTransaction

Defined in

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


estimateGas

estimateGas: Object

Overrides

BaseContract.estimateGas

Defined in

packages/contracts/typechain/contracts/interfaces/IUnirep.ts:277


filters

filters: Object

Type declaration

NameType
Attestation(epoch?: null | BigNumberish, epochKey?: null | BigNumberish, attesterId?: null | BigNumberish, fieldIndex?: null, change?: null) => AttestationEventFilter
Attestation(uint48,uint256,uint160,uint256,uint256)(epoch?: null | BigNumberish, epochKey?: null | BigNumberish, attesterId?: null | BigNumberish, fieldIndex?: null, change?: null) => AttestationEventFilter
AttesterSignedUp(attesterId?: null | BigNumberish, epochLength?: null, timestamp?: null) => AttesterSignedUpEventFilter
AttesterSignedUp(uint160,uint48,uint48)(attesterId?: null | BigNumberish, epochLength?: null, timestamp?: null) => AttesterSignedUpEventFilter
EpochEnded(epoch?: null | BigNumberish, attesterId?: null | BigNumberish) => EpochEndedEventFilter
EpochEnded(uint48,uint160)(epoch?: null | BigNumberish, attesterId?: null | BigNumberish) => EpochEndedEventFilter
EpochTreeLeaf(epoch?: null | BigNumberish, attesterId?: null | BigNumberish, index?: null | BigNumberish, leaf?: null) => EpochTreeLeafEventFilter
EpochTreeLeaf(uint48,uint160,uint256,uint256)(epoch?: null | BigNumberish, attesterId?: null | BigNumberish, index?: null | BigNumberish, leaf?: null) => EpochTreeLeafEventFilter
HistoryTreeLeaf(attesterId?: null | BigNumberish, leaf?: null) => HistoryTreeLeafEventFilter
HistoryTreeLeaf(uint160,uint256)(attesterId?: null | BigNumberish, leaf?: null) => HistoryTreeLeafEventFilter
StateTreeLeaf(epoch?: null | BigNumberish, attesterId?: null | BigNumberish, index?: null | BigNumberish, leaf?: null) => StateTreeLeafEventFilter
StateTreeLeaf(uint48,uint160,uint256,uint256)(epoch?: null | BigNumberish, attesterId?: null | BigNumberish, index?: null | BigNumberish, leaf?: null) => StateTreeLeafEventFilter
UserSignedUp(epoch?: null | BigNumberish, identityCommitment?: null | BigNumberish, attesterId?: null | BigNumberish, leafIndex?: null) => UserSignedUpEventFilter
UserSignedUp(uint48,uint256,uint160,uint256)(epoch?: null | BigNumberish, identityCommitment?: null | BigNumberish, attesterId?: null | BigNumberish, leafIndex?: null) => UserSignedUpEventFilter
UserStateTransitioned(epoch?: null | BigNumberish, attesterId?: null | BigNumberish, leafIndex?: null | BigNumberish, hashedLeaf?: null, nullifier?: null) => UserStateTransitionedEventFilter
UserStateTransitioned(uint48,uint160,uint256,uint256,uint256)(epoch?: null | BigNumberish, attesterId?: null | BigNumberish, leafIndex?: null | BigNumberish, hashedLeaf?: null, nullifier?: null) => UserStateTransitionedEventFilter

Overrides

BaseContract.filters

Defined in

packages/contracts/typechain/contracts/interfaces/IUnirep.ts:177


functions

functions: Object

Overrides

BaseContract.functions

Defined in

packages/contracts/typechain/contracts/interfaces/IUnirep.ts:173


interface

interface: IUnirepInterface

Overrides

BaseContract.interface

Defined in

packages/contracts/typechain/contracts/interfaces/IUnirep.ts:152


off

off: OnEvent<IUnirep>

Overrides

BaseContract.off

Defined in

packages/contracts/typechain/contracts/interfaces/IUnirep.ts:168


on

on: OnEvent<IUnirep>

Overrides

BaseContract.on

Defined in

packages/contracts/typechain/contracts/interfaces/IUnirep.ts:169


once

once: OnEvent<IUnirep>

Overrides

BaseContract.once

Defined in

packages/contracts/typechain/contracts/interfaces/IUnirep.ts:170


populateTransaction

populateTransaction: Object

Overrides

BaseContract.populateTransaction

Defined in

packages/contracts/typechain/contracts/interfaces/IUnirep.ts:279


provider

Readonly provider: Provider

Inherited from

BaseContract.provider

Defined in

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


removeListener

removeListener: OnEvent<IUnirep>

Overrides

BaseContract.removeListener

Defined in

packages/contracts/typechain/contracts/interfaces/IUnirep.ts:171


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

_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): IUnirep

Parameters

NameType
addressOrNamestring

Returns

IUnirep

Overrides

BaseContract.attach

Defined in

packages/contracts/typechain/contracts/interfaces/IUnirep.ts:149


connect

connect(signerOrProvider): IUnirep

Parameters

NameType
signerOrProviderstring | Provider | Signer

Returns

IUnirep

Overrides

BaseContract.connect

Defined in

packages/contracts/typechain/contracts/interfaces/IUnirep.ts:148


deployed

deployed(): Promise<IUnirep>

Returns

Promise<IUnirep>

Overrides

BaseContract.deployed

Defined in

packages/contracts/typechain/contracts/interfaces/IUnirep.ts:150


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/interfaces/IUnirep.ts:160

listeners(eventName?): Listener[]

Parameters

NameType
eventName?string

Returns

Listener[]

Overrides

BaseContract.listeners

Defined in

packages/contracts/typechain/contracts/interfaces/IUnirep.ts:163


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/interfaces/IUnirep.ts:154


removeAllListeners

removeAllListeners<TEvent>(eventFilter): IUnirep

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventFilterTypedEventFilter<TEvent>

Returns

IUnirep

Overrides

BaseContract.removeAllListeners

Defined in

packages/contracts/typechain/contracts/interfaces/IUnirep.ts:164

removeAllListeners(eventName?): IUnirep

Parameters

NameType
eventName?string

Returns

IUnirep

Overrides

BaseContract.removeAllListeners

Defined in

packages/contracts/typechain/contracts/interfaces/IUnirep.ts:167