Skip to content

chore(plugins): delete token voting plugin #12

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

Merged
merged 1 commit into from
May 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ NEXT_PUBLIC_DAO_ADDRESS=0xd9A924bF3FaE756417b9B9DCC94C24681534b8F7
NEXT_PUBLIC_TOKEN_ADDRESS=0x9A3218197C77F54BB2510FBBcc7Da3A4D2bE0DeE

# Plugin addresses
NEXT_PUBLIC_TOKEN_VOTING_PLUGIN_ADDRESS=0x7AdF2545e746E014887916e476DfCB3Fb57D78b0
NEXT_PUBLIC_PUBLIC_KEY_REGISTRY_CONTRACT_ADDRESS=0x4BA2de07E5B7FB284d363DBb4c481F330c25b2A5

NEXT_PUBLIC_BRIDGE_ADDRESS=0x0000000000000000000000000000001234567890

# Network and services
NEXT_PUBLIC_CHAIN_NAME=sepolia
Expand Down
6 changes: 0 additions & 6 deletions constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,6 @@ import { type ChainName, getChain } from "./utils/chains";
export const PUB_DAO_ADDRESS = (process.env.NEXT_PUBLIC_DAO_ADDRESS ?? "") as Address;
export const PUB_TOKEN_ADDRESS = (process.env.NEXT_PUBLIC_TOKEN_ADDRESS ?? "") as Address;

export const PUB_TOKEN_VOTING_PLUGIN_ADDRESS = (process.env.NEXT_PUBLIC_TOKEN_VOTING_PLUGIN_ADDRESS ?? "") as Address;
export const PUB_PUBLIC_KEY_REGISTRY_CONTRACT_ADDRESS = (process.env.NEXT_PUBLIC_PUBLIC_KEY_REGISTRY_CONTRACT_ADDRESS ??
"") as Address;

export const PUB_BRIDGE_ADDRESS = (process.env.NEXT_PUBLIC_BRIDGE_ADDRESS ?? "") as Address;

// Target chain
export const PUB_CHAIN_NAME = (process.env.NEXT_PUBLIC_CHAIN_NAME ?? "holesky") as ChainName;
export const PUB_CHAIN = getChain(PUB_CHAIN_NAME);
Expand Down
17 changes: 0 additions & 17 deletions hooks/useShuffled.ts

This file was deleted.

75 changes: 0 additions & 75 deletions hooks/useTransactionManager.ts

This file was deleted.

11 changes: 1 addition & 10 deletions plugins/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { PUB_TOKEN_VOTING_PLUGIN_ADDRESS } from "@/constants";
import { type IconType } from "@aragon/ods";

type PluginItem = {
Expand All @@ -12,12 +11,4 @@ type PluginItem = {
pluginAddress: string;
};

export const plugins: PluginItem[] = [
{
id: "token-voting",
folderName: "tokenVoting",
title: "Token Voting",
// icon: IconType.BLOCKCHAIN_BLOCKCHAIN,
pluginAddress: PUB_TOKEN_VOTING_PLUGIN_ADDRESS,
},
];
export const plugins: PluginItem[] = [];
Loading