Deploy an SMA
Option A — create a new Safe and register in one call
function createAccount(
address safeFactory, // must be on governance.trustedSafeFactory
address safeSingleton, // must be on governance.trustedSafeSingleton
bytes calldata safeInitializer, // Safe.setup calldata; its delegatecall `to` must be the trusted SafeModuleEnabler
uint256 saltNonce, // your nonce; bound with msg.sender + principals into the CREATE2 salt
address permissionSigner, // authorizes the mandate
address manager, // authorizes dispatches (your agent)
address feePolicy, // address(0) for none; otherwise must be trusted
address feeAsset // canonical fee token; address(0) = native ETH
) external returns (address account);Option B — register an existing Safe
Predict the address first
What you have now
Last updated

