Re-exportsยง
use super::rpc_provider;๐use super::service::SafeDelegatesResponse;๐use super::service::SafeServiceOpts;๐use super::signing::sign_delegate;๐use alloy_primitives::Address;๐use alloy_signer::Signer;๐use clap::Args;๐use eyre::Context;๐use eyre::Result;๐use eyre::ensure;๐use foundry_cli::json::print_json_object;๐use foundry_cli::json::print_scalar;๐use foundry_cli::opts::RpcOpts;๐use foundry_wallets::WalletOpts;๐use reqwest::Method;๐use serde_json::Value;๐use serde_json::json;๐use std::collections::HashSet;๐
Structsยง
- AddDelegate
Args - CLI arguments for
cast safe add-delegate. - List
Delegates Args - CLI arguments for
cast safe list-delegates. - Remove
Delegate Args - CLI arguments for
cast safe remove-delegate.
Functionsยง
- submit_
delegate ๐ - Signs the delegate TOTP message with the wallet and submits
body(extended with the Safe, delegator and signature) to the Transaction Service, printing the delegate on success.