pub enum Multicall3Calls {
Show 16 variants
Aggregate(AggregateCall),
Aggregate3(Aggregate3Call),
Aggregate3Value(Aggregate3ValueCall),
BlockAndAggregate(BlockAndAggregateCall),
GetBasefee(GetBasefeeCall),
GetBlockHash(GetBlockHashCall),
GetBlockNumber(GetBlockNumberCall),
GetChainId(GetChainIdCall),
GetCurrentBlockCoinbase(GetCurrentBlockCoinbaseCall),
GetCurrentBlockDifficulty(GetCurrentBlockDifficultyCall),
GetCurrentBlockGasLimit(GetCurrentBlockGasLimitCall),
GetCurrentBlockTimestamp(GetCurrentBlockTimestampCall),
GetEthBalance(GetEthBalanceCall),
GetLastBlockHash(GetLastBlockHashCall),
TryAggregate(TryAggregateCall),
TryBlockAndAggregate(TryBlockAndAggregateCall),
}
Available on crate feature
abigen
only.Expand description
Container type for all of the contract’s call
Variants§
Aggregate(AggregateCall)
Aggregate3(Aggregate3Call)
Aggregate3Value(Aggregate3ValueCall)
BlockAndAggregate(BlockAndAggregateCall)
GetBasefee(GetBasefeeCall)
GetBlockHash(GetBlockHashCall)
GetBlockNumber(GetBlockNumberCall)
GetChainId(GetChainIdCall)
GetCurrentBlockCoinbase(GetCurrentBlockCoinbaseCall)
GetCurrentBlockDifficulty(GetCurrentBlockDifficultyCall)
GetCurrentBlockGasLimit(GetCurrentBlockGasLimitCall)
GetCurrentBlockTimestamp(GetCurrentBlockTimestampCall)
GetEthBalance(GetEthBalanceCall)
GetLastBlockHash(GetLastBlockHashCall)
TryAggregate(TryAggregateCall)
TryBlockAndAggregate(TryBlockAndAggregateCall)
Trait Implementations§
source§impl AbiDecode for Multicall3Calls
impl AbiDecode for Multicall3Calls
source§impl AbiEncode for Multicall3Calls
impl AbiEncode for Multicall3Calls
source§impl Clone for Multicall3Calls
impl Clone for Multicall3Calls
source§fn clone(&self) -> Multicall3Calls
fn clone(&self) -> Multicall3Calls
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Multicall3Calls
impl Debug for Multicall3Calls
source§impl Display for Multicall3Calls
impl Display for Multicall3Calls
source§impl From<Aggregate3Call> for Multicall3Calls
impl From<Aggregate3Call> for Multicall3Calls
source§fn from(value: Aggregate3Call) -> Self
fn from(value: Aggregate3Call) -> Self
Converts to this type from the input type.
source§impl From<Aggregate3ValueCall> for Multicall3Calls
impl From<Aggregate3ValueCall> for Multicall3Calls
source§fn from(value: Aggregate3ValueCall) -> Self
fn from(value: Aggregate3ValueCall) -> Self
Converts to this type from the input type.
source§impl From<AggregateCall> for Multicall3Calls
impl From<AggregateCall> for Multicall3Calls
source§fn from(value: AggregateCall) -> Self
fn from(value: AggregateCall) -> Self
Converts to this type from the input type.
source§impl From<BlockAndAggregateCall> for Multicall3Calls
impl From<BlockAndAggregateCall> for Multicall3Calls
source§fn from(value: BlockAndAggregateCall) -> Self
fn from(value: BlockAndAggregateCall) -> Self
Converts to this type from the input type.
source§impl From<GetBasefeeCall> for Multicall3Calls
impl From<GetBasefeeCall> for Multicall3Calls
source§fn from(value: GetBasefeeCall) -> Self
fn from(value: GetBasefeeCall) -> Self
Converts to this type from the input type.
source§impl From<GetBlockHashCall> for Multicall3Calls
impl From<GetBlockHashCall> for Multicall3Calls
source§fn from(value: GetBlockHashCall) -> Self
fn from(value: GetBlockHashCall) -> Self
Converts to this type from the input type.
source§impl From<GetBlockNumberCall> for Multicall3Calls
impl From<GetBlockNumberCall> for Multicall3Calls
source§fn from(value: GetBlockNumberCall) -> Self
fn from(value: GetBlockNumberCall) -> Self
Converts to this type from the input type.
source§impl From<GetChainIdCall> for Multicall3Calls
impl From<GetChainIdCall> for Multicall3Calls
source§fn from(value: GetChainIdCall) -> Self
fn from(value: GetChainIdCall) -> Self
Converts to this type from the input type.
source§impl From<GetCurrentBlockCoinbaseCall> for Multicall3Calls
impl From<GetCurrentBlockCoinbaseCall> for Multicall3Calls
source§fn from(value: GetCurrentBlockCoinbaseCall) -> Self
fn from(value: GetCurrentBlockCoinbaseCall) -> Self
Converts to this type from the input type.
source§impl From<GetCurrentBlockDifficultyCall> for Multicall3Calls
impl From<GetCurrentBlockDifficultyCall> for Multicall3Calls
source§fn from(value: GetCurrentBlockDifficultyCall) -> Self
fn from(value: GetCurrentBlockDifficultyCall) -> Self
Converts to this type from the input type.
source§impl From<GetCurrentBlockGasLimitCall> for Multicall3Calls
impl From<GetCurrentBlockGasLimitCall> for Multicall3Calls
source§fn from(value: GetCurrentBlockGasLimitCall) -> Self
fn from(value: GetCurrentBlockGasLimitCall) -> Self
Converts to this type from the input type.
source§impl From<GetCurrentBlockTimestampCall> for Multicall3Calls
impl From<GetCurrentBlockTimestampCall> for Multicall3Calls
source§fn from(value: GetCurrentBlockTimestampCall) -> Self
fn from(value: GetCurrentBlockTimestampCall) -> Self
Converts to this type from the input type.
source§impl From<GetEthBalanceCall> for Multicall3Calls
impl From<GetEthBalanceCall> for Multicall3Calls
source§fn from(value: GetEthBalanceCall) -> Self
fn from(value: GetEthBalanceCall) -> Self
Converts to this type from the input type.
source§impl From<GetLastBlockHashCall> for Multicall3Calls
impl From<GetLastBlockHashCall> for Multicall3Calls
source§fn from(value: GetLastBlockHashCall) -> Self
fn from(value: GetLastBlockHashCall) -> Self
Converts to this type from the input type.
source§impl From<TryAggregateCall> for Multicall3Calls
impl From<TryAggregateCall> for Multicall3Calls
source§fn from(value: TryAggregateCall) -> Self
fn from(value: TryAggregateCall) -> Self
Converts to this type from the input type.
source§impl From<TryBlockAndAggregateCall> for Multicall3Calls
impl From<TryBlockAndAggregateCall> for Multicall3Calls
source§fn from(value: TryBlockAndAggregateCall) -> Self
fn from(value: TryBlockAndAggregateCall) -> Self
Converts to this type from the input type.
source§impl Hash for Multicall3Calls
impl Hash for Multicall3Calls
source§impl PartialEq for Multicall3Calls
impl PartialEq for Multicall3Calls
source§fn eq(&self, other: &Multicall3Calls) -> bool
fn eq(&self, other: &Multicall3Calls) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Tokenizable for Multicall3Calls
impl Tokenizable for Multicall3Calls
source§fn from_token(token: Token) -> Result<Self, InvalidOutputType>
fn from_token(token: Token) -> Result<Self, InvalidOutputType>
Converts a
Token
into expected type.source§fn into_token(self) -> Token
fn into_token(self) -> Token
Converts a specified type back into token.
impl Eq for Multicall3Calls
impl StructuralPartialEq for Multicall3Calls
impl TokenizableItem for Multicall3Calls
Auto Trait Implementations§
impl RefUnwindSafe for Multicall3Calls
impl Send for Multicall3Calls
impl Sync for Multicall3Calls
impl Unpin for Multicall3Calls
impl UnwindSafe for Multicall3Calls
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> Detokenize for Twhere
T: Tokenizable,
impl<T> Detokenize for Twhere
T: Tokenizable,
source§fn from_tokens(tokens: Vec<Token>) -> Result<T, InvalidOutputType>
fn from_tokens(tokens: Vec<Token>) -> Result<T, InvalidOutputType>
Creates a new instance from parsed ABI tokens.
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Tokenize for Twhere
T: Tokenizable,
impl<T> Tokenize for Twhere
T: Tokenizable,
source§fn into_tokens(self) -> Vec<Token>
fn into_tokens(self) -> Vec<Token>
Converts
self
into a Vec<Token>
.