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

(WIP) NFT Proxy Voting #74

Draft
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

austinmilt
Copy link

@austinmilt austinmilt commented Aug 12, 2022

This PR (when finished) will add support for proxy voting using fungible tokens to boost NFT voting power in the nft-voter plugin. To do this, it adds three instructions and program methods that mimic the way that the base spl-governance program handles voting tokens:

  1. Create a fungible token holding account per registered NFT, to which fungible token owners can deposit tokens to boost a given NFT's voting power.
  2. Deposit fungible tokens into NFT's holding account, which creates a receipt/record of the total amount deposited, for the owner to withdraw from the holding account when it is safe to do so.
  3. Withdraw fungible tokens from the NFT's holding account supplying the deposit receipt from above, when it is safe to do so.

Changes (TBD)

@austinmilt austinmilt changed the title Merge branch 'master' into austinmilt/feature/proxy-nft-voting NFT Proxy Voting Aug 12, 2022
@austinmilt austinmilt changed the title NFT Proxy Voting (WIP) NFT Proxy Voting Aug 12, 2022
@austinmilt austinmilt marked this pull request as draft August 12, 2022 20:30
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.

1 participant