OpenSubaccounts
Inherits: MultiChainSignaturesModule, SubaccountFactory, AllowanceManager
Author: Ultrasound Labs
Top-level contract that bundles the Subaccount factory, Multi-Chain Signature module and Allowance Manager into a single deployment for convenience.
Note: security-contact: security@ultrasoundlabs.org
Functions
constructor
Constructs a new OpenSubaccounts instance wiring together the SubaccountFactory, MultiChainSignaturesModule and AllowanceManager modules.
constructor(
address _siglessTransactionExecutor,
address _safeSingleton,
address _safeProxyFactory,
address _safeModuleSetup,
address _permit2
)
MultiChainSignaturesModule(_siglessTransactionExecutor)
SubaccountFactory(_safeSingleton, _safeProxyFactory, _safeModuleSetup, address(this), address(this))
AllowanceManager(_permit2, address(this));
Parameters
| Name | Type | Description |
|---|---|---|
_siglessTransactionExecutor | address | Address of the SiglessTransactionExecutor library. |
_safeSingleton | address | Canonical Safe singleton implementation. |
_safeProxyFactory | address | Safe proxy factory address. |
_safeModuleSetup | address | Helper used to enable modules during Safe setup. |
_permit2 | address | Permit2 contract used by AllowanceManager. |