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

Account abstraction (WIP) #1505

Draft
wants to merge 1 commit into
base: palazzo
Choose a base branch
from
Draft

Conversation

barnabee
Copy link
Member

@barnabee barnabee commented Jan 9, 2023

Summary of account abstraction feature for discussion and design and spec work.

tl;dr:

  1. Add multisig support with:
    • ability to update signer account IDs
    • ability to change signing threshold
    • ability to separate controller account ID (could be the same or a diff. multisig or single user) and signer accounts
    • multisig account ID can be used anywhere (?) a normal pubkey can be
  2. Add fund accounts with:
    • separation of "investor", "controller", and "fund manager/trader" roles (account ID, each can be a multisig, at least investors can be other fund accounts, though with a general abstraction all 3 could be)
    • tracking of users' share of fund NAV
    • optional rules for how long it takes to remove funds
    • ability to apply a "2 and 20" style fee (fraction of NAV per period X + fraction of gains net of losses from prior periods per period X) to be sent to any account ID of fund creator's choosing (can be multisig or another fund)
    • ability to restrict "investors" to a limited set of account IDs or leave open to all
    • ability to cap total "invested" or close to new money coming in
    • ability to restrict the fund to a subset of assets/markets/funds
    • ability to restrict the fund to a subset of trader/LP/fund investor roles
    • fund account ID can be used anywhere (?) a normal pubkey can be as long as not restricted by fund rules
    • delay for changing fund rules >= delay for redemption?
  3. Ability to create a "meta" account that allows other accounts do a a rules based subset of activities
    • rules control other accounts ability to act "as" the meta account for any normal tx type
    • can therefore subdivide one "meta" account to diffrent accounts for each type of rule set / responsibility
    • can restrict to specific tx types, markets, assets, etc.

@barnabee barnabee changed the title Initial commit (WIP) Account abstraction (WIP) Jan 9, 2023
@gordsport gordsport linked an issue Jan 9, 2023 that may be closed by this pull request
5 tasks
@barnabee
Copy link
Member Author

barnabee commented Jan 9, 2023

Thinking about it, we can probably live without item 3 of the tl;dr in the first instance, though I'd need to discuss with some MMs and other community members to understand the specific needs of their use cases better.

0000-account-abstraction.md Show resolved Hide resolved
0000-account-abstraction.md Show resolved Hide resolved
@gordsport gordsport changed the base branch from master to cosmicelevator February 28, 2023 09:20
@witgaw witgaw mentioned this pull request Apr 19, 2023
@gordsport gordsport changed the base branch from cosmicelevator to palazzo September 13, 2023 16:08
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.

[SPEC ONLY]: Gather requirements for fund accounts
2 participants