We are heading to implement a more generic and flexible account abstraction scheme. Accounts in U2U will be able to initiate transactions, like an EOA, but can also have arbitrary logic implemented in them, like a smart contract. The simple AA implementation at PR https://github.com/unicornultrafoundation/go-u2u/pull/64 and https://github.com/unicornultrafoundation/go-u2u/pull/66 is kinda simple, subjects to be spammed because this implementation doesn't have a selective mechanism for paying gas. The arbitrarity in AA logic and other DoS protection can be achieve via this new transaction type and how we treat the execution/gas estimation flow.
Introduction
We are heading to implement a more generic and flexible account abstraction scheme. Accounts in U2U will be able to initiate transactions, like an EOA, but can also have arbitrary logic implemented in them, like a smart contract. The simple AA implementation at PR https://github.com/unicornultrafoundation/go-u2u/pull/64 and https://github.com/unicornultrafoundation/go-u2u/pull/66 is kinda simple, subjects to be spammed because this implementation doesn't have a selective mechanism for paying gas. The arbitrarity in AA logic and other DoS protection can be achieve via this new transaction type and how we treat the execution/gas estimation flow.
References:
Checklist
EIP712TxType
=0x71
to implementTransaction
interface: https://github.com/unicornultrafoundation/go-u2u/issues/91TransactionHelper
,IAccount
,IPaymaster
smart contract interfaces and simple implementations for testing purposes: https://github.com/unicornultrafoundation/go-u2u/issues/94EIP712TxType
execution and gas estimation flow