-
Notifications
You must be signed in to change notification settings - Fork 69
@liquality.evm.<internal>.Multicall
@liquality/evm..Multicall
-
BaseContract
↳
Multicall
- callStatic
- contractName
- estimateGas
- filters
- functions
- interface
- off
- on
- once
- populateTransaction
- removeListener
- aggregate
- attach
- connect
- deployed
- getBlockHash
- getCurrentBlockCoinbase
- getCurrentBlockDifficulty
- getCurrentBlockGasLimit
- getCurrentBlockTimestamp
- getEthBalance
- getLastBlockHash
- listeners
- queryFilter
- removeAllListeners
• callStatic: Object
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 > |
BaseContract.callStatic
evm/lib/typechain/Multicall.ts:194
• contractName: "Multicall"
evm/lib/typechain/Multicall.ts:109
• estimateGas: Object
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 > |
BaseContract.estimateGas
evm/lib/typechain/Multicall.ts:222
• filters: Object
BaseContract.filters
evm/lib/typechain/Multicall.ts:220
• functions: Object
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 }> |
BaseContract.functions
evm/lib/typechain/Multicall.ts:135
• interface: MulticallInterface
BaseContract.interface
evm/lib/typechain/Multicall.ts:114
BaseContract.off
evm/lib/typechain/Multicall.ts:130
BaseContract.on
evm/lib/typechain/Multicall.ts:131
BaseContract.once
evm/lib/typechain/Multicall.ts:132
• populateTransaction: Object
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 > |
BaseContract.populateTransaction
evm/lib/typechain/Multicall.ts:246
• removeListener: OnEvent
<Multicall
>
BaseContract.removeListener
evm/lib/typechain/Multicall.ts:133
▸ aggregate(calls
, overrides?
): Promise
<ContractTransaction
>
Name | Type |
---|---|
calls |
CallStruct [] |
overrides? |
Overrides & { from? : string | Promise <string > } |
Promise
<ContractTransaction
>
evm/lib/typechain/Multicall.ts:172
▸ attach(addressOrName
): Multicall
Name | Type |
---|---|
addressOrName |
string |
BaseContract.attach
evm/lib/typechain/Multicall.ts:111
▸ connect(signerOrProvider
): Multicall
Name | Type |
---|---|
signerOrProvider |
string | Provider | Signer
|
BaseContract.connect
evm/lib/typechain/Multicall.ts:110
▸ deployed(): Promise
<Multicall
>
Promise
<Multicall
>
BaseContract.deployed
evm/lib/typechain/Multicall.ts:112
▸ getBlockHash(blockNumber
, overrides?
): Promise
<string
>
Name | Type |
---|---|
blockNumber |
BigNumberish |
overrides? |
CallOverrides |
Promise
<string
>
evm/lib/typechain/Multicall.ts:177
▸ getCurrentBlockCoinbase(overrides?
): Promise
<string
>
Name | Type |
---|---|
overrides? |
CallOverrides |
Promise
<string
>
evm/lib/typechain/Multicall.ts:182
▸ getCurrentBlockDifficulty(overrides?
): Promise
<BigNumber
>
Name | Type |
---|---|
overrides? |
CallOverrides |
Promise
<BigNumber
>
evm/lib/typechain/Multicall.ts:184
▸ getCurrentBlockGasLimit(overrides?
): Promise
<BigNumber
>
Name | Type |
---|---|
overrides? |
CallOverrides |
Promise
<BigNumber
>
evm/lib/typechain/Multicall.ts:186
▸ getCurrentBlockTimestamp(overrides?
): Promise
<BigNumber
>
Name | Type |
---|---|
overrides? |
CallOverrides |
Promise
<BigNumber
>
evm/lib/typechain/Multicall.ts:188
▸ getEthBalance(addr
, overrides?
): Promise
<BigNumber
>
Name | Type |
---|---|
addr |
string |
overrides? |
CallOverrides |
Promise
<BigNumber
>
evm/lib/typechain/Multicall.ts:190
▸ getLastBlockHash(overrides?
): Promise
<string
>
Name | Type |
---|---|
overrides? |
CallOverrides |
Promise
<string
>
evm/lib/typechain/Multicall.ts:192
▸ listeners<TEvent
>(eventFilter?
): TypedListener
<TEvent
>[]
Name | Type |
---|---|
TEvent |
extends TypedEvent <any , any , TEvent > |
Name | Type |
---|---|
eventFilter? |
TypedEventFilter <TEvent > |
TypedListener
<TEvent
>[]
BaseContract.listeners
evm/lib/typechain/Multicall.ts:122
▸ listeners(eventName?
): Listener
[]
Name | Type |
---|---|
eventName? |
string |
Listener
[]
BaseContract.listeners
evm/lib/typechain/Multicall.ts:125
▸ queryFilter<TEvent
>(event
, fromBlockOrBlockhash?
, toBlock?
): Promise
<TEvent
[]>
Name | Type |
---|---|
TEvent |
extends TypedEvent <any , any , TEvent > |
Name | Type |
---|---|
event |
TypedEventFilter <TEvent > |
fromBlockOrBlockhash? |
string | number
|
toBlock? |
string | number
|
Promise
<TEvent
[]>
BaseContract.queryFilter
evm/lib/typechain/Multicall.ts:116
▸ removeAllListeners<TEvent
>(eventFilter
): Multicall
Name | Type |
---|---|
TEvent |
extends TypedEvent <any , any , TEvent > |
Name | Type |
---|---|
eventFilter |
TypedEventFilter <TEvent > |
BaseContract.removeAllListeners
evm/lib/typechain/Multicall.ts:126
▸ removeAllListeners(eventName?
): Multicall
Name | Type |
---|---|
eventName? |
string |
BaseContract.removeAllListeners
evm/lib/typechain/Multicall.ts:129