Skip to content

@liquality.evm.<internal>.Multicall

Krasimir Raykov edited this page Mar 30, 2022 · 1 revision

Interface: Multicall

@liquality/evm..Multicall

Hierarchy

  • BaseContract

    Multicall

Table of contents

Properties

Methods

Properties

callStatic

callStatic: Object

Type declaration

Name Type
aggregate (calls: CallStruct[], overrides?: CallOverrides) => Promise<[BigNumber, string[]] & { blockNumber: BigNumber ; returnData: string[] }>
getBlockHash (blockNumber: BigNumberish, overrides?: CallOverrides) => Promise<string>
getCurrentBlockCoinbase (overrides?: CallOverrides) => Promise<string>
getCurrentBlockDifficulty (overrides?: CallOverrides) => Promise<BigNumber>
getCurrentBlockGasLimit (overrides?: CallOverrides) => Promise<BigNumber>
getCurrentBlockTimestamp (overrides?: CallOverrides) => Promise<BigNumber>
getEthBalance (addr: string, overrides?: CallOverrides) => Promise<BigNumber>
getLastBlockHash (overrides?: CallOverrides) => Promise<string>

Overrides

BaseContract.callStatic

Defined in

evm/lib/typechain/Multicall.ts:194


contractName

contractName: "Multicall"

Defined in

evm/lib/typechain/Multicall.ts:109


estimateGas

estimateGas: Object

Type declaration

Name Type
aggregate (calls: CallStruct[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<BigNumber>
getBlockHash (blockNumber: BigNumberish, overrides?: CallOverrides) => Promise<BigNumber>
getCurrentBlockCoinbase (overrides?: CallOverrides) => Promise<BigNumber>
getCurrentBlockDifficulty (overrides?: CallOverrides) => Promise<BigNumber>
getCurrentBlockGasLimit (overrides?: CallOverrides) => Promise<BigNumber>
getCurrentBlockTimestamp (overrides?: CallOverrides) => Promise<BigNumber>
getEthBalance (addr: string, overrides?: CallOverrides) => Promise<BigNumber>
getLastBlockHash (overrides?: CallOverrides) => Promise<BigNumber>

Overrides

BaseContract.estimateGas

Defined in

evm/lib/typechain/Multicall.ts:222


filters

filters: Object

Overrides

BaseContract.filters

Defined in

evm/lib/typechain/Multicall.ts:220


functions

functions: Object

Type declaration

Name Type
aggregate (calls: CallStruct[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<ContractTransaction>
getBlockHash (blockNumber: BigNumberish, overrides?: CallOverrides) => Promise<[string] & { blockHash: string }>
getCurrentBlockCoinbase (overrides?: CallOverrides) => Promise<[string] & { coinbase: string }>
getCurrentBlockDifficulty (overrides?: CallOverrides) => Promise<[BigNumber] & { difficulty: BigNumber }>
getCurrentBlockGasLimit (overrides?: CallOverrides) => Promise<[BigNumber] & { gaslimit: BigNumber }>
getCurrentBlockTimestamp (overrides?: CallOverrides) => Promise<[BigNumber] & { timestamp: BigNumber }>
getEthBalance (addr: string, overrides?: CallOverrides) => Promise<[BigNumber] & { balance: BigNumber }>
getLastBlockHash (overrides?: CallOverrides) => Promise<[string] & { blockHash: string }>

Overrides

BaseContract.functions

Defined in

evm/lib/typechain/Multicall.ts:135


interface

interface: MulticallInterface

Overrides

BaseContract.interface

Defined in

evm/lib/typechain/Multicall.ts:114


off

off: OnEvent<Multicall>

Overrides

BaseContract.off

Defined in

evm/lib/typechain/Multicall.ts:130


on

on: OnEvent<Multicall>

Overrides

BaseContract.on

Defined in

evm/lib/typechain/Multicall.ts:131


once

once: OnEvent<Multicall>

Overrides

BaseContract.once

Defined in

evm/lib/typechain/Multicall.ts:132


populateTransaction

populateTransaction: Object

Type declaration

Name Type
aggregate (calls: CallStruct[], overrides?: Overrides & { from?: string | Promise<string> }) => Promise<PopulatedTransaction>
getBlockHash (blockNumber: BigNumberish, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getCurrentBlockCoinbase (overrides?: CallOverrides) => Promise<PopulatedTransaction>
getCurrentBlockDifficulty (overrides?: CallOverrides) => Promise<PopulatedTransaction>
getCurrentBlockGasLimit (overrides?: CallOverrides) => Promise<PopulatedTransaction>
getCurrentBlockTimestamp (overrides?: CallOverrides) => Promise<PopulatedTransaction>
getEthBalance (addr: string, overrides?: CallOverrides) => Promise<PopulatedTransaction>
getLastBlockHash (overrides?: CallOverrides) => Promise<PopulatedTransaction>

Overrides

BaseContract.populateTransaction

Defined in

evm/lib/typechain/Multicall.ts:246


removeListener

removeListener: OnEvent<Multicall>

Overrides

BaseContract.removeListener

Defined in

evm/lib/typechain/Multicall.ts:133

Methods

aggregate

aggregate(calls, overrides?): Promise<ContractTransaction>

Parameters

Name Type
calls CallStruct[]
overrides? Overrides & { from?: string | Promise<string> }

Returns

Promise<ContractTransaction>

Defined in

evm/lib/typechain/Multicall.ts:172


attach

attach(addressOrName): Multicall

Parameters

Name Type
addressOrName string

Returns

Multicall

Overrides

BaseContract.attach

Defined in

evm/lib/typechain/Multicall.ts:111


connect

connect(signerOrProvider): Multicall

Parameters

Name Type
signerOrProvider string | Provider | Signer

Returns

Multicall

Overrides

BaseContract.connect

Defined in

evm/lib/typechain/Multicall.ts:110


deployed

deployed(): Promise<Multicall>

Returns

Promise<Multicall>

Overrides

BaseContract.deployed

Defined in

evm/lib/typechain/Multicall.ts:112


getBlockHash

getBlockHash(blockNumber, overrides?): Promise<string>

Parameters

Name Type
blockNumber BigNumberish
overrides? CallOverrides

Returns

Promise<string>

Defined in

evm/lib/typechain/Multicall.ts:177


getCurrentBlockCoinbase

getCurrentBlockCoinbase(overrides?): Promise<string>

Parameters

Name Type
overrides? CallOverrides

Returns

Promise<string>

Defined in

evm/lib/typechain/Multicall.ts:182


getCurrentBlockDifficulty

getCurrentBlockDifficulty(overrides?): Promise<BigNumber>

Parameters

Name Type
overrides? CallOverrides

Returns

Promise<BigNumber>

Defined in

evm/lib/typechain/Multicall.ts:184


getCurrentBlockGasLimit

getCurrentBlockGasLimit(overrides?): Promise<BigNumber>

Parameters

Name Type
overrides? CallOverrides

Returns

Promise<BigNumber>

Defined in

evm/lib/typechain/Multicall.ts:186


getCurrentBlockTimestamp

getCurrentBlockTimestamp(overrides?): Promise<BigNumber>

Parameters

Name Type
overrides? CallOverrides

Returns

Promise<BigNumber>

Defined in

evm/lib/typechain/Multicall.ts:188


getEthBalance

getEthBalance(addr, overrides?): Promise<BigNumber>

Parameters

Name Type
addr string
overrides? CallOverrides

Returns

Promise<BigNumber>

Defined in

evm/lib/typechain/Multicall.ts:190


getLastBlockHash

getLastBlockHash(overrides?): Promise<string>

Parameters

Name Type
overrides? CallOverrides

Returns

Promise<string>

Defined in

evm/lib/typechain/Multicall.ts:192


listeners

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

Type parameters

Name Type
TEvent extends TypedEvent<any, any, TEvent>

Parameters

Name Type
eventFilter? TypedEventFilter<TEvent>

Returns

TypedListener<TEvent>[]

Overrides

BaseContract.listeners

Defined in

evm/lib/typechain/Multicall.ts:122

listeners(eventName?): Listener[]

Parameters

Name Type
eventName? string

Returns

Listener[]

Overrides

BaseContract.listeners

Defined in

evm/lib/typechain/Multicall.ts:125


queryFilter

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

Type parameters

Name Type
TEvent extends TypedEvent<any, any, TEvent>

Parameters

Name Type
event TypedEventFilter<TEvent>
fromBlockOrBlockhash? string | number
toBlock? string | number

Returns

Promise<TEvent[]>

Overrides

BaseContract.queryFilter

Defined in

evm/lib/typechain/Multicall.ts:116


removeAllListeners

removeAllListeners<TEvent>(eventFilter): Multicall

Type parameters

Name Type
TEvent extends TypedEvent<any, any, TEvent>

Parameters

Name Type
eventFilter TypedEventFilter<TEvent>

Returns

Multicall

Overrides

BaseContract.removeAllListeners

Defined in

evm/lib/typechain/Multicall.ts:126

removeAllListeners(eventName?): Multicall

Parameters

Name Type
eventName? string

Returns

Multicall

Overrides

BaseContract.removeAllListeners

Defined in

evm/lib/typechain/Multicall.ts:129

Clone this wiki locally