pub struct stakesCall {
pub owner: Address,
}Expand description
Function with signature stakes(address) and selector 0x16934fc4.
function stakes(address owner) external view returns (bytes32 overlay, uint256 committedStake, uint256 potentialStake, uint256 lastUpdatedBlockNumber, uint8 height);Fields§
§owner: AddressTrait Implementations§
Source§impl Clone for stakesCall
impl Clone for stakesCall
Source§fn clone(&self) -> stakesCall
fn clone(&self) -> stakesCall
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 stakesCall
impl Debug for stakesCall
impl Eq for stakesCall
Source§impl PartialEq for stakesCall
impl PartialEq for stakesCall
Source§fn eq(&self, other: &stakesCall) -> bool
fn eq(&self, other: &stakesCall) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl SolCall for stakesCall
impl SolCall for stakesCall
Source§type Parameters<'a> = (Address,)
type Parameters<'a> = (Address,)
The underlying tuple type which represents this type’s arguments. Read more
Source§type Token<'a> = <<stakesCall as SolCall>::Parameters<'a> as SolType>::Token<'a>
type Token<'a> = <<stakesCall as SolCall>::Parameters<'a> as SolType>::Token<'a>
The arguments’ corresponding TokenSeq type.
Source§type Return = stakesReturn
type Return = stakesReturn
The function’s return struct.
Source§type ReturnTuple<'a> = (FixedBytes<32>, Uint<256>, Uint<256>, Uint<256>, Uint<8>)
type ReturnTuple<'a> = (FixedBytes<32>, Uint<256>, Uint<256>, Uint<256>, Uint<8>)
The underlying tuple type which represents this type’s return values. Read more
Source§type ReturnToken<'a> = <<stakesCall as SolCall>::ReturnTuple<'a> as SolType>::Token<'a>
type ReturnToken<'a> = <<stakesCall as SolCall>::ReturnTuple<'a> as SolType>::Token<'a>
The returns’ corresponding TokenSeq type.
Source§fn new<'a>(tuple: <Self::Parameters<'a> as SolType>::RustType) -> Self
fn new<'a>(tuple: <Self::Parameters<'a> as SolType>::RustType) -> Self
Convert from the tuple type used for ABI encoding and decoding.
Source§fn tokenize_returns(ret: &Self::Return) -> Self::ReturnToken<'_>
fn tokenize_returns(ret: &Self::Return) -> Self::ReturnToken<'_>
Tokenize the call’s return values.
Source§fn abi_decode_returns(data: &[u8]) -> Result<Self::Return>
fn abi_decode_returns(data: &[u8]) -> Result<Self::Return>
ABI decode this call’s return values from the given slice.
Source§fn abi_decode_returns_validate(data: &[u8]) -> Result<Self::Return>
fn abi_decode_returns_validate(data: &[u8]) -> Result<Self::Return>
ABI decode this call’s return values from the given slice, with validation. Read more
Source§fn abi_encoded_size(&self) -> usize
fn abi_encoded_size(&self) -> usize
The size of the encoded data in bytes, without its selector.
Source§fn abi_decode_raw(data: &[u8]) -> Result<Self, Error>
fn abi_decode_raw(data: &[u8]) -> Result<Self, Error>
ABI decode this call’s arguments from the given slice, without its
selector.
Source§fn abi_decode_raw_validate(data: &[u8]) -> Result<Self, Error>
fn abi_decode_raw_validate(data: &[u8]) -> Result<Self, Error>
ABI decode this call’s arguments from the given slice, without its
selector, with validation. Read more
Source§fn abi_decode(data: &[u8]) -> Result<Self, Error>
fn abi_decode(data: &[u8]) -> Result<Self, Error>
ABI decode this call’s arguments from the given slice, with the
selector.
Source§fn abi_decode_validate(data: &[u8]) -> Result<Self, Error>
fn abi_decode_validate(data: &[u8]) -> Result<Self, Error>
ABI decode this call’s arguments from the given slice, with the
selector, with validation. Read more
Source§fn abi_encode_raw(&self, out: &mut Vec<u8>)
fn abi_encode_raw(&self, out: &mut Vec<u8>)
ABI encode the call to the given buffer without its selector.
Source§fn abi_encode_returns_tuple<'a, E>(e: &'a E) -> Vec<u8> ⓘwhere
E: SolTypeValue<Self::ReturnTuple<'a>>,
fn abi_encode_returns_tuple<'a, E>(e: &'a E) -> Vec<u8> ⓘwhere
E: SolTypeValue<Self::ReturnTuple<'a>>,
ABI encode the call’s return values.
impl StructuralPartialEq for stakesCall
Auto Trait Implementations§
impl Freeze for stakesCall
impl RefUnwindSafe for stakesCall
impl Send for stakesCall
impl Sync for stakesCall
impl Unpin for stakesCall
impl UnsafeUnpin for stakesCall
impl UnwindSafe for stakesCall
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