pub(crate) async fn configurable_account_simulation<N: Network>(
tempo: &TempoOpts,
config: &Config,
wallet: &WalletOpts,
sender: Address,
signer: Option<Arc<WalletSigner>>,
block: BlockId,
) -> Result<Option<(Address, ConfigurableAccountSimulationSpec)>>where
N::TransactionRequest: FoundryTransactionBuilder<N>,Expand description
Returns the Tempo configurable account that sends for sender, which is sender itself or the
account linked to its keystore, with the owner quorum that gas estimation models: the local
owners when they reach the threshold, as cast send signs, otherwise the largest quorum of
maximum-size WebAuthn approvals. signer is the wallet signer the sender already resolved,
and the account’s configuration is read at block, where the estimate runs.