Skip to content

chore(plugins): delete optimism and lock to vote #10

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 @@ -6,11 +6,7 @@ NEXT_PUBLIC_TOKEN_ADDRESS=0x9A3218197C77F54BB2510FBBcc7Da3A4D2bE0DeE

# Plugin addresses
NEXT_PUBLIC_TOKEN_VOTING_PLUGIN_ADDRESS=0x7AdF2545e746E014887916e476DfCB3Fb57D78b0
NEXT_PUBLIC_LOCK_TO_VOTE_PLUGIN_ADDRESS=
NEXT_PUBLIC_OPT_MULTISIG_PLUGIN_ADDRESS=0xf49d54D40A331441536BDF74C44FFb527cf113c9
NEXT_PUBLIC_DUAL_GOVERNANCE_PLUGIN_ADDRESS=0x31df2Cf73f36732c10523E4F228a458292B8F6DF
NEXT_PUBLIC_PUBLIC_KEY_REGISTRY_CONTRACT_ADDRESS=0x4BA2de07E5B7FB284d363DBb4c481F330c25b2A5
NEXT_PUBLIC_DELEGATION_WALL_CONTRACT_ADDRESS=0x78b109462dEB44A5a94000b835ebbD7F078Aa12f

NEXT_PUBLIC_BRIDGE_ADDRESS=0x0000000000000000000000000000001234567890

Expand Down
7 changes: 0 additions & 7 deletions constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,9 @@ 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_OPT_MULTISIG_PLUGIN_ADDRESS = (process.env.NEXT_PUBLIC_OPT_MULTISIG_PLUGIN_ADDRESS ?? "") as Address;

export const PUB_DUAL_GOVERNANCE_PLUGIN_ADDRESS = (process.env.NEXT_PUBLIC_DUAL_GOVERNANCE_PLUGIN_ADDRESS ??
"") as Address;
export const PUB_LOCK_TO_VOTE_PLUGIN_ADDRESS = (process.env.NEXT_PUBLIC_LOCK_TO_VOTE_PLUGIN_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_DELEGATION_WALL_CONTRACT_ADDRESS = (process.env.NEXT_PUBLIC_DELEGATION_WALL_CONTRACT_ADDRESS ??
"") as Address;

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

Expand Down
36 changes: 1 addition & 35 deletions plugins/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,4 @@
import {
PUB_DELEGATION_WALL_CONTRACT_ADDRESS,
PUB_DUAL_GOVERNANCE_PLUGIN_ADDRESS,
PUB_TOKEN_VOTING_PLUGIN_ADDRESS,
PUB_LOCK_TO_VOTE_PLUGIN_ADDRESS,
PUB_OPT_MULTISIG_PLUGIN_ADDRESS,
} from "@/constants";
import { PUB_TOKEN_VOTING_PLUGIN_ADDRESS } from "@/constants";
import { type IconType } from "@aragon/ods";

type PluginItem = {
Expand All @@ -26,32 +20,4 @@ export const plugins: PluginItem[] = [
// icon: IconType.BLOCKCHAIN_BLOCKCHAIN,
pluginAddress: PUB_TOKEN_VOTING_PLUGIN_ADDRESS,
},
{
id: "lock-to-vote",
folderName: "lockToVote",
title: "Lock to vote",
// icon: IconType.BLOCKCHAIN_BLOCK,
pluginAddress: PUB_LOCK_TO_VOTE_PLUGIN_ADDRESS,
},
{
id: "optimistic",
folderName: "optimistic-proposals",
title: "Optimistic",
// icon: IconType.APP_MEMBERS,
pluginAddress: PUB_DUAL_GOVERNANCE_PLUGIN_ADDRESS,
},
{
id: "opt-multisig",
folderName: "opt-multisig",
title: "Multisig (Optimistic)",
// icon: IconType.BLOCKCHAIN_BLOCKCHAIN,
pluginAddress: PUB_OPT_MULTISIG_PLUGIN_ADDRESS,
},
{
id: "members",
folderName: "members",
title: "Members",
// icon: IconType.BLOCKCHAIN_BLOCKCHAIN,
pluginAddress: PUB_DELEGATION_WALL_CONTRACT_ADDRESS,
},
];
Loading