pub struct signConfigurableAccount_1Call {
pub ownerKeys: Vec<<OwnerKey as SolType>::RustType>,
pub account: Address,
pub config: <ConfigurableAccountConfig as SolType>::RustType,
pub digest: FixedBytes<32>,
}Expand description
Signs digest as the configurable account account with its current configuration config,
using secp256k1, P-256 or WebAuthn owner keys.
Signs with the fewest keys that form a quorum the node accepts: at most 8 approvals, sorted
by owner address, the last of which reaches the threshold. Reverts if config is invalid,
has version 0 but does not derive account, a key is not an owner, or no such quorum exists
among the keys. Returns the 0x05 signature accepted by
SignatureVerifier.verifyConfigurableAccount.
Function with signature signConfigurableAccount((uint8,uint256)[],address,(bytes32,uint64,uint8,(address,uint8)[]),bytes32) and selector 0x4d2e91cf.
function signConfigurableAccount(OwnerKey[] calldata ownerKeys, address account, ConfigurableAccountConfig calldata config, bytes32 digest) external pure returns (bytes memory signature);Fields§
§ownerKeys: Vec<<OwnerKey as SolType>::RustType>§account: Address§config: <ConfigurableAccountConfig as SolType>::RustType§digest: FixedBytes<32>Trait Implementations§
Source§impl SolCall for signConfigurableAccount_1Call
impl SolCall for signConfigurableAccount_1Call
Source§const SIGNATURE: &'static str = "signConfigurableAccount((uint8,uint256)[],address,(bytes32,uint64,uint8,(address,uint8)[]),bytes32)"
const SIGNATURE: &'static str = "signConfigurableAccount((uint8,uint256)[],address,(bytes32,uint64,uint8,(address,uint8)[]),bytes32)"
Source§type Parameters<'a> = (Array<OwnerKey>, Address, ConfigurableAccountConfig, FixedBytes<32>)
type Parameters<'a> = (Array<OwnerKey>, Address, ConfigurableAccountConfig, FixedBytes<32>)
Source§type Token<'a> = <<signConfigurableAccount_1Call as SolCall>::Parameters<'a> as SolType>::Token<'a>
type Token<'a> = <<signConfigurableAccount_1Call as SolCall>::Parameters<'a> as SolType>::Token<'a>
Source§type ReturnTuple<'a> = (Bytes,)
type ReturnTuple<'a> = (Bytes,)
Source§type ReturnToken<'a> = <<signConfigurableAccount_1Call as SolCall>::ReturnTuple<'a> as SolType>::Token<'a>
type ReturnToken<'a> = <<signConfigurableAccount_1Call 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 signConfigurableAccount_1Call
impl RefUnwindSafe for signConfigurableAccount_1Call
impl Send for signConfigurableAccount_1Call
impl Sync for signConfigurableAccount_1Call
impl Unpin for signConfigurableAccount_1Call
impl UnsafeUnpin for signConfigurableAccount_1Call
impl UnwindSafe for signConfigurableAccount_1Call
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: 152 bytes