Skip to content

Commit

Permalink
disable serum's work for showing other dao's TORs in treasury
Browse files Browse the repository at this point in the history
  • Loading branch information
asktree committed Sep 29, 2023
1 parent c0ed604 commit f97a3e0
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ interface Props {
pubkey: PublicKey
governance: PublicKey
}

/**
* CURRENTLY NOT USED
* This was from work by Serum for intra-dao voting. As of Sep 29, 2023, it has no known users.
* In my (Agrippa's) opinion, a treasury-based flow for intra-dao voting is inferior to a generic
* wallet extension for the browser for building proposals using the same UI that normal users use to interact.
* (In the vein of Cordelia or Fuze wallet, or whatever the Squads thing is called)
*/
export default function TokenOwnerRecordListItem({
pubkey,
governance,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ interface Props {
onToggleExpand?(): void
governance: PublicKey
}

/**
* CURRENTLY NOT USED
* This was from work by Serum for intra-dao voting. As of Sep 29, 2023, it has no known users.
* In my (Agrippa's) opinion, a treasury-based flow for intra-dao voting is inferior to a generic
* wallet extension for the browser for building proposals using the same UI that normal users use to interact.
* (In the vein of Cordelia or Fuze wallet, or whatever the Squads thing is called)
*/
export default function TokenOwnerRecordsList({ governance, ...props }: Props) {
const { connection } = useConnection()

Expand Down
3 changes: 3 additions & 0 deletions hooks/queries/tokenOwnerRecord.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ const fetchTokenOwnerRecordsByRealmByOwner = async (
},
})

/**
* CURRENTLY USED ONLY BY DISABLED COMPONENTS
*/
export const fetchTokenOwnerRecordsByOwnerAnyRealm = async (
connection: Connection,
ownerPk: PublicKey
Expand Down

0 comments on commit f97a3e0

Please sign in to comment.