Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Support for Switchboard's GameOfNodes voter-weight add-in (solana…
…-labs#732) * switchboard ui addin * added some switchboard things * switchboard * SwitchboardQueueVoterClient skeleton. bug with next.js * removed accidental test-ledger * loads the SwitchboardQueueVoterClient now * began writing the logic to determine switchboardQueueVoting power in a realm with the Switchboard add-in * load switchboard API so we can get info about queues and oracles * fixed new Program() * removed uncessary import in useWalletStore * switchboard notes in readme * Update README.md * modify-sb-init: modify votingClient for parity with nft addin * modify-sb-init: move around plugin files to match nft plugin * modify-sb-init: fix anchor provider accross the ui (this is probably already in main) * modify-sb-init: add sb logic to voting plugin hook for some async stuff / finding matching realm + voting power * modify-sb-init: fix linting * Update get sb vwr * Add Switchboard Voting Power and Governance Selection * verified createProposal works with switchboard add-in, but need to clean up * use addin instead of switchboard program * fixed some more conflicts * fixed positional arguments in getVoterWeight in useRealm * fixed createProposal * integrated upstream changes * removed debug * removed another log statement * removed magic keypairs, and added IDLs for SwitchboardGovernance * fix new sbv2 api * cleaned up comments * for my own dev environment, i hardcode program version. * instruction templates * working instruction template for admitOracle * removed logs and removed the true * removed true and corrected to useCommunityVoterWeightAddin * reset yarn.lock to master * removed more logs * added an undefined councilToken member to SwitchboardVoterWeight * fixed type errors for yarn build * builds succesfully with yarn build * attempt to make buildable with upstream changes * fixed revokeoracle instruction template. still need to clean up and fix lints / build. * make test-all pass * passes yarn test-all * cleaned up comments Co-authored-by: Connor O'Hara <[email protected]> Co-authored-by: Albert Hermida <[email protected]>
- Loading branch information