mirror of
https://github.com/getwax/zk-account-abstraction.git
synced 2026-01-09 20:47:58 -05:00
AA-145 N-14: References to previously used "wallet" terminology [samples] (#210)
Co-authored-by: Dror Tirosh <dror@opengsn.org>
This commit is contained in:
@@ -11,9 +11,9 @@ import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
|
||||
* The paymaster trusts an external signer to sign the transaction.
|
||||
* The calling user must pass the UserOp to that external signer first, which performs
|
||||
* whatever off-chain verification before signing the UserOp.
|
||||
* Note that this signature is NOT a replacement for wallet signature:
|
||||
* - the paymaster signs to agree to PAY for GAS.
|
||||
* - the wallet signs to prove identity and account ownership.
|
||||
* Note that this signature is NOT a replacement for the account-specific signature:
|
||||
* - the paymaster checks a signature to agree to PAY for GAS.
|
||||
* - the account checks a signature to prove identity and account ownership.
|
||||
*/
|
||||
contract VerifyingPaymaster is BasePaymaster {
|
||||
|
||||
|
||||
@@ -8,10 +8,11 @@ import "../../interfaces/IEntryPoint.sol";
|
||||
import "./BLSAccount.sol";
|
||||
|
||||
/* solhint-disable no-inline-assembly */
|
||||
|
||||
/**
|
||||
* Based on SimpleAccountFactory
|
||||
* can't be a subclass, since both constructor and createAccount depend on the
|
||||
* actual wallet contract constructor and initializer
|
||||
* Based on SimpleAccountFactory.
|
||||
* Cannot be a subclass since both constructor and createAccount depend on the
|
||||
* constructor and initializer of the actual account contract.
|
||||
*/
|
||||
contract BLSAccountFactory {
|
||||
BLSAccount public immutable accountImplementation;
|
||||
|
||||
@@ -6,7 +6,7 @@ import "@gnosis.pm/safe-contracts/contracts/proxies/GnosisSafeProxyFactory.sol";
|
||||
import "./EIP4337Manager.sol";
|
||||
|
||||
/**
|
||||
* A wrapper factory contract to deploy GnosisSafe as an Account-Abstraction wallet contract.
|
||||
* A wrapper factory contract to deploy GnosisSafe as an ERC-4337 account contract.
|
||||
*/
|
||||
contract GnosisSafeAccountFactory {
|
||||
|
||||
|
||||
@@ -7,9 +7,9 @@ import "@openzeppelin/contracts/proxy/ERC1967/ERC1967Proxy.sol";
|
||||
import "./TestAggregatedAccount.sol";
|
||||
|
||||
/**
|
||||
* Based on SimpleAccountFactory
|
||||
* can't be a subclass, since both constructor and createAccount depend on the
|
||||
* actual wallet contract constructor, initializer
|
||||
* Based on SimpleAccountFactory.
|
||||
* Cannot be a subclass since both constructor and createAccount depend on the
|
||||
* constructor and initializer of the actual account contract.
|
||||
*/
|
||||
contract TestAggregatedAccountFactory {
|
||||
TestAggregatedAccount public immutable accountImplementation;
|
||||
|
||||
Reference in New Issue
Block a user