dotnet icon indicating copy to clipboard operation
dotnet copied to clipboard

Modular Account (7579)

Open 0xFirekeeper opened this issue 1 year ago • 1 comments

TODO: ModeLib, ExecLib, Session Keys


PR-Codex overview

The focus of this PR is to introduce Modular Smart Wallet functionality, including session key creation and chain-agnostic transactions.

Detailed summary

  • Added ModularSmartAccount to IThirdwebWallet
  • Implemented ExecuteModular and ExecuteChainAgnosticModular functions
  • Added IsChainAgnostic property to ThirdwebTransactionInput
  • Introduced SessionKeyParamsModular and related classes
  • Updated ModularSmartWallet with deployment logic and network switching functionality

The following files were skipped due to too many changes: Thirdweb/Thirdweb.Wallets/SmartWallet/ModularSmartWallet.cs, Thirdweb/Thirdweb.Utils/Constants.cs

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

0xFirekeeper avatar Sep 13 '24 00:09 0xFirekeeper

Codecov Report

Attention: Patch coverage is 1.24069% with 398 lines in your changes missing coverage. Please review.

Project coverage is 78.60%. Comparing base (fd18d3d) to head (f9bd9b3). Report is 5 commits behind head on main.

Files with missing lines Patch % Lines
...Thirdweb.Wallets/SmartWallet/ModularSmartWallet.cs 0.00% 384 Missing :warning:
...SmartWallet/Thirdweb.AccountAbstraction/AATypes.cs 0.00% 11 Missing :warning:
...rdweb/Thirdweb.Transactions/ThirdwebTransaction.cs 25.00% 3 Missing :warning:
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #71      +/-   ##
==========================================
- Coverage   87.02%   78.60%   -8.43%     
==========================================
  Files          26       27       +1     
  Lines        3776     4187     +411     
  Branches      525      562      +37     
==========================================
+ Hits         3286     3291       +5     
- Misses        490      896     +406     

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

codecov-commenter avatar Sep 13 '24 00:09 codecov-commenter