Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: msca plugingen to generate subfolders for each plugin #350

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

denniswon
Copy link
Contributor

@denniswon denniswon commented Jan 5, 2024

Pull Request Checklist


PR-Codex overview

Focus of this PR:

This PR focuses on refactoring the import paths for plugins in the accounts package.

Detailed summary:

  • Updated import paths for plugins in wagmi.config.ts, plugingen.ts, and msca/multi-owner-account.ts files.
  • Replaced relative import paths with absolute import paths.
  • Updated import paths for Plugin and IMSCA types in plugin files.
  • Updated import paths for ISmartAccountProvider and other types in plugin files.

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

Base automatically changed from denniswon/msca-fix to msca-base January 5, 2024 18:15
@denniswon denniswon force-pushed the denniswon/msca-plugingen-out branch from 9422b31 to 3c77b42 Compare January 5, 2024 21:23
@denniswon denniswon merged commit 084f65a into msca-base Jan 5, 2024
2 checks passed
@denniswon denniswon deleted the denniswon/msca-plugingen-out branch January 5, 2024 21:28
moldy530 added a commit that referenced this pull request Jan 8, 2024
* feat: add some plugin generation logic (#262)

* feat: add some plugin generation logic

* chore: add generate commands

* style: apply PR suggestion

Co-authored-by: Dennis Won <denniswon@users.noreply.github.com>

* refactor: create plugin config concept

* feat: add multi-owner-msca impl that leverages the plugin gen (#263)

* feat: add multi-owner-msca impl that leverages the plugin gen

* feat: proposal for msca builder pattern (#264)

* feat: proposal for msca builder pattern

* refactor: rework plugin gen to create read methods for the account

---------

Co-authored-by: Dennis Won <denniswon@users.noreply.github.com>

* chore: lint

* feat: add plugin manager decorator for MSCA (#274)

* feat: add initial skeleton for 6900 account support

* feat: add some plugin generation logic (#262)

* feat: add some plugin generation logic

* chore: add generate commands

* style: apply PR suggestion

Co-authored-by: Dennis Won <denniswon@users.noreply.github.com>

* refactor: create plugin config concept

* feat: add multi-owner-msca impl that leverages the plugin gen (#263)

* feat: add multi-owner-msca impl that leverages the plugin gen

* feat: proposal for msca builder pattern (#264)

* feat: proposal for msca builder pattern

* refactor: rework plugin gen to create read methods for the account

---------

Co-authored-by: Dennis Won <denniswon@users.noreply.github.com>

* chore: update plugin gen

* feat: add plugin manager decorator for MSCA

* feat: add a mechanism for adding provider decorators to accounts (#287)

* feat: add a mechanism for adding provider decorators to accounts

* chore: update lerna and package json to lint generated files

* refactor: rename MSCA to IMSCA

---------

Co-authored-by: Dennis Won <denniswon@users.noreply.github.com>
Co-authored-by: avasisht23 <ajay@alchemy.com>

* fix: missed some plugingen fixes

* refactor: change the names of the plugin decorators and add example usages (#308)

* feat: extend msca account with account loupe decorators (#309)

* refactor: move required by types to aa-core utils types folder

* feat: extend msca account with account loupe decorators

* feat: move extend method on account from msca to base account

* Update packages/core/src/account/types.ts

Co-authored-by: Michael Moldoveanu <michael.moldoveanu@alchemy.com>

* Update packages/core/src/account/types.ts

Co-authored-by: Michael Moldoveanu <michael.moldoveanu@alchemy.com>

* Update packages/core/src/account/types.ts

Co-authored-by: Michael Moldoveanu <michael.moldoveanu@alchemy.com>

* Update packages/accounts/src/msca/account-loupe/decorator.ts

Co-authored-by: Michael Moldoveanu <michael.moldoveanu@alchemy.com>

* fix: fix lint and build

---------

Co-authored-by: Michael Moldoveanu <michael.moldoveanu@alchemy.com>

* fix: update the logic for signing 1271 messages

* feat: msca plugingen to accept multichain address format (#314)

* feat: msca plugingen to accept multichain address format

* Update packages/accounts/scripts/plugingen.ts

Co-authored-by: Michael Moldoveanu <michael.moldoveanu@alchemy.com>

* Update packages/accounts/wagmi.config.ts

Co-authored-by: Michael Moldoveanu <michael.moldoveanu@alchemy.com>

* feat: changed address field in plugingenconfig to addresses

---------

Co-authored-by: Michael Moldoveanu <michael.moldoveanu@alchemy.com>

* feat: msca token receiver plugin with opt out option to exclude default token receiver plugin (#316)

* feat: msca plugingen to accept multichain address format

* feat: msca token receiver plugin with opt out option to exclude default token receiver plugin

* feat: add session key plugin abi and plugingen (#284)

* feat: msca plugingen to accept multichain address format

* feat: msca token receiver plugin with opt out option to exclude default token receiver plugin

* feat: msca token receiver plugin with opt out option to exclude default token receiver plugin

* feat: add session key plugin abi and plugingen

* feat: msca plugin provider decorator to support user op overrides (#342)

* feat: msca plugingen to generate subfolders for each plugin (#350)

---------

Co-authored-by: Dennis Won <denniswon@users.noreply.github.com>
Co-authored-by: avasisht23 <ajay@alchemy.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants