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

v2 ideas #194

Open
Reecepbcups opened this issue Jul 2, 2024 · 0 comments
Open

v2 ideas #194

Reecepbcups opened this issue Jul 2, 2024 · 0 comments

Comments

@Reecepbcups
Copy link
Member

branch: https://github.com/strangelove-ventures/poa/tree/reece/v2-rewrite

POA v2
POAkeeper is just a whitelist of addresses
ante checks on stakingMsg, if not in whitelist: deny. else: modify the delegator to some module account, and mint said token amount
wrapper around staking in its place (so it satisfies the methods) vs on top of?
To remove just undelegate from said module on unstake
disallow restake
New val? to create it requires you to talk to the team & send a single token too (add a init-token-send cmd or something. or just allow minting of the BondDenom token) 2nd here

cmds:
request: request to join the set. accepts an address, and contact info. msg create val here too?
set-power: mint/undelegate tokens from a val with module
remove: undelegate all delegations (prop16?), especially their own (instant unbond). Vals can run this too.

MsgCreateVal is allowed from anyone? (or maybe a POA Val whitelist). On Create message, mint 1 token to user as their self delegation

no one but admins are allowed to send unbond messages

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

No branches or pull requests

1 participant