Skip to main content
Version: next

Interface: MerkleTreeTest

contracts.test.MerkleTreeTest

Hierarchy

  • BaseContract

    MerkleTreeTest

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
insertLazy(leaf: BigNumberish, overrides?: CallOverrides) => Promise<void>
insertReusable(leaf: BigNumberish, overrides?: CallOverrides) => Promise<void>
rootLazy(overrides?: CallOverrides) => Promise<BigNumber>
rootReusable(overrides?: CallOverrides) => Promise<BigNumber>
updateLazy(leaf: BigNumberish, index: BigNumberish, overrides?: CallOverrides) => Promise<void>
updateReusable(leaf: BigNumberish, index: BigNumberish, overrides?: CallOverrides) => Promise<void>

Overrides

BaseContract.callStatic

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:166


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
insertLazy(leaf: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<BigNumber>
insertReusable(leaf: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<BigNumber>
rootLazy(overrides?: CallOverrides) => Promise<BigNumber>
rootReusable(overrides?: CallOverrides) => Promise<BigNumber>
updateLazy(leaf: BigNumberish, index: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<BigNumber>
updateReusable(leaf: BigNumberish, index: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<BigNumber>

Overrides

BaseContract.estimateGas

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:193


filters

filters: Object

Overrides

BaseContract.filters

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:191


functions

functions: Object

Type declaration

NameType
insertLazy(leaf: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
insertReusable(leaf: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
rootLazy(overrides?: CallOverrides) => Promise<[BigNumber]>
rootReusable(overrides?: CallOverrides) => Promise<[BigNumber]>
updateLazy(leaf: BigNumberish, index: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>
updateReusable(leaf: BigNumberish, index: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<ContractTransaction>

Overrides

BaseContract.functions

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:112


interface

interface: MerkleTreeTestInterface

Overrides

BaseContract.interface

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:91


off

off: OnEvent<MerkleTreeTest>

Overrides

BaseContract.off

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:107


on

on: OnEvent<MerkleTreeTest>

Overrides

BaseContract.on

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:108


once

once: OnEvent<MerkleTreeTest>

Overrides

BaseContract.once

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:109


populateTransaction

populateTransaction: Object

Type declaration

NameType
insertLazy(leaf: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
insertReusable(leaf: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
rootLazy(overrides?: CallOverrides) => Promise<PopulatedTransaction>
rootReusable(overrides?: CallOverrides) => Promise<PopulatedTransaction>
updateLazy(leaf: BigNumberish, index: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>
updateReusable(leaf: BigNumberish, index: BigNumberish, overrides?: Overrides & { from?: string }) => Promise<PopulatedTransaction>

Overrides

BaseContract.populateTransaction

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:221


provider

Readonly provider: Provider

Inherited from

BaseContract.provider

Defined in

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


removeListener

removeListener: OnEvent<MerkleTreeTest>

Overrides

BaseContract.removeListener

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:110


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): MerkleTreeTest

Parameters

NameType
addressOrNamestring

Returns

MerkleTreeTest

Overrides

BaseContract.attach

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:88


connect

connect(signerOrProvider): MerkleTreeTest

Parameters

NameType
signerOrProviderstring | Provider | Signer

Returns

MerkleTreeTest

Overrides

BaseContract.connect

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:87


deployed

deployed(): Promise<MerkleTreeTest>

Returns

Promise<MerkleTreeTest>

Overrides

BaseContract.deployed

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:89


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


insertLazy

insertLazy(leaf, overrides?): Promise<ContractTransaction>

Parameters

NameType
leafBigNumberish
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:140


insertReusable

insertReusable(leaf, overrides?): Promise<ContractTransaction>

Parameters

NameType
leafBigNumberish
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:145


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/test/MerkleTreeTest.ts:99

listeners(eventName?): Listener[]

Parameters

NameType
eventName?string

Returns

Listener[]

Overrides

BaseContract.listeners

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:102


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/test/MerkleTreeTest.ts:93


removeAllListeners

removeAllListeners<TEvent>(eventFilter): MerkleTreeTest

Type parameters

NameType
TEventextends TypedEvent<any, any, TEvent>

Parameters

NameType
eventFilterTypedEventFilter<TEvent>

Returns

MerkleTreeTest

Overrides

BaseContract.removeAllListeners

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:103

removeAllListeners(eventName?): MerkleTreeTest

Parameters

NameType
eventName?string

Returns

MerkleTreeTest

Overrides

BaseContract.removeAllListeners

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:106


rootLazy

rootLazy(overrides?): Promise<BigNumber>

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:150


rootReusable

rootReusable(overrides?): Promise<BigNumber>

Parameters

NameType
overrides?CallOverrides

Returns

Promise<BigNumber>

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:152


updateLazy

updateLazy(leaf, index, overrides?): Promise<ContractTransaction>

Parameters

NameType
leafBigNumberish
indexBigNumberish
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:154


updateReusable

updateReusable(leaf, index, overrides?): Promise<ContractTransaction>

Parameters

NameType
leafBigNumberish
indexBigNumberish
overrides?Overrides & { from?: string }

Returns

Promise<ContractTransaction>

Defined in

packages/contracts/typechain/contracts/test/MerkleTreeTest.ts:160