SmartWalletFactory class
A factory class for creating various types of Ethereum smart wallets.
Constructors
- SmartWalletFactory.new(NetworkConfig _networkConfig, Signer _signer, {num preVerificationGasMultiplier = 3, num maxFeePerGasMultiplier = 3, num maxPriorityFeePerGasMultiplier = 3, num callGasLimitMultiplier = 3, num verificationGasLimitMultiplier = 3, Client? httpClient})
- Creates a new instance of the SmartWalletFactory class.
Properties
- callGasLimitMultiplier → num
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- httpClient → Client
-
final
- maxFeePerGasMultiplier → num
-
final
- maxPriorityFeePerGasMultiplier → num
-
final
- preVerificationGasMultiplier → num
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- verificationGasLimitMultiplier → num
-
final
Methods
-
createLightAccount(
Uint256 salt) → Future< SmartWallet> - Creates a new light account with the provided salt.
-
createSimpleAccount(
Uint256 salt) → Future< SmartWallet> - Creates a new simple account with the provided salt.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited