pub struct encodeConfigurableAccountSignatureCall {
pub account: Address,
pub config: <ConfigurableAccountConfig as SolType>::RustType,
pub ownerSignatures: Vec<Bytes>,
}Expand description
Encodes a 0x05 configurable account signature for account from its current configuration
config and encoded owner approvals of its owner digest (65-byte secp256k1, 0x01 P-256 or
0x02 WebAuthn signatures).
Approvals are encoded in the given order. Only the shape is checked, so this can build
signatures that the node rejects, such as unsorted or excess approvals.
Function with signature encodeConfigurableAccountSignature(address,(bytes32,uint64,uint8,(address,uint8)[]),bytes[]) and selector 0x4cd2c78e.
function encodeConfigurableAccountSignature(address account, ConfigurableAccountConfig calldata config, bytes[] calldata ownerSignatures) external pure returns (bytes memory signature);Fields§
§account: Address§config: <ConfigurableAccountConfig as SolType>::RustType§ownerSignatures: Vec<Bytes>Trait Implementations§
Source§impl SolCall for encodeConfigurableAccountSignatureCall
impl SolCall for encodeConfigurableAccountSignatureCall
Source§const SIGNATURE: &'static str = "encodeConfigurableAccountSignature(address,(bytes32,uint64,uint8,(address,uint8)[]),bytes[])"
const SIGNATURE: &'static str = "encodeConfigurableAccountSignature(address,(bytes32,uint64,uint8,(address,uint8)[]),bytes[])"
Source§type Parameters<'a> = (Address, ConfigurableAccountConfig, Array<Bytes>)
type Parameters<'a> = (Address, ConfigurableAccountConfig, Array<Bytes>)
Source§type Token<'a> = <<encodeConfigurableAccountSignatureCall as SolCall>::Parameters<'a> as SolType>::Token<'a>
type Token<'a> = <<encodeConfigurableAccountSignatureCall as SolCall>::Parameters<'a> as SolType>::Token<'a>
Source§type ReturnTuple<'a> = (Bytes,)
type ReturnTuple<'a> = (Bytes,)
Source§type ReturnToken<'a> = <<encodeConfigurableAccountSignatureCall as SolCall>::ReturnTuple<'a> as SolType>::Token<'a>
type ReturnToken<'a> = <<encodeConfigurableAccountSignatureCall as SolCall>::ReturnTuple<'a> as SolType>::Token<'a>
Source§fn new<'a>(tuple: <Self::Parameters<'a> as SolType>::RustType) -> Self
fn new<'a>(tuple: <Self::Parameters<'a> as SolType>::RustType) -> Self
Source§fn tokenize_returns(ret: &Self::Return) -> Self::ReturnToken<'_>
fn tokenize_returns(ret: &Self::Return) -> Self::ReturnToken<'_>
Source§fn abi_decode_returns(data: &[u8]) -> Result<Self::Return>
fn abi_decode_returns(data: &[u8]) -> Result<Self::Return>
Source§fn abi_decode_returns_with_config(
data: &[u8],
config: AbiDecoderConfig,
) -> Result<Self::Return>
fn abi_decode_returns_with_config( data: &[u8], config: AbiDecoderConfig, ) -> Result<Self::Return>
Source§fn abi_decode_returns_validate(data: &[u8]) -> Result<Self::Return>
fn abi_decode_returns_validate(data: &[u8]) -> Result<Self::Return>
§fn abi_encoded_size(&self) -> usize
fn abi_encoded_size(&self) -> usize
§fn abi_decode_raw(data: &[u8]) -> Result<Self, Error>
fn abi_decode_raw(data: &[u8]) -> Result<Self, Error>
§fn abi_decode_raw_with_config(
data: &[u8],
config: AbiDecoderConfig,
) -> Result<Self, Error>
fn abi_decode_raw_with_config( data: &[u8], config: AbiDecoderConfig, ) -> Result<Self, Error>
§fn abi_decode_raw_validate(data: &[u8]) -> Result<Self, Error>
fn abi_decode_raw_validate(data: &[u8]) -> Result<Self, Error>
§fn abi_decode(data: &[u8]) -> Result<Self, Error>
fn abi_decode(data: &[u8]) -> Result<Self, Error>
§fn abi_decode_with_config(
data: &[u8],
config: AbiDecoderConfig,
) -> Result<Self, Error>
fn abi_decode_with_config( data: &[u8], config: AbiDecoderConfig, ) -> Result<Self, Error>
§fn abi_decode_validate(data: &[u8]) -> Result<Self, Error>
fn abi_decode_validate(data: &[u8]) -> Result<Self, Error>
§fn abi_encode_raw(&self, out: &mut Vec<u8>)
fn abi_encode_raw(&self, out: &mut Vec<u8>)
§fn abi_encode(&self) -> Vec<u8> ⓘ
fn abi_encode(&self) -> Vec<u8> ⓘ
§fn abi_encode_returns(ret: &Self::Return) -> Vec<u8> ⓘ
fn abi_encode_returns(ret: &Self::Return) -> Vec<u8> ⓘ
Auto Trait Implementations§
impl Freeze for encodeConfigurableAccountSignatureCall
impl RefUnwindSafe for encodeConfigurableAccountSignatureCall
impl Send for encodeConfigurableAccountSignatureCall
impl Sync for encodeConfigurableAccountSignatureCall
impl Unpin for encodeConfigurableAccountSignatureCall
impl UnsafeUnpin for encodeConfigurableAccountSignatureCall
impl UnwindSafe for encodeConfigurableAccountSignatureCall
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 120 bytes