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

[Preferential gauge] Frontend PoC #547

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
Open
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
15 changes: 15 additions & 0 deletions apps/balancer-tools/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,21 @@ const { withSentryConfig } = require("@sentry/nextjs");

/** @type {import('next').NextConfig} */
const moduleExports = {
async headers() {
return [
{
source: "/manifest.json",
headers: [
{ key: "Access-Control-Allow-Origin", value: "*" },
{ key: "Access-Control-Allow-Methods", value: "GET" },
{
key: "Access-Control-Allow-Headers",
value: "X-Requested-With, content-type, Authorization",
},
],
},
];
},
experimental: {
// Add the "@sentry/profiling-node" to serverComponentsExternalPackages.
serverComponentsExternalPackages: ["@sentry/profiling-node"],
Expand Down
3 changes: 2 additions & 1 deletion apps/balancer-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"@bleu-fi/gql": "workspace:*",
"@bleu-fi/math-poolsimulator": "workspace:*",
"@bleu-fi/tsconfig": "workspace:*",
"@gnosis.pm/safe-apps-react-sdk": "^4.6.2",
"@hookform/resolvers": "3.3.2",
"@radix-ui/colors": "^3.0.0",
"@radix-ui/react-accordion": "^1.1.2",
Expand Down Expand Up @@ -50,8 +51,8 @@
"copy-to-clipboard": "^3.3.3",
"date-fns": "^2.30.0",
"dotenv": "^16.3.1",
"drizzle-orm": "^0.29.1",
"downshift": "^8.2.3",
"drizzle-orm": "^0.29.1",
"fathom-client": "^3.6.0",
"graphql-request": "6.1.0",
"lodash": "^4.17.21",
Expand Down
50 changes: 50 additions & 0 deletions apps/balancer-tools/src/abis/eventEmitter.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
export const eventEmitterABI = [
{
inputs: [
{ internalType: "bytes32", name: "identifier", type: "bytes32" },
{ internalType: "address", name: "addr", type: "address" },
],
name: "authorize",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{ internalType: "bytes32", name: "identifier", type: "bytes32" },
{ internalType: "bytes", name: "message", type: "bytes" },
{ internalType: "uint256", name: "value", type: "uint256" },
],
name: "emitEvent",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [
{ internalType: "address", name: "", type: "address" },
{ internalType: "bytes32", name: "", type: "bytes32" },
],
name: "isAuthorized",
outputs: [{ internalType: "bool", name: "", type: "bool" }],
stateMutability: "view",
type: "function",
},
{
inputs: [
{ internalType: "bytes32", name: "identifier", type: "bytes32" },
{ internalType: "address", name: "addr", type: "address" },
],
name: "removeAuthorization",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
{
inputs: [{ internalType: "address", name: "newOwner", type: "address" }],
name: "transferOwnership",
outputs: [],
stateMutability: "nonpayable",
type: "function",
},
] as const;

This file was deleted.

103 changes: 0 additions & 103 deletions apps/balancer-tools/src/app/daoadmin/(components)/DaoAdminSidebar.tsx

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading